16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 04:39:18 +02:00

uniform mvp optimizations

This commit is contained in:
VB
2017-03-20 17:51:40 +01:00
parent 4d19e49398
commit b92a1e58ae
7 changed files with 137 additions and 145 deletions

View File

@@ -218,7 +218,7 @@ private:
// int SeekFaceNormal(DWORD *Masks, int f,DWORD dwMask,vector3 *pt,GLVERTEX
// *Vertices);
int SeekFaceNormal(unsigned int *Masks, int f, unsigned int dwMask, float3 *pt, float8 *Vertices);
void RaAnimation(TAnimType a);
void RaAnimation(glm::mat4 &m, TAnimType a);
public:
static size_t iInstance; // identyfikator egzemplarza, który aktualnie renderuje model
@@ -255,8 +255,8 @@ public:
TSubModel * GetFromName(char const *search, bool i = true);
void RenderDL();
void RenderAlphaDL();
void RenderVBO();
void RenderAlphaVBO();
void RenderVBO(glm::mat4 m);
void RenderAlphaVBO(glm::mat4 m);
// inline matrix4x4* GetMatrix() {return dMatrix;};
inline float4x4 * GetMatrix()
{