Exemplo n.º 1
0
        public static Vector3f Rotate(this Vector3f _v, Vector3f _axis, float _deg)
        {
            Quaternionf ro    = new Quaternionf(_axis, _deg);
            var         trans = new TransformSequence();

            trans.AppendRotation(ro);
            return(trans.TransformP(_v));
        }