Last change
on this file since 62489 was 15532, checked in by vboxsync, 16 years ago |
crOpenGL: export to OSE
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
498 bytes
|
Line | |
---|
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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.