mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-21 20:39:57 +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;
|
SDL_Event event;
|
||||||
|
|
||||||
toLight.x = 10;
|
toLight.x = 10;
|
||||||
toLight.y = -10;
|
toLight.y = 10;
|
||||||
toLight.z = -10;
|
toLight.z = 10;
|
||||||
|
|
||||||
S3L_normalizeVec3(&toLight);
|
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)
|
void S3L_initDrawConfig(S3L_DrawConfig *config)
|
||||||
{
|
{
|
||||||
config->backfaceCulling = 1;
|
config->backfaceCulling = 2;
|
||||||
config->visible = 1;
|
config->visible = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue