|
using System;
using System.Collections.Generic;
using System.Text;
using AGE_Engine3D.Math;
namespace AGE_Engine3D.RenderObjects
{
public struct Vertex
{
public bool IsNormal;
public bool IsColor;
public bool IsTextured;
public AGE_Vector3Df Position;
private AGE_Vector3Df _Normal;
private AGE_Color4f _Color;
private AGE_TextureCoordinate2f _TextureCoor;
public AGE_Vector3Df Normal
{
get { return this._Normal; }
set
{
this._Normal = value;
this.IsNormal = true;
}
}
public AGE_Color4f Color
{
get { return this._Color; }
set
{
this._Color = value;
this.IsColor = true;
}
}
public AGE_TextureCoordinate2f TextureCoor
{
get { return this._TextureCoor; }
set { this._TextureCoor = value; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a licensed Electrical Engineer at Lea+Elliott, Inc. We specialize in the planning, procurement and implementation of transportation systems, with special emphasis on automated and emerging technologies.