Created
January 7, 2014 19:58
-
-
Save syntaqx/8305851 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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