CR feedback

This commit is contained in:
ZappoMan 2015-06-08 14:36:31 -07:00
parent 8fa31ec521
commit b50b7dd500
2 changed files with 5 additions and 5 deletions

View file

@ -37,10 +37,10 @@ void renderWorldBox(gpu::Batch& batch) {
auto geometryCache = DependencyManager::get<GeometryCache>();
// Show edge of world
glm::vec3 red(1.0f, 0.0f, 0.0f);
glm::vec3 green(0.0f, 1.0f, 0.0f);
glm::vec3 blue(0.0f, 0.0f, 1.0f);
glm::vec3 grey(0.5f, 0.5f, 0.5f);
static const glm::vec3 red(1.0f, 0.0f, 0.0f);
static const glm::vec3 green(0.0f, 1.0f, 0.0f);
static const glm::vec3 blue(0.0f, 0.0f, 1.0f);
static const glm::vec3 grey(0.5f, 0.5f, 0.5f);
auto transform = Transform{};
batch.setModelTransform(transform);

View file

@ -16,7 +16,7 @@
#include <glm/gtc/quaternion.hpp>
#include <QSettings>
#include "RenderArgs.h"
#include <gpu/Batch.h>
float randFloat();
const glm::vec3 randVector();