Changed to planes

This commit is contained in:
2019-08-05 07:59:22 +01:00
parent 746b9b8ae5
commit 76a4e979cb

View File

@@ -160,19 +160,20 @@
v-if="currentQuestion" v-if="currentQuestion"
v-for="(response, resp_index) in createResponseArray(currentQuestion.correct_answer, currentQuestion.incorrect_answers)" v-for="(response, resp_index) in createResponseArray(currentQuestion.correct_answer, currentQuestion.incorrect_answers)"
:key="resp_index" :key="resp_index"
geometry="primitive: box" geometry="primitive: plane"
class="clickable" class="clickable"
:material="getColor(resp_index)" :material="getColor(resp_index)"
:position="getPosition(resp_index)" :position="getPosition(resp_index)"
scale="0.75 1 1" scale="0.75 1 1"
rotation="-90 0 0"
@click="updateScore(response)" @click="updateScore(response)"
> >
<a-text <a-text
color="#FFF" color="#FFF"
z-offset="1" z-offset="1"
:value="decodeURIComponent(response)" :value="decodeURIComponent(response)"
rotation="-90 0 0"
width="2" width="2"
wrapCount="10"
></a-text> ></a-text>
</a-entity> </a-entity>
</a-marker> </a-marker>