chiark / gitweb /
fairphone-case: fix phone[] vector orientation (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 14:29:53 +0000 (14:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 14:29:53 +0000 (14:29 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 522717a..07a2ca1 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C -*-
 
-phone = [ 145.0, 75.0 ];
+phone = [ 75.0, 145.0 ];
 
 bumper = [ 0.250, 0.250 ];
 // ^ One side.  Overall size is increased by twice this.
@@ -54,8 +54,8 @@ strut_min_at_end = 1.5;
 
 // ---------- calculated ----------
 
-phone_height = (phone + bumper*2)[0];
-phone_width =  (phone + bumper*2)[1];
+phone_width =  (phone + bumper*2)[0];
+phone_height = (phone + bumper*2)[1];
 
 //echo(camera_pos_tl + bumper,
 //     camera_pos_br + bumper);