feat: better starting angle

This commit is contained in:
tresabhi committed 2025-03-23 17:51:56 -05:00
1 parent 80325aa3b2
commit da4c2ece32
1 file changed
+3 -2
@@ -1,4 +1,5 @@
import { EventManager } from '@blitzkit/core';
import { degToRad } from 'three/src/math/MathUtils.js';
export interface DissectEventData {
rotation: number;
@@ -8,8 +9,8 @@ export interface DissectEventData {
export const dissectEvent = new EventManager<DissectEventData>();
export const lastDissection: DissectEventData = {
rotation: Math.PI / 2,
offset: 0,
rotation: degToRad(100),
offset: 0.8,
};
dissectEvent.on((data) => Object.assign(lastDissection, data));