Browse Source

Corrected issues on examples

pull/367/head
raysan5 7 years ago
parent
commit
9446746001
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      examples/models/models_mesh_picking.c
  2. +1
    -1
      examples/shaders/shaders_shapes_textures.c
  3. +1
    -1
      examples/shapes/shapes_basic_shapes.c

+ 1
- 1
examples/models/models_mesh_picking.c View File

@ -89,7 +89,7 @@ int main()
cursorColor = PURPLE;
hitObjectName = "Triangle";
bary = VectorBarycenter(nearestHit.position, ta, tb, tc);
bary = Vector3Barycenter(nearestHit.position, ta, tb, tc);
hitTriangle = true;
}
else hitTriangle = false;

+ 1
- 1
examples/shaders/shaders_shapes_textures.c View File

@ -65,7 +65,7 @@ int main()
DrawText("USING CUSTOM SHADER", 190, 40, 10, RED);
DrawRectangle(250 - 60, 90, 120, 60, RED);
DrawRectangleGradient(250 - 90, 170, 180, 130, MAROON, GOLD);
DrawRectangleGradientH(250 - 90, 170, 180, 130, MAROON, GOLD);
DrawRectangleLines(250 - 40, 320, 80, 60, ORANGE);
// Activate our default shader for next drawings

+ 1
- 1
examples/shapes/shapes_basic_shapes.c View File

@ -46,7 +46,7 @@ int main()
DrawCircleLines(screenWidth/4, 340, 80, DARKBLUE);
DrawRectangle(screenWidth/4*2 - 60, 100, 120, 60, RED);
DrawRectangleGradient(screenWidth/4*2 - 90, 170, 180, 130, MAROON, GOLD);
DrawRectangleGradientH(screenWidth/4*2 - 90, 170, 180, 130, MAROON, GOLD);
DrawRectangleLines(screenWidth/4*2 - 40, 320, 80, 60, ORANGE);
DrawTriangle((Vector2){screenWidth/4*3, 80},

Loading…
Cancel
Save