blob: 462f28e58e04ca0178adbabb8046a1e00fbd3be9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "unpacker.h"
#include "cr_mem.h"
#include "unpack_extend.h"
void crUnpackClipPlane( void )
{
GLenum plane = READ_DATA( 0, GLenum );
GLdouble equation[4];
crMemcpy( equation, DATA_POINTER( 4, GLdouble ), sizeof(equation) );
cr_unpackDispatch.ClipPlane( plane, equation );
INCR_DATA_PTR( sizeof( GLenum ) + 4*sizeof( GLdouble ));
}
|