0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-29 11:54:55 +01:00
doodle3d-client/js/verticalShapes.js

21 lines
358 B
JavaScript
Raw Normal View History

2013-09-18 22:35:38 +02:00
var VERTICALSHAPE;
2014-01-09 17:05:03 +01:00
2013-09-18 22:35:38 +02:00
var verticalShapes = {
"NONE": 'none',
"DIVERGING": 'diverging',
"CONVERGING": 'converging',
"SINUS": 'sinus'
};
2014-01-09 17:05:03 +01:00
function setVerticalShape(s) {
VERTICALSHAPE = s;
redrawRenderedPreview();
}
2013-09-18 22:35:38 +02:00
2014-01-09 17:05:03 +01:00
function initVerticalShapes() {
resetVerticalShapes();
2013-09-18 22:35:38 +02:00
}
function resetVerticalShapes() {
2014-01-09 17:05:03 +01:00
setVerticalShape(verticalShapes.NONE);
2013-09-18 22:35:38 +02:00
}