feat(fixLib): fix release raylib
This commit is contained in:
parent
ae50bfa2cc
commit
2f5406bbd9
1 changed files with 1840 additions and 1840 deletions
|
|
@ -98,24 +98,24 @@ int main(void)
|
|||
BeginBlendMode(BLEND_ADDITIVE);
|
||||
DrawTexturePro(
|
||||
light,
|
||||
(Rectangle){ 0, 0, light.width, light.height },
|
||||
(Rectangle){ 0, 0, 20, 20 },
|
||||
(rayRectangle){ 0, 0, light.width, light.height },
|
||||
(rayRectangle){ 0, 0, 20, 20 },
|
||||
(Vector2){ 10.0, 10.0 },
|
||||
0.0,
|
||||
RED
|
||||
);
|
||||
DrawTexturePro(
|
||||
light,
|
||||
(Rectangle){ 0, 0, light.width, light.height },
|
||||
(Rectangle){ 8, 4, 20, 20 },
|
||||
(rayRectangle){ 0, 0, light.width, light.height },
|
||||
(rayRectangle){ 8, 4, 20, 20 },
|
||||
(Vector2){ 10.0, 10.0 },
|
||||
0.0,
|
||||
BLUE
|
||||
);
|
||||
DrawTexturePro(
|
||||
light,
|
||||
(Rectangle){ 0, 0, light.width, light.height },
|
||||
(Rectangle){ 8, 8, 10, 10 },
|
||||
(rayRectangle){ 0, 0, light.width, light.height },
|
||||
(rayRectangle){ 8, 8, 10, 10 },
|
||||
(Vector2){ 5.0, 5.0 },
|
||||
0.0,
|
||||
GREEN
|
||||
|
|
@ -147,8 +147,8 @@ int main(void)
|
|||
|
||||
DrawTexturePro(
|
||||
lightmap.texture,
|
||||
(Rectangle){ 0, 0, -MAP_SIZE, -MAP_SIZE },
|
||||
(Rectangle){ GetRenderWidth() - MAP_SIZE*8 - 10, 10, MAP_SIZE*8, MAP_SIZE*8 },
|
||||
(rayRectangle){ 0, 0, -MAP_SIZE, -MAP_SIZE },
|
||||
(rayRectangle){ GetRenderWidth() - MAP_SIZE*8 - 10, 10, MAP_SIZE*8, MAP_SIZE*8 },
|
||||
(Vector2){ 0.0, 0.0 },
|
||||
0.0,
|
||||
WHITE);
|
||||
|
|
@ -165,7 +165,7 @@ int main(void)
|
|||
UnloadMesh(mesh); // Unload the mesh
|
||||
UnloadShader(shader); // Unload shader
|
||||
|
||||
CloseWindow(); // Close window and OpenGL context
|
||||
rayCloseWindow(); // Close window and OpenGL context
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue