mirror of
https://github.com/kevin-DL/gyk-ar.git
synced 2026-01-11 18:44:33 +00:00
Changed to planes
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user