![]() |
![]() |
![]() |
Pigment Render Reference Manual | ![]() |
---|---|---|---|---|
PgmRenderPipe3dIFace; PgmRenderError pgm_render_pipe3d_set_translation (PgmRenderPipe3dIFace *pipe3d, gfloat x, gfloat y, gfloat z); PgmRenderError pgm_render_pipe3d_get_translation (PgmRenderPipe3dIFace *pipe3d, gfloat *x, gfloat *y, gfloat *z); PgmRenderError pgm_render_pipe3d_set_rotation (PgmRenderPipe3dIFace *pipe3d, gfloat x, gfloat y, gfloat z); PgmRenderError pgm_render_pipe3d_get_rotation (PgmRenderPipe3dIFace *pipe3d, gfloat *x, gfloat *y, gfloat *z);
PgmRenderError pgm_render_pipe3d_set_translation (PgmRenderPipe3dIFace *pipe3d, gfloat x, gfloat y, gfloat z);
Add a translation to an object.
pipe3d : |
A PgmRenderPipe3dIFace object. |
x : |
The x coordinate of the translation. |
y : |
The y coordinate of the translation. |
z : |
The z coordinate of the translation. |
Returns : | An error status. |
PgmRenderError pgm_render_pipe3d_get_translation (PgmRenderPipe3dIFace *pipe3d, gfloat *x, gfloat *y, gfloat *z);
Retrieves the translation of an object.
pipe3d : |
A PgmRenderPipe3dIFace object. |
x : |
The x coordinate of the translation to fill. |
y : |
The y coordinate of the translation to fill. |
z : |
The z coordinate of the translation to fill. |
Returns : | An error status. |
PgmRenderError pgm_render_pipe3d_set_rotation (PgmRenderPipe3dIFace *pipe3d, gfloat x, gfloat y, gfloat z);
Add a rotation in degrees to an object.
pipe3d : |
A PgmRenderPipe3dIFace object. |
x : |
The x angle of rotation in degrees. |
y : |
The y angle of rotation in degrees. |
z : |
The z angle of rotation in degrees. |
Returns : | An error status. |
PgmRenderError pgm_render_pipe3d_get_rotation (PgmRenderPipe3dIFace *pipe3d, gfloat *x, gfloat *y, gfloat *z);
Retrieves the rotation in degrees of an object.
pipe3d : |
A PgmRenderPipe3dIFace object. |
x : |
The x angle of rotation in degrees to fill. |
y : |
The y angle of rotation in degrees to fill. |
z : |
The z angle of rotation in degrees to fill. |
Returns : | An error status. |