unity and native osx bundles and frameworks build from the same project now

This commit is contained in:
Joseph Henry
2016-06-16 11:47:08 -07:00
parent 621970619d
commit 699edf8f30
111 changed files with 11112 additions and 14 deletions

View File

@@ -0,0 +1,25 @@

public class OBJFaceVertex
{
//------------------------------------------------------------------------------------------------------------
public int m_VertexIndex = -1;
public int m_UVIndex = -1;
public int m_UV2Index = -1;
public int m_NormalIndex = -1;
public int m_ColorIndex = -1;
public override int GetHashCode()
{
return m_VertexIndex ^ m_UVIndex ^ m_UV2Index ^ m_NormalIndex ^ m_ColorIndex;
}
public override bool Equals(object obj)
{
OBJFaceVertex faceVertex = (OBJFaceVertex)obj;
return m_VertexIndex == faceVertex.m_VertexIndex
&& m_UVIndex == faceVertex.m_UVIndex
&& m_UV2Index == faceVertex.m_UV2Index
&& m_NormalIndex == faceVertex.m_NormalIndex
&& m_ColorIndex == m_ColorIndex;
}
}