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