Skip to content

Commit

Permalink
refactor: Use optional instead of union type.
Browse files Browse the repository at this point in the history
Co-authored-by: PepperLola <[email protected]>
  • Loading branch information
HunterBarclay and PepperLola authored Sep 22, 2024
1 parent 2fc64cc commit 1177d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fission/src/systems/scene/GizmoSceneObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GizmoSceneObject extends SceneObject {
private _obj: Object3D
private _forceUpdate: boolean = false

private _parentObject: MirabufSceneObject | undefined
private _parentObject?: MirabufSceneObject
private _relativeTransformations?: Map<RigidNodeId, THREE.Matrix4>

private _mainCamera: PerspectiveCamera
Expand Down

0 comments on commit 1177d0d

Please sign in to comment.