Package | Description |
---|---|
org.dayflower.pathtracer.main |
Provides the main entry-point for Dayflower - Path Tracer.
|
org.dayflower.pathtracer.math |
Provides the Mathematics API.
|
org.dayflower.pathtracer.scene |
Provides the Scene API.
|
Modifier and Type | Method and Description |
---|---|
void |
DayflowerApplication.pitchChanged(Camera camera,
AngleF pitch)
Called by a
Camera instance when its pitch has changed. |
void |
DayflowerApplication.yawChanged(Camera camera,
AngleF yaw)
Called by a
Camera instance when its yaw has changed. |
Modifier and Type | Method and Description |
---|---|
AngleF |
AngleF.add(AngleF angle)
Adds
angle to this AngleF instance. |
static AngleF |
AngleF.degrees(float degrees)
Returns a new
AngleF instance based on an angle in degrees. |
static AngleF |
AngleF.degrees(float degrees,
float degreesA,
float degreesB)
Returns a new
AngleF instance based on an angle in degrees and an interval of valid degrees. |
static AngleF |
AngleF.fieldOfView(float focalDistance,
float resolution)
Returns a Field of View (FoV)
AngleF based on focalDistance and resolution . |
AngleF |
AngleF.half()
Returns a new
AngleF instance that represents half of this AngleF instance. |
static AngleF |
AngleF.pitch(Point3F eye,
Point3F lookAt)
Returns a new pitch
AngleF instance based on eye and lookAt . |
static AngleF |
AngleF.pitch(Vector3F direction)
Returns a new pitch
AngleF instance based on direction . |
static AngleF |
AngleF.radians(float radians)
Returns a new
AngleF instance based on an angle in radians. |
static AngleF |
AngleF.radians(float radians,
float radiansA,
float radiansB)
Returns a new
AngleF instance based on an angle in radians and an interval of valid radians. |
AngleF |
AngleF.subtract(AngleF angle)
Subtracts
angle from this AngleF instance. |
static AngleF |
AngleF.yaw(Point3F eye,
Point3F lookAt)
Returns a new yaw
AngleF instance based on eye and lookAt . |
static AngleF |
AngleF.yaw(Vector3F direction)
Returns a new yaw
AngleF instance based on direction . |
Modifier and Type | Method and Description |
---|---|
AngleF |
AngleF.add(AngleF angle)
Adds
angle to this AngleF instance. |
static Matrix44F |
Matrix44F.perspective(AngleF fieldOfView,
float aspectRatio,
float zNear,
float zFar)
Returns a
Matrix44F for perspective viewing. |
static Matrix44F |
Matrix44F.rotateX(AngleF angle)
Returns a
Matrix44F for rotating along the X-axis. |
static Matrix44F |
Matrix44F.rotateY(AngleF angle)
Returns a
Matrix44F for rotating along the Y-axis. |
static Matrix44F |
Matrix44F.rotateZ(AngleF angle)
Returns a
Matrix44F for rotating along the Z-axis. |
AngleF |
AngleF.subtract(AngleF angle)
Subtracts
angle from this AngleF instance. |
Modifier and Type | Method and Description |
---|---|
AngleF |
Camera.getPitch()
Returns an
AngleF with the current pitch angle. |
AngleF |
Camera.getYaw()
Returns an
AngleF with the current yaw angle. |
Modifier and Type | Method and Description |
---|---|
void |
Camera.changePitch(AngleF pitch)
Changes the pitch angle of this
Camera instance. |
void |
Camera.changeYaw(AngleF yaw)
Changes the yaw angle of this
Camera instance. |
void |
CameraObserver.pitchChanged(Camera camera,
AngleF pitch)
Called by a
Camera instance when its pitch has changed. |
void |
Camera.setPitch(AngleF pitch)
Sets
pitch as the current pitch angle. |
void |
Camera.setYaw(AngleF yaw)
Sets
yaw as the current yaw angle. |
void |
CameraObserver.yawChanged(Camera camera,
AngleF yaw)
Called by a
Camera instance when its yaw has changed. |