SuperTuxKart
Loading...
Searching...
No Matches
graphics
sun.hpp
1
//
2
// SuperTuxKart - a fun racing game with go-kart
3
// Copyright (C) 2013-2015 Lauri Kasanen
4
//
5
// This program is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU General Public License
7
// as published by the Free Software Foundation; either version 3
8
// of the License, or (at your option) any later version.
9
//
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with this program; if not, write to the Free Software
17
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19
#ifndef HEADER_SUN_HPP
20
#define HEADER_SUN_HPP
21
22
#include "graphics/light.hpp"
23
#include "utils/cpp2011.hpp"
24
25
class
ScreenQuad;
26
27
// The actual sun node
28
class
SunNode
:
public
LightNode
29
{
30
31
public
:
32
SunNode
(scene::ISceneManager* mgr, scene::ISceneNode* parent,
33
float
r,
float
g,
float
b);
34
virtual
~SunNode
();
35
36
virtual
void
render() OVERRIDE;
37
virtual
bool
isPointLight() OVERRIDE {
return
false
; }
38
39
};
// SunNode
40
41
#endif
LightNode
Definition:
light.hpp:37
SunNode
Definition:
sun.hpp:29
Generated on Fri May 19 2023 21:44:32 for SuperTuxKart by
1.9.6