Revision 26df012c
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedTexture.java | ||
---|---|---|
260 | 260 |
* |
261 | 261 |
* @return depth of the Object, in pixels. |
262 | 262 |
*/ |
263 |
public int getDepth(GridObject grid)
|
|
263 |
public int getDepth(MeshObject grid)
|
|
264 | 264 |
{ |
265 | 265 |
return grid==null ? 0 : (int)(mSizeX*grid.zFactor); |
266 | 266 |
} |
Also available in: Unified diff
Rename Grid to Mesh