VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_clipplane.c@ 48765

最後變更 在這個檔案從48765是 15532,由 vboxsync 提交於 16 年 前

crOpenGL: export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 498 位元組
 
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
11void 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}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette