jogamp
›
jogl
Login
Register
Re: Creating objects with simple drawing methods of JOGL
Posted by
gouessej
on
Dec 31, 2015; 12:12am
URL:
https://forum.jogamp.org/Creating-objects-with-simple-drawing-methods-of-JOGL-tp4035938p4035950.html
Look at this line:
https://github.com/wnbittle/dyn4j/blob/master/examples/org/dyn4j/examples/ExampleJOGL.java#L116
Instead of creating dyn4j Polygon objects, you can create dyn4j Rectangle objects and use glRect instead of GL_POLYGON.
Julien Gouesse |
Personal blog
|
Website
Free forum by Nabble
Edit this page