chandlerprall / ThreeCSG

CSG plugin for Three.js
MIT License
453 stars 152 forks source link

multipyVector3 has been deprecated #3

Closed aerialist closed 11 years ago

aerialist commented 11 years ago

In Three.js r55 DEPRECATED: Matrix4\'s .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) or vector.applyProjection( matrix ) instead.' );

And because ThreeBSP.Vertex object doesn't have applyMatrix4() or applyProjection() method, it fails.

How could this great tool updated to work with Three.js r55?

joukokar commented 11 years ago

I recently made this work on r55. Here's a repo https://github.com/joukokar/ThreeCSG

aerialist commented 11 years ago

Thank you for sharing your work, Joukokar! It worked with r55 like a charm ;-)

chandlerprall commented 11 years ago

@joukokar would you mind creating a pull request?

joukokar commented 11 years ago

@aerialist nice! :)

@chandlerprall created

chandlerprall commented 11 years ago

Merged, thank you @joukokar !