Math's Trig Versus Basic's Trig Functions
#22
x = cx + r * cos(RadianAngle)
y = cy + r * sin(RadianAngle)
r = radial distance between x, y and cx, cy or r = SQR((x-cx)^2 + (y-cy)^2)

Yeah, for graphics it is really useful in plotting points (x,y) about another point (cx, cy): a given distance ( r ) and a given angle (RadianAngle = _D2R(DegreeAngle) ) from another point.
b = b + ...
Reply


Messages In This Thread
RE: Math's Trig Versus Basic's Trig Functions - by bplus - 09-28-2022, 07:39 PM



Users browsing this thread: 12 Guest(s)