mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-01 11:49:17 -05:00
Updated raylib data structures (markdown)
@ -25,7 +25,7 @@ who has authored video games before.
|
|||||||
struct RenderTexture2D; [44 bytes] - // RenderTexture alias
|
struct RenderTexture2D; [44 bytes] - // RenderTexture alias
|
||||||
|
|
||||||
struct NPatchInfo [36 bytes] - // Source rectangle and border offsets
|
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
|
struct Font; [40 bytes] [+12 bytes] // Texture atlas and recs+chars data array pointers
|
||||||
|
|
||||||
// Screen view structures
|
// 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 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
|
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
|
ModelAnimation *LoadModelAnimations(const char *fileName, int *animsCount); // Load model animations from file
|
||||||
void MeshTangents(Mesh *mesh); // Compute mesh tangents
|
void GenMeshTangents(Mesh *mesh); // Compute mesh tangents
|
||||||
void MeshBinormals(Mesh *mesh); // Compute mesh binormals
|
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
|
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
|
void UpdateVrTracking(Camera *camera); // Update VR tracking (position and orientation) and camera
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user