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
void DrawTextureShear(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, Vector2 shear, Color tint) | |
{ | |
// Check if texture is valid | |
if (texture.id > 0) | |
{ | |
float width = (float)texture.width; | |
float height = (float)texture.height; | |
bool flipX = false; | |
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 "core:fmt" | |
import "core:strings" | |
//memory debug imports | |
import "core:log" | |
import "core:mem" | |
import "core:c/libc" |
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
Basically.... | |
How do I convert this: | |
# # | |
# # # | |
# # # | |
# # # | |
# # # | |
# # # | |
# # # |
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 raygui_example | |
import rl "vendor:raylib" | |
main :: proc() { | |
showMessageBox: bool | |
rl.ChangeDirectory(rl.GetApplicationDirectory()) | |
rl.InitWindow(640, 480, "Is it a gui") |