summaryrefslogtreecommitdiff
path: root/public/assets/test
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-18 19:35:02 -0400
committerJules Laplace <jules@okfoc.us>2015-08-18 19:35:02 -0400
commit72afc148b11ac57c991d699c205675b4b0f1cf70 (patch)
treef749d93ea76ffea7310cc416d80f39bfae0827b8 /public/assets/test
parentb4c7b2126b384a61bb69b046d0620ac53dd063ec (diff)
set wall height
Diffstat (limited to 'public/assets/test')
-rw-r--r--public/assets/test/ortho2.html6
-rw-r--r--public/assets/test/ortho3.html2
-rw-r--r--public/assets/test/ortho4.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/public/assets/test/ortho2.html b/public/assets/test/ortho2.html
index 013c75b..448f029 100644
--- a/public/assets/test/ortho2.html
+++ b/public/assets/test/ortho2.html
@@ -167,7 +167,7 @@ $(window).resize(function(){
map.canvas.width = map.dimensions.a = window.innerWidth/2
})
-var wall_height = 180
+var wallHeight = 180
var placing = false
var points, mx_points = []
var shapes = []
@@ -219,10 +219,10 @@ function add_mx_polyline_face(head, tail){
var angle = atan2( head.b - tail.b, head.a - tail.a )
mx.move({
x: mid_x / 2,
- y: wall_height/2 + 1,
+ y: wallHeight/2 + 1,
z: mid_z / 2,
width: ceil(len),
- height: wall_height,
+ height: wallHeight,
rotationY: angle
})
var hue = abs(round( angle / PI * 90 + 300))
diff --git a/public/assets/test/ortho3.html b/public/assets/test/ortho3.html
index f41a0ba..71e43f1 100644
--- a/public/assets/test/ortho3.html
+++ b/public/assets/test/ortho3.html
@@ -112,7 +112,7 @@ $(window).resize(function(){
map.canvas.width = map.dimensions.a = window.innerWidth/2
})
-var wall_height = 180
+var wallHeight = 180
var shapes = new ShapeList
var ctx = map.draw.ctx
var last_point = new vec2 (0,0)
diff --git a/public/assets/test/ortho4.html b/public/assets/test/ortho4.html
index d704e0e..8db7ead 100644
--- a/public/assets/test/ortho4.html
+++ b/public/assets/test/ortho4.html
@@ -165,7 +165,7 @@ $(window).resize(function(){
map.canvas.height = map.dimensions.b = window.innerHeight/2
})
-var wall_height = 180
+var wallHeight = 180
var shapes = new ShapeList
var ctx = map.draw.ctx
var last_point = new vec2 (0,0)