rprCurveSetTransform

Sets world transform for a curve.

rpr_status rprCurveSetTransform(

rpr_curve curve,

rpr_bool transpose,

rpr_float const * transform);

Parameters

Parameter

Description

curve

The curve to set the transform for.

transpose

Determines whether the basis vectors are in columns (false) or in rows (true) of the matrix.

transform

An array of 16  rpr_float values (the major form of storing them is in rows).

Notes

Regular matrix transformation in 3D space. Transpose describes the layout of a matrix in memory: true if it is stored by rows, false if it is stored in columns.

Return

Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.