unity and native osx bundles and frameworks build from the same project now
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user