79130361

Date: 2024-10-27 10:35:46
Score: 2.5
Natty:
Report link

As john and Pepijn Kramer pointed out, getting a pointer to a vector element is bad (t_bvh *node = &nodes[node_index];). It was fixed by replacing node with just nodes[node_index] and using that. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: IamAino