Revision 715e7726
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;
|
|
24 |
import org.distorted.library.mesh.MeshBase;
|
|
25 | 25 |
|
26 | 26 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
27 | 27 |
/** |
... | ... | |
100 | 100 |
* |
101 | 101 |
* @return depth of the Object, in pixels. |
102 | 102 |
*/ |
103 |
public int getDepth(MeshObject mesh)
|
|
103 |
public int getDepth(MeshBase mesh)
|
|
104 | 104 |
{ |
105 | 105 |
return mesh==null ? 0 : (int)(mWidth*mesh.getZFactor() ); |
106 | 106 |
} |
Also available in: Unified diff
Rename MeshObject to MeshBase.