diff --git a/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ContentView.swift b/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ContentView.swift index ec6644f..8c5b95a 100644 --- a/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ContentView.swift +++ b/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ContentView.swift @@ -159,7 +159,7 @@ struct ContentView: View { .frame(depth: 10.0) - }.ornament(attachmentAnchor: .scene(alignment: .bottom)) { + }.ornament(attachmentAnchor: .scene(.bottom)) { Button { } label: { diff --git a/Sources/ForceSimulation/Kinetics.swift b/Sources/ForceSimulation/Kinetics.swift index 706efd4..9d495f5 100644 --- a/Sources/ForceSimulation/Kinetics.swift +++ b/Sources/ForceSimulation/Kinetics.swift @@ -7,8 +7,8 @@ where Vector: SimulatableVector & L2NormCalculatable { /// /// Ordered as the nodeIds you passed in when initializing simulation. /// They are always updated. - @usableFromInline - package var position: UnsafeArray + /// Exposed publicly so examples & clients can read out the latest positions. + public var position: UnsafeArray // public var positionBufferPointer: UnsafeMutablePointer