Package com.jozufozu.flywheel.lib.vertex
Class PosVertexView
java.lang.Object
com.jozufozu.flywheel.lib.vertex.AbstractVertexView
com.jozufozu.flywheel.lib.vertex.PosVertexView
- All Implemented Interfaces:
MutableVertexList,VertexList,VertexView,EmptyVertexList
-
Field Summary
FieldsFields inherited from class com.jozufozu.flywheel.lib.vertex.AbstractVertexView
ptr, vertexCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jozufozu.flywheel.lib.vertex.AbstractVertexView
ptr, ptr, vertexCount, vertexCount, write, write, writeAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.lib.vertex.EmptyVertexList
a, a, b, b, g, g, light, light, normalX, normalX, normalY, normalY, normalZ, normalZ, overlay, overlay, r, r, u, u, v, vMethods inherited from interface com.jozufozu.flywheel.api.vertex.VertexList
getNormal, getPos, isEmpty, vertexCount, write, write, writeAll
-
Field Details
-
STRIDE
public static final long STRIDE- See Also:
-
-
Constructor Details
-
PosVertexView
public PosVertexView()
-
-
Method Details
-
stride
public long stride()- Specified by:
stridein interfaceVertexView
-
x
public float x(int index) - Specified by:
xin interfaceEmptyVertexList- Specified by:
xin interfaceVertexList
-
y
public float y(int index) - Specified by:
yin interfaceEmptyVertexList- Specified by:
yin interfaceVertexList
-
z
public float z(int index) - Specified by:
zin interfaceEmptyVertexList- Specified by:
zin interfaceVertexList
-
x
public void x(int index, float x) - Specified by:
xin interfaceEmptyVertexList- Specified by:
xin interfaceMutableVertexList
-
y
public void y(int index, float y) - Specified by:
yin interfaceEmptyVertexList- Specified by:
yin interfaceMutableVertexList
-
z
public void z(int index, float z) - Specified by:
zin interfaceEmptyVertexList- Specified by:
zin interfaceMutableVertexList
-