Revision 0a57f222
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/examples/generic/GenericRenderer.java | ||
---|---|---|
100 | 100 |
MeshBase mesh = act.getMesh(); |
101 | 101 |
MeshQuad quad = new MeshQuad(); |
102 | 102 |
|
103 |
mFactor = mesh instanceof MeshSphere ? 1.0f : 0.7f;
|
|
103 |
mFactor = mesh instanceof MeshSphere ? 1.2f : 0.7f;
|
|
104 | 104 |
|
105 | 105 |
mObjWidth = act.getWidth(); |
106 | 106 |
mObjHeight= act.getHeight(); |
... | ... | |
111 | 111 |
|
112 | 112 |
mCenterPoint= new Static3D(0,0,0); |
113 | 113 |
mRegionPoint= new Static3D(0,0,0); |
114 |
mScaleRegion = new Static3D(0,0,0);
|
|
114 |
mScaleRegion = new Static3D(1,1,1);
|
|
115 | 115 |
|
116 | 116 |
mCenterNode = new DistortedNode(mCenterTexture, centerEffects, quad); |
117 | 117 |
mRegionNode = new DistortedNode(mRegionTexture, regionEffects, quad); |
Also available in: Unified diff
Minor.