Exemplo n.º 1
0
 public void WriteFlatWorldVertex(FlatWorldVertex v)
 {
     _stream.WriteFloat3(v.Position.XYZ);
     _stream.WriteFloat2(v.Texcoord);
     _stream.WriteFloat3(v.Normal);
     _stream.WriteFloat3(v.Tangent.XYZ);
     _stream.WriteFloat3(v.Binormal);
 }
Exemplo n.º 2
0
 public void WriteFlatWorldVertex(FlatWorldVertex v)
 {
     _stream.WriteFloat4(v.Position);
     _stream.WriteFloat2(v.Texcoord);
     _stream.WriteUByte4N(v.Tangent);
 }