Simple qestion - but help me pleae

Posted By: Raymaker

Simple qestion - but help me pleae - 04/27/07 11:19

float a[3];
float b[3];

can I use it like this c_trace(a,b,.....);
I mean can I use floats with c_trace?
Or is there a way to convert a float into a format that c_trace can use;
If this can be done i'll post a intresting idea on the shaders section.
Thanx anyway.
Posted By: Puppeteer

Re: Simple qestion - but help me pleae - 04/27/07 11:25

If it's possible (i don't know)
then it'll be this way

in your function:
var var_A[3];
var var_b[3];

vec_set(a,var_a);
vec_set(b,var_b);
c_trace(var_a,var_b,bl4);

you can try also


c_trace(a,b,bl4);
Posted By: Raymaker

Re: Simple qestion - but help me pleae - 04/27/07 11:49

thanx derOmega!! Look at the shaders secton. My post is named "INTERESTING"
© 2024 lite-C Forums