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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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 Path: g2news1.google.com!postnews.google.com!t20g2000yqa.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: OpenGL in Ada Date: Fri, 8 Oct 2010 10:11:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5da28556-6c24-4922-93fa-82d2513be306@t20g2000yqa.googlegroups.com> References: NNTP-Posting-Host: 174.28.243.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1286564598 14681 127.0.0.1 (8 Oct 2010 19:03:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 8 Oct 2010 19:03:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t20g2000yqa.googlegroups.com; posting-host=174.28.243.178; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET CLR 4.0.20506),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14442 Date: 2010-10-08T10:11:41-07:00 List-Id: > Someone trying to use a tutorial ought to be able to understand the > change from "glVertex3i(x,y,z)" to "GL.Vertex(x, y, z : Int)". > > (Of course there is a problem with overloading multiple integral and > real versions - calls with only literal arguments need some kind of > kludge. =A0I've never found a good solution.) > > --BrianG Well, there's qualification: Vertex( Z =3D> Integer'(1), X =3D> Integer'(1), Y =3D> Integer'(1) ); and There's using typed-constants: Declare One : Constant Integer:=3D 1; Begin Vertex( X =3D> One, Y =3D> One, Z =3D> One ); End; Is the case of using only literals the most common case? If not, how common is it?