/*
			S t r u c t u r e . h

    This file contains procedure declarations and useful constants and
    macros for the PEX Toolkit.

		Copyright (C) 1990, Evans & Sutherland

			 Author: Rich Thomson
		      Date: May 4th, 1990

*/
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

       Copyright 1990, 1991 by Evans & Sutherland Computer Corporation,
			     Salt Lake City, Utah
				       
			     All Rights Reserved
				       
    Permission to use, copy, modify, and distribute this software and its
       documentation for any purpose and without fee is hereby granted,
    provided that the above copyright notice appear in all copies and that
       both that copyright notice and this permission notice appear in
  supporting documentation, and that the names of Evans & Sutherland not be
      used in advertising or publicity pertaining to distribution of the
	     software without specific, written prior permission.
				       
  EVANS & SUTHERLAND  DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
    INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
    EVENT SHALL EVANS & SUTHERLAND BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
    DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
       TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
			PERFORMANCE OF THIS SOFTWARE.
				       
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

#ifndef _PEXt_Structure_h
#define _PEXt_Structure_h

void PEXtRotate();
void PEXtRotateX();
void PEXtRotateY();
void PEXtRotateZ();
void PEXtTranslate();
void PEXtTranslate3();
void PEXtNonUniformScale();
void PEXtNonUniformScale3();
#define PEXtUniformScale(sf, comp) (PEXtNonUniformScale(sf, sf, comp))
#define PEXtUniformScale3(sf, comp) (PEXtNonUniformScale3(sf, sf, sf, comp))
void PEXtBuildTran();
void PEXtBuildTran3();

#define PEXtSetElemPtrPastLabel(label) \
  (pset_elem_ptr_label(label), poffset_elem_ptr(1))

#define PEXtSetElemPtrAfterFirstLabel(l) \
  (pset_elem_ptr(0), PEXtSetElemPtrPastLabel(l))

#endif _PEXt_Structure_h
