|
static HERMES_DEVICE_CALLABLE Transform | lookAt (const point3 &eye, const point3 &target={0, 0, 0}, const vec3 &up={0, 1, 0}, transform_options options=transform_options::left_handed) |
| Creates a Look At Transform.
|
|
static HERMES_DEVICE_CALLABLE Transform | ortho (real_t left, real_t right, real_t bottom, real_t top, real_t near, real_t far, transform_options options=transform_options::left_handed) |
| Creates an Orthographic Projection.
|
|
static HERMES_DEVICE_CALLABLE Transform | perspective (real_t fovy_in_degrees, real_t aspect_ratio, real_t near, real_t far, transform_options options=transform_options::left_handed) |
| Creates a Perspective Projection.
|
|
static HERMES_DEVICE_CALLABLE Transform | scale (real_t x, real_t y, real_t z) |
| Creates a scale transform.
|
|
static HERMES_DEVICE_CALLABLE Transform | translate (const vec3 &d) |
| Creates a translation transform.
|
|
static HERMES_DEVICE_CALLABLE Transform | rotateX (real_t angle_in_radians) |
| Creates a x-axis rotation transform.
|
|
static HERMES_DEVICE_CALLABLE Transform | rotateY (real_t angle_in_radians) |
| Creates a y-axis rotation transform.
|
|
static HERMES_DEVICE_CALLABLE Transform | rotateZ (real_t angle_in_radians) |
| Creates a z-axis rotation transform.
|
|
static HERMES_DEVICE_CALLABLE Transform | rotate (real_t angle_in_radians, const vec3 &axis) |
| Creates a arbitrary-axis rotation transform.
|
|
static HERMES_DEVICE_CALLABLE Transform | alignVectors (const vec3 &a, const vec3 &b) |
| Creates a transform that aligns vector a to vector b.
|
|
static MemoryDumper::RegionLayout | memoryDumpLayout () |
| Gets memory layout.
|
|
Represents a 3-dimensional transformation.