79106290

Date: 2024-10-20 02:53:49
Score: 3
Natty:
Report link

I think it can be easier if you use an ofPolyline object to draw your triangle, apply your transformation in ofPolyline object (rotation, translation) https://openframeworks.cc/documentation/graphics/ofPolyline/#show_rotateDeg https://openframeworks.cc/documentation/graphics/ofPolyline/#show_translate and then use https://openframeworks.cc/documentation/graphics/ofPolyline/#show_inside to test your mouse coordinates and see if it is inside

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dimitre L