Calculating turret angle 2D, C++ -


so i'm trying figure out how turret on little space ship figure out angle @ relative world , rotate point target

both turret , ship have relative coord , rotation, ship's coord , rotation relative world , turret's relative parent(may not body of ship, might wing or such)

all parts calculate local , global 3x3 transformation matrix if helps


Comments