Someone
public text v1 · immutable sU32 Render(sF32 *buf, sU32 len)
{
while (len)
{ sInt todo=sMin<sInt>(len,TRCounter);
if (todo)
{
P->Render(buf,todo);
buf+=2*todo;
len-=todo;
TRCounter-=todo;
}
else
{
Tick();
TRCounter=TickRate;
}
}
return 1;
}