소스 검색

Corrected model filenames

pull/28/head
raysan5 10 년 전
부모
커밋
35f1ebf9f3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      examples/models_obj_loading.c

+ 2
- 2
examples/models_obj_loading.c 파일 보기

@ -23,8 +23,8 @@ int main()
// Define the camera to look into our 3d world
Camera camera = {{ 3.0, 3.0, 3.0 }, { 0.0, 1.5, 0.0 }, { 0.0, 1.0, 0.0 }};
Model dwarf = LoadModel("resources/model/_dwarf.obj"); // Load OBJ model
Texture2D texture = LoadTexture("resources/model/_dwarf_diffuse.png"); // Load model texture
Model dwarf = LoadModel("resources/model/dwarf.obj"); // Load OBJ model
Texture2D texture = LoadTexture("resources/model/dwarf_diffuse.png"); // Load model texture
SetModelTexture(&dwarf, texture); // Bind texture to model
Vector3 position = { 0.0, 0.0, 0.0 }; // Set model position

불러오는 중...
취소
저장