From: "Luke A. Guest" <laguest@n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk>
Subject: Re: Access type conversions, how?
Date: Tue, 13 Apr 2004 23:51:50 +0100
Date: 2004-04-13T23:51:50+01:00 [thread overview]
Message-ID: <pan.2004.04.13.22.51.47.395173@n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk> (raw)
In-Reply-To: pan.2004.04.13.19.31.42.47535@n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk
Well, in answer to my question:
with Unchecked_Conversion;
...
type FloatPtr is access all Float;
function Float_To_GLfloat is new Unchecked_Conversion(Source => FloatPtr, Target => GL.GLfloatPtr);
...
GL.glMultMatrixf(Float_To_GLfloat(M(M'First)'Unchecked_Access));
And all is well.
Luke.
next prev parent reply other threads:[~2004-04-13 22:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-13 0:32 Access type conversions, how? Luke A. Guest
2004-04-13 1:25 ` Randy Brukardt
2004-04-13 8:08 ` Luke A. Guest
2004-04-13 15:11 ` chris
2004-04-13 16:01 ` Luke Guest
2004-04-13 17:54 ` chris
2004-04-13 19:31 ` Luke A. Guest
2004-04-13 22:51 ` Luke A. Guest [this message]
2004-04-13 21:59 ` Lutz Donnerhacke
2004-04-14 11:53 ` Luke Guest
2004-04-14 12:07 ` Lutz Donnerhacke
2004-04-14 13:36 ` Robert I. Eachus
2004-04-14 17:37 ` Jeffrey Carter
2004-04-13 14:57 ` zhenglonggen
2004-04-14 7:45 ` Martin Dowie
2004-04-14 11:49 ` Luke Guest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox