Skip to content

Add NaifId newtype and mapping to bodies #18

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

Merged
merged 6 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion .idea/copyright/Lox.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/lox-space/examples/iss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*/

use lox_space::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion crates/lox-space/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*/

pub mod prelude;
2 changes: 1 addition & 1 deletion crates/lox-space/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*/

pub use lox_core::bodies::barycenters::*;
Expand Down
2 changes: 1 addition & 1 deletion crates/lox_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ divan = "0.1.2"

[[bench]]
name = "iau_frames"
harness = false
harness = false
2 changes: 1 addition & 1 deletion crates/lox_core/benches/iau_frames.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*/

use divan::Bencher;
Expand Down
6 changes: 3 additions & 3 deletions crates/lox_core/src/bin/lox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*/

use lox_core::bodies::{MercuryBarycenter, NaifId};
use lox_core::bodies::{Body, MercuryBarycenter};

fn main() {
println!("Hello LOX");
println!("{}", MercuryBarycenter::ID)
println!("{}", MercuryBarycenter.id())
}
Loading