aboutsummaryrefslogtreecommitdiffstats
path: root/src/ru/olamedia/geom/Quad.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ru/olamedia/geom/Quad.java')
-rw-r--r--src/ru/olamedia/geom/Quad.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ru/olamedia/geom/Quad.java b/src/ru/olamedia/geom/Quad.java
new file mode 100644
index 0000000..e3d34dd
--- /dev/null
+++ b/src/ru/olamedia/geom/Quad.java
@@ -0,0 +1,12 @@
+package ru.olamedia.geom;
+
+public class Quad {
+ private float[] vertices;
+ private int vertexCount;
+
+ public void addVertex(float x, float y, float z) {
+ vertices[vertexCount] = x;
+ vertices[vertexCount + 1] = y;
+ vertices[vertexCount + 2] = z;
+ }
+}