Skip to content

Fixed an issue with the access level of the position in the package #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ struct ContentView: View {
.frame(depth: 10.0)


}.ornament(attachmentAnchor: .scene(alignment: .bottom)) {
}.ornament(attachmentAnchor: .scene(.bottom)) {
Button {

} label: {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ForceSimulation/Kinetics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vector>
/// Exposed publicly so examples & clients can read out the latest positions.
public var position: UnsafeArray<Vector>

// public var positionBufferPointer: UnsafeMutablePointer<Vector>

Expand Down