Camera3DD constructor

Camera3DD({
  1. StructPointer<Camera3DD>? op,
  2. Vector3D? position,
  3. Vector3D? target,
  4. Vector3D? up,
  5. double fovy = 45,
  6. 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;