modelX()

Lights Camera / Coordinates

Description

Returns the x-coordinate of a 3D point in model space after applying the current transformation matrix.

Syntax

float modelX(float x, float y, float z)

Parameters

NameTypeDescription
xfloat3D x-coordinate
yfloat3D y-coordinate
zfloat3D z-coordinate

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...