Example #1
0
 public MeshVertexInfo(Pt pt, Pt normalOverride, PointD?texture = null, PointD?textureAfter = null) : this()
 {
     Location       = pt;
     NormalOverride = normalOverride;
     Texture        = texture;
     TextureAfter   = textureAfter;
 }
Example #2
0
 public MeshVertexInfo(Pt pt, Normal befX, Normal afX, Normal befY, Normal afY, PointD?texture = null, PointD?textureAfter = null) : this()
 {
     Location      = pt;
     NormalBeforeX = befX;
     NormalAfterX  = afX;
     NormalBeforeY = befY;
     NormalAfterY  = afY;
     Texture       = texture;
     TextureAfter  = textureAfter;
 }
Example #3
0
 public VertexInfo(Pt loc, Pt?normal, double?textureU, double?textureV) : this()
 {
     Location = loc;
     Normal   = normal;
     Texture  = textureU == null || textureV == null ? (PointD?)null : new PointD(textureU.Value, textureV.Value);
 }
Example #4
0
 public VertexInfo(Pt loc, Pt?normal, PointD?texture = null) : this()
 {
     Location = loc;
     Normal   = normal;
     Texture  = texture;
 }