Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
cube2.plg
Package: Source.rar [view]
Upload User: husern
Upload Date: 2018-01-20
Package Size: 42486k
Code Size: 1k
Category:
Game Program
Development Platform:
Visual C++
- # begin plg/plx file
- # define PLX_COLOR_MODE_RGB_FLAG 0x8000 // this poly uses RGB color
- # define PLX_COLOR_MODE_INDEXED_FLAG 0x0000 // this poly uses an indexed 8-bit color
- # define PLX_2SIDED_FLAG 0x1000 // this poly is double sided
- # define PLX_1SIDED_FLAG 0x0000 // this poly is single sided
- # define PLX_SHADE_MODE_PURE_FLAG 0x0000 // this poly is a constant color
- # define PLX_SHADE_MODE_CONSTANT_FLAG 0x0000 // alias
- # define PLX_SHADE_MODE_FLAT_FLAG 0x2000 // this poly uses flat shading
- # define PLX_SHADE_MODE_GOURAUD_FLAG 0x4000 // this poly used gouraud shading
- # define PLX_SHADE_MODE_PHONG_FLAG 0x6000 // this poly uses phong shading
- # define PLX_SHADE_MODE_FASTPHONG_FLAG 0x6000 // this poly uses phong shading (alias)
- # simple cube
- tri 8 12
- # vertex list
- 5 5 5
- -5 5 5
- -5 5 -5
- 5 5 -5
- 5 -5 5
- -5 -5 5
- -5 -5 -5
- 5 -5 -5
- # polygon list
- 0xc0f0 3 2 1 0
- 0xc0f0 3 3 2 0
- 0xc0f0 3 4 7 0
- 0xc0f0 3 7 3 0
- 0xc0f0 3 6 7 4
- 0xc0f0 3 5 6 4
- 0xc0f0 3 2 6 1
- 0xc0f0 3 6 5 1
- 0xc0f0 3 7 6 3
- 0xc0f0 3 6 2 3
- 0xc0f0 3 5 4 0
- 0xc0f0 3 1 5 0
- # end plg/plx file