Add project files.
This commit is contained in:
commit
a9ae435321
52 files changed
+65378
No files matched your search
@@ -0,0 +1,98 @@
|
||||
// Minimal stand-in for Dear ImGui 1.91 docking (declarations only)
|
||||
#pragma once
|
||||
#include <stddef.h>
|
||||
#define IMGUI_VERSION_NUM 19100
|
||||
#ifndef STUB_NO_DOCK
|
||||
#define IMGUI_HAS_DOCK 1
|
||||
#endif
|
||||
#define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR))))
|
||||
#define IM_COL32(R, G, B, A) (((unsigned)(A) << 24) | ((unsigned)(B) << 16) | ((unsigned)(G) << 8) | ((unsigned)(R)))
|
||||
typedef unsigned int ImGuiID; typedef unsigned int ImU32;
|
||||
typedef int ImGuiCol, ImGuiCond, ImGuiDir, ImGuiKey, ImGuiMouseButton, ImGuiStyleVar, ImGuiButtonFlags, ImGuiColorEditFlags, ImGuiConfigFlags,
|
||||
ImGuiInputTextFlags, ImGuiSelectableFlags, ImGuiTreeNodeFlags, ImGuiWindowFlags, ImGuiChildFlags, ImGuiDockNodeFlags, ImGuiComboFlags,
|
||||
ImGuiHoveredFlags, ImGuiSliderFlags, ImGuiPopupFlags, ImGuiTabBarFlags, ImGuiTabItemFlags;
|
||||
struct ImGuiInputTextCallbackData; typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data);
|
||||
struct ImVec2 { float x, y; constexpr ImVec2() : x(0), y(0) {} constexpr ImVec2(float _x, float _y) : x(_x), y(_y) {} };
|
||||
struct ImVec4 { float x, y, z, w; constexpr ImVec4() : x(0), y(0), z(0), w(0) {} constexpr ImVec4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) {} };
|
||||
enum { ImGuiCol_Text, ImGuiCol_TextDisabled, ImGuiCol_WindowBg, ImGuiCol_ChildBg, ImGuiCol_PopupBg, ImGuiCol_Border, ImGuiCol_BorderShadow,
|
||||
ImGuiCol_FrameBg, ImGuiCol_FrameBgHovered, ImGuiCol_FrameBgActive, ImGuiCol_TitleBg, ImGuiCol_TitleBgActive, ImGuiCol_TitleBgCollapsed,
|
||||
ImGuiCol_MenuBarBg, ImGuiCol_ScrollbarBg, ImGuiCol_ScrollbarGrab, ImGuiCol_CheckMark, ImGuiCol_SliderGrab, ImGuiCol_SliderGrabActive,
|
||||
ImGuiCol_Button, ImGuiCol_ButtonHovered, ImGuiCol_ButtonActive, ImGuiCol_Header, ImGuiCol_HeaderHovered, ImGuiCol_HeaderActive,
|
||||
ImGuiCol_Separator, ImGuiCol_ResizeGrip, ImGuiCol_ResizeGripHovered, ImGuiCol_Tab, ImGuiCol_TabHovered, ImGuiCol_TabSelected,
|
||||
ImGuiCol_DockingPreview, ImGuiCol_COUNT };
|
||||
enum { ImGuiStyleVar_WindowPadding, ImGuiStyleVar_WindowRounding, ImGuiStyleVar_WindowBorderSize };
|
||||
enum { ImGuiWindowFlags_None = 0, ImGuiWindowFlags_NoTitleBar = 1, ImGuiWindowFlags_NoResize = 2, ImGuiWindowFlags_NoMove = 4, ImGuiWindowFlags_NoScrollbar = 8,
|
||||
ImGuiWindowFlags_NoScrollWithMouse = 16, ImGuiWindowFlags_NoCollapse = 32, ImGuiWindowFlags_AlwaysAutoResize = 64, ImGuiWindowFlags_MenuBar = 1 << 10,
|
||||
ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13, ImGuiWindowFlags_NoNavFocus = 1 << 19, ImGuiWindowFlags_NoDocking = 1 << 21 };
|
||||
enum { ImGuiCond_Appearing = 8, ImGuiCond_FirstUseEver = 4 };
|
||||
enum { ImGuiDir_Left = 0, ImGuiDir_Right = 1, ImGuiDir_Up = 2, ImGuiDir_Down = 3 };
|
||||
enum { ImGuiDockNodeFlags_None = 0 };
|
||||
enum { ImGuiConfigFlags_DockingEnable = 1 << 7 };
|
||||
enum { ImGuiMouseButton_Left = 0, ImGuiMouseButton_Right = 1, ImGuiMouseButton_Middle = 2 };
|
||||
enum { ImGuiButtonFlags_MouseButtonLeft = 1, ImGuiButtonFlags_MouseButtonRight = 2, ImGuiButtonFlags_MouseButtonMiddle = 4 };
|
||||
enum { ImGuiColorEditFlags_NoInputs = 1, ImGuiColorEditFlags_NoTooltip = 2, ImGuiColorEditFlags_NoPicker = 4, ImGuiColorEditFlags_PickerHueWheel = 8 };
|
||||
enum { ImGuiInputTextFlags_EnterReturnsTrue = 32 };
|
||||
enum { ImGuiSelectableFlags_AllowDoubleClick = 4 };
|
||||
enum { ImGuiTreeNodeFlags_DefaultOpen = 32 };
|
||||
enum { ImGuiKey_None = 0, ImGuiKey_Tab = 512, ImGuiKey_Delete, ImGuiKey_Enter, ImGuiKey_Escape, ImGuiKey_LeftBracket, ImGuiKey_RightBracket,
|
||||
ImGuiKey_1, ImGuiKey_2, ImGuiKey_3, ImGuiKey_4, ImGuiKey_A, ImGuiKey_D, ImGuiKey_E, ImGuiKey_F, ImGuiKey_G, ImGuiKey_H, ImGuiKey_N, ImGuiKey_O,
|
||||
ImGuiKey_Q, ImGuiKey_S, ImGuiKey_T, ImGuiKey_W, ImGuiKey_Y, ImGuiKey_Z, ImGuiKey_F1, ImGuiKey_F9 };
|
||||
struct ImGuiIO {
|
||||
ImGuiConfigFlags ConfigFlags; const char *IniFilename; bool ConfigWindowsMoveFromTitleBarOnly; float DeltaTime;
|
||||
ImVec2 MousePos, MouseDelta; float MouseWheel; bool MouseDown[5]; bool KeyCtrl, KeyShift, KeyAlt, KeySuper; bool WantTextInput;
|
||||
};
|
||||
struct ImGuiStyle {
|
||||
float WindowRounding, ChildRounding, FrameRounding, PopupRounding, ScrollbarRounding, GrabRounding, TabRounding, WindowBorderSize, FrameBorderSize, ScrollbarSize;
|
||||
ImVec2 WindowPadding, FramePadding, ItemSpacing; ImVec4 Colors[ImGuiCol_COUNT];
|
||||
};
|
||||
struct ImGuiViewport { ImVec2 WorkPos, WorkSize; };
|
||||
struct ImDrawList { void AddText(const ImVec2 &pos, ImU32 col, const char *text_begin, const char *text_end = nullptr); };
|
||||
struct ImGuiTextFilter { bool Draw(const char *label = "Filter (inc,-exc)", float width = 0.0f); bool PassFilter(const char *text, const char *text_end = nullptr) const; bool IsActive() const; };
|
||||
struct ImGuiListClipper { int DisplayStart, DisplayEnd; void Begin(int items_count, float items_height = -1.0f); bool Step(); };
|
||||
namespace ImGui {
|
||||
ImGuiIO &GetIO(); ImGuiStyle &GetStyle(); ImGuiViewport *GetMainViewport();
|
||||
bool Begin(const char *name, bool *p_open = nullptr, ImGuiWindowFlags flags = 0); void End();
|
||||
bool BeginChild(const char *str_id, const ImVec2 &size = ImVec2(0, 0), ImGuiChildFlags child_flags = 0, ImGuiWindowFlags window_flags = 0); void EndChild();
|
||||
void SetNextWindowPos(const ImVec2 &pos, ImGuiCond cond = 0, const ImVec2 &pivot = ImVec2(0, 0));
|
||||
void SetNextWindowSize(const ImVec2 &size, ImGuiCond cond = 0);
|
||||
ImVec2 GetContentRegionAvail(); ImDrawList *GetWindowDrawList(); float GetWindowWidth();
|
||||
float GetScrollY(); float GetScrollMaxY(); void SetScrollHereY(float center_y_ratio = 0.5f);
|
||||
void PushStyleColor(ImGuiCol idx, ImU32 col); void PushStyleColor(ImGuiCol idx, const ImVec4 &col); void PopStyleColor(int count = 1);
|
||||
void PushStyleVar(ImGuiStyleVar idx, float val); void PushStyleVar(ImGuiStyleVar idx, const ImVec2 &val); void PopStyleVar(int count = 1);
|
||||
const ImVec4 &GetStyleColorVec4(ImGuiCol idx);
|
||||
void SetNextItemWidth(float item_width);
|
||||
void Separator(); void SameLine(float offset_from_start_x = 0.0f, float spacing = -1.0f); void Spacing(); void BeginGroup(); void EndGroup();
|
||||
void SetCursorPos(const ImVec2 &local_pos); void SetCursorScreenPos(const ImVec2 &pos); float GetFrameHeightWithSpacing();
|
||||
void Text(const char *fmt, ...); void TextColored(const ImVec4 &col, const char *fmt, ...); void TextDisabled(const char *fmt, ...);
|
||||
void TextWrapped(const char *fmt, ...); void TextUnformatted(const char *text, const char *text_end = nullptr); void BulletText(const char *fmt, ...);
|
||||
void SeparatorText(const char *label);
|
||||
bool Button(const char *label, const ImVec2 &size = ImVec2(0, 0)); bool SmallButton(const char *label);
|
||||
bool InvisibleButton(const char *str_id, const ImVec2 &size, ImGuiButtonFlags flags = 0);
|
||||
bool Checkbox(const char *label, bool *v);
|
||||
bool Combo(const char *label, int *current_item, const char *const items[], int items_count, int popup_max_height_in_items = -1);
|
||||
bool Combo(const char *label, int *current_item, const char *items_separated_by_zeros, int popup_max_height_in_items = -1);
|
||||
bool DragFloat(const char *label, float *v, float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char *format = "%.3f", ImGuiSliderFlags flags = 0);
|
||||
bool DragFloat2(const char *label, float v[2], float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char *format = "%.3f", ImGuiSliderFlags flags = 0);
|
||||
bool DragFloat3(const char *label, float v[3], float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char *format = "%.3f", ImGuiSliderFlags flags = 0);
|
||||
bool DragInt(const char *label, int *v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, const char *format = "%d", ImGuiSliderFlags flags = 0);
|
||||
bool SliderInt(const char *label, int *v, int v_min, int v_max, const char *format = "%d", ImGuiSliderFlags flags = 0);
|
||||
bool InputInt(const char *label, int *v, int step = 1, int step_fast = 100, ImGuiInputTextFlags flags = 0);
|
||||
bool ColorEdit3(const char *label, float col[3], ImGuiColorEditFlags flags = 0);
|
||||
bool ColorButton(const char *desc_id, const ImVec4 &col, ImGuiColorEditFlags flags = 0, const ImVec2 &size = ImVec2(0, 0));
|
||||
bool BeginCombo(const char *label, const char *preview_value, ImGuiComboFlags flags = 0); void EndCombo();
|
||||
bool Selectable(const char *label, bool selected = false, ImGuiSelectableFlags flags = 0, const ImVec2 &size = ImVec2(0, 0));
|
||||
bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags = 0); bool TreeNode(const char *label); void TreePop();
|
||||
bool BeginMenuBar(); void EndMenuBar(); bool BeginMenu(const char *label, bool enabled = true); void EndMenu();
|
||||
bool MenuItem(const char *label, const char *shortcut = nullptr, bool selected = false, bool enabled = true);
|
||||
bool MenuItem(const char *label, const char *shortcut, bool *p_selected, bool enabled = true);
|
||||
void SetTooltip(const char *fmt, ...);
|
||||
bool BeginPopupModal(const char *name, bool *p_open = nullptr, ImGuiWindowFlags flags = 0); void EndPopup(); void OpenPopup(const char *str_id, ImGuiPopupFlags popup_flags = 0);
|
||||
void CloseCurrentPopup(); bool BeginPopupContextItem(const char *str_id = nullptr, ImGuiPopupFlags popup_flags = 1);
|
||||
bool BeginTabBar(const char *str_id, ImGuiTabBarFlags flags = 0); void EndTabBar(); bool BeginTabItem(const char *label, bool *p_open = nullptr, ImGuiTabItemFlags flags = 0); void EndTabItem();
|
||||
void PushID(const char *str_id); void PushID(const char *str_id_begin, const char *str_id_end); void PushID(const void *ptr_id); void PushID(int int_id); void PopID(); ImGuiID GetID(const char *str_id);
|
||||
bool IsItemHovered(ImGuiHoveredFlags flags = 0); bool IsItemActive(); bool IsAnyItemActive(); ImVec2 GetItemRectMin();
|
||||
bool IsKeyDown(ImGuiKey key); bool IsKeyPressed(ImGuiKey key, bool repeat = true);
|
||||
bool IsMouseDown(ImGuiMouseButton button); bool IsMouseClicked(ImGuiMouseButton button, bool repeat = false); bool IsMouseReleased(ImGuiMouseButton button); bool IsMouseDoubleClicked(ImGuiMouseButton button);
|
||||
void ShowDemoWindow(bool *p_open = nullptr);
|
||||
ImGuiID DockSpace(ImGuiID dockspace_id, const ImVec2 &size = ImVec2(0, 0), ImGuiDockNodeFlags flags = 0, const void *window_class = nullptr);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "imgui.h"
|
||||
struct ImGuiDockNode;
|
||||
enum ImGuiDockNodeFlagsPrivate_ { ImGuiDockNodeFlags_DockSpace = 1 << 10 };
|
||||
namespace ImGui {
|
||||
ImGuiDockNode *DockBuilderGetNode(ImGuiID node_id);
|
||||
void DockBuilderRemoveNode(ImGuiID node_id);
|
||||
ImGuiID DockBuilderAddNode(ImGuiID node_id = 0, ImGuiDockNodeFlags flags = 0);
|
||||
void DockBuilderSetNodeSize(ImGuiID node_id, ImVec2 size);
|
||||
ImGuiID DockBuilderSplitNode(ImGuiID node_id, ImGuiDir split_dir, float size_ratio_for_node_at_dir, ImGuiID *out_id_at_dir, ImGuiID *out_id_at_opposite_dir);
|
||||
void DockBuilderDockWindow(const char *window_name, ImGuiID node_id);
|
||||
void DockBuilderFinish(ImGuiID node_id);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include "imgui.h"
|
||||
namespace ImGui {
|
||||
bool InputText(const char *label, std::string *str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = nullptr, void *user_data = nullptr);
|
||||
bool InputTextWithHint(const char *label, const char *hint, std::string *str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = nullptr, void *user_data = nullptr);
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
// Minimal stand-in for raylib 5.5 (declarations only; used for -fsyntax-only checking)
|
||||
#pragma once
|
||||
#include <stdbool.h>
|
||||
#include <stdarg.h>
|
||||
typedef struct Vector2 { float x, y; } Vector2;
|
||||
typedef struct Vector3 { float x, y, z; } Vector3;
|
||||
typedef struct Vector4 { float x, y, z, w; } Vector4;
|
||||
typedef struct Matrix { float m0, m4, m8, m12, m1, m5, m9, m13, m2, m6, m10, m14, m3, m7, m11, m15; } Matrix;
|
||||
typedef struct Color { unsigned char r, g, b, a; } Color;
|
||||
typedef struct Rectangle { float x, y, width, height; } Rectangle;
|
||||
typedef struct Image { void *data; int width, height, mipmaps, format; } Image;
|
||||
typedef struct Texture { unsigned int id; int width, height, mipmaps, format; } Texture;
|
||||
typedef Texture Texture2D;
|
||||
typedef struct RenderTexture { unsigned int id; Texture texture; Texture depth; } RenderTexture;
|
||||
typedef RenderTexture RenderTexture2D;
|
||||
typedef struct Camera3D { Vector3 position, target, up; float fovy; int projection; } Camera3D;
|
||||
typedef Camera3D Camera;
|
||||
typedef struct BoundingBox { Vector3 min, max; } BoundingBox;
|
||||
typedef struct Shader { unsigned int id; int *locs; } Shader;
|
||||
typedef struct MaterialMap { Texture2D texture; Color color; float value; } MaterialMap;
|
||||
typedef struct Material { Shader shader; MaterialMap *maps; float params[4]; } Material;
|
||||
typedef struct Mesh {
|
||||
int vertexCount, triangleCount;
|
||||
float *vertices, *texcoords, *texcoords2, *normals, *tangents;
|
||||
unsigned char *colors; unsigned short *indices;
|
||||
float *animVertices, *animNormals; unsigned char *boneIds; float *boneWeights; Matrix *boneMatrices; int boneCount;
|
||||
unsigned int vaoId; unsigned int *vboId;
|
||||
} Mesh;
|
||||
typedef struct Model {
|
||||
Matrix transform; int meshCount, materialCount; Mesh *meshes; Material *materials; int *meshMaterial;
|
||||
int boneCount; void *bones; void *bindPose;
|
||||
} Model;
|
||||
#define WHITE Color{255,255,255,255}
|
||||
#define YELLOW Color{253,249,0,255}
|
||||
#define SKYBLUE Color{102,191,255,255}
|
||||
#define RAYWHITE Color{245,245,245,255}
|
||||
#define RED Color{230,41,55,255}
|
||||
typedef enum { FLAG_VSYNC_HINT = 0x40, FLAG_WINDOW_RESIZABLE = 0x04, FLAG_MSAA_4X_HINT = 0x20 } ConfigFlags;
|
||||
typedef enum { LOG_ALL = 0, LOG_INFO = 3 } TraceLogLevel;
|
||||
typedef enum { KEY_NULL = 0, KEY_W = 87, KEY_A = 65, KEY_S = 83, KEY_D = 68, KEY_LEFT_SHIFT = 340 } KeyboardKey;
|
||||
typedef enum { MOUSE_BUTTON_LEFT = 0, MOUSE_BUTTON_RIGHT = 1 } MouseButton;
|
||||
typedef enum { CAMERA_PERSPECTIVE = 0, CAMERA_ORTHOGRAPHIC } CameraProjection;
|
||||
typedef enum { MATERIAL_MAP_ALBEDO = 0, MATERIAL_MAP_DIFFUSE = 0 } MaterialMapIndex;
|
||||
typedef enum { SHADER_UNIFORM_FLOAT = 0, SHADER_UNIFORM_VEC2, SHADER_UNIFORM_VEC3, SHADER_UNIFORM_VEC4, SHADER_UNIFORM_INT } ShaderUniformDataType;
|
||||
typedef enum { TEXTURE_FILTER_POINT = 0, TEXTURE_FILTER_BILINEAR, TEXTURE_FILTER_TRILINEAR } TextureFilter;
|
||||
typedef enum { TEXTURE_WRAP_REPEAT = 0 } TextureWrap;
|
||||
void InitWindow(int width, int height, const char *title);
|
||||
void CloseWindow(void);
|
||||
bool WindowShouldClose(void);
|
||||
void SetConfigFlags(unsigned int flags);
|
||||
void SetWindowMinSize(int width, int height);
|
||||
void SetExitKey(int key);
|
||||
void BeginDrawing(void); void EndDrawing(void);
|
||||
void ClearBackground(Color color);
|
||||
void BeginMode3D(Camera3D camera); void EndMode3D(void);
|
||||
void BeginTextureMode(RenderTexture2D target); void EndTextureMode(void);
|
||||
RenderTexture2D LoadRenderTexture(int width, int height);
|
||||
void UnloadRenderTexture(RenderTexture2D target);
|
||||
Shader LoadShaderFromMemory(const char *vsCode, const char *fsCode);
|
||||
void UnloadShader(Shader shader);
|
||||
int GetShaderLocation(Shader shader, const char *uniformName);
|
||||
void SetShaderValue(Shader shader, int locIndex, const void *value, int uniformType);
|
||||
void SetShaderValueV(Shader shader, int locIndex, const void *value, int uniformType, int count);
|
||||
Material LoadMaterialDefault(void);
|
||||
Model LoadModel(const char *fileName);
|
||||
void UnloadModel(Model model);
|
||||
BoundingBox GetModelBoundingBox(Model model);
|
||||
void UploadMesh(Mesh *mesh, bool dynamic);
|
||||
void UnloadMesh(Mesh mesh);
|
||||
void DrawMesh(Mesh mesh, Material material, Matrix transform);
|
||||
Texture2D LoadTexture(const char *fileName);
|
||||
Texture2D LoadTextureFromImage(Image image);
|
||||
void UnloadTexture(Texture2D texture);
|
||||
void UnloadImage(Image image);
|
||||
Image GenImageChecked(int width, int height, int checksX, int checksY, Color col1, Color col2);
|
||||
void GenTextureMipmaps(Texture2D *texture);
|
||||
void SetTextureFilter(Texture2D texture, int filter);
|
||||
void SetTextureWrap(Texture2D texture, int wrap);
|
||||
bool FileExists(const char *fileName);
|
||||
bool DirectoryExists(const char *dirPath);
|
||||
const char *GetApplicationDirectory(void);
|
||||
char *LoadFileText(const char *fileName);
|
||||
void UnloadFileText(char *text);
|
||||
void TraceLog(int logLevel, const char *text, ...);
|
||||
void *MemAlloc(unsigned int size);
|
||||
void MemFree(void *ptr);
|
||||
void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, Color color);
|
||||
void DrawCircle(int centerX, int centerY, float radius, Color color);
|
||||
void DrawRectangle(int posX, int posY, int width, int height, Color color);
|
||||
void DrawRectangleLines(int posX, int posY, int width, int height, Color color);
|
||||
void DrawText(const char *text, int posX, int posY, int fontSize, Color color);
|
||||
void DrawTriangle3D(Vector3 v1, Vector3 v2, Vector3 v3, Color color);
|
||||
void DrawCube(Vector3 position, float width, float height, float length, Color color);
|
||||
void DrawCubeWires(Vector3 position, float width, float height, float length, Color color);
|
||||
void DrawCylinderEx(Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color);
|
||||
void DrawSphere(Vector3 centerPos, float radius, Color color);
|
||||
void SetTargetFPS(int fps);
|
||||
float GetFrameTime(void);
|
||||
int GetFPS(void);
|
||||
Vector2 GetMouseDelta(void);
|
||||
bool IsMouseButtonDown(int button);
|
||||
bool IsKeyDown(int key);
|
||||
const char *TextFormat(const char *text, ...);
|
||||
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include "raylib.h"
|
||||
Matrix MatrixIdentity(void);
|
||||
Matrix MatrixMultiply(Matrix left, Matrix right);
|
||||
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
#include "raylib.h"
|
||||
#include "imgui.h"
|
||||
void rlImGuiSetup(bool darkTheme); void rlImGuiBegin(void); void rlImGuiEnd(void); void rlImGuiShutdown(void);
|
||||
void rlImGuiImageRenderTexture(const RenderTexture *image);
|
||||
bool rlImGuiImageButtonSize(const char *name, const Texture *image, ImVec2 size);
|
||||
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include "raylib.h"
|
||||
#define RL_LINES 0x0001
|
||||
void rlBegin(int mode); void rlEnd(void);
|
||||
void rlColor4ub(unsigned char r, unsigned char g, unsigned char b, unsigned char a);
|
||||
void rlVertex3f(float x, float y, float z);
|
||||
void rlEnableDepthTest(void); void rlDisableDepthTest(void);
|
||||
void rlEnableBackfaceCulling(void); void rlDisableBackfaceCulling(void);
|
||||
void rlDrawRenderBatchActive(void);
|
||||
void rlSetClipPlanes(double nearPlane, double farPlane);
|
||||
unsigned int rlGetShaderIdDefault(void);
|
||||
int *rlGetShaderLocsDefault(void);
|
||||
Reference in new issue
Block a user