Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "Stdafx.h"
Go to the source code of this file.
Macros | |
#define | FIND_MAX_VALUES |
#define | INIT_QUANTIZATION |
#define | PERFORM_QUANTIZATION |
#define | REMAP_DATA(member) |
Functions | |
static void | _BuildCollisionTree (AABBCollisionNode *linear, const udword box_id, udword ¤t_id, const AABBTreeNode *current_node) |
static void | _BuildNoLeafTree (AABBNoLeafNode *linear, const udword box_id, udword ¤t_id, const AABBTreeNode *current_node) |
inline_ void | OPComputeMinMax (Point &min, Point &max, const VertexPointers &vp) |
Variables | |
static bool | gFixQuantized = true |
Contains code for optimized trees. Implements 4 trees:
Definition in file OPC_OptimizedTree.cpp.
#define FIND_MAX_VALUES |
Definition at line 479 of file OPC_OptimizedTree.cpp.
#define INIT_QUANTIZATION |
Definition at line 493 of file OPC_OptimizedTree.cpp.
#define PERFORM_QUANTIZATION |
Definition at line 514 of file OPC_OptimizedTree.cpp.
#define REMAP_DATA | ( | member) |
Definition at line 556 of file OPC_OptimizedTree.cpp.
|
static |
Definition at line 101 of file OPC_OptimizedTree.cpp.
|
static |
Definition at line 152 of file OPC_OptimizedTree.cpp.
inline_ void OPComputeMinMax | ( | Point & | min, |
Point & | max, | ||
const VertexPointers & | vp | ||
) |
Definition at line 353 of file OPC_OptimizedTree.cpp.
References Opcode::Point::Max(), Opcode::Point::Min(), Opcode::VertexPointers::Vertex, Opcode::Point::x, Opcode::Point::y, and Opcode::Point::z.
|
static |
Compilation flag:
Definition at line 78 of file OPC_OptimizedTree.cpp.