From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75fb93409baf1e22 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!x7g2000yqg.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: OpenGL in Ada Date: Wed, 6 Oct 2010 01:38:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 62.203.125.125 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1286354295 3534 127.0.0.1 (6 Oct 2010 08:38:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 6 Oct 2010 08:38:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x7g2000yqg.googlegroups.com; posting-host=62.203.125.125; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14407 Date: 2010-10-06T01:38:15-07:00 List-Id: Yves Bailly: > The OpenGL subprograms are named according to the usual C naming > scheme ("glBegin", "glVertex3d" and so on), so the result looks more > like C than like Ada, but at least it allows to read tutorials more > easily (as most of them are based on C). So the generated binding is > rather low-level (I think "thin binding" is the appropriate wording). If you want to see a GL binding with Ada names, visit this http://globe3d.sf.net/ There is somewhere among the tools a gl_overloader that produces different "Vertex" instead of C's "glVertex3d", "glVertex3f", etc. like here: http://globe3d.sf.net/g3d_html/gl__ads.htm#3346_13 You can perhaps combine it with your binding generator. ______________________________________________________________________________ Gautier's Ada programming -- http://gautiersblog.blogspot.com/search/label/Ada NB: For a direct answer, e-mail address on the following web site: http://lang-index.sf.net/#contact