Package | Description |
---|---|
org.sunflow.core | |
org.sunflow.math |
Modifier and Type | Method and Description |
---|---|
OrthoNormalBasis |
ShadingState.getBasis()
Gets the local orthonormal basis for the current hit point.
|
Modifier and Type | Method and Description |
---|---|
Vector3 |
Texture.getBump(float x,
float y,
OrthoNormalBasis basis,
float scale) |
Vector3 |
Texture.getNormal(float x,
float y,
OrthoNormalBasis basis) |
void |
ShadingState.setBasis(OrthoNormalBasis basis)
Define the orthonormal basis for the current hit point.
|
Modifier and Type | Method and Description |
---|---|
static OrthoNormalBasis |
OrthoNormalBasis.makeFromW(Vector3 w) |
static OrthoNormalBasis |
OrthoNormalBasis.makeFromWV(Vector3 w,
Vector3 v) |
Modifier and Type | Method and Description |
---|---|
static Matrix4 |
Matrix4.fromBasis(OrthoNormalBasis basis)
Creates a rotation matrix from an OrthonormalBasis.
|