Example #1
0
	//------------------------------------------------------------------------------------------------------
	void Rect3D::GetVertexBuffer(SharedBuffer &input) const
	{
		const static ushort Indies[COUNT_OF_INDIES]={	0,1, 1,2, 2,3, 3,0,
			0,4, 1,5, 2,6, 3,7,
			4,5, 5,6, 6,7, 7,4};
		input.AddVertex(m_pVertexArray, Indies );
	}
Example #2
0
	//-------------------------------------------------------------------------------------
	void Billboard::GetVertexBuffer(SharedBuffer& input) const 
	{
		const static ushort Indies[COUNT_OF_INDIES]={0,1,2, 2,1,3};
		input.AddVertex( m_VertexArray, Indies );
	}