Browse Source

change GLvector3f to GLvector4f for normal transformation

tags/mesa_4_1
Brian Paul 23 years ago
parent
commit
ea53a5b5ab
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/mesa/x86/common_x86_macros.h

+ 3
- 3
src/mesa/x86/common_x86_macros.h View File

@@ -1,4 +1,4 @@
/* $Id: common_x86_macros.h,v 1.1 2001/03/30 14:44:43 gareth Exp $ */
/* $Id: common_x86_macros.h,v 1.2 2002/08/08 16:53:12 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -71,9 +71,9 @@ extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_3d( XFORM_ARGS );

#define NORM_ARGS const GLmatrix *mat, \
GLfloat scale, \
const GLvector3f *in, \
const GLvector4f *in, \
const GLfloat *lengths, \
GLvector3f *dest
GLvector4f *dest

#define DECLARE_NORM_GROUP( pfx ) \
extern void _ASMAPI _mesa_##pfx##_rescale_normals( NORM_ARGS ); \

Loading…
Cancel
Save