Преглед изворни кода

Minor tweaks

pull/1154/head
raysan5 пре 5 година
родитељ
комит
3d41c1b6cd
2 измењених фајлова са 1 додато и 2 уклоњено
  1. +0
    -1
      examples/models/models_animation.c
  2. +1
    -1
      src/core.c

+ 0
- 1
examples/models/models_animation.c Прегледај датотеку

@ -37,7 +37,6 @@ int main(void)
camera.fovy = 45.0f; // Camera field-of-view Y camera.fovy = 45.0f; // Camera field-of-view Y
camera.type = CAMERA_PERSPECTIVE; // Camera mode type camera.type = CAMERA_PERSPECTIVE; // Camera mode type
Model model = LoadModel("resources/guy/guy.iqm"); // Load the animated model mesh and basic data Model model = LoadModel("resources/guy/guy.iqm"); // Load the animated model mesh and basic data
Texture2D texture = LoadTexture("resources/guy/guytex.png"); // Load model texture and set material Texture2D texture = LoadTexture("resources/guy/guytex.png"); // Load model texture and set material
SetMaterialTexture(&model.materials[0], MAP_DIFFUSE, texture); // Set model material map texture SetMaterialTexture(&model.materials[0], MAP_DIFFUSE, texture); // Set model material map texture

+ 1
- 1
src/core.c Прегледај датотеку

@ -122,7 +122,7 @@
#define RAYLIB_VERSION "3.0" #define RAYLIB_VERSION "3.0"
#endif #endif
#include "utils.h" // Required for: TRACELOG macros and fopen() Android mapping
#include "utils.h" // Required for: TRACELOG macros
#if (defined(__linux__) || defined(PLATFORM_WEB)) && _POSIX_C_SOURCE < 199309L #if (defined(__linux__) || defined(PLATFORM_WEB)) && _POSIX_C_SOURCE < 199309L
#undef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE

Loading…
Откажи
Сачувај