Created
October 9, 2021 20:35
-
-
Save Jordach/7e05e7a61f5e1aafcf08cb01ad158ddc to your computer and use it in GitHub Desktop.
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
lua_newtable(L); | |
for (int i=1; i < 25; i++) { | |
push_ARGB8(L, skybox_params.sky_time.sky_color[i]); | |
lua_rawseti(L, -2, i); | |
} | |
lua_setfield(L, -2, "hourly_sky"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment