Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AleziaKurdis authored Nov 13, 2024
1 parent 982a28b commit 7f8cb21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions PENTACLE/navigationAmbiencePentacle.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,19 +254,18 @@
manageAstre(zoneRotation, zoneID, hue);
}

function manageAstre(rotation, parentID, hue) {
function manageAstre(rotation, hue) {
if (starID === Uuid.NONE) {
//create
starID = Entities.addEntity({
"name": "STAR",
"parentID": parentID,
"dimensions": {"x": STAR_DIAMETER, "y": STAR_DIAMETER, "z": STAR_DIAMETER},
"localPosition": Vec3.multiplyQbyV( rotation, {"x": 0.0, "y": 0.0, "z": -STAR_DIST}),
"localRotation": rotation,
"type": "Shape",
"shape": "Sphere",
"color": {"red": 128, "green": 128, "blue": 128},
"renderWithZones": [parentID],
"renderWithZones": [zoneID],
"damping": 0
}, "local");
} else {
Expand Down

0 comments on commit 7f8cb21

Please sign in to comment.