 |
PK_VECTOR_transform |
|
PK_ERROR_code_t PK_VECTOR_transform
(
--- received arguments ---
PK_VECTOR_t p, --- original point
PK_TRANSF_t transf, --- transformation to apply
--- returned arguments ---
PK_VECTOR_t *const ptrans --- new position
)
This function applies the given transform to the position vector and
returns the result.
Specific Errors:
PK_ERROR_bad_position 'transf' contains a perspective component, and the
transform and position 'p' is such that the position
would be projected to infinity (MILD)