Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SHOW_TRIS::Triangle Struct Reference

#include <show_tris.H>

Collaboration diagram for SHOW_TRIS::Triangle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Triangle ()
 Triangle (mlib::CWpt &a, mlib::CWpt &b, mlib::CWpt &c)
bool operator== (const Triangle &tri) const
mlib::Wvec norm () const

Public Attributes

mlib::Wpt _a
mlib::Wpt _b
mlib::Wpt _c

Detailed Description

Definition at line 19 of file show_tris.H.


Constructor & Destructor Documentation

SHOW_TRIS::Triangle::Triangle  )  [inline]
 

Definition at line 22 of file show_tris.H.

SHOW_TRIS::Triangle::Triangle mlib::CWpt a,
mlib::CWpt b,
mlib::CWpt c
[inline]
 

Definition at line 23 of file show_tris.H.


Member Function Documentation

mlib::Wvec SHOW_TRIS::Triangle::norm  )  const [inline]
 

Definition at line 28 of file show_tris.H.

References _a, _b, _c, mlib::cross(), and mlib::Vec4::normalized().

Referenced by SHOW_TRIS::draw_flat_tri().

bool SHOW_TRIS::Triangle::operator== const Triangle tri  )  const [inline]
 

Definition at line 25 of file show_tris.H.

References _a, _b, and _c.


Member Data Documentation

mlib::Wpt SHOW_TRIS::Triangle::_a
 

Definition at line 20 of file show_tris.H.

Referenced by SHOW_TRIS::draw_flat_tri(), SHOW_TRIS::draw_wire_tri(), norm(), and operator==().

mlib::Wpt SHOW_TRIS::Triangle::_b
 

Definition at line 20 of file show_tris.H.

Referenced by SHOW_TRIS::draw_flat_tri(), SHOW_TRIS::draw_wire_tri(), norm(), and operator==().

mlib::Wpt SHOW_TRIS::Triangle::_c
 

Definition at line 20 of file show_tris.H.

Referenced by SHOW_TRIS::draw_flat_tri(), SHOW_TRIS::draw_wire_tri(), norm(), and operator==().


The documentation for this struct was generated from the following file:
Generated on Mon Sep 18 11:47:07 2006 for jot by  doxygen 1.4.4