Revision 6c00149d
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/main/DistortedSurface.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
import android.opengl.GLES31; |
23 | 23 |
|
24 |
import org.distorted.library.mesh.MeshObject; |
|
25 |
|
|
24 | 26 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
25 | 27 |
/** |
26 | 28 |
* This is not really part of the public API. |
... | ... | |
100 | 102 |
*/ |
101 | 103 |
public int getDepth(MeshObject mesh) |
102 | 104 |
{ |
103 |
return mesh==null ? 0 : (int)(mWidth*mesh.zFactor);
|
|
105 |
return mesh==null ? 0 : (int)(mWidth*mesh.getZFactor() );
|
|
104 | 106 |
} |
105 | 107 |
|
106 | 108 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Fully move the Meshes to their own package.