Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by AndrewAMD. 08/27/26 15:28
Retrieve optimize() variables order (edited)
by NorbertSz. 08/25/26 13:24
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 7,578 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 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