Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

threejs: How the Unit of Measure of represent for position?

Tags:

three.js

If the mesh is moving from position (0,0,0) to (10,0,0). The new position of the mesh in x direction is "10". So, what will be the UOM of position. will it be in meter or millimeter or centimeter.

i.e. 10 m or 10 mm or 10 cm or 10 px ?

like image 821
Premkumar Jayaseelan Avatar asked Apr 29 '15 17:04

Premkumar Jayaseelan


1 Answers

The official answer is that ThreeJS uses SI units. Thus distances are in meters:

https://github.com/mrdoob/three.js/issues/6259

like image 63
bhouston Avatar answered Oct 23 '22 17:10

bhouston