Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Rubberduckycooly
GitHub Repository: Rubberduckycooly/RSDKv5-Decompilation
Path: blob/master/RSDKv5/RSDK/Graphics/Legacy/v3/Scene3DLegacyv3.hpp
1185 views
1
2
namespace Legacy
3
{
4
5
namespace v3
6
{
7
8
#define LEGACY_v3_VERTEXBUFFER_SIZE (0x1000)
9
#define LEGACY_v3_FACEBUFFER_SIZE (0x400)
10
11
extern Face faceBuffer[LEGACY_v3_FACEBUFFER_SIZE];
12
extern Vertex vertexBuffer[LEGACY_v3_VERTEXBUFFER_SIZE];
13
extern Vertex vertexBufferT[LEGACY_v3_VERTEXBUFFER_SIZE];
14
15
extern DrawListEntry3D drawList3D[LEGACY_v3_FACEBUFFER_SIZE];
16
17
void SetIdentityMatrix(Matrix *matrix);
18
void MatrixMultiply(Matrix *matrixA, Matrix *matrixB);
19
void MatrixTranslateXYZ(Matrix *Matrix, int32 x, int32 y, int32 z);
20
void MatrixScaleXYZ(Matrix *matrix, int32 scaleX, int32 scaleY, int32 scaleZ);
21
void MatrixRotateX(Matrix *matrix, int32 rotationX);
22
void MatrixRotateY(Matrix *matrix, int32 rotationY);
23
void MatrixRotateZ(Matrix *matrix, int32 rotationZ);
24
void MatrixRotateXYZ(Matrix *matrix, int32 rotationX, int32 rotationY, int32 rotationZ);
25
void TransformVertexBuffer();
26
void TransformVerticies(Matrix *matrix, int32 startIndex, int32 endIndex);
27
void Sort3DDrawList();
28
void Draw3DScene(int32 spriteSheetID);
29
30
} // namespace v3
31
32
} // namespace Legacy
33