Some cleaning 😢
This commit is contained in:
7
server/controllers/multisphere/index.js
Normal file
7
server/controllers/multisphere/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports.index = function(req, res) {
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
|
||||
res.render('index.jade', res.locals, function(err, result) {
|
||||
res.send(result);
|
||||
});
|
||||
};
|
||||
3
server/controllers/multisphere/urls.js
Normal file
3
server/controllers/multisphere/urls.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
'/multisphere': 'index'
|
||||
};
|
||||
19
server/controllers/multisphere/views/index.jade
Normal file
19
server/controllers/multisphere/views/index.jade
Normal file
@@ -0,0 +1,19 @@
|
||||
extends ../../../views/main.jade
|
||||
|
||||
block title
|
||||
title #{title} - Multi-sphere
|
||||
|
||||
block extrajs
|
||||
script(src="/static/js/three.min.js")
|
||||
script(src="/static/js/l3d.min.js")
|
||||
script(src="/static/js/multisphere.min.js")
|
||||
|
||||
block content
|
||||
h2 Multiresolution sphere
|
||||
|
||||
p.
|
||||
This is the first test of multi-resolution. In fact, it's not really one
|
||||
multi-resolution sphere but many spheres with different resolutions. You
|
||||
can change resolution by clicking on the canvas.
|
||||
|
||||
#container
|
||||
Reference in New Issue
Block a user