This file contains hidden or 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 author: laytan (https://gist.github.com/laytan/a94c323a84cef7bcfbdf6d21987fd5a9) | |
| # Modifications by: harold-b (https://gist.github.com/harold-b/ef16a5c3ebcceccfc2bc7a5c5dd0058d) | |
| # Modifications by: NANDquark (https://gist.github.com/NANDquark/f422c4334deae474831f9528906680d3) | |
| # | |
| # LICENSE | |
| # | |
| # Anyone is free to copy, modify, publish, use, compile, sell, or | |
| # distribute this software, either in source code form or as a compiled | |
| # binary, for any purpose, commercial or non-commercial, and by any | |
| # means. |
This file contains hidden or 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
| // Source: https://gist.github.com/Tekkitslime/c9dff12cabf6339a27876b9b57c5ba43 | |
| // Modified by NANDquark | |
| package obj | |
| // Implemented from this wikipedia article: | |
| // https://en.wikipedia.org/wiki/Wavefront_.obj_file | |
| // this obj loader does not support relative indices (-1 to reference last vertex.) | |
| // no free-form geometry support. | |
| // limited transparency support. |
This file contains hidden or 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
| package main | |
| import rl "vendor:raylib" | |
| WIDTH :: 800 | |
| HEIGHT :: 600 | |
| mouse_pos: rl.Vector2 | |
| main :: proc() { |