Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

c# optimization

Name: C !X9l.ZOI87s 2010-02-07 15:59

Is there any way to make this faster? C# on the Xbox (XNA) - for those that don't know the CPUs are shitty PowerPC cores, and is slowwww.


toDraw = redBulletList.Count;
if (toDraw > 0)
{
    Array.Resize(ref instanceTransforms, toDraw);
    for (int i = 0; (i < toDraw && i < redBulletList.Count); i++)
    {
       instanceTransforms[i] = redBulletList[i].Transform;
    }
    redBulletInstance.DrawInstances(instanceTransforms, _viewMatrix, _projectionMatrix);
}

Name: Anonymous 2010-02-07 19:23

Totally would have made it for the PS3, but average joe can't just go and make games for a PS3, but anybody can run/use XNA.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List