Class CoordinateCalculator
Class defined in:src/node-coordinateCalculator.js:34
CoordinateCalculator class
calculateScreenPos
( x, y, z
)
src/node-coordinateCalculator.js:128
Calculate screen coordinates
Parameters:
Object
wandToScreenCoordinates
( x, y, z, rx, ry, rz, rw
)
src/node-coordinateCalculator.js:53
Calculate wand to screen intersection
Parameters:-
x
<Number>wand x
-
y
<Number>wand x
-
z
<Number>wand x
-
rx
<Number>ray x
-
ry
<Number>ray y
-
rz
<Number>ray z
-
rw
<Number>ray w
Returns: <Object>
screen coordinates .x and .y