Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { Group, Texture } from 'three'
import { XRHandModel, XRHandModelHandedness } from './XRHandModelFactory'
export interface XRHandPrimitiveModelOptions {
primitive?: 'sphere' | 'box' | undefined
}
export class XRHandPrimitiveModel {
controller: Group
handModel: XRHandModel
envMap: Texture | null
handMesh: Group
constructor(
handModel: XRHandModel,
controller: Group,
path: string,
handedness: XRHandModelHandedness,
options: XRHandPrimitiveModelOptions,
)
updateMesh: () => void
}