mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 17:27:57 +01:00
21 lines
358 B
JavaScript
21 lines
358 B
JavaScript
var VERTICALSHAPE;
|
|
|
|
var verticalShapes = {
|
|
"NONE": 'none',
|
|
"DIVERGING": 'diverging',
|
|
"CONVERGING": 'converging',
|
|
"SINUS": 'sinus'
|
|
};
|
|
|
|
function setVerticalShape(s) {
|
|
VERTICALSHAPE = s;
|
|
redrawRenderedPreview();
|
|
}
|
|
|
|
function initVerticalShapes() {
|
|
resetVerticalShapes();
|
|
}
|
|
|
|
function resetVerticalShapes() {
|
|
setVerticalShape(verticalShapes.NONE);
|
|
} |