Skip to content

Commit

Permalink
Add snake head texture
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawnkai committed Jul 16, 2021
1 parent 7c2fe49 commit 507b05e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ If you want to contribute to this repository, fork it and adapt it to your needs
* [nudelkopf](https://www.cgtrader.com/free-3d-print-models/house/decor/hardsurface-padding-cylinder) - for snake body model
* [glm](https://github.com/g-truc/glm) - for simplifying model calculations
* [wallpaperflare](https://www.wallpaperflare.com/snakeskin-illustration-texture-scales-leather-colors-pattern-wallpaper-avas) - for snake head texture
* [Trollinho](https://unsplash.com/photos/NABW57T7dBo?utm_source=unsplash&utm_medium=referral&utm_content=creditShareLink) - for snake body texture
* [wallpaper-house](https://wallpaper-house.com/wallpaper-id-295361.php) - for snake skin texture
Binary file modified main_file
Binary file not shown.
2 changes: 1 addition & 1 deletion main_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int main(void)
snakeHead->rotate(glm::vec3(0,0,90));
snakeHead->scale(glm::vec3(2.0f, 2.0f, 2.0f));

Model *snakeBody = new Model("cylinder.obj", "snake.png");
Model *snakeBody = new Model("cylinder.obj", "skin.png");
snakeBody->rotate(glm::vec3(0, 0, 90));
snakeBody->scale(glm::vec3(2.0f, 2.0f, 2.0f));

Expand Down
Binary file added skin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 507b05e

Please sign in to comment.