Class SpherePoints
java.lang.Object
dev.latvian.mods.klib.shape.SpherePoints
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SpherePoints.Col[]static final SpherePointsfinal intstatic final SpherePointsstatic final SpherePointsfinal org.joml.Vector3f[][]final SpherePoints.Row[]final intstatic final SpherePoints -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildLines(float x, float y, float z, float s, VertexCallback callback) voidbuildQuads(float x, float y, float z, float s, VertexCallback callback) voidstatic SpherePointsget(int hd, int vd)
-
Field Details
-
L
-
M
-
H
-
X
-
hdetail
public final int hdetail -
vdetail
public final int vdetail -
cols
-
rows
-
normals
public final org.joml.Vector3f[][] normals
-
-
Method Details
-
get
-
calculate
public void calculate() -
buildQuads
-
buildLines
-