Skip to content

Commit

Permalink
Update Vectors.swift
Browse files Browse the repository at this point in the history
make properties public
make Vector3D immutable (same as Vector1D)
  • Loading branch information
RolandasRazma committed Mar 27, 2020
1 parent 934954c commit beaacbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lottie-swift/src/Public/Primitives/Vectors.swift
Expand Up @@ -13,7 +13,7 @@ public struct Vector1D {
self.value = value
}

let value: Double
public let value: Double

}

Expand All @@ -24,9 +24,9 @@ public struct Vector1D {
*/
public struct Vector3D {

var x: Double
var y: Double
var z: Double
public let x: Double
public let y: Double
public let z: Double

public init(x: Double, y: Double, z: Double) {
self.x = x
Expand Down

0 comments on commit beaacbe

Please sign in to comment.