From 144e87bb72ec061edf3d54806eee9ed775f46904 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 11 Aug 2021 21:20:58 +0200 Subject: [PATCH] Updated raylib data structures (markdown) --- raylib-data-structures.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/raylib-data-structures.md b/raylib-data-structures.md index bea2529..1eb79b9 100644 --- a/raylib-data-structures.md +++ b/raylib-data-structures.md @@ -25,7 +25,7 @@ who has authored video games before. struct RenderTexture2D; [44 bytes] - // RenderTexture alias struct NPatchInfo [36 bytes] - // Source rectangle and border offsets - struct CharInfo; [32 bytes] [+4 bytes] // One character image and info properties + struct GlyphInfo; [32 bytes] [+4 bytes] // One glyph character metrics and image struct Font; [40 bytes] [+12 bytes] // Texture atlas and recs+chars data array pointers // Screen view structures @@ -85,8 +85,8 @@ Mesh *LoadMeshes(const char *fileName, int *meshCount); // void SetMaterialTexture(Material *material, int mapType, Texture2D texture); // Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) void SetModelMeshMaterial(Model *model, int meshId, int materialId); // Set material for a mesh ModelAnimation *LoadModelAnimations(const char *fileName, int *animsCount); // Load model animations from file -void MeshTangents(Mesh *mesh); // Compute mesh tangents -void MeshBinormals(Mesh *mesh); // Compute mesh binormals +void GenMeshTangents(Mesh *mesh); // Compute mesh tangents +void GenMeshBinormals(Mesh *mesh); // Compute mesh binormals bool CheckCollisionRaySphereEx(Ray ray, Vector3 center, float radius, Vector3 *collisionPoint); // Detect collision between ray and sphere, returns collision point void UpdateVrTracking(Camera *camera); // Update VR tracking (position and orientation) and camera