Last change
on this file since 5498 was
4904,
checked in by ldelgass, 10 years ago
|
Merge serveral changes from trunk. Does not include threading, world space
changes, etc.
|
-
Property svn:eol-style set to
native
|
File size:
660 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (c) 2004-2013 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | * Authors: |
---|
6 | * Wei Qiao <qiaow@purdue.edu> |
---|
7 | * Insoo Woo <iwoo@purdue.edu> |
---|
8 | * George A. Howlett <gah@purdue.edu> |
---|
9 | * Leif Delgass <ldelgass@purdue.edu> |
---|
10 | */ |
---|
11 | #ifndef NV_FLOWTYPES_H |
---|
12 | #define NV_FLOWTYPES_H |
---|
13 | |
---|
14 | namespace nv { |
---|
15 | |
---|
16 | enum FlowSliceAxis { |
---|
17 | AXIS_X, |
---|
18 | AXIS_Y, |
---|
19 | AXIS_Z |
---|
20 | }; |
---|
21 | |
---|
22 | struct FlowColor { |
---|
23 | float r, g, b, a; |
---|
24 | }; |
---|
25 | |
---|
26 | struct FlowPoint { |
---|
27 | float x, y, z; |
---|
28 | }; |
---|
29 | |
---|
30 | struct FlowPosition { |
---|
31 | float value; |
---|
32 | unsigned int flags; |
---|
33 | FlowSliceAxis axis; |
---|
34 | }; |
---|
35 | |
---|
36 | // FlowPosition flag values |
---|
37 | #define RELPOS 0 |
---|
38 | #define ABSPOS 1 |
---|
39 | |
---|
40 | } |
---|
41 | |
---|
42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.