The otodontid sharks are considered to have been ectotherms , and megalodon was a close relative to them .
Megalodon may have also been ectothermic .
Since the otodontid sharks are considered to have been ectotherms , and megalodon was a close relative to them , megalodon may have also been ectothermic .