[Gambas-user] gb3 OpenGL example applications
Benoît Minisini
gambas at ...1...
Sat Jul 30 01:26:51 CEST 2011
> 2011/7/29 Kevin Fishburne <kevinfishburne at ...1887...>:
> > Caveat was kind enough to provide me with a link to the OpenGL examples.
> > I went through them all and converted them to gb3, cleaned up the code
> > and corrected some bugs. They all work now in gb3 except for one, which
> > I deleted. You can find them here:
> >
> > http://www.eightvirtues.com/misc/gb3_opengl_examples.tar.gz
>
> Very nice Kevin, and so useful of course.
>
> I found that the project 19_ParticleEngine give an error:
>
> 88- colors[p - 1, i] = Val(rgb)
>
> I replace that line with:
>
> colors[p - 1, i] = Val(Replace(rgb, ".", ","))
>
> because decimal sign in my system is ","
No, you must write:
colors[p - 1, i] = CFloat(Trim(rgb))
You cannot decide the localization of the system where a program runs!
--
Benoît Minisini
More information about the User
mailing list