diff --git a/Engine/src/data/segment.ts b/Engine/src/data/segment.ts index f591aa2..e8dcd9e 100644 --- a/Engine/src/data/segment.ts +++ b/Engine/src/data/segment.ts @@ -48,6 +48,7 @@ export class SegmentDecoration { flip: boolean timeOffset: number = 0 speed: number = 1.0 + rotation: number = 0 constructor(o: any) { this.decor = o.decor this.decoration = o.decoration @@ -61,6 +62,9 @@ export class SegmentDecoration { if (!isNaN(o.speed)) { this.speed = o.speed } + if (!isNaN(o.rotation)) { + this.rotation = o.rotation + } } }