pass an array to a procedure

Everything else that doesn't fall into one of the other PB categories.
doodlemunch
Enthusiast
Enthusiast
Posts: 237
Joined: Tue Apr 05, 2005 11:20 pm

Post by doodlemunch »

hi!! well it doesnt work
it compiles always ok
but this might be a gay problem of opengl32 cos i can only pass 'pure' colors like 1.0 if i pass 0.1 it takes it as 1.0 i cant 'mix' them or anything i bet you guys know about this stuff so i want to hear hey im using floats what can be the problem from then

i got no idea seriouzly

sorry my english its bad i am not a good talker but cant speak in my native language because you wont understaand anithing he he
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

doodlemunch wrote:hi!! well it doesnt work
If you don't show us what you're trying to do, no one will be able to help you.
[...]but cant speak in my native language[...]
What would that be?
Good programmers don't comment their code. It was hard to write, should be hard to read.
doodlemunch
Enthusiast
Enthusiast
Posts: 237
Joined: Tue Apr 05, 2005 11:20 pm

Post by doodlemunch »

i speak hebrew so i think many people of here wont be able to understand a line of it

i already show you the array thats all i have and i pass the array to the procedure directly in the callfunction line after setting the array value with the color in float

i use 0.1 and it takes it as 1.0 why could this be happenin ?!?
doodlemunch
Enthusiast
Enthusiast
Posts: 237
Joined: Tue Apr 05, 2005 11:20 pm

Post by doodlemunch »

oki i solved it thanks goes to everyone in this post !!!
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

:?: :D
Good programmers don't comment their code. It was hard to write, should be hard to read.
Post Reply