head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2002.09.07.01.50.38;	author curt;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.31.19.01.55;	author curt;	state Exp;
branches;
next	1.1;

1.1
date	2002.08.31.18.54.01;	author curt;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Updated doxygen docs.
@
text
@<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>mat3defs.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>mat3defs.h</h1><div class="fragment"><pre>00001 <font class="comment">/* Copyright 1988, Brown Computer Graphics Group.  All Rights Reserved. */</font>
00002 
00003 
00004 <font class="preprocessor">#ifndef _MAT3DEFS_H</font>
00005 <font class="preprocessor"></font><font class="preprocessor">#define _MAT3DEFS_H</font>
00006 <font class="preprocessor"></font>
00007 
00008 <font class="preprocessor">#ifdef __cplusplus                                                          </font>
00009 <font class="preprocessor"></font><font class="keyword">extern</font> <font class="stringliteral">"C"</font> {                            
00010 <font class="preprocessor">#endif                                   </font>
00011 <font class="preprocessor"></font>
00012 <font class="preprocessor">#include &lt;stdio.h&gt;</font>
00013 <font class="comment">/* #include &lt;Math/mat3err.h&gt; */</font>
00014 <font class="preprocessor">#include "mat3.h"</font>
00015 
00016 <font class="comment">/* -----------------------------  Constants  ------------------------------ */</font>
00017 
00018 <font class="preprocessor">#define FALSE           0</font>
00019 <font class="preprocessor"></font><font class="preprocessor">#define TRUE            1</font>
00020 <font class="preprocessor"></font>
00021 <font class="preprocessor">#define CNULL ((char *) NULL)</font>
00022 <font class="preprocessor"></font>
00023 <font class="comment">/* ------------------------------  Macros  -------------------------------- */</font>
00024 
00025 <font class="preprocessor">#define ALLOCN(P,T,N,M) \</font>
00026 <font class="preprocessor">   if ((P = (T *) malloc((unsigned) (N) * sizeof(T))) == NULL) \</font>
00027 <font class="preprocessor">      ERR_ERROR(MAT3_errid, ERR_FATAL, (ERR_ALLOC1, M)); \</font>
00028 <font class="preprocessor">   else</font>
00029 <font class="preprocessor"></font>
00030 <font class="preprocessor">#define FREE(P)    free((char *) (P))</font>
00031 <font class="preprocessor"></font>
00032 <font class="preprocessor">#define ABS(A)          ((A) &gt; 0   ? (A) : -(A))</font>
00033 <font class="preprocessor"></font><font class="preprocessor">#define MIN(A,B)        ((A) &lt; (B) ? (A) :  (B))</font>
00034 <font class="preprocessor"></font><font class="preprocessor">#define MAX(A,B)        ((A) &gt; (B) ? (A) :  (B))</font>
00035 <font class="preprocessor"></font>
00036 <font class="preprocessor">#define SWAP(A,B,T)     (T = A, A = B, B = T)</font>
00037 <font class="preprocessor"></font>
00038 <font class="comment">/* Is N within EPS of zero ? */</font>
00039 <font class="preprocessor">#define IS_ZERO(N,EPS)  ((N) &lt; EPS &amp;&amp; (N) &gt; -EPS)</font>
00040 <font class="preprocessor"></font>
00041 <font class="comment">/* Macros for lu routines */</font>
00042 <font class="preprocessor">#define LU_PERMUTE(p,i,j)  { int LU_T; LU_T = p[i]; p[i] = p[j]; p[j] = LU_T; }</font>
00043 <font class="preprocessor"></font>
00044 <font class="comment">/* -------------------------  Internal Entries ---------------------------- */</font>
00045 
00046 <font class="comment">/* -------------------------  Global Variables ---------------------------- */</font>
00047 
00048 <font class="comment">/* extern ERRid *MAT3_errid; */</font>
00049 
00050 
00051 <font class="preprocessor">#ifdef __cplusplus</font>
00052 <font class="preprocessor"></font>}
00053 <font class="preprocessor">#endif</font>
00054 <font class="preprocessor"></font>
00055 
00056 <font class="preprocessor">#endif </font><font class="comment">/* _MAT3DEFS_H */</font>
</pre></div><hr><address align="right"><small>Generated on Fri Sep 6 20:46:34 2002 for SimGear by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.16 </small></address>
</body>
</html>
@


1.2
log
@Oops, try again.
@
text
@d65 1
a65 1
</pre></div><hr><address align="right"><small>Generated on Sat Aug 31 13:59:38 2002 for SimGear by
@


1.1
log
@Regenerated doxygen files.
@
text
@d65 1
a65 1
</pre></div><hr><address align="right"><small>Generated on Sat Aug 31 13:45:08 2002 for SimGear by
@

