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