From e7ae4fcd3073fa0c83b74389161e6be00c2b676f Mon Sep 17 00:00:00 2001 From: Tyler Jessilynn Bezera Date: Wed, 28 Aug 2019 08:15:23 -0700 Subject: [PATCH] Update to include most recent structures --- raylib-data-structures.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/raylib-data-structures.md b/raylib-data-structures.md index 178ab37..3374d94 100644 --- a/raylib-data-structures.md +++ b/raylib-data-structures.md @@ -5,24 +5,38 @@ raylib provides some basic data structures to organize game information. Those s struct Rectangle; // Rectangle type struct Vector2; // Vector2 type struct Vector3; // Vector3 type + struct Vector4; // Vector4 type struct Matrix; // Matrix type (OpenGL style 4x4) + struct Quaternion; // Alias for Vector4 + // 2D data (pixels, font...) - struct Image; // Image type (data stored in CPU memory (RAM)) + struct Image; // Image type (data stored in CPU memory (RAM)) + struct Texture; // Alias for Texture2D struct Texture2D; // Texture2D type (data stored in GPU memory (VRAM)) + struct RenderTexture // Alias for RenderTexture struct RenderTexture2D; // RenderTexture2D type, for texture rendering - struct SpriteFont; // SpriteFont type, includes texture and chars data + struct CharInfo; // Font Character Info + struct Font; // Font type, includes texture and charSet array data (SprintFont fallback) - struct Camera; // Camera type, defines 3d camera position/orientation + struct Camera; // Alias for Camera3D struct Camera2D; // Camera2D type, defines a 2d camera + struct Camera3D; // Camera type, defines a camera position/orientation in 3d space // 3D data (vertex, material properties...) - struct Mesh; // Vertex data definning a mesh + struct Mesh; // Vertex data defining a mesh, animation vertex data struct Shader; // Shader type (generic shader) struct Material; // Material type + struct MaterialMap // MaterialMap type struct Model; // Basic 3d Model type + struct ModelAnimation; // Skeletal and frame information + struct BoneInfo; // Bone information + + struct Transform; // Transform properties, translation, rotation, scale.. struct Ray; // Ray type (useful for raycast) + struct RayHitInfo; // Information related to hit from Ray + struct BoundingBox; // Simple Bounding Box // Audio related data struct Wave; // Wave type, defines audio wave data