chandlerprall / ThreeCSG

CSG plugin for Three.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multipyVector3 has been deprecated

aerialist opened this issue · comments

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?

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

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

@joukokar would you mind creating a pull request?

Merged, thank you @joukokar !