Class TriangleBvh.Entry
java.lang.Object
eu.svjatoslav.sixth.e3d.renderer.raster.gi.TriangleBvh.Entry
- Enclosing class:
TriangleBvh
One ray-traced triangle with cached data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatLightmap when the polygon is aLightmappedShape, else null.floatfloatfloatfloatfloatfloatfloat[]Unit surface normal, world space.final AbstractCoordinateShapefinal float[]Triangle vertices, world space: x0,y0,z0, x1,y1,z1, x2,y2,z2. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
polygon
-
lightmap
Lightmap when the polygon is aLightmappedShape, else null. -
v
public final float[] vTriangle vertices, world space: x0,y0,z0, x1,y1,z1, x2,y2,z2. -
centroidX
public float centroidX -
centroidY
public float centroidY -
centroidZ
public float centroidZ -
minX
public float minX -
minY
public float minY -
minZ
public float minZ -
maxX
public float maxX -
maxY
public float maxY -
maxZ
public float maxZ -
normal
public volatile float[] normalUnit surface normal, world space.
-
-
Constructor Details
-
Entry
-