Re: quick and rudimentary

New Message Reply Date view Thread view Subject view Author view

Benedikt Kessler (bjk++at++munich.sgi.com)
Wed, 14 Oct 1998 16:21:04 +0200


Hi!

Stephen Maher wrote:
...

>
> > Can't you use a 'cast' to fix it? (I don't use C so I don't know for sure):
> >
> > pfPostMultMat(m2,(const float (*)[4]) m3);
> >
>
> No. The C compiler doesn't like type qualifiers like const and volatile
> in cast expressions.

Works perflectly for me (using C Front-end, 7.2.1):

> pfPostMultMat ( workMat , (const float (*)[4]) putinvmat );

Bye! Benedikt

--
+---------------------------------+----------------------------------+
|Benedikt J. Kessler              | Silicon Graphics GmbH            |
|Training Munich                  | Am Hochacker 3 - Technopark      |
|Silicon Graphics Computer Systems| 85630 Grasbrunn-Neukeferloh, FRG |
|    ---  __o       ,__o          |                                  |
| ------_ \<,_    _-\_<,          | Phone: (+int) 89 46108-212 or -0 |
|----- (*)/ (*)  (*)/'(*)         | Fax:   (+int) 89 46107-212       |
+---------------------------------+----------------------------------+
|E-Mail: bjk++at++sgi.com                                                 |
|   Web: http://www.sgi.de/dienstleistungen/                         |
+--------------------------------------------------------------------+

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Oct 14 1998 - 07:21:20 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.