diff --git a/programs/modelViewer.c b/programs/modelViewer.c index 8c8ad89..30f60bc 100644 --- a/programs/modelViewer.c +++ b/programs/modelViewer.c @@ -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); diff --git a/small3dlib.h b/small3dlib.h index b7af9fe..65750c9 100644 --- a/small3dlib.h +++ b/small3dlib.h @@ -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; }