mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 02:03:11 +02:00
resets
This commit is contained in:
parent
fc3bac7fa5
commit
3432e7821f
3 changed files with 5 additions and 5 deletions
|
@ -121,7 +121,7 @@ FishTank = function(spawnPosition, spawnRotation) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (spawnRotation !== undefined) {
|
if (spawnRotation !== undefined) {
|
||||||
tankProperties.rotation = spawnRotation
|
tankProperties.rotation = Quat.fromPitchYawRollDegrees(spawnRotation.x,spawnRotation.y,spawnRotation.z)
|
||||||
}
|
}
|
||||||
|
|
||||||
fishTank = Entities.addEntity(tankProperties);
|
fishTank = Entities.addEntity(tankProperties);
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
||||||
Script.include('utils.js');
|
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
||||||
|
Script.include('utils.js');
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
function GrowingPlant() {
|
function GrowingPlant() {
|
||||||
|
|
|
@ -189,7 +189,7 @@
|
||||||
var fruitBowl = new FruitBowl({
|
var fruitBowl = new FruitBowl({
|
||||||
x: 1105.3185,
|
x: 1105.3185,
|
||||||
y: 460.3221,
|
y: 460.3221,
|
||||||
z: -81.0752
|
z: -81.2452
|
||||||
});
|
});
|
||||||
|
|
||||||
var livingRoomLamp = new LivingRoomLamp({
|
var livingRoomLamp = new LivingRoomLamp({
|
||||||
|
@ -236,7 +236,7 @@
|
||||||
|
|
||||||
var books = new Books({
|
var books = new Books({
|
||||||
x: 1106.1553,
|
x: 1106.1553,
|
||||||
y: 461.0325,
|
y: 461.0825,
|
||||||
z: -80.4890
|
z: -80.4890
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue