Skip to content

Commit

Permalink
Removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterBarclay committed Jul 16, 2024
1 parent e743fdf commit bd073b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions fission/src/mirabuf/MirabufSceneObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ class MirabufSceneObject extends SceneObject {
.get(part)!
.clone()
.premultiply(transform)
// this._mirabufInstance.meshes.get(part)!.forEach(mesh => {
// mesh.position.setFromMatrixPosition(partTransform)
// mesh.rotation.setFromRotationMatrix(partTransform)
// })
const meshes = this._mirabufInstance.meshes.get(part) ?? []
meshes.forEach(([batch, id]) => batch.setMatrixAt(id, partTransform))
})
Expand Down
5 changes: 0 additions & 5 deletions fission/src/ui/components/TransformGizmos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ class TransformGizmos {
.get(part)!
.clone()
.premultiply(this.mesh.matrix)
// obj.mirabufInstance.meshes.get(part)!.forEach(mesh => {
// // iterating through each mesh and updating their position and rotation
// mesh.position.setFromMatrixPosition(partTransform)
// mesh.rotation.setFromRotationMatrix(partTransform)
// })

const meshes = obj.mirabufInstance.meshes.get(part) ?? []
meshes.forEach(([batch, id]) => batch.setMatrixAt(id, partTransform))
Expand Down

0 comments on commit bd073b7

Please sign in to comment.