Login  Register

Is there a way to assign a jogl shape to a variable?

Posted by joeChook on Mar 30, 2013; 3:32pm
URL: https://forum.jogamp.org/Is-there-a-way-to-assign-a-jogl-shape-to-a-variable-tp4028856.html

I need to check collision of two shapes. This is a 2D program. One shape is a glPolygon with 4 vertices. The second shape is a glPoint. I need some kind of way to check if they collide and I thought the best way was by assigning the shape to a variable.