home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!convex!darwin.sura.net!spool.mu.edu!agate!stanford.edu!CSD-NewsHost.Stanford.EDU!CSD-Newshost!teo
- From: teo@Xenon.Stanford.EDU (Patrick ChengSan Teo)
- Subject: ortho2 and ortho
- Message-ID: <TEO.92Nov16113340@Xenon.Stanford.EDU>
- Sender: news@CSD-NewsHost.Stanford.EDU
- Reply-To: teo@cs.Stanford.EDU
- Organization: Computer Science Department, Stanford University.
- Distribution: comp.sys.sgi
- Date: 16 Nov 92 11:33:40
- Lines: 25
-
-
- I've just finished implementing the Lisp FFI for GL. Everything seems
- to work fine except for ortho(), ortho2() and window(). I tried
- (ortho2 0.0 60.0 0.0 60.0), i.e. ortho2(0.0, 60.0, 0.0, 60.0) which I
- got from the book and it gave me a ERR_BADWINDOW error. The arguments
- to ortho2 are floats and those check out correctly. Does anybody know
- how ortho2 is implemented and what other reasons can there be for
- ERR_BADWINDOW (besides specifying bogus clipping coordinates)? I
- check the window that GL was referring to with (winget) and that
- checks out okay too.
-
- Any help is greatly appreciated!!
-
- Thanks in advance,
- Patrick
-
- --
- -------------------------------------------------------------------------------
- Patrick Cheng-San Teo teo@cs.stanford.edu
- Department of Computer Science kcirtap@leland.stanford.edu
- Stanford University Home Phone: (415) 497-4559
-
- "Everything should be made as simple as possible, but not simpler"
- -- Albert Einstein
- -------------------------------------------------------------------------------
-