Revision 46e25345
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedTexture.java | ||
---|---|---|
233 | 233 |
|
234 | 234 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
235 | 235 |
/** |
236 |
* Returns the height of the DistortedObject.
|
|
236 |
* Returns the height of the Texture.
|
|
237 | 237 |
* |
238 | 238 |
* @return height of the object, in pixels. |
239 | 239 |
*/ |
... | ... | |
244 | 244 |
|
245 | 245 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
246 | 246 |
/** |
247 |
* Returns the width of the DistortedObject.
|
|
247 |
* Returns the width of the Texture.
|
|
248 | 248 |
* |
249 | 249 |
* @return width of the Object, in pixels. |
250 | 250 |
*/ |
... | ... | |
255 | 255 |
|
256 | 256 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
257 | 257 |
/** |
258 |
* Returns the depth of the DistortedObject.
|
|
258 |
* Returns the depth of the Texture.
|
|
259 | 259 |
* <p> |
260 | 260 |
* Admittedly quite a strange method. Why do we need to pass a Grid to it? Because one cannot determine |
261 | 261 |
* 'depth' of a texture when rendered based only on the texture itself, that depends on the Grid it is |
Also available in: Unified diff
Minor.