diff options
| author | Ray <raysan5@gmail.com> | 2019-04-12 11:29:01 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2019-04-12 11:29:01 +0200 |
| commit | 30d51ec26ca8f00bd691c570a78b8eb2e41fa817 (patch) | |
| tree | b793f118ce22ceeac5ed0b880f2b8b08f3503026 /src | |
| parent | 75384add9882c61a61e42fd2b0178e6667fe7442 (diff) | |
| download | raylib-30d51ec26ca8f00bd691c570a78b8eb2e41fa817.tar.gz raylib-30d51ec26ca8f00bd691c570a78b8eb2e41fa817.zip | |
Reorganize struct
Diffstat (limited to 'src')
| -rw-r--r-- | src/raylib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/raylib.h b/src/raylib.h index 73661f58..4162454e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -288,12 +288,6 @@ typedef struct Camera2D { float zoom; // Camera zoom (scaling), should be 1.0f by default } Camera2D; -// Bounding box type -typedef struct BoundingBox { - Vector3 min; // Minimum vertex box-corner - Vector3 max; // Maximum vertex box-corner -} BoundingBox; - // Vertex data definning a mesh // NOTE: Data stored in CPU memory (and GPU) typedef struct Mesh { @@ -393,6 +387,12 @@ typedef struct RayHitInfo { Vector3 normal; // Surface normal of hit } RayHitInfo; +// Bounding box type +typedef struct BoundingBox { + Vector3 min; // Minimum vertex box-corner + Vector3 max; // Maximum vertex box-corner +} BoundingBox; + // Wave type, defines audio wave data typedef struct Wave { unsigned int sampleCount; // Number of samples @@ -1237,7 +1237,7 @@ RLAPI void DrawGizmo(Vector3 position); // Model loading/unloading functions RLAPI Model LoadModel(const char *fileName); // Load model from files (meshes and materials) -RLAPI Model LoadModelFromMesh(Mesh mesh); // Load model from generated mesh +RLAPI Model LoadModelFromMesh(Mesh mesh); // Load model from generated mesh (default material) RLAPI void UnloadModel(Model model); // Unload model from memory (RAM and/or VRAM) // Mesh loading/unloading functions |
