Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,618 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Simple qestion - but help me pleae #126777
04/27/07 11:19
04/27/07 11:19
Joined: Apr 2007
Posts: 29
R
Raymaker Offline OP
Newbie
Raymaker  Offline OP
Newbie
R

Joined: Apr 2007
Posts: 29
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.

Re: Simple qestion - but help me pleae [Re: Raymaker] #126778
04/27/07 11:25
04/27/07 11:25
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
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);


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Simple qestion - but help me pleae [Re: Puppeteer] #126779
04/27/07 11:49
04/27/07 11:49
Joined: Apr 2007
Posts: 29
R
Raymaker Offline OP
Newbie
Raymaker  Offline OP
Newbie
R

Joined: Apr 2007
Posts: 29
thanx derOmega!! Look at the shaders secton. My post is named "INTERESTING"


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1