source: nanovis/branches/1.1/FlowTypes.h @ 4804

Last change on this file since 4804 was 3567, checked in by ldelgass, 7 years ago

Refactor and cleanups in nanovis, mainly to switch to using STL hash tables
(TR1 required) instead of Tcl hash tables, split out Flow particles and boxes
to separate implementation files. The goal is to achieve better separation of
Tcl command parsing and the core graphics rendering objects and code.

  • Property svn:eol-style set to native
File size: 565 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 FLOWTYPES_H
12#define FLOWTYPES_H
13
14struct FlowColor {
15    float r, g, b, a;
16};
17
18struct FlowPoint {
19    float x, y, z;
20};
21
22struct FlowPosition {
23    float value;
24    unsigned int flags;
25    int axis;
26};
27
28// FlowPosition flag values
29#define RELPOS 0
30#define ABSPOS 1
31
32#endif
Note: See TracBrowser for help on using the repository browser.