public VertexInfoSimple(Vec3 pos, Vec2 tex, Vec3 normal, Vec4 color) { this.m_position = pos.Simple(); this.m_textureUV = tex.Simple(); this.m_textureUV2 = new Vec2Simple(0, 0); this.m_normal = normal.Simple(); this.m_color = color.Simple(); }
public VertexInfoSimple(Vec3Simple pos, Vec2Simple tex, Vec2Simple tex2, Vec3Simple normal, Vec4Simple color) { this.m_position = pos; this.m_textureUV = tex; this.m_textureUV2 = tex2; this.m_normal = normal; this.m_color = color; }
public VertexInfoSimple(BinaryReader r) { this.m_color = new Vec4Simple(r); this.m_normal = new Vec3Simple(r); this.m_position = new Vec3Simple(r); this.m_textureUV = new Vec2Simple(r); this.m_textureUV2 = new Vec2Simple(r); }
public VertexInfoSimple(VertexInfo v) { this.m_color = new Vec4Simple(v.m_color); this.m_normal = new Vec3Simple(v.m_normal); this.m_position = new Vec3Simple(v.m_position); this.m_textureUV = new Vec2Simple(v.m_textureUV); this.m_textureUV2 = new Vec2Simple(v.m_textureUV2); }
public VertexInfoSimple(VertexInfoSimple copy) { this.m_position = copy.m_position; this.m_textureUV = copy.m_textureUV; this.m_textureUV2 = copy.m_textureUV2; this.m_normal = copy.m_normal; this.m_color = copy.m_color; }