File: cube.h

package info (click to toggle)
gem 1%3A0.94-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,704 kB
  • sloc: cpp: 174,301; ansic: 42,132; makefile: 3,867; sh: 1,096; objc: 389
file content (55 lines) | stat: -rw-r--r-- 1,264 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*-----------------------------------------------------------------
LOG
    GEM - Graphics Environment for Multimedia

    A cube

    Copyright (c) 1997-1999 Mark Danks. mark@danks.org
    Copyright (c) Günther Geiger. geiger@epy.co.at
    Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
    For information on usage and redistribution, and for a DISCLAIMER OF ALL
    WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.

-----------------------------------------------------------------*/

#ifndef _INCLUDE__GEM_GEOS_CUBE_H_
#define _INCLUDE__GEM_GEOS_CUBE_H_

#include "Base/GemShape.h"
#include <string.h>

/*-----------------------------------------------------------------
-------------------------------------------------------------------
CLASS
    cube

    Creates a cube

KEYWORDS
    geo

DESCRIPTION

-----------------------------------------------------------------*/
class GEM_EXTERN cube : public GemShape
{
  CPPEXTERN_HEADER(cube, GemShape);

public:

  //////////
  // Constructor
  cube(t_floatarg size);

protected:

  //////////
  // Destructor
  virtual ~cube();

  //////////
  // Do the renderShapeing
  virtual void    renderShape(GemState *state);
};

#endif  // for header file