示例#1
0
        static public IEnumerable <VectorF2> RadialFromPercent(float angle, IEnumerable <float> magnitudes)
        {
            VectorF2 direction = VectorF2Extensions.CreateDirectionFromPercent(angle);

            return(magnitudes.Convert(m => direction * m));
        }
示例#2
0
 static public IEnumerable <VectorF2> RadialFromPercent(IEnumerable <float> angles)
 {
     return(angles.Convert(a => VectorF2Extensions.CreateDirectionFromPercent(a)));
 }