Revision 4d49605b
Added by Leszek Koltunski 11 months ago
src/main/java/org/distorted/examples/meshfile/MeshFileActivity.java | ||
---|---|---|
119 | 119 |
super.onDestroy(); |
120 | 120 |
} |
121 | 121 |
|
122 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
123 |
|
|
124 |
public void onNormals(View v) |
|
125 |
{ |
|
126 |
MeshFileSurfaceView view = findViewById(R.id.meshfileSurfaceView); |
|
127 |
MeshFileRenderer renderer = view.getRenderer(); |
|
128 |
renderer.flipNormals(); |
|
129 |
} |
|
130 |
|
|
122 | 131 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
123 | 132 |
|
124 | 133 |
public void Open(View v) |
Also available in: Unified diff
Make it possible to control if we can see the normal vectors.