fromMatrix4Column method

Vector3 fromMatrix4Column(
  1. Matrix4 m,
  2. int i
)

Sets the components of this 3D vector from a column of a 4x4 matrix.

Implementation

Vector3 fromMatrix4Column(Matrix4 m, int i ) {
	return fromArray( m.elements, i * 4 );
}