예제 #1
0
	void GLQuadRenderer::render2DAtlas(const Particle& particle) const
	{
		scaleQuadVectors(particle,scaleX,scaleY);
		GLCallColorAndVertex(particle);
		GLCallTexture2DAtlas(particle);
	}
	void IRRQuadRenderer::renderAtlas(const Particle& particle) const
	{
		scaleQuadVectors(particle,scaleX,scaleY);
		FillBufferColorAndVertex(particle);
		FillBufferTextureAtlas(particle);
	}
예제 #3
0
	void GLQuadRenderer::render3D(const Particle& particle,GLBuffer& renderBuffer) const
	{
		scaleQuadVectors(particle,scaleX,scaleY);
		GLCallColorAndVertex(particle,renderBuffer);
		GLCallTexture3D(particle,renderBuffer);
	}
예제 #4
0
void SPK_PLQuadRenderer::Render2DAtlas(const SPK::Particle &cParticle)
{
	scaleQuadVectors(cParticle, scaleX, scaleY);
	CallColorAndVertex(cParticle);
	CallTexture2DAtlas(cParticle);
}