toDraw = redBulletList.Count; i < toDraw && i < redBulletList.Count
C# is notoriously slow at boolean AND-ing the same comparison consecutively.
Name:
Anonymous2010-02-07 18:18
I did do that, didn't I? =/
so now i have this:
toDraw = redBulletList.Count;
if (toDraw > 0)
{
Array.Resize(ref instanceTransforms, toDraw);
for (int i = 0;i < toDraw; i++)
instanceTransforms[i] = redBulletList[i].Transform;
redBulletInstance.DrawInstances(instanceTransforms, _viewMatrix, _projectionMatrix);
}
Name:
Anonymous2010-02-07 18:44
Abandon everything and start working on the PS3.
Name:
Anonymous2010-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.
Name:
Anonymous2010-02-07 22:06
>>1 PowerPC
God, don't remind me. Back when Apple was an incredibly niche company nobody had ever heard of, with a whole eight or nine customers, they kept spreading FUD about how Intel processors were slower (per clock) than their own proprietary PPC shit. They didn't mention the part about how this was a blatant lie, never mind little details like an FSB design that topped out at 133MHz and old-style DRAM, even though the actual CPU clock could go up to 2GHz with overclocking.
Name:
Anonymous2010-02-07 22:14
>>1 PowerPC
God, don't remind me. Back when Apple was an incredibly niche company nobody had ever heard of, with a whole eight or nine customers, they kept spreading FUD about how Intel processors were slower (per clock) than their own proprietary PPC shit. They didn't mention the part about how this was a blatant lie, never mind little details like an FSB design that topped out at 133MHz and old-style DRAM, even though the actual CPU clock could go up to 2GHz with overclocking.
Name:
Anonymous2010-02-07 22:20
>>11
PPC was an IBM chip that they suckered Apple and Motorola into.
Name:
Anonymous2010-02-07 22:24
>>11
PPC was an IBM chip that they suckered Apple and Motorola into.