GLUS
|
#include "GL/glus.h"
Functions | |
GLUSboolean GLUSAPIENTRY | glusShapeTexGenByAxesf (GLUSshape *shape, const GLUSfloat sSizeX, const GLUSfloat sSizeZ, const GLUSfloat tSizeY, const GLUSfloat tSizeZ, const GLUSfloat sOffset, const GLUSfloat tOffset) |
Creates the texture coordinates of a shape. More... | |
GLUSboolean GLUSAPIENTRY | glusShapeTexGenByPlanesf (GLUSshape *shape, const GLUSfloat sPlane[4], const GLUSfloat tPlane[4], const float sSize, const float tSize, const float sOffset, const float tOffset) |
Creates the texture coordinates of a shape. More... | |
GLUSboolean GLUSAPIENTRY glusShapeTexGenByAxesf | ( | GLUSshape * | shape, |
const GLUSfloat | sSizeX, | ||
const GLUSfloat | sSizeZ, | ||
const GLUSfloat | tSizeY, | ||
const GLUSfloat | tSizeZ, | ||
const GLUSfloat | sOffset, | ||
const GLUSfloat | tOffset | ||
) |
Creates the texture coordinates of a shape.
Already existing texture coordinates are deleted.
shape | The shape, where the texture coordinates are created. |
sSizeX | Size of the s texture coordinate, considering x axis. |
sSizeZ | Size of the s texture coordinate, considering z axis. |
tSizeY | Size of the t texture coordinate, considering y axis. |
tSizeZ | Size of the t texture coordinate, considering z axis. |
sOffset | Offset in the s texture coordinate direction. |
tOffset | Offset in the t texture coordinate direction. |
GLUSboolean GLUSAPIENTRY glusShapeTexGenByPlanesf | ( | GLUSshape * | shape, |
const GLUSfloat | sPlane[4], | ||
const GLUSfloat | tPlane[4], | ||
const float | sSize, | ||
const float | tSize, | ||
const float | sOffset, | ||
const float | tOffset | ||
) |
Creates the texture coordinates of a shape.
Already existing texture coordinates are deleted.
shape | The shape, where the texture coordinates are created. |
sPlane | The plane for calculating the s coordinate. |
tPlane | The plane for calculating the t coordinate. |
sSize | The size in s direction. |
tSize | The size in t direction. |
sOffset | The offset in s direction. |
tOffset | The offset in t direction. |