Пример #1
0
        public static BVector3 operator *(BVector3 a, byte b)
        {
            temp    = a;
            temp.x *= b;
            temp.y *= b;
            temp.z *= b;

            return(temp);
        }
Пример #2
0
        public static BVector3 operator *(BVector3 a, float b)
        {
            temp  = a;
            TempB = (byte)b;

            temp.x *= TempB;
            temp.y *= TempB;
            temp.z *= TempB;

            return(temp);
        }