|
@@ -1,6 +1,6 @@
|
|
|
#include <iostream>
|
|
|
-#include <SDL.h>
|
|
|
-#include <Box2D/Box2D.h>
|
|
|
+#include <SDL2/SDL.h>
|
|
|
+#include <box2d/box2d.h>
|
|
|
#include "texturer.h"
|
|
|
#include "Input.h"
|
|
|
|
|
@@ -100,7 +100,7 @@ int main() {
|
|
|
|
|
|
// Foreground
|
|
|
b2Vec2 pos(crateBody->GetPosition());
|
|
|
- float32 angle(crateBody->GetAngle());
|
|
|
+ float angle(crateBody->GetAngle());
|
|
|
|
|
|
SDL_Rect fillRect = {(int)(pos.x * zoom), (int)(pos.y * zoom), 100, 100};
|
|
|
SDL_SetRenderDrawColor(ren, 0xFF, 0x00, 0x00, 0xFF);
|