LocalToWorld
Description
Translates a vector and angle from a local coordinate system into a global coordinate system.
For the reverse of this function see WorldToLocal.
For working with an entity's local space vectors/angles you might want to use Entity:LocalToWorld/Entity:LocalToWorldAngles instead.
Arguments
2 Angle localAng
An angle from a local coordinate system.
Pass a zero angle if you don't need to translate an angle.
Returns
Example
A matrix math that shows how this is calculated internally.