public Entry() { lodCount = 0; position = new Vector3(0); rotation = new Matrix33(); lodNames = new string[lodCount]; }
public Matrix33 ChangeHandedness() { Matrix33 temp = this; m00 = temp.m00; m01 = temp.m10; m02 = temp.m20; m10 = temp.m01; m11 = temp.m11; m12 = temp.m21; m20 = temp.m02; m21 = temp.m12; m22 = temp.m22; return(this); }
public void ReadFromFile(BinaryReader reader) { lodCount = reader.ReadInt32(); position = new Vector3(reader); Vector3 vec1 = new Vector3(reader); Vector3 vec2 = new Vector3(reader); Vector3 vec3 = new Vector3(reader); rotation = new Matrix33(vec1, vec2, vec3, false); lodNames = new string[lodCount]; for (int i = 0; i != lodCount; i++) { lodNames[i] = reader.ReadString(); } }