1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-20 20:29:58 +01:00

Continue model viewer

This commit is contained in:
Miloslav Číž 2019-06-06 23:26:40 +02:00
parent de4145453c
commit 2c0139aead
2 changed files with 3 additions and 3 deletions

View file

@ -191,8 +191,8 @@ int main()
SDL_Event event;
toLight.x = 10;
toLight.y = -10;
toLight.z = -10;
toLight.y = 10;
toLight.z = 10;
S3L_normalizeVec3(&toLight);

View file

@ -1349,7 +1349,7 @@ void S3L_initPixelInfo(S3L_PixelInfo *p) // TODO: maybe non-pointer for p
void S3L_initDrawConfig(S3L_DrawConfig *config)
{
config->backfaceCulling = 1;
config->backfaceCulling = 2;
config->visible = 1;
}