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
struct GradientTexture { | |
GLuint texture = 0; | |
int width = 0; | |
int height = 0; | |
}; | |
struct ColorMapWithGradientTexture{ | |
vivid::ColorMap colorMap; | |
std::string texturePath; | |
GradientTexture texture; |
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
❯ invoke installdeps | |
Configuration: | |
[settings] | |
arch=x86_64 | |
arch_build=x86_64 | |
build_type=Release | |
compiler=gcc | |
compiler.libcxx=libstdc++11 | |
compiler.version=10 | |
os=Linux |
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
fmt: .string "Hello assembly world!\n" | |
.balign 4 | |
.global main | |
main: stp x29, x30, [sp, -16]! | |
mov x29, sp | |
// adr x0, fmt | |
adrp x0, fmt | |
add x0, x0, :lo12:fmt |
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
s = """Gur Mra bs Clguba, ol Gvz Crgref | |
Ornhgvshy vf orggre guna htyl. | |
Rkcyvpvg vf orggre guna vzcyvpvg. | |
Fvzcyr vf orggre guna pbzcyrk. | |
Pbzcyrk vf orggre guna pbzcyvpngrq. | |
Syng vf orggre guna arfgrq. | |
Fcnefr vf orggre guna qrafr. | |
Ernqnovyvgl pbhagf. | |
Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf. | |
Nygubhtu cenpgvpnyvgl orngf chevgl. |