diff options
Diffstat (limited to 'js/3D_Landscape.js')
| -rw-r--r-- | js/3D_Landscape.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/3D_Landscape.js b/js/3D_Landscape.js index e0fd5e6..411bfe7 100644 --- a/js/3D_Landscape.js +++ b/js/3D_Landscape.js @@ -229,6 +229,15 @@ function init_controls(){ },
"this" : my_scope
},
+ {
+ "keys" : "space",
+ "is_exclusive" : true,
+ "on_keydown" : function() {
+ wf = !wf;
+ material.wireframe = wf;
+ },
+ "this" : my_scope
+ },
]);
}
|
