From 477e1152e5405d75d08bcbae1069816235258170 Mon Sep 17 00:00:00 2001 From: Lars Martens Date: Thu, 12 Aug 2021 19:16:47 +0200 Subject: [PATCH] Add full armor stand control --- src/App.vue | 16 +++++++ src/Scene.vue | 116 +++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 122 insertions(+), 10 deletions(-) diff --git a/src/App.vue b/src/App.vue index bb96948..8630bcb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,6 +4,10 @@
+ + + +
@@ -12,6 +16,11 @@ + + + + +
Rotation
@@ -46,6 +55,13 @@ class Armorstand { // TODO Lots more to come } + getScale() { + if (this.small) { + return { x: 0.6, y: 0.6, z: 0.6 } + } else { + return { x: 1, y: 1, z: 1 } + } + } } export default { diff --git a/src/Scene.vue b/src/Scene.vue index 1a2676b..4fe4181 100644 --- a/src/Scene.vue +++ b/src/Scene.vue @@ -4,16 +4,111 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +