Revision a4d59c0b
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java | ||
---|---|---|
69 | 69 |
mView = v; |
70 | 70 |
|
71 | 71 |
// mEffects[0] effects |
72 |
Static3D pLeft = new Static3D(214, 206, 0);
|
|
73 |
Static3D pRight= new Static3D(390, 212, 0);
|
|
72 |
Static3D pLeft = new Static3D(214, 394, 0);
|
|
73 |
Static3D pRight= new Static3D(390, 388, 0);
|
|
74 | 74 |
Static4D RegionEye = new Static4D(0,0,0,60); |
75 | 75 |
|
76 | 76 |
// mEffects[1] effects |
77 | 77 |
Dynamic3D dyn = new Dynamic3D(1000,0.0f); |
78 | 78 |
dyn.add(new Static3D( 50,0,0)); |
79 | 79 |
dyn.add(new Static3D(-50,0,0)); |
80 |
Static3D pNose1 = new Static3D(305, 340, 0);
|
|
80 |
Static3D pNose1 = new Static3D(305, 260, 0);
|
|
81 | 81 |
|
82 | 82 |
// we don't need to prepare anything for mEffects[2] effects |
83 | 83 |
|
Also available in: Unified diff
Massive: make the coordinate system agree with that of OpenGL (i.e. invert the Y axis).