if(f & 1)
{
- self.origin.x = ReadCoord();
- self.origin.y = ReadCoord();
- self.origin.z = ReadCoord();
+ self.origin_x = ReadCoord();
+ self.origin_y = ReadCoord();
+ self.origin_z = ReadCoord();
setorigin(self, self.origin);
}
if(f & 8)
{
- self.colormod.x = ReadByte() / 255.0;
- self.colormod.y = ReadByte() / 255.0;
- self.colormod.z = ReadByte() / 255.0;
+ self.colormod_x = ReadByte() / 255.0;
+ self.colormod_y = ReadByte() / 255.0;
+ self.colormod_z = ReadByte() / 255.0;
if(f & 0x40)
self.alpha = ReadByte() / 255.0;
else
{
if(f & 0x80)
{
- self.velocity.x = ReadCoord();
- self.velocity.y = ReadCoord();
- self.velocity.z = ReadCoord();
+ self.velocity_x = ReadCoord();
+ self.velocity_y = ReadCoord();
+ self.velocity_z = ReadCoord();
}
else
{
- self.angles.x = ReadAngle();
- self.angles.y = ReadAngle();
+ self.angles_x = ReadAngle();
+ self.angles_y = ReadAngle();
}
}
if(f & 4)
case "--res": // minor alias
case "--resolution": { ++i; radarmapper.size_x = stof(argv(i)); ++i; radarmapper.size_y = stof(argv(i)); break; }
case "--qual": // minor alias
- case "--quality": { ++i; radarmapper.size.z = stof(argv(i)); break; }
+ case "--quality": { ++i; radarmapper.size_z = stof(argv(i)); break; }
default:
i = argc;