Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Cédric Foellmi <cedric@onekiloparsec.dev>
  • Loading branch information
onekiloparsec committed Nov 2, 2023
1 parent 9df87b9 commit 3289420
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/sun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,25 +264,3 @@ export const Sun: NaturalSun = {
getVariationGeometricEclipticLongitude,
}

//
// {
// let x = 0
// let y = 0
// let z = 0
//
// if (!isSun) {
// let Lrad = DEG2RAD * L
// let Brad = DEG2RAD * B
// let cosB = cos(Brad)
// let cosL = cos(Lrad)
//
// x = R * cosB * cosL - R0 * cosB0 * cos(L0)
// y = R * cosB * sin(Lrad) - R0 * cosB0 * sin(L0)
// z = R * sin(Brad) - R0 * sin(B0)
// } else {
// x = -R0 * cosB0 * cos(L0)
// y = -R0 * cosB0 * sin(L0)
// z = -R0 * sin(B0)
// }
//
// }

0 comments on commit 3289420

Please sign in to comment.