#include "main/glheader.h"
#include "main/config.h"
#include "math/m_vector.h"
#include "math/m_matrix.h"
Defines | |
| #define | _XFORMAPI |
| #define | _XFORMAPIP * |
| #define | CLIP_RIGHT_SHIFT 0 |
| #define | CLIP_LEFT_SHIFT 1 |
| #define | CLIP_TOP_SHIFT 2 |
| #define | CLIP_BOTTOM_SHIFT 3 |
| #define | CLIP_NEAR_SHIFT 4 |
| #define | CLIP_FAR_SHIFT 5 |
| #define | CLIP_RIGHT_BIT 0x01 |
| #define | CLIP_LEFT_BIT 0x02 |
| #define | CLIP_TOP_BIT 0x04 |
| #define | CLIP_BOTTOM_BIT 0x08 |
| #define | CLIP_NEAR_BIT 0x10 |
| #define | CLIP_FAR_BIT 0x20 |
| #define | CLIP_USER_BIT 0x40 |
| #define | CLIP_CULL_BIT 0x80 |
| #define | CLIP_FRUSTUM_BITS 0x3f |
| #define | NORM_RESCALE 0x1 |
| #define | NORM_NORMALIZE 0x2 |
| #define | NORM_TRANSFORM 0x4 |
| #define | NORM_TRANSFORM_NO_ROT 0x8 |
| #define | TransformRaw(to, mat, from) |
Typedefs | |
| typedef GLvector4f *_XFORMAPIP | clip_func (GLvector4f *vClip, GLvector4f *vProj, GLubyte clipMask[], GLubyte *orMask, GLubyte *andMask, GLboolean viewport_z_clip) |
| typedef void(* | dotprod_func )(GLfloat *out, GLuint out_stride, CONST GLvector4f *coord_vec, CONST GLfloat plane[4]) |
| typedef void(* | vec_copy_func )(GLvector4f *to, CONST GLvector4f *from) |
| typedef GLfloat | scale |
| typedef GLfloat CONST GLvector4f * | in |
| typedef GLfloat CONST GLvector4f CONST GLfloat | lengths [] |
| typedef GLfloat CONST GLvector4f CONST GLfloat GLvector4f * | dest |
| typedef CONST GLfloat | m [16] |
| typedef CONST GLfloat CONST GLvector4f * | from_vec |
Functions | |
| void | _math_init_transformation (void) |
| void | init_c_cliptest (void) |
| typedef | void (_NORMAPIP normal_func)(CONST GLmatrix *mat |
| typedef | void (_XFORMAPIP transform_func)(GLvector4f *to_vec |
Variables | |
| dotprod_func | _mesa_dotprod_tab [5] |
| vec_copy_func | _mesa_copy_tab [0x10] |
| vec_copy_func | _mesa_copy_clean_tab [5] |
| clip_func | _mesa_clip_tab [5] |
| clip_func | _mesa_clip_np_tab [5] |
| normal_func | _mesa_normal_tab [0xf] |
| transform_func * | _mesa_transform_tab [5] |
| #define _XFORMAPI |
| #define _XFORMAPIP * |
| #define CLIP_BOTTOM_BIT 0x08 |
| #define CLIP_BOTTOM_SHIFT 3 |
| #define CLIP_CULL_BIT 0x80 |
| #define CLIP_FAR_BIT 0x20 |
| #define CLIP_FAR_SHIFT 5 |
| #define CLIP_FRUSTUM_BITS 0x3f |
| #define CLIP_LEFT_BIT 0x02 |
| #define CLIP_LEFT_SHIFT 1 |
| #define CLIP_NEAR_BIT 0x10 |
| #define CLIP_NEAR_SHIFT 4 |
| #define CLIP_RIGHT_BIT 0x01 |
| #define CLIP_RIGHT_SHIFT 0 |
| #define CLIP_TOP_BIT 0x04 |
| #define CLIP_TOP_SHIFT 2 |
| #define CLIP_USER_BIT 0x40 |
| #define NORM_NORMALIZE 0x2 |
| #define NORM_RESCALE 0x1 |
| #define NORM_TRANSFORM 0x4 |
| #define NORM_TRANSFORM_NO_ROT 0x8 |
| #define TransformRaw | ( | to, | |||
| mat, | |||||
| from | ) |
Value:
( _mesa_transform_tab[(from)->size][(mat)->type]( to, (mat)->m, from ), \ (to) )
| typedef GLvector4f* _XFORMAPIP clip_func(GLvector4f *vClip, GLvector4f *vProj, GLubyte clipMask[], GLubyte *orMask, GLubyte *andMask, GLboolean viewport_z_clip) |
| typedef GLfloat CONST GLvector4f CONST GLfloat GLvector4f* dest |
| typedef void(* dotprod_func)(GLfloat *out, GLuint out_stride, CONST GLvector4f *coord_vec, CONST GLfloat plane[4]) |
| typedef CONST GLfloat CONST GLvector4f* from_vec |
| typedef GLfloat CONST GLvector4f* in |
| typedef GLfloat CONST GLvector4f CONST GLfloat lengths[] |
| typedef CONST GLfloat m[16] |
| typedef GLfloat scale |
| typedef void(* vec_copy_func)(GLvector4f *to, CONST GLvector4f *from) |
| void _math_init_transformation | ( | void | ) |
| void init_c_cliptest | ( | void | ) |
| typedef void | ( | _XFORMAPIP | transform_func | ) |
| typedef void | ( | _NORMAPIP | normal_func | ) |
| vec_copy_func _mesa_copy_tab[0x10] |
| normal_func _mesa_normal_tab[0xf] |
| transform_func* _mesa_transform_tab[5] |
1.5.4