mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-12-22 01:26:17 +01:00
Continue model viewer
This commit is contained in:
parent
de4145453c
commit
2c0139aead
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue