Ejemplo n.º 1
0
	void cBatchRenderManager::renderLine()
	{
		_getRenderPropertyMgr()->begin();
		_getRenderPropertyMgr()->setProperty(sRenderProperty::LIGHTING, FALSE);

		LPDIRECT3DDEVICE9 device = cD3DSystem::getD3DDevice();
		device->SetTexture(0, NULL);
		device->SetVertexShader(NULL);
		device->SetPixelShader(NULL);
		device->SetFVF(sLineVertex::D3DFVF);

		renderLineList();
		renderLineStrip();

		_getRenderPropertyMgr()->end();
	}
Ejemplo n.º 2
0
	void renderZeroBones(const Movement::BoneMap & boneMap, Common::ICollection<TPOINT, UInt8> & zeroPositions, QPen & pen)
	{
		renderLineList(SkeletalRender::getJointToJointBoneLines(boneMap, zeroPositions), painter, this->zeroPositionBonePen, CenterX, CenterY);
	}