-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
I think writing raylib:: for each think is pretty anoying, so ive done a workaround to simplify it:
// add more when a new release appear !
using RWindow = raylib::Window;
using RVector2 = raylib::Vector2;
using RVector3 = raylib::Vector3;
using RCamera = raylib::Camera;
using RCamera2D = raylib::Camera2D;
using RCamera3D = raylib::Camera3D;
using RColor = raylib::Color;
using RTexture = raylib::Texture;
using RRenderTexture = raylib::RenderTexture;
using RRenderTexture2D = raylib::RenderTexture2D;
using RShader = raylib::Shader;
using RModel = raylib::Model;
using RModelAnimation = raylib::ModelAnimation;
this will maintain the code clean, maybe doing a simple .hpp or .h to include it after raylib-cpp.hpp by default could be great, else i will do with this one :x
Metadata
Metadata
Assignees
Labels
No labels