blob: 485f63efefe0808baf78f196689aa3c4e3bf8c7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#pragma once
#include <vectormath\cpp\vectormath_aos.h>
class ClipChunk_SPU
{
public:
void *chunk;
int globalIdx;
bool visible;
float aabb[6];
int xm, ym, zm;
};
class LevelRenderer_cull_DataIn
{
public:
static const int sc_listSize = 8000;
float fdraw[6 * 4];
Vectormath::Aos::Matrix4 clipMat;
int numClipChunks;
ClipChunk_SPU* pClipChunks;
int numGlobalChunks;
unsigned char* pGlobalChunkFlags;
int chunkLists;
int numToRender_layer0;
int numToRender_layer1;
int* listArray_layer0; // where to output the display lists to be rendered
int* listArray_layer1;
float* zDepth_layer0;
float* zDepth_layer1;
float maxDepthRender;
float maxHeightRender;
int padding[3];
};
|