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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5d708145f98f6273 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-14 06:36:30 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 14 Apr 2004 08:36:30 -0500 Date: Wed, 14 Apr 2004 09:36:29 -0400 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Access type conversions, how? References: <107mgcjspsour11@corp.supernews.com> <407c0f2c.0@entanet> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.147.90.114 X-Trace: sv3-KYqx6pLA3EM8Tpwz/XvxHZmKvBwuLAWs5jZYB+0sgRceQyfuqSlPTXlA8Uh8nGD4z9WnbigbfY9jSFu!eYj/xLVYifN/MekVcKxWyZEWq/zTBdJkUJN31/M7tw5RjzgIvQzITMPlJL24Vg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:7088 Date: 2004-04-14T09:36:29-04:00 List-Id: Luke A. Guest wrote: > Take the glMultMatrixf procedure I posted before, *you want to have your > own types* but *you also want to be able to pass them to the GL functions* > but it's tricky because the strong typing is getting in the way. I need a > way to convert my aliased matrix type to another. That function expects a > GL.GLfloatPtr, I want to use something else, do you understand? Then you need to (unchecked) convert the access type, not the data. Of course, make sure that both access types are either declared access all, or designate objects in the same storage pool. -- Robert I. Eachus "The terrorist enemy holds no territory, defends no population, is unconstrained by rules of warfare, and respects no law of morality. Such an enemy cannot be deterred, contained, appeased or negotiated with. It can only be destroyed--and that, ladies and gentlemen, is the business at hand." -- Dick Cheney