Skip to content

Commit 6f25fb2

Browse files
committed
Fix compilation.
1 parent 76df3a0 commit 6f25fb2

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/apps/ch11_voxel/ch11_voxel/debug/DebugDrawer.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#pragma once
2-
31
#include "DebugDrawer.h"
42

53
#include "../log/Logging.h"

src/apps/sandbox/sandbox/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "rgba8ui.h"
1+
#include "Rgba8ui.h"
22

33
#include <graphics/ApplicationGlfw.h>
44
#include <graphics/AppInterface.h>

src/libs/scenic/scenic/Camera.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void OrbitalControl::callbackKeyboard(int key, int scancode, int action, int mod
253253
return;
254254
}
255255

256-
const float v = (action == GLFW_PRESS) ? 1 : 0;
256+
const float v = (action == GLFW_PRESS) ? 1.f : 0.f;
257257
switch(key)
258258
{
259259
case GLFW_KEY_I:

src/libs/scenic/scenic/ShapesAsModel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Object makeCube()
4040
// Indices are stored by face (6 per face),
4141
// 1 normal is stored for each face, in the same order
4242
normals.push_back(cube::gNormals[indexIdx / 6]);
43-
uniqueIndices.push_back(indexIdx);
43+
uniqueIndices.push_back((Index)indexIdx);
4444
}
4545

4646
mesh.mSemanticToAttribute.insert(

0 commit comments

Comments
 (0)