From: wvdtol@my-deja.com
Subject: Re: textures, GlUT3.7 and Ada95
Date: 1999/07/28
Date: 1999-07-28T00:00:00+00:00 [thread overview]
Message-ID: <7nmipk$joe$1@nnrp1.deja.com> (raw)
In-Reply-To: FFJy8s.6x@stuyts.nl
Jerry,
There is an ada implementation available and the examples there don't
use textures, or I must have been looking with a very well implemented
'remove everything that looks like reading texture files from what I see
in an ada95 program' filter.
As I wrote I was looking for examples, such to give me the ability to
port the code myself. But I can have a look at the GLUT code that has
been ported to ada and compare it with the C code.
Once I know the trick I will make an example "converting C to Ada95 for
dummies" that I will use myself for my future C to ada projects.
One part of the problem is that I am better in writing code that no one
understands, than reading somebody else's code. Especialy when it is
written in a programming language I am not familiar with.
To be more specific, I ran into something like Void *byte. Hmmm, I
wonder what it means, and more, how do you convert something like that
to Ada? There are more of these int* blub and void *bertje(&eet, *pap)
that confuse my very fragily understanding of access types am just
growing.
I will also have a more in depth look at the C code myself. It means I
have to find a C book.
Wilco
In article <FFJy8s.6x@stuyts.nl>,
jerry@jvdsys.stuyts.nl wrote:
> wvdtol@my-deja.com wrote:
>
> : I'm playing a bit with Glut3.7 and I am looking for an example in
which
> : textures, rgb files, are being used.
>
> As someone who ported/bound GLUT to Ada (maybe you are using it ?) I
wonder
> what the specific problem of converting one of demo programs to Ada in
> this case is. ?
>
> --
> -- Jerry van Dijk | Leiden, Holland
> -- Team Ada | jdijk@acm.org
> -- see http://stad.dsl.nl/~jvandyk
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
next prev parent reply other threads:[~1999-07-28 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-27 0:00 textures, GlUT3.7 and Ada95 wvdtol
1999-07-27 0:00 ` jerry
1999-07-28 0:00 ` W.J. van den Tol
1999-07-28 0:00 ` wvdtol [this message]
1999-07-28 0:00 ` Gautier
1999-07-28 0:00 ` W.J. van den Tol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox