-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
246 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef MATERIALPHONG_H | ||
#define MATERIALPHONG_H | ||
|
||
#include "Material.h" | ||
|
||
class MaterialPhong : public Material | ||
{ | ||
public: | ||
MaterialPhong() = default; | ||
MaterialPhong(const MaterialPhong&) = default; | ||
MaterialPhong& operator=(const MaterialPhong&) = default; | ||
MaterialPhong(MaterialPhong&&) = default; | ||
MaterialPhong& operator=(MaterialPhong&&) = default; | ||
~MaterialPhong() override = default; | ||
|
||
virtual void init(ShaderProgram* io_shader, std::array<glm::mat4, 3>* io_matrices) override; | ||
|
||
virtual void update() override; | ||
|
||
virtual const char* vertexName() const override; | ||
|
||
virtual const char* fragName() const override; | ||
}; | ||
|
||
#endif // MATERIALPHONG_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.