trig math question
i know to use sine and cosine to calculate a point on a circle
with a given radius, but i was wondering if anyone knew a formula that takes a line and returns it''s angle relative to an axis like the x axis?
In taking a peak at the math library... i don''t see an inverse sin function!
how rude!
This makes things a bit more difficult for you... anyone have the inverse sin formula?
how rude!
This makes things a bit more difficult for you... anyone have the inverse sin formula?
asin(), acos(), atan(), atan2()
That is, arcsin, arccos, and arctan, which are the inverse functions, just using their ''proper'' mathematical names.
That is, arcsin, arccos, and arctan, which are the inverse functions, just using their ''proper'' mathematical names.
quote:
Original post by C-Junkie
In taking a peak at the math library... i don''t see an inverse sin function!
how rude!
This makes things a bit more difficult for you... anyone have the inverse sin formula?
it''s called arc sin or asin() and asinl() as the long version. they''re both defined in math.h
Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement