mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
syntax
This commit is contained in:
parent
8ae2468165
commit
9433ea8f06
2 changed files with 1 additions and 2 deletions
|
@ -61,7 +61,6 @@
|
||||||
function getOffsetFromTankCenter(VERTICAL_OFFSET, FORWARD_OFFSET, LATERAL_OFFSET) {
|
function getOffsetFromTankCenter(VERTICAL_OFFSET, FORWARD_OFFSET, LATERAL_OFFSET) {
|
||||||
|
|
||||||
var tankProperties = Entities.getEntityProperties(_this.entityID);
|
var tankProperties = Entities.getEntityProperties(_this.entityID);
|
||||||
print('GOT PROPERTIES FOR TANK!')
|
|
||||||
|
|
||||||
var upVector = Quat.getUp(tankProperties.rotation);
|
var upVector = Quat.getUp(tankProperties.rotation);
|
||||||
var frontVector = Quat.getFront(tankProperties.rotation);
|
var frontVector = Quat.getFront(tankProperties.rotation);
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
flower.userData = {
|
flower.userData = {
|
||||||
'hifiHomeKey': {
|
'hifiHomeKey': {
|
||||||
'reset': true
|
'reset': true
|
||||||
}
|
},
|
||||||
ProceduralEntity: {
|
ProceduralEntity: {
|
||||||
shaderUrl: _this.SHADER_URL,
|
shaderUrl: _this.SHADER_URL,
|
||||||
uniforms: {
|
uniforms: {
|
||||||
|
|
Loading…
Reference in a new issue