corrected declaration of float constants DASH_LENGTH and GAP_LENGTH as per style guide.

This commit is contained in:
Nex Pro 2015-08-23 16:49:39 +01:00
parent ad315cf68a
commit 3e8970cc1e

View file

@ -44,8 +44,8 @@ void renderWorldBox(gpu::Batch& batch) {
static const glm::vec4 DASHED_RED(1.0f, 0.0f, 0.0f, 1.0f);
static const glm::vec4 DASHED_GREEN(0.0f, 1.0f, 0.0f, 1.0f);
static const glm::vec4 DASHED_BLUE(0.0f, 0.0f, 1.0f, 1.0f);
static const float DASH_LENGTH = 0.5;
static const float GAP_LENGTH = 0.5;
static const float DASH_LENGTH = 1.0;
static const float GAP_LENGTH = 1.0;
auto transform = Transform{};
batch.setModelTransform(transform);