Revision e0b6c593
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/GridFlat.java | ||
---|---|---|
23 | 23 |
import java.nio.ByteOrder; |
24 | 24 |
|
25 | 25 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
26 |
|
|
26 |
/** |
|
27 |
* Create a flat, rectangular Grid. |
|
28 |
* <p> |
|
29 |
* Perfect if you just want to display a flat Texture. If you are not planning to apply any VERTEX |
|
30 |
* effects to it, use GridFlat(1,1), i.e. a Quad. Otherwise, create more vertices for more realistic effects! |
|
31 |
*/ |
|
27 | 32 |
public class GridFlat extends GridObject |
28 | 33 |
{ |
29 | 34 |
private int mCols, mRows; |
Also available in: Unified diff
Javadoc