コード例 #1
0
        public static CVert ReadCVert(this BinaryReader reader)
        {
            var ret = new CVert();

            ret.Position = reader.ReadPoint3();
            ret.Normal   = reader.ReadPoint3();
            ret.UVW      = reader.ReadPoint3();

            return(ret);
        }
コード例 #2
0
 public static void Write(this BinaryWriter writer, CVert vert)
 {
     writer.Write(vert.Position);
     writer.Write(vert.Normal);
     writer.Write(vert.UVW);
 }