Have Type, need Float Ptr

BlitzMax Forums/BlitzMax Beginners Area/Have Type, need Float Ptr

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@AngelDaniel: What part of:
so I end up with glLightfv(GL_LIGHT0, GL_AMBIENT, Varptr(ambient.r)) seems ok, but not too elegant ?
It will mess up if I change the Type definition later.
Is there a better way?
did you not read? :D