vector_2d_to_3d_val


Description:


public Vector3 vector_2d_to_3d_val (int sx, int sy, int w, int h, int x, int y, Vector3 vp, Vector3 p)

This function is identical to vector_2d_to_3d but the position of the observer and the resulting point p are passed by value rather than by reference.

Parameters:

sx

the abscissa of the upper-left screen rectangle.

sy

the ordinate of the upper-left screen rectangle.

w

the width of the screen rectangle.

h

the height of the screen rectangle.

x

the abscissa of the point in the screen rectangle to map.

y

the ordinate of the point in the screen rectangle to map.

vp

position of the observer.

p

the resulting point.

Returns:

the computed Vector3 point.


Namespace: Gimp
Package: gimp-3.0