brandonborkholder / glg2d

Graphics2D wrapper for JOGL
77 stars 31 forks source link

Mixing 3D and 2D #15

Closed yuripourre closed 11 years ago

yuripourre commented 11 years ago

I just changed the method setCanvas of GLGraphics2D to public and now I can easily mix 2D and 3D content.

mix

brandonborkholder commented 11 years ago

This is already possible from the examples I have in the test source. See https://github.com/brandonborkholder/glg2d/blob/30cb55044532319281941ca930a6d18e01de8001/src/test/java/org/jogamp/glg2d/examples/AWTExample.java I don't use GLG2DCanvas or GLG2DPanel in that example, so any foreign canvas will still work.