I've used this in Perlin noise in real-time. If you can't think on some situation, it doesn't mean that such situation doesn't exist.Originally Posted by Nitrogen
You'd extend this method up to High(Integer), instead of 2048. You never know.Originally Posted by cairnswm
Have you checked CeilPowerOfTwo? Would be interesting to compare the two.Originally Posted by Nitrogen
This argument is common these days, especially in MSDN documentation, where they explain that we don't need assembler on 64-bit systems anymore. Ironical though, their own JIT doesn't optimize much of the code on the fly "to increase startup speed".Originally Posted by Paizo
Compiler will do a better optimization job than a human, when it will be able to write code instead of yourself (pro genetic programming? ), but then it won't be a compiler, would it? Until then, humans will still be able to perform the task better.
...then I guess the game will only be able to have 16 different textures on my 256 Mb video card. :cry:Originally Posted by Nitrogen
Bookmarks