Skip to content
Snippets Groups Projects
Commit bd798eba authored by Jakob Yanagibashi's avatar Jakob Yanagibashi :nail_care_tone4:
Browse files

Higher example model

parent 75ec32ec
No related branches found
No related tags found
No related merge requests found
Pipeline #254295 passed
...@@ -410,6 +410,7 @@ function getPresetModelmain() { ...@@ -410,6 +410,7 @@ function getPresetModelmain() {
var zoom = 30; var zoom = 30;
const levels = 20; const levels = 20;
const extMultiplier = 1; const extMultiplier = 1;
const levelHeight = 3;
var previousGoal = { var previousGoal = {
x: 0, x: 0,
y: 0, y: 0,
...@@ -435,7 +436,7 @@ function getPresetModelmain() { ...@@ -435,7 +436,7 @@ function getPresetModelmain() {
1250, 1250,
currentGoal.x, currentGoal.x,
currentGoal.y, currentGoal.y,
e + (1 / precision) * i e * levelHeight + levelHeight / precision
); );
presetProject.model.append(newCommand); presetProject.model.append(newCommand);
previousGoal.x = currentGoal.x; previousGoal.x = currentGoal.x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment