Camera3DD constructor
Camera3DD({
- StructPointer<
Camera3DD> ? op, - Vector3D? position,
- Vector3D? target,
- Vector3D? up,
- double fovy = 45,
- CameraProjection projection = .CAMERA_PERSPECTIVE,
Implementation
Camera3DD({
super.op,
Vector3D? position,
Vector3D? target,
Vector3D? up,
double fovy = 45,
CameraProjection projection = .CAMERA_PERSPECTIVE,
}) :
_position = position ?? .zero(),
_target = target ?? .zero(),
_up = up ?? .zero(),
_fovy = fovy,
_projection = projection;