vec2 Struct Reference

Helper structure for holding and manipulating 2 dimensional vectors or coordinates. More...

#include <streamlines.h>

List of all members.

Public Member Functions

 vec2 ()
 Standard Constructor.
 vec2 (float x, float y)
 Constructor.

Public Attributes

float x
 X Component of Vector or Coordinate.
float y
 Y Component of Vector or Coordinate.


Detailed Description

Helper structure for holding and manipulating 2 dimensional vectors or coordinates.

Definition at line 11 of file streamlines.h.


Constructor & Destructor Documentation

vec2::vec2 (  )  [inline]

Standard Constructor.

Definition at line 16 of file streamlines.h.

vec2::vec2 ( float  x,
float  y 
) [inline]

Constructor.

Definition at line 18 of file streamlines.h.


Member Data Documentation

float vec2::x

float vec2::y


The documentation for this struct was generated from the following file:

Generated on Wed Jan 21 16:22:24 2009 for FlowVis by  doxygen 1.5.6