diff options
author | Rami Santina <[email protected]> | 2011-03-30 16:17:09 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-03-30 16:17:09 +0300 |
commit | 133edeb70921dbcae3ec7cc76f1bc6dd0cd36da8 (patch) | |
tree | 1ae603def1e3b6fbf73056d7662a6dfae299ad5e /src/jogamp/graph/curve | |
parent | 16eded9de9721634a929c9aa829aece0df8fa8a6 (diff) |
Fix: RegionRenderer TwoPass Renderering, fix methodnames in Renderer
Diffstat (limited to 'src/jogamp/graph/curve')
-rw-r--r-- | src/jogamp/graph/curve/opengl/VBORegion2PGL3.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jogamp/graph/curve/opengl/VBORegion2PGL3.java b/src/jogamp/graph/curve/opengl/VBORegion2PGL3.java index baca05dc7..ac2be6097 100644 --- a/src/jogamp/graph/curve/opengl/VBORegion2PGL3.java +++ b/src/jogamp/graph/curve/opengl/VBORegion2PGL3.java @@ -121,8 +121,12 @@ public class VBORegion2PGL3 implements Region{ verticesBuffer.put(v.getY()); } verticesBuffer.put(v.getZ()); - - box.resize(v.getX(), -1*v.getY(), v.getZ()); + if(flipped){ + box.resize(v.getX(), -1*v.getY(), v.getZ()); + } + else{ + box.resize(v.getX(), v.getY(), v.getZ()); + } } verticesBuffer.rewind(); |