Im stuipd help
what would i add in my code to make it run faster? explain to me im stuipd lol
---------------------------
X to da Z!
lol
I''m not even gonna bother, since this is probably a bad clone of the "oGL SUX" thread.
If not, go read that one, it might give you some answers.
return 1;
I''m not even gonna bother, since this is probably a bad clone of the "oGL SUX" thread.
If not, go read that one, it might give you some answers.
return 1;
enter_secret_very_fast_mode(M_PI/32);
just to fool you microsoft doesn''t include M_PI in their math.h
stupid M$.
just to fool you microsoft doesn''t include M_PI in their math.h
stupid M$.
Nope just wanted to know i read something on NeHes site about it making it faster i tryed to do it and it didnt work well with my compiler.. so just wondered
---------------------------
X to da Z!
---------------------------
X to da Z!
a // per line speeds that line up 100 % ;p
try inlining some important functions.. or even write them in ASM..
cya,
Phil
Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
RAW!
try inlining some important functions.. or even write them in ASM..
cya,
Phil
Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
RAW!
After you inline them make sure to do this (if you''re using MSVC):
Project->Settings->C/C++
Set Category to Optimizations
Set Inline Function Expansion to Any Suitable
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
http://www.gdarchive.net/druidgames/
Project->Settings->C/C++
Set Category to Optimizations
Set Inline Function Expansion to Any Suitable
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
http://www.gdarchive.net/druidgames/
get rid of statements like x*2 and replace them with x+x etc. If you use vc++ or borland turn on optimization.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement