summaryrefslogtreecommitdiff
path: root/themes/deprecated
diff options
context:
space:
mode:
Diffstat (limited to 'themes/deprecated')
-rw-r--r--themes/deprecated/TreeRenderer.cpp2
-rw-r--r--themes/deprecated/TreeRenderer.h16
2 files changed, 9 insertions, 9 deletions
diff --git a/themes/deprecated/TreeRenderer.cpp b/themes/deprecated/TreeRenderer.cpp
index ef1ed79..ef18a46 100644
--- a/themes/deprecated/TreeRenderer.cpp
+++ b/themes/deprecated/TreeRenderer.cpp
@@ -35,7 +35,7 @@ void TreeRenderer::load(WebglContext* context) {
printf("TreeRenderer shader compiled.\n");
}
-void TreeRenderer::render(float32 dtSeconds) {
+void TreeRenderer::render(f32 dtSeconds) {
timeElapsed += dtSeconds;
glEnable(GL_DEPTH_TEST);
diff --git a/themes/deprecated/TreeRenderer.h b/themes/deprecated/TreeRenderer.h
index 8a8bf7f..b5f18d5 100644
--- a/themes/deprecated/TreeRenderer.h
+++ b/themes/deprecated/TreeRenderer.h
@@ -9,24 +9,24 @@ struct WebglContext;
struct TreeRenderer {
Mat4x4 projection;
- uint32 shader;
+ u32 shader;
Vector4 clearColor;
struct {
- int32 position;
- int32 color;
+ i32 position;
+ i32 color;
} attributes;
struct {
- int32 projection;
- int32 model;
+ i32 projection;
+ i32 model;
} uniforms;
- float32 timeElapsed = 0.f;
- float32 frequency = 5.f;
+ f32 timeElapsed = 0.f;
+ f32 frequency = 5.f;
void load(WebglContext* context);
- void render(float32 dtSeconds);
+ void render(f32 dtSeconds);
void unload();
};