Linux version
This commit is contained in:
parent
0a37ba49c3
commit
0fd42529c7
@ -38,6 +38,6 @@ https://github.com/gametutorials/tutorials/blob/master/OpenGL/MD3%20Animation/Ma
|
|||||||
|
|
||||||
linux:
|
linux:
|
||||||
```
|
```
|
||||||
g++ Game.cpp main.cpp Math.cpp OpenGlExtensions.cpp Physics.cpp Renderer.cpp ShaderManager.cpp TextureManager.cpp Utils.cpp -o sdl_app -O2 -std=c++14 $(pkg-config --cflags --libs sdl2 gl)
|
g++ Game.cpp main.cpp Math.cpp OpenGlExtensions.cpp Physics.cpp Renderer.cpp ShaderManager.cpp TextureManager.cpp Utils.cpp BoneAnimatedModel.cpp ObjLoader.cpp -o sdl_app -O2 -std=c++14 $(pkg-config --cflags --libs sdl2 gl)
|
||||||
|
|
||||||
```
|
```
|
||||||
4
main.cpp
4
main.cpp
@ -16,7 +16,7 @@
|
|||||||
#include "AnimatedModel.h"
|
#include "AnimatedModel.h"
|
||||||
#include "BoneAnimatedModel.h"
|
#include "BoneAnimatedModel.h"
|
||||||
|
|
||||||
ZL::AnimatedModel testLoadModel();
|
//ZL::AnimatedModel testLoadModel();
|
||||||
|
|
||||||
namespace ZL
|
namespace ZL
|
||||||
{
|
{
|
||||||
@ -282,7 +282,7 @@ namespace ZL
|
|||||||
|
|
||||||
CheckGlError();
|
CheckGlError();
|
||||||
|
|
||||||
GameObjects::testmd3 = testLoadModel();
|
///GameObjects::testmd3 = testLoadModel();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
GameObjects::testmd3mutable.resize(GameObjects::testmd3.size());
|
GameObjects::testmd3mutable.resize(GameObjects::testmd3.size());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user