Pārlūkot izejas kodu

Renamed ex02b and added image placeholder

pull/2/head
raysan5 pirms 11 gadiem
vecāks
revīzija
df0c959523
3 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +0
    -0
      examples/ex02b_basic_shapes.c
  2. Binārs
      examples/ex02b_basic_shapes.png
  3. +3
    -2
      examples/ex04a_textures.c

examples/ex02b_shapes.c → examples/ex02b_basic_shapes.c Parādīt failu


Binārs
examples/ex02b_basic_shapes.png Parādīt failu

Pirms Pēc
Platums: 800  |  Augstums: 450  |  Izmērs: 3.8 KiB

+ 3
- 2
examples/ex04a_textures.c Parādīt failu

@ -38,7 +38,8 @@ int main()
ClearBackground(RAYWHITE);
DrawTexture(texture, screenWidth/2 - texture.width/2, screenHeight/2 - texture.height/2, WHITE);
DrawTexture(texture, screenWidth/2 - texture.width/2,
screenHeight/2 - texture.height/2, WHITE);
DrawText("this IS a texture!", 360, 370, 10, 1, GRAY);
@ -48,7 +49,7 @@ int main()
// De-Initialization
//---------------------------------------------------------
UnloadTexture(texture); // Texture unloading
UnloadTexture(texture); // Texture unloading
CloseWindow(); // Close window and OpenGL context
//----------------------------------------------------------

Notiek ielāde…
Atcelt
Saglabāt