mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-12-04 22:04:55 +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);
|
|
} |