Exemple #1
0
 public void WriteDualQuatVertex(DualQuatVertex v)
 {
     _stream.WriteShort4N(v.Position);
     _stream.WriteShort2N(v.Texcoord);
     _stream.WriteUByte4N(v.Tangent);
     _stream.WriteUByte4(v.BlendIndices);
     _stream.WriteUByte4N(new RealQuaternion(v.BlendWeights));
 }
Exemple #2
0
 public void WriteDualQuatVertex(DualQuatVertex v)
 {
     _stream.WriteFloat3(v.Position.IJK);
     _stream.WriteFloat2(v.Texcoord);
     _stream.WriteFloat3(v.Normal);
     _stream.WriteFloat3(v.Tangent.IJK);
     _stream.WriteFloat3(v.Binormal);
     _stream.WriteUByte4(v.BlendIndices);
     _stream.WriteUByte4N(new RealQuaternion(v.BlendWeights));
 }
Exemple #3
0
 public void WriteDualQuatVertex(DualQuatVertex v)
 {
     throw new NotImplementedException();
 }
Exemple #4
0
 public void WriteDualQuatVertex(DualQuatVertex v)
 {
     _stream.WriteFloat3(v.Position.XYZ);
     _stream.WriteFloat2(v.Texcoord);
     _stream.WriteFloat3(v.Normal);
     _stream.WriteFloat3(v.Tangent.XYZ);
     _stream.WriteFloat3(v.Binormal);
     _stream.WriteUByte4(v.BlendIndices);
     _stream.WriteUByte4N(new Vector4(v.BlendWeights));
 }
Exemple #5
0
 public void WriteDualQuatVertex(DualQuatVertex v)
 {
     _stream.WriteShort4N(v.Position);
     _stream.WriteShort2N(v.Texcoord);
     _stream.WriteUByte4N(v.Tangent);
     _stream.WriteUByte4(v.BlendIndices);
     _stream.WriteUByte4N(new Vector4(v.BlendWeights));
 }