Package | Description |
---|---|
org.dayflower.pathtracer.scene.shape |
Provides
Shape implementations. |
Modifier and Type | Field and Description |
---|---|
Triangle.Vertex |
Triangle.a
The
Triangle.Vertex A. |
Triangle.Vertex |
Triangle.b
The
Triangle.Vertex B. |
Triangle.Vertex |
Triangle.c
The
Triangle.Vertex C. |
Modifier and Type | Method and Description |
---|---|
Triangle.Vertex |
Triangle.getA()
Returns the
Triangle.Vertex denoted by A. |
Triangle.Vertex |
Triangle.getB()
Returns the
Triangle.Vertex denoted by B. |
Triangle.Vertex |
Triangle.getC()
Returns the
Triangle.Vertex denoted by C. |
Triangle.Vertex |
Triangle.Vertex.setPosition(Point3F position)
Sets a new position.
|
Triangle.Vertex |
Triangle.Vertex.transform(Matrix44F m)
|
Triangle.Vertex |
Triangle.Vertex.translateX(float x)
Translates this
Vertex in the X-direction. |
Triangle.Vertex |
Triangle.Vertex.translateY(float y)
Translates this
Vertex in the Y-direction. |
Triangle.Vertex |
Triangle.Vertex.translateZ(float z)
Translates this
Vertex in the Z-direction. |
Constructor and Description |
---|
Triangle(Triangle.Vertex a,
Triangle.Vertex b,
Triangle.Vertex c)
Constructs a new
Triangle instance. |