Change vessel colour

This commit is contained in:
D. Berge
2025-08-11 01:57:40 +02:00
parent 1c5fd2e34d
commit 83ecaad4fa

View File

@@ -262,7 +262,7 @@ export default {
return new SimpleMeshLayer({
id: 'navp',
data: [ this.vesselPosition ],
getColor: [ 255, 48, 0 ],
getColor: [ 174, 1, 174 ],
getOrientation: d => [0, (270 - (d.heading ?? d.cmg ?? d.bearing ?? d.lineBearing ?? 0)) % 360 , 0],
getPosition: d => [ d.x, d.y ],
mesh: `/assets/boat0.obj`,