-
Notifications
You must be signed in to change notification settings - Fork 344
/
appcube.hpp
39 lines (32 loc) · 1008 Bytes
/
appcube.hpp
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
// This file is distributed under a BSD license. See LICENSE.txt for details.
#ifndef __APP_CUBE_HPP__
#define __APP_CUBE_HPP__
#include "_util.hpp"
#include "_gui.hpp"
/****************************************************************************/
/*** ***/
/*** windows ***/
/*** ***/
/****************************************************************************/
class sCubeApp : public sGuiWindow
{
sMatrix Frame;
sVector Rot;
sF32 Time;
sInt Texture;
sInt MtrlSetup;
sMaterialInstance Inst;
sVector vc[4];
sVector pc[1];
public:
sCubeApp();
~sCubeApp();
void Tag();
void OnPaint();
void OnPaint3d(sViewport &vp);
void OnKey(sU32 key);
void OnDrag(sDragData &);
void OnFrame();
};
/****************************************************************************/
#endif