mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 08:27:08 +00:00
Change vessel colour
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user