Exemplo n.º 1
0
 /// <summary>
 /// Convertir a Struct
 /// </summary>
 public RayStruct toStruct()
 {
     RayStruct rayStruct = new RayStruct();
     rayStruct.origin = origin;
     rayStruct.direction = direction;
     return rayStruct;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Convertir a Struct
        /// </summary>
        public RayStruct toStruct()
        {
            RayStruct rayStruct = new RayStruct();

            rayStruct.origin    = origin;
            rayStruct.direction = direction;
            return(rayStruct);
        }