Start working on more lights
This commit is contained in:
parent
6445434310
commit
335f596393
@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
Dane Johnson <dane@danejohnson.org>
|
||||||
|
|
||||||
|
LICENSE
|
||||||
|
|
||||||
|
Couch Copyright (C) 2021 Dane Johnson
|
||||||
|
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; without event the
|
||||||
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
See the GNU General Public License for details at
|
||||||
|
https://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under the terms of the GNU General Public License as published
|
||||||
|
by the Free Software Foundation; either version 3 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
DESCRIPTION
|
||||||
|
|
||||||
|
Lights provide lighting to a scene. They can be colored and support
|
||||||
|
ambient, diffuse, and specular properties.
|
||||||
|
*/
|
||||||
#include "Light.h"
|
#include "Light.h"
|
||||||
|
|
||||||
Name Light::GetType() const {return "Light";}
|
Name Light::GetType() const {return "Light";}
|
||||||
|
23
core/Light.h
23
core/Light.h
@ -1,3 +1,26 @@
|
|||||||
|
/**
|
||||||
|
@file
|
||||||
|
@author Dane Johnson <dane@danejohnson.org>
|
||||||
|
|
||||||
|
@section LICENSE
|
||||||
|
|
||||||
|
Couch Copyright (C) 2021 Dane Johnson
|
||||||
|
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; without event the
|
||||||
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
See the GNU General Public License for details at
|
||||||
|
https://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under the terms of the GNU General Public License as published
|
||||||
|
by the Free Software Foundation; either version 3 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
@section DESCRIPTION
|
||||||
|
|
||||||
|
Lights provide lighting to a scene. They can be colored and support
|
||||||
|
ambient, diffuse, and specular properties.
|
||||||
|
*/
|
||||||
#ifndef LIGHT_H
|
#ifndef LIGHT_H
|
||||||
#define LIGHT_H
|
#define LIGHT_H
|
||||||
|
|
||||||
|
@ -83,3 +83,11 @@ Things are starting to smell, here's what I need to do
|
|||||||
- [ ] Combine related files (shaders)
|
- [ ] Combine related files (shaders)
|
||||||
- [ ] Create a testing suite
|
- [ ] Create a testing suite
|
||||||
- [x] Have exceptions thrown to Lua if generated from a user program
|
- [x] Have exceptions thrown to Lua if generated from a user program
|
||||||
|
|
||||||
|
## More lights
|
||||||
|
The great refactor continues, and I will incrementally make progress,
|
||||||
|
but this project is going to die on the vine if I don't get motivated, and
|
||||||
|
motivation comes from new features.
|
||||||
|
- [ ] Point Light
|
||||||
|
- [ ] Spot Light
|
||||||
|
- [ ] Shadows
|
||||||
|
Loading…
Reference in New Issue
Block a user