mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-25 02:27:56 +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);
|
|
} |