Skip to content

Instantly share code, notes, and snippets.

@syntaqx
Created January 7, 2014 19:58
Show Gist options
  • Save syntaqx/8305851 to your computer and use it in GitHub Desktop.
Save syntaqx/8305851 to your computer and use it in GitHub Desktop.
class SkinnedMesh extends THREE.Mesh {
constructor(geometry, materials) {
super(geometry, materials)
this.identityMatrix = new Three.Matrix4()
this.bones = []
this.boneMatrices = []
}
update(camera) {
super.update()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment