Created
March 1, 2015 21:46
-
-
Save compwron/0b744617e41c439f798a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OrbitalCoordinate | |
def initalize(lat, long, altit) | |
@lat = lat | |
@long = long | |
@altit = altit | |
# @veloc = veloc # meters per second | |
# how many seconds it will take to get to another point. | |
OrbitalVelocity..new(sec, OrbitalCoordinate) | |
end | |
end | |
class VelocitalOrbitalCoordinate | |
def initalize(lat, long, altit, next_lat, next_long, next_altit, sec) | |
@lat = lat | |
@long = long | |
@altit = altit | |
@veloc = OrbitalVelocity.new(sec, OrbitalCoordinate.new(next_lat, next_long, next_altit)) # how many seconds it will take to get to another point. | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment