Package com.jozufozu.flywheel.lib.vertex
Class PosTexNormalVertexView
java.lang.Object
com.jozufozu.flywheel.lib.vertex.AbstractVertexView
com.jozufozu.flywheel.lib.vertex.PosTexNormalVertexView
- 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
Modifier and TypeMethodDescriptionfloatnormalX(int index) voidnormalX(int index, float normalX) floatnormalY(int index) voidnormalY(int index, float normalY) floatnormalZ(int index) voidnormalZ(int index, float normalZ) longstride()floatu(int index) voidu(int index, float u) floatv(int index) voidv(int index, float v) floatx(int index) voidx(int index, float x) floaty(int index) voidy(int index, float y) floatz(int index) voidz(int index, float z) 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, overlay, overlay, r, rMethods 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
-
PosTexNormalVertexView
public PosTexNormalVertexView()
-
-
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
-
u
public float u(int index) - Specified by:
uin interfaceEmptyVertexList- Specified by:
uin interfaceVertexList
-
v
public float v(int index) - Specified by:
vin interfaceEmptyVertexList- Specified by:
vin interfaceVertexList
-
normalX
public float normalX(int index) - Specified by:
normalXin interfaceEmptyVertexList- Specified by:
normalXin interfaceVertexList
-
normalY
public float normalY(int index) - Specified by:
normalYin interfaceEmptyVertexList- Specified by:
normalYin interfaceVertexList
-
normalZ
public float normalZ(int index) - Specified by:
normalZin interfaceEmptyVertexList- Specified by:
normalZin 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
-
u
public void u(int index, float u) - Specified by:
uin interfaceEmptyVertexList- Specified by:
uin interfaceMutableVertexList
-
v
public void v(int index, float v) - Specified by:
vin interfaceEmptyVertexList- Specified by:
vin interfaceMutableVertexList
-
normalX
public void normalX(int index, float normalX) - Specified by:
normalXin interfaceEmptyVertexList- Specified by:
normalXin interfaceMutableVertexList
-
normalY
public void normalY(int index, float normalY) - Specified by:
normalYin interfaceEmptyVertexList- Specified by:
normalYin interfaceMutableVertexList
-
normalZ
public void normalZ(int index, float normalZ) - Specified by:
normalZin interfaceEmptyVertexList- Specified by:
normalZin interfaceMutableVertexList
-