Start working on more lights

This commit is contained in:
Dane Johnson 2021-03-02 10:39:38 -06:00
parent 6445434310
commit 335f596393
3 changed files with 53 additions and 0 deletions

View File

@ -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"
Name Light::GetType() const {return "Light";}

View File

@ -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
#define LIGHT_H

View File

@ -83,3 +83,11 @@ Things are starting to smell, here's what I need to do
- [ ] Combine related files (shaders)
- [ ] Create a testing suite
- [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