Package | Description |
---|---|
org.sunflow.core | |
org.sunflow.math |
Modifier and Type | Method | Description |
---|---|---|
OrthoNormalBasis |
ShadingState.getBasis() |
Gets the local orthonormal basis for the current hit point.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
static OrthoNormalBasis |
OrthoNormalBasis.makeFromW(Vector3 w) |
|
static OrthoNormalBasis |
OrthoNormalBasis.makeFromWV(Vector3 w,
Vector3 v) |
Modifier and Type | Method | Description |
---|---|---|
static Matrix4 |
Matrix4.fromBasis(OrthoNormalBasis basis) |
Creates a rotation matrix from an OrthonormalBasis.
|