diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-04-06 22:11:57 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-04-06 22:11:57 +0000 |
commit | 51faca127005c41277df76bc8eafc8fd64ca0673 (patch) | |
tree | 3ef6f2ae8f1616746e8d7316b0ca8d23267081e0 /src/mesa/math | |
parent | f51a32e82a907363a77d91b855e519f43191cad8 (diff) |
Rename CLIP_ALL_BITS to CLIP_FRUSTUM_BITS to reflect the fact that the value
only includes the 6 frustum bits, not the user-clip plane bit, nor the vertex
cull bit.
Diffstat (limited to 'src/mesa/math')
-rw-r--r-- | src/mesa/math/m_debug_clip.c | 2 | ||||
-rw-r--r-- | src/mesa/math/m_xform.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/math/m_debug_clip.c b/src/mesa/math/m_debug_clip.c index 334f3ef030..ab28818359 100644 --- a/src/mesa/math/m_debug_clip.c +++ b/src/mesa/math/m_debug_clip.c @@ -245,7 +245,7 @@ static int test_cliptest_function( clip_func func, int np, ref->flags = 0; dco = rco = 0; - dca = rca = CLIP_ALL_BITS; + dca = rca = CLIP_FRUSTUM_BITS; ref_cliptest[psize]( source, ref, rm, &rco, &rca ); diff --git a/src/mesa/math/m_xform.h b/src/mesa/math/m_xform.h index 63f1062fc8..99b071a46b 100644 --- a/src/mesa/math/m_xform.h +++ b/src/mesa/math/m_xform.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.5.1 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -99,7 +99,7 @@ _math_init_transformation(void); #define CLIP_FAR_BIT 0x20 #define CLIP_USER_BIT 0x40 #define CLIP_CULL_BIT 0x80 -#define CLIP_ALL_BITS 0x3f +#define CLIP_FRUSTUM_BITS 0x3f typedef GLvector4f * (_XFORMAPIP clip_func)( GLvector4f *vClip, |