mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-04 16:29:43 +02:00
CR feedback
This commit is contained in:
parent
8fa31ec521
commit
b50b7dd500
2 changed files with 5 additions and 5 deletions
|
@ -37,10 +37,10 @@ void renderWorldBox(gpu::Batch& batch) {
|
||||||
auto geometryCache = DependencyManager::get<GeometryCache>();
|
auto geometryCache = DependencyManager::get<GeometryCache>();
|
||||||
|
|
||||||
// Show edge of world
|
// Show edge of world
|
||||||
glm::vec3 red(1.0f, 0.0f, 0.0f);
|
static const glm::vec3 red(1.0f, 0.0f, 0.0f);
|
||||||
glm::vec3 green(0.0f, 1.0f, 0.0f);
|
static const glm::vec3 green(0.0f, 1.0f, 0.0f);
|
||||||
glm::vec3 blue(0.0f, 0.0f, 1.0f);
|
static const glm::vec3 blue(0.0f, 0.0f, 1.0f);
|
||||||
glm::vec3 grey(0.5f, 0.5f, 0.5f);
|
static const glm::vec3 grey(0.5f, 0.5f, 0.5f);
|
||||||
|
|
||||||
auto transform = Transform{};
|
auto transform = Transform{};
|
||||||
batch.setModelTransform(transform);
|
batch.setModelTransform(transform);
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include <glm/gtc/quaternion.hpp>
|
#include <glm/gtc/quaternion.hpp>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
|
||||||
#include "RenderArgs.h"
|
#include <gpu/Batch.h>
|
||||||
|
|
||||||
float randFloat();
|
float randFloat();
|
||||||
const glm::vec3 randVector();
|
const glm::vec3 randVector();
|
||||||
|
|
Loading…
Reference in a new issue