M
M
MK2019-03-02 14:05:41
3D
MK, 2019-03-02 14:05:41

How do the project and unproject functions work in three.js?

I just can’t understand how vectors are projected in three.js using a camera, please explain, kind people!
The picture shows an example of a vector projection (5; 7; 0)
new THREE.Vector3(5, 7, 0).project(camera);
5c7a638195b07360529012.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question