mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 03:56:32 +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>();
|
||||
|
||||
// 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);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <QSettings>
|
||||
|
||||
#include "RenderArgs.h"
|
||||
#include <gpu/Batch.h>
|
||||
|
||||
float randFloat();
|
||||
const glm::vec3 randVector();
|
||||
|
|
Loading…
Reference in a new issue