diff --git a/CMakeLists.txt b/CMakeLists.txt
index 79b085c..886c23c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.11)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
project (raylib-cpp
- VERSION 0.3.0
+ VERSION 3.0.0
DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib"
HOMEPAGE_URL "https://github.com/robloach/raylib-cpp"
LANGUAGES C CXX)
diff --git a/docs/_audio_device_8hpp_source.html b/docs/_audio_device_8hpp_source.html
index 03f100f..b1c862f 100644
--- a/docs/_audio_device_8hpp_source.html
+++ b/docs/_audio_device_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: AudioDevice.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_AUDIODEVICE_HPP_ 2 #define RAYLIB_CPP_AUDIODEVICE_HPP_ 55 return ::IsAudioDeviceReady();
62 ::SetMasterVolume(volume);
Audio device management functions.
-
AudioDevice & Init()
Initialize audio device and context.
-
AudioDevice & SetVolume(float volume)
Set master volume (listener).
-
-
AudioDevice(bool lateInit=false)
Initialize audio device and context.
-
Provides all the classes associated with raylib-cpp.
-
bool IsReady()
Check if audio device has been initialized successfully.
-
AudioDevice & Close()
Close the audio device and context.
+
1 #ifndef RAYLIB_CPP_AUDIODEVICE_HPP_
+
2 #define RAYLIB_CPP_AUDIODEVICE_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
55 return ::IsAudioDeviceReady();
+
+
+
+
62 ::SetMasterVolume(volume);
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
AudioDevice & Close()
Close the audio device and context.
+
AudioDevice & SetVolume(float volume)
Set master volume (listener).
+
AudioDevice & Init()
Initialize audio device and context.
+
+
AudioDevice(bool lateInit=false)
Initialize audio device and context.
+
Audio device management functions.
+
bool IsReady()
Check if audio device has been initialized successfully.
diff --git a/docs/_audio_stream_8hpp_source.html b/docs/_audio_stream_8hpp_source.html
index 1c289fc..a2c2c53 100644
--- a/docs/_audio_stream_8hpp_source.html
+++ b/docs/_audio_stream_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: AudioStream.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_AUDIOSTREAM_HPP_ 2 #define RAYLIB_CPP_AUDIOSTREAM_HPP_ 27 AudioStream (
unsigned int SampleRate,
unsigned int SampleSize,
unsigned int Channels) {
28 set (InitAudioStream(SampleRate, SampleSize, Channels));
36 sampleRate = stream.sampleRate;
37 sampleSize = stream.sampleSize;
38 channels = stream.channels;
39 buffer = stream.buffer;
42 GETTERSETTER(
unsigned int ,SampleRate,sampleRate)
43 GETTERSETTER(
unsigned int ,SampleSize,sampleSize)
44 GETTERSETTER(
unsigned int ,Channels,channels)
60 ::UpdateAudioStream(*
this , data, samplesCount);
68 ::CloseAudioStream(*
this );
76 return ::IsAudioStreamProcessed(*
this );
83 ::PlayAudioStream(*
this );
91 ::PauseAudioStream(*
this );
99 ::ResumeAudioStream(*
this );
107 return ::IsAudioStreamPlaying(*
this );
114 ::StopAudioStream(*
this );
122 ::SetAudioStreamVolume(*
this , volume);
130 ::SetAudioStreamPitch(*
this , pitch);
138 ::SetAudioStreamBufferSizeDefault(size);
AudioStream & Update(const void *data, int samplesCount)
Update audio stream buffers with data.
-
AudioStream management functions.
-
AudioStream & Stop()
Stop audio stream.
-
AudioStream & Close()
Close audio stream and free memory.
-
-
AudioStream & Resume()
Resume audio stream.
-
AudioStream(::AudioStream music)
-
AudioStream & Pause()
Pause audio stream.
-
AudioStream & Play()
Play audio stream.
-
AudioStream & operator=(const AudioStream &stream)
-
bool IsPlaying()
Check if audio stream is playing.
-
AudioStream & SetBufferSizeDefault(int size)
Default size for new audio streams.
-
AudioStream & SetPitch(float pitch)
Set pitch for audio stream (1.0 is base level)
-
bool IsProcessed()
Check if any audio stream buffers requires refill.
-
Provides all the classes associated with raylib-cpp.
-
AudioStream & SetVolume(float volume)
Set volume for audio stream (1.0 is max level)
-
AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels)
Init audio stream (to stream raw audio pcm data)
+
1 #ifndef RAYLIB_CPP_AUDIOSTREAM_HPP_
+
2 #define RAYLIB_CPP_AUDIOSTREAM_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
27 AudioStream (
unsigned int SampleRate,
unsigned int SampleSize,
unsigned int Channels) {
+
28 set (InitAudioStream(SampleRate, SampleSize, Channels));
+
+
+
+
+
+
+
+
36 sampleRate = stream.sampleRate;
+
37 sampleSize = stream.sampleSize;
+
38 channels = stream.channels;
+
39 buffer = stream.buffer;
+
+
+
42 GETTERSETTER(
unsigned int ,SampleRate,sampleRate)
+
43 GETTERSETTER(
unsigned int ,SampleSize,sampleSize)
+
44 GETTERSETTER(
unsigned int ,Channels,channels)
+
+
+
+
+
+
+
+
+
+
+
+
+
60 ::UpdateAudioStream(*
this , data, samplesCount);
+
+
+
+
+
68 ::CloseAudioStream(*
this );
+
+
+
+
+
76 return ::IsAudioStreamProcessed(*
this );
+
+
+
+
83 ::PlayAudioStream(*
this );
+
+
+
+
+
91 ::PauseAudioStream(*
this );
+
+
+
+
+
99 ::ResumeAudioStream(*
this );
+
+
+
+
+
107 return ::IsAudioStreamPlaying(*
this );
+
+
+
+
114 ::StopAudioStream(*
this );
+
+
+
+
+
122 ::SetAudioStreamVolume(*
this , volume);
+
+
+
+
+
130 ::SetAudioStreamPitch(*
this , pitch);
+
+
+
+
+
138 ::SetAudioStreamBufferSizeDefault(size);
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
AudioStream & Stop()
Stop audio stream.
+
AudioStream & Update(const void *data, int samplesCount)
Update audio stream buffers with data.
+
void set(::AudioStream stream)
+
AudioStream & Close()
Close audio stream and free memory.
+
+
AudioStream & Resume()
Resume audio stream.
+
AudioStream(::AudioStream music)
+
AudioStream & Play()
Play audio stream.
+
AudioStream & Pause()
Pause audio stream.
+
AudioStream & operator=(const AudioStream &stream)
+
bool IsPlaying()
Check if audio stream is playing.
+
AudioStream & SetBufferSizeDefault(int size)
Default size for new audio streams.
+
AudioStream & SetPitch(float pitch)
Set pitch for audio stream (1.0 is base level)
+
bool IsProcessed()
Check if any audio stream buffers requires refill.
+
AudioStream management functions.
+
AudioStream & SetVolume(float volume)
Set volume for audio stream (1.0 is max level)
+
AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels)
Init audio stream (to stream raw audio pcm data)
diff --git a/docs/_bounding_box_8hpp_source.html b/docs/_bounding_box_8hpp_source.html
index 4e4a85a..6acc99e 100644
--- a/docs/_bounding_box_8hpp_source.html
+++ b/docs/_bounding_box_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: BoundingBox.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_BOUNDINGBOX_HPP_ 2 #define RAYLIB_CPP_BOUNDINGBOX_HPP_ 21 set (MeshBoundingBox(mesh));
46 DrawBoundingBox(*
this , color);
51 return CheckCollisionBoxes(*
this , box2);
55 return CheckCollisionBoxSphere(*
this , center, radius);
59 return CheckCollisionRayBox(ray, *
this );
bool CheckCollision(::Ray ray)
-
bool CheckCollision(::BoundingBox box2)
-
BoundingBox & operator=(const BoundingBox &box)
-
BoundingBox(::BoundingBox box)
-
-
BoundingBox & Draw(::Color color=WHITE)
-
-
-
-
BoundingBox(::Vector3 Min, ::Vector3 Max)
-
Provides all the classes associated with raylib-cpp.
-
-
bool CheckCollision(::Vector3 center, float radius)
-
+
1 #ifndef RAYLIB_CPP_BOUNDINGBOX_HPP_
+
2 #define RAYLIB_CPP_BOUNDINGBOX_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
21 set (MeshBoundingBox(mesh));
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
46 DrawBoundingBox(*
this , color);
+
+
+
+
+
51 return CheckCollisionBoxes(*
this , box2);
+
+
+
+
55 return CheckCollisionBoxSphere(*
this , center, radius);
+
+
+
+
59 return CheckCollisionRayBox(ray, *
this );
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
void set(::BoundingBox box)
+
bool CheckCollision(::Ray ray)
+
bool CheckCollision(::BoundingBox box2)
+
BoundingBox & operator=(const BoundingBox &box)
+
BoundingBox(::BoundingBox box)
+
+
+
BoundingBox & Draw(::Color color=WHITE)
+
+
+
BoundingBox(::Vector3 Min, ::Vector3 Max)
+
+
+
bool CheckCollision(::Vector3 center, float radius)
diff --git a/docs/_camera2_d_8hpp_source.html b/docs/_camera2_d_8hpp_source.html
index 3c5d4f6..b9a79ba 100644
--- a/docs/_camera2_d_8hpp_source.html
+++ b/docs/_camera2_d_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Camera2D.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_CAMERA_HPP_ 2 #define RAYLIB_CPP_CAMERA_HPP_ 12 #include "Vector2.hpp" 21 rotation = rotationValue;
25 inline void set (const ::Camera2D& camera) {
26 offset = camera.offset;
27 target = camera.target;
28 rotation = camera.rotation;
33 offset = camera.offset;
34 target = camera.target;
35 rotation = camera.rotation;
50 GETTERSETTER(
float ,Rotation,rotation)
51 GETTERSETTER(
float ,Zoom,zoom)
64 return ::GetCameraMatrix2D(*
this );
67 return ::GetWorldToScreen2D(position, *
this );
70 return ::GetScreenToWorld2D(position, *
this );
Vector2 GetWorldToScreen2D(Vector2 position)
-
-
-
-
Camera2D & operator=(const Camera2D &camera)
-
-
-
-
Provides all the classes associated with raylib-cpp.
-
Camera2D(::Vector2 offsetValue, ::Vector2 targetValue, float rotationValue=0, float zoomValue=1)
-
Vector2 GetScreenToWorld2D(Vector2 position)
+
1 #ifndef RAYLIB_CPP_CAMERA_HPP_
+
2 #define RAYLIB_CPP_CAMERA_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./Vector2.hpp"
+
13 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
21 rotation = rotationValue;
+
+
+
+
25 inline void set (const ::Camera2D& camera) {
+
26 offset = camera.offset;
+
27 target = camera.target;
+
28 rotation = camera.rotation;
+
+
+
+
+
33 offset = camera.offset;
+
34 target = camera.target;
+
35 rotation = camera.rotation;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
50 GETTERSETTER(
float ,Rotation,rotation)
+
51 GETTERSETTER(
float ,Zoom,zoom)
+
+
+
+
+
+
+
+
+
+
+
+
+
64 return ::GetCameraMatrix2D(*
this );
+
+
+
67 return ::GetWorldToScreen2D(position, *
this );
+
+
+
70 return ::GetScreenToWorld2D(position, *
this );
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
Vector2 GetWorldToScreen2D(Vector2 position)
+
+
+
+
void set(const ::Camera2D &camera)
+
Camera2D & operator=(const Camera2D &camera)
+
+
+
+
void set(const Camera2D &camera)
+
Vector2 GetScreenToWorld2D(Vector2 position)
+
Camera2D(::Vector2 offsetValue, ::Vector2 targetValue, float rotationValue=0, float zoomValue=1)
diff --git a/docs/_camera3_d_8hpp_source.html b/docs/_camera3_d_8hpp_source.html
index 526171e..4689349 100644
--- a/docs/_camera3_d_8hpp_source.html
+++ b/docs/_camera3_d_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Camera3D.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_CAMERA3D_HPP_ 2 #define RAYLIB_CPP_CAMERA3D_HPP_ 12 #include "Vector3.hpp" 19 position = positionValue;
30 GETTERSETTER(Vector3,Up,up)
31 GETTERSETTER(
float ,Fovy,fovy)
32 GETTERSETTER(
int ,Type,type)
44 inline void set (const ::Camera3D& camera) {
45 position = camera.position;
46 target = camera.target;
53 position = camera.position;
54 target = camera.target;
70 return ::GetCameraMatrix(*
this );
74 ::SetCameraMode(*
this , mode);
79 ::SetCameraAltControl(altKey);
84 ::SetCameraSmoothZoomControl(szKey);
89 ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
104 return ::GetMouseRay(mousePosition, *
this );
108 return ::GetWorldToScreen(position, *
this );
117 ::DrawBillboardRec(*
this , texture, sourceRec, center, size, tint);
-
Camera3D & operator=(const Camera3D &camera)
-
-
-
Camera3D & DrawBillboard(Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint=WHITE)
-
Ray GetMouseRay(::Vector2 mousePosition)
-
-
Camera3D & DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)
-
Camera3D & SetAltControl(int altKey)
-
-
-
Camera3D & UpdateVrTracking()
-
-
-
Vector2 GetWorldToScreen(::Vector3 position)
-
Camera3D & SetSmoothZoomControl(int szKey)
-
-
-
-
-
Provides all the classes associated with raylib-cpp.
-
-
-
Camera3D & SetMode(int mode)
-
Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
-
Camera3D(::Vector3 positionValue, ::Vector3 targetValue, ::Vector3 upValue, float fovyValue=0, int typeValue=0)
+
1 #ifndef RAYLIB_CPP_CAMERA3D_HPP_
+
2 #define RAYLIB_CPP_CAMERA3D_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./Vector3.hpp"
+
13 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
19 position = positionValue;
+
+
+
+
+
+
+
+
+
+
+
+
31 GETTERSETTER(
float ,Fovy,fovy)
+
32 GETTERSETTER(
int ,Type,type)
+
+
+
+
+
+
+
+
+
+
+
+
44 inline void set (const ::Camera3D& camera) {
+
45 position = camera.position;
+
46 target = camera.target;
+
+
+
+
+
+
+
53 position = camera.position;
+
54 target = camera.target;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
70 return ::GetCameraMatrix(*
this );
+
+
+
+
74 ::SetCameraMode(*
this , mode);
+
+
+
+
+
79 ::SetCameraAltControl(altKey);
+
+
+
+
+
84 ::SetCameraSmoothZoomControl(szKey);
+
+
+
+
+
89 ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
104 return ::GetMouseRay(mousePosition, *
this );
+
+
+
+
108 return ::GetWorldToScreen(position, *
this );
+
+
+
+
+
+
+
+
+
117 ::DrawBillboardRec(*
this , texture, sourceRec, center, size, tint);
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
Camera3D & SetMode(int mode)
+
Camera3D & DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)
+
+
+
Camera3D & UpdateVrTracking()
+
Ray GetMouseRay(::Vector2 mousePosition)
+
+
+
Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
+
Camera3D & SetAltControl(int altKey)
+
+
Camera3D(::Vector3 positionValue, ::Vector3 targetValue, ::Vector3 upValue, float fovyValue=0, int typeValue=0)
+
+
+
+
Camera3D & operator=(const Camera3D &camera)
+
+
+
+
void set(const ::Camera3D &camera)
+
+
Camera3D & SetSmoothZoomControl(int szKey)
+
Vector2 GetWorldToScreen(::Vector3 position)
+
void set(const Camera3D &camera)
+
Camera3D & DrawBillboard(Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint=WHITE)
+
diff --git a/docs/_color_8hpp_source.html b/docs/_color_8hpp_source.html
index 2496ec8..a93909d 100644
--- a/docs/_color_8hpp_source.html
+++ b/docs/_color_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Color.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_COLOR_HPP_ 2 #define RAYLIB_CPP_COLOR_HPP_ 14 #include "Vector4.hpp" 32 Color (
unsigned char red,
unsigned char green,
unsigned char blue,
unsigned char alpha = 255) {
39 set (::ColorFromHSV(hsv));
42 set (::GetColor(hexValue));
45 set (::ColorFromNormalized(normalized));
48 inline void set (const ::Color& color) {
55 inline void set (
const Color & color) {
90 return ::ColorToInt(*
this );
93 operator int()
const { return ::ColorToInt(*
this ); }
102 return ::ColorNormalize(*
this );
106 return ::ColorToHSV(*
this );
109 GETTERSETTER(
unsigned char ,R,r)
110 GETTERSETTER(
unsigned char ,G,g)
111 GETTERSETTER(
unsigned char ,B,b)
112 GETTERSETTER(
unsigned char ,A,a)
135 ::DrawPixelV(pos, *
this );
139 inline Color &
DrawLine (
int startPosX,
int startPosY,
int endPosX,
int endPosY) {
140 ::DrawLine (startPosX, startPosY, endPosX, endPosY, *
this );
144 ::DrawLineV(startPos, endPos, *
this );
148 ::DrawLineEx(startPos, endPos, thick, *
this );
160 inline Color &
DrawText (
const std::string& text,
int posX,
int posY,
int fontSize) {
161 ::DrawText (text.c_str(), posX, posY, fontSize, *
this );
165 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *
this );
170 ::DrawTextRec(font, text.c_str(), rec, fontSize, spacing, wordWrap, *
this );
180 ::DrawRectangleV(position, size, *
this );
185 ::DrawRectangleRec(rec, *
this );
190 ::DrawRectanglePro(rec, origin, rotation, *
this );
200 ::DrawRectangleLinesEx(rec, lineThick, *
this );
Color & DrawPixel(::Vector2 pos)
-
-
Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
-
-
-
Color & DrawRectangle(Rectangle rec, Vector2 origin, float rotation)
-
-
Color & DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
-
-
-
-
-
-
-
Color & DrawLineBezier(::Vector2 startPos, Vector2 endPos, float thick)
-
-
-
-
-
-
-
-
-
Color & DrawRectangle(Rectangle rec)
-
-
-
-
Color & DrawText(::Font font, const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap=false)
-
Color & DrawLineStrip(::Vector2 *points, int numPoints)
-
-
-
-
-
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
-
-
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos)
-
Color & ClearBackground()
-
Color & DrawRectangle(int posX, int posY, int width, int height)
-
Color(Vector4 normalized)
-
-
-
-
-
-
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)
-
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
-
Color & DrawRectangleLines(int posX, int posY, int width, int height)
-
-
Color & DrawRectangleLines(Rectangle rec, int lineThick)
-
Color & DrawPixel(int x, int y)
-
-
Provides all the classes associated with raylib-cpp.
-
-
Color & operator=(const Color &color)
-
-
-
-
-
-
-
void set(const ::Color &color)
-
Color & DrawRectangle(Vector2 position, Vector2 size)
+
1 #ifndef RAYLIB_CPP_COLOR_HPP_
+
2 #define RAYLIB_CPP_COLOR_HPP_
+
+
+
+
+
+
+
+
+
+
+
+
14 #include "./Vector4.hpp"
+
15 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
32 Color (
unsigned char red,
unsigned char green,
unsigned char blue,
unsigned char alpha = 255) {
+
+
+
+
+
+
+
39 set (::ColorFromHSV(hsv));
+
+
+
42 set (::GetColor(hexValue));
+
+
+
45 set (::ColorFromNormalized(normalized));
+
+
+
48 inline void set (const ::Color& color) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
90 return ::ColorToInt(*
this );
+
+
+
93 operator int()
const { return ::ColorToInt(*
this ); }
+
+
+
+
+
+
+
+
+
102 return ::ColorNormalize(*
this );
+
+
+
+
106 return ::ColorToHSV(*
this );
+
+
+
109 GETTERSETTER(
unsigned char ,R,r)
+
110 GETTERSETTER(
unsigned char ,G,g)
+
111 GETTERSETTER(
unsigned char ,B,b)
+
112 GETTERSETTER(
unsigned char ,A,a)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
135 ::DrawPixelV(pos, *
this );
+
+
+
+
139 inline Color &
DrawLine (
int startPosX,
int startPosY,
int endPosX,
int endPosY) {
+
140 ::DrawLine (startPosX, startPosY, endPosX, endPosY, *
this );
+
+
+
+
144 ::DrawLineV(startPos, endPos, *
this );
+
+
+
+
148 ::DrawLineEx(startPos, endPos, thick, *
this );
+
+
+
+
+
+
+
+
+
+
+
+
160 inline Color &
DrawText (
const std::string& text,
int posX,
int posY,
int fontSize) {
+
161 ::DrawText (text.c_str(), posX, posY, fontSize, *
this );
+
+
+
+
165 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *
this );
+
+
+
+
+
170 ::DrawTextRec(font, text.c_str(), rec, fontSize, spacing, wordWrap, *
this );
+
+
+
+
+
+
+
+
+
+
180 ::DrawRectangleV(position, size, *
this );
+
+
+
+
+
185 ::DrawRectangleRec(rec, *
this );
+
+
+
+
+
190 ::DrawRectanglePro(rec, origin, rotation, *
this );
+
+
+
+
+
+
+
+
+
+
200 ::DrawRectangleLinesEx(rec, lineThick, *
this );
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
Color & DrawRectangleLines(int posX, int posY, int width, int height)
+
Color & DrawRectangle(Rectangle rec)
+
Color & DrawLineStrip(::Vector2 *points, int numPoints)
+
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
+
+
+
Color & DrawText(::Font font, const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap=false)
+
+
+
+
+
void set(const ::Color &color)
+
Color & ClearBackground()
+
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos)
+
+
+
+
+
+
+
+
Color & DrawRectangle(Vector2 position, Vector2 size)
+
+
+
+
+
Color & DrawPixel(int x, int y)
+
+
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)
+
Color & DrawRectangle(Rectangle rec, Vector2 origin, float rotation)
+
+
+
+
+
+
+
+
void set(const Color &color)
+
+
+
+
+
+
+
+
Color & operator=(const Color &color)
+
+
+
+
+
+
+
Color & DrawPixel(::Vector2 pos)
+
+
+
+
+
Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
+
+
+
+
Color & DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
+
+
+
+
+
+
Color(Vector4 normalized)
+
+
+
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
+
+
+
+
+
Color & DrawRectangleLines(Rectangle rec, int lineThick)
+
+
Color & DrawRectangle(int posX, int posY, int width, int height)
+
+
+
Color & DrawLineBezier(::Vector2 startPos, Vector2 endPos, float thick)
+
+
+
+
diff --git a/docs/_dropped_files_8hpp_source.html b/docs/_dropped_files_8hpp_source.html
index 1d5aac5..a349efc 100644
--- a/docs/_dropped_files_8hpp_source.html
+++ b/docs/_dropped_files_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: DroppedFiles.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_DROPPEDFILES_HPP_ 2 #define RAYLIB_CPP_DROPPEDFILES_HPP_ 28 m_files = ::GetDroppedFiles(&m_count);
36 return ::IsFileDropped();
43 ::ClearDroppedFiles();
75 inline std::string
back () {
76 return at (m_count - 1);
79 std::string
at (
int pos) {
80 if (m_files != NULL && pos < m_count && pos >= 0) {
81 return std::string(m_files[pos]);
-
-
DroppedFiles & Clear()
Clear dropped files paths buffer.
-
bool IsFileDropped()
Check if a file has been dropped into window.
-
-
-
-
-
-
std::string operator[](int pos)
-
Provides all the classes associated with raylib-cpp.
-
-
-
-
DroppedFiles & Get()
Get the dropped files names.
-
-
+
1 #ifndef RAYLIB_CPP_DROPPEDFILES_HPP_
+
2 #define RAYLIB_CPP_DROPPEDFILES_HPP_
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
36 return ::IsFileDropped();
+
+
+
+
43 ::ClearDroppedFiles();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
75 inline std::string
back () {
+
+
+
+
79 std::string
at (
int pos) {
+
80 if (
m_files != NULL && pos < m_count && pos >= 0) {
+
81 return std::string(
m_files [pos]);
+
+
+
+
+
+
+
+
bool IsFileDropped()
Check if a file has been dropped into window.
+
Provides all the classes associated with raylib-cpp.
+
+
+
std::string operator[](int pos)
+
+
+
+
DroppedFiles & Clear()
Clear dropped files paths buffer.
+
+
+
+
+
+
DroppedFiles & Get()
Get the dropped files names.
+
+
diff --git a/docs/_font_8hpp_source.html b/docs/_font_8hpp_source.html
index f979df0..7ff2b37 100644
--- a/docs/_font_8hpp_source.html
+++ b/docs/_font_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Font.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_FONT_HPP_ 2 #define RAYLIB_CPP_FONT_HPP_ 20 set (GetFontDefault());
23 Font (
const std::string& fileName) {
24 set (LoadFont(fileName.c_str()));
27 Font (
const std::string& fileName,
int fontSize,
int * fontChars,
int charCount) {
28 set (LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
32 set (LoadFontFromImage(image, key, firstChar));
43 void set (const ::Font font) {
44 baseSize = font.baseSize;
45 charsCount = font.charsCount;
46 texture = font.texture;
51 void set (
const Font & font) {
52 baseSize = font.baseSize;
53 charsCount = font.charsCount;
54 texture = font.texture;
59 GETTERSETTER(
int ,BaseSize,baseSize)
60 GETTERSETTER(
int ,CharsCount,charsCount)
63 GETTERSETTER(CharInfo*,Chars,chars)
76 ::DrawTextEx(*
this , text.c_str(), position, fontSize, spacing, tint);
80 ::DrawTextRec(*
this , text.c_str(), rec, fontSize, spacing, wordWrap, tint);
83 inline Font &
DrawText (
const std::string& text, ::
Rectangle rec,
float fontSize,
float spacing,
bool wordWrap,
Color tint,
int selectStart,
int selectLength, ::
Color selectText,
Color selectBack) {
84 ::DrawTextRecEx(*
this , text.c_str(), rec, fontSize, spacing, wordWrap, tint, selectStart, selectLength, selectText, selectBack);
89 return ::MeasureTextEx(*
this , text.c_str(), fontSize, spacing);
93 return ::GetGlyphIndex(*
this , character);
-
-
Font(::Image &image, ::Color key, int firstChar)
-
-
Font(const std::string &fileName, int fontSize, int *fontChars, int charCount)
-
Font(const std::string &fileName)
-
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, ::Color selectText, Color selectBack)
-
Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
-
-
Vector2 MeasureText(const std::string &text, float fontSize, float spacing)
-
Font & operator=(const Font &font)
-
-
-
-
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint=WHITE)
-
Provides all the classes associated with raylib-cpp.
-
-
int GetGlyphIndex(int character)
-
+
1 #ifndef RAYLIB_CPP_FONT_HPP_
+
2 #define RAYLIB_CPP_FONT_HPP_
+
+
+
+
+
+
+
+
+
+
+
+
14 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
20 set (GetFontDefault());
+
+
+
23 Font (
const std::string& fileName) {
+
24 set (LoadFont(fileName.c_str()));
+
+
+
27 Font (
const std::string& fileName,
int fontSize,
int * fontChars,
int charCount) {
+
28 set (LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
+
+
+
+
32 set (LoadFontFromImage(image, key, firstChar));
+
+
+
+
+
+
+
+
+
+
+
43 void set (const ::Font font) {
+
44 baseSize = font.baseSize;
+
45 charsCount = font.charsCount;
+
46 texture = font.texture;
+
+
+
+
+
+
52 baseSize = font.baseSize;
+
53 charsCount = font.charsCount;
+
54 texture = font.texture;
+
+
+
+
+
59 GETTERSETTER(
int ,BaseSize,baseSize)
+
60 GETTERSETTER(
int ,CharsCount,charsCount)
+
+
+
63 GETTERSETTER(CharInfo*,Chars,chars)
+
+
+
+
+
+
+
+
+
+
+
+
+
76 ::DrawTextEx(*
this , text.c_str(), position, fontSize, spacing, tint);
+
+
+
+
80 ::DrawTextRec(*
this , text.c_str(), rec, fontSize, spacing, wordWrap, tint);
+
+
+
83 inline Font &
DrawText (
const std::string& text, ::
Rectangle rec,
float fontSize,
float spacing,
bool wordWrap,
Color tint,
int selectStart,
int selectLength, ::
Color selectText,
Color selectBack) {
+
84 ::DrawTextRecEx(*
this , text.c_str(), rec, fontSize, spacing, wordWrap, tint, selectStart, selectLength, selectText, selectBack);
+
+
+
+
+
89 return ::MeasureTextEx(*
this , text.c_str(), fontSize, spacing);
+
+
+
+
93 return ::GetGlyphIndex(*
this , character);
+
+
+
+
+
+
Font(const std::string &fileName)
+
Provides all the classes associated with raylib-cpp.
+
+
Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
+
+
Font & operator=(const Font &font)
+
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, ::Color selectText, Color selectBack)
+
+
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint=WHITE)
+
+
void set(const ::Font font)
+
+
Font(::Image &image, ::Color key, int firstChar)
+
+
+
Font(const std::string &fileName, int fontSize, int *fontChars, int charCount)
+
void set(const Font &font)
+
Vector2 MeasureText(const std::string &text, float fontSize, float spacing)
+
+
+
int GetGlyphIndex(int character)
diff --git a/docs/_gamepad_8hpp_source.html b/docs/_gamepad_8hpp_source.html
index f39128e..3e418e0 100644
--- a/docs/_gamepad_8hpp_source.html
+++ b/docs/_gamepad_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Gamepad.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_GAMEPAD_HPP_ 2 #define RAYLIB_CPP_GAMEPAD_HPP_ 24 inline void set (
int gamepadNumber) {
25 number = gamepadNumber;
28 GETTERSETTER(
int ,Number,number)
35 operator int()
const {
return number ; }
38 return ::IsGamepadAvailable(number);
40 inline bool IsName (
const std::string& name) {
41 return ::IsGamepadName(number, name.c_str());
44 return std::string(::GetGamepadName(number));
47 return ::IsGamepadButtonPressed(number, button);
51 return ::IsGamepadButtonDown(number, button);
55 return ::IsGamepadButtonReleased(number, button);
58 return ::IsGamepadButtonUp(number, button);
62 return ::GetGamepadButtonPressed();
66 return ::GetGamepadAxisCount(number);
70 return ::GetGamepadAxisMovement(number, axis);
-
bool IsButtonDown(int button)
-
bool IsName(const std::string &name)
-
Gamepad(int gamepadNumber=0)
-
float GetAxisMovement(int axis)
-
bool IsButtonUp(int button)
-
-
bool IsButtonReleased(int button)
-
-
Provides all the classes associated with raylib-cpp.
-
-
-
-
bool IsButtonPressed(int button)
+
1 #ifndef RAYLIB_CPP_GAMEPAD_HPP_
+
2 #define RAYLIB_CPP_GAMEPAD_HPP_
+
+
+
+
+
+
+
+
+
+
+
+
14 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
24 inline void set (
int gamepadNumber) {
+
+
+
+
+
+
+
+
+
+
+
35 operator int()
const {
return number ; }
+
+
+
38 return ::IsGamepadAvailable(
number );
+
+
40 inline bool IsName (
const std::string& name) {
+
41 return ::IsGamepadName(
number , name.c_str());
+
+
+
44 return std::string(::GetGamepadName(
number ));
+
+
+
47 return ::IsGamepadButtonPressed(
number , button);
+
+
+
+
51 return ::IsGamepadButtonDown(
number , button);
+
+
+
+
55 return ::IsGamepadButtonReleased(
number , button);
+
+
+
58 return ::IsGamepadButtonUp(
number , button);
+
+
+
+
62 return ::GetGamepadButtonPressed();
+
+
+
+
66 return ::GetGamepadAxisCount(
number );
+
+
+
+
70 return ::GetGamepadAxisMovement(
number , axis);
+
+
+
+
+
+
bool IsButtonUp(int button)
+
Provides all the classes associated with raylib-cpp.
+
+
Gamepad(int gamepadNumber=0)
+
float GetAxisMovement(int axis)
+
bool IsButtonReleased(int button)
+
+
void set(int gamepadNumber)
+
bool IsName(const std::string &name)
+
+
+
+
bool IsButtonPressed(int button)
+
bool IsButtonDown(int button)
+
diff --git a/docs/_image_8hpp_source.html b/docs/_image_8hpp_source.html
index 9a09cb5..da585fe 100644
--- a/docs/_image_8hpp_source.html
+++ b/docs/_image_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Image.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_IMAGE_HPP_ 2 #define RAYLIB_CPP_IMAGE_HPP_ 22 Image (
const std::string& fileName) {
26 LoadEx (pixels, width, height);
28 Image (
void * data,
int width,
int height,
int format) {
29 LoadPro (data, width, height, format);
31 Image (
const std::string& fileName,
int width,
int height,
int format,
int headerSize) {
32 LoadRaw (fileName, width, height, format, headerSize);
35 set (::GetTextureData(texture));
38 set (::GenImageColor(width, height, color));
42 return ::ImageText(text.c_str(), fontSize, color);
46 return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
54 return ::GenImageColor(width, height, color);
58 return ::GenImageGradientV(width, height, top, bottom);
62 return ::GenImageGradientH(width, height, left, right);
66 return ::GenImageGradientRadial(width, height, density, inner, outer);
70 return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
74 return ::GenImageWhiteNoise(width, height, factor);
78 return ::GenImagePerlinNoise(width, height, offsetX, offsetY, scale);
82 return ::GenImageCellular(width, height, tileSize);
102 height = image.height;
103 mipmaps = image.mipmaps;
104 format = image.format;
107 void Load (
const std::string& fileName) {
108 set (::LoadImage(fileName.c_str()));
112 set (::LoadImageEx(pixels, width, height));
115 void LoadPro (
void * data,
int width,
int height,
int format) {
116 set (::LoadImagePro(data, width, height, format));
119 void LoadRaw (
const std::string& fileName,
int width,
int height,
int format,
int headerSize) {
120 set (::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
124 ::UnloadImage(*
this );
128 ::ExportImage(*
this , fileName.c_str());
132 ::ExportImageAsCode(*
this , fileName.c_str());
136 GETTERSETTER(
void *,Data,data)
137 GETTERSETTER(
int ,Width,width)
138 GETTERSETTER(
int ,Height,height)
143 return ::ImageCopy(*
this );
146 return ::ImageFromImage(*
this , rec);
150 ::ImageToPOT(
this , fillColor);
155 ::ImageFormat(
this , newFormat);
160 ::ImageAlphaMask(
this , alphaMask);
165 ::ImageAlphaCrop(
this , threshold);
170 ::ImageAlphaPremultiply(
this );
175 ::ImageCrop(
this , crop);
179 ::ImageResize(
this , newWidth, newHeight);
183 ::ImageResizeNN(
this , newWidth, newHeight);
187 ::ImageResizeCanvas(
this , newWidth, newHeight, offsetX, offsetY, color);
191 ::ImageMipmaps(
this );
195 ::ImageDither(
this , rBpp, gBpp, bBpp, aBpp);
200 ::ImageFlipVertical(
this );
204 ::ImageFlipHorizontal(
this );
209 ::ImageRotateCW(
this );
213 ::ImageRotateCCW(
this );
217 ::ImageColorTint(
this , color);
221 ::ImageColorInvert(
this );
225 ::ImageColorGrayscale(
this );
229 ::ImageColorContrast(
this , contrast);
233 ::ImageColorBrightness(
this , brightness);
237 ::ImageColorReplace(
this , color, replace);
242 return ::ImageExtractPalette(*
this , maxPaletteSize, extractCount);
246 return ::GetImageAlphaBorder(*
this , threshold);
250 ::ImageClearBackground(
this , color);
255 ::ImageDrawPixel(
this , posX, posY, color);
260 ::ImageDrawPixelV(
this , position, color);
265 ::ImageDrawLine(
this , startPosX, startPosY, endPosX, endPosY, color);
270 ::ImageDrawLineV(
this , start, end, color);
275 ::ImageDrawCircle(
this , centerX, centerY, radius, color);
280 ::ImageDrawCircleV(
this , center, radius, color);
284 ::ImageDrawRectangle(
this , posX, posY, width, height, color);
288 ::ImageDrawRectangleV(
this , position, size, color);
292 ::ImageDrawRectangleRec(
this , rec, color);
296 ::ImageDrawRectangleLines(
this , rec, thick, color);
300 ::ImageDraw(
this , src, srcRec, dstRec, tint);
305 ::ImageDrawText(
this , position, text.c_str(), fontSize, color);
309 ::ImageDrawTextEx(
this , position, font, text.c_str(), fontSize, spacing, color);
314 return ::GetImageData(*
this );
318 return ::GetImageDataNormalized(*
this );
321 return ::LoadTextureFromImage(*
this );
Image & DrawPixel(::Vector2 position, ::Color color)
-
-
Image & ColorContrast(float contrast)
-
-
Image(const std::string &fileName, int width, int height, int format, int headerSize)
-
Image & operator=(const ::Image &image)
-
Image & ColorTint(::Color color=WHITE)
-
-
static Image GenGradientRadial(int width, int height, float density, Color inner, Color outer)
-
static Image GetScreenData()
-
static Image Text(std::string text, int fontSize, Color color)
-
-
static Image GenPerlinNoise(int width, int height, int offsetX, int offsetY, float scale)
-
Image & ResizeCanvas(int newWidth, int newHeight, int offsetX, int offsetY, Color color)
-
void Load(const std::string &fileName)
-
Image & operator=(const Image &image)
-
Image & DrawText(::Vector2 position, ::Font font, const std::string &text, float fontSize, float spacing, ::Color color=WHITE)
-
Image & DrawCircle(int centerX, int centerY, int radius, ::Color color)
-
static Image Text(Font font, std::string text, float fontSize, float spacing, Color tint)
-
Image & Resize(int newWidth, int newHeight)
-
Image & DrawLine(::Vector2 start, ::Vector2 end, ::Color color)
-
Image & DrawRectangle(::Rectangle rec, ::Color color=WHITE)
-
Image & ColorBrightness(int brightness)
-
Image & AlphaMask(Image alphaMask)
-
Image & Export(const std::string &fileName)
-
static Image GenChecked(int width, int height, int checksX, int checksY, Color col1, Color col2)
-
Image(::Color *pixels, int width, int height)
-
-
Rectangle GetAlphaBorder(float threshold)
-
Image & AlphaCrop(float threshold)
-
Image & Draw(::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint=WHITE)
-
static Image GenCellular(int width, int height, int tileSize)
-
Image & ResizeNN(int newWidth, int newHeight)
-
-
-
Image(int width, int height, Color color=raylib::Color::RayWhite)
-
-
-
static Image GenGradientV(int width, int height, Color top, Color bottom)
-
Image(::Texture2D texture)
-
static Image GenColor(int width, int height, Color color)
-
Image & ColorReplace(::Color color, ::Color replace)
-
Image FromImage(::Rectangle rec)
-
Image & ToPOT(Color fillColor)
-
Image(void *data, int width, int height, int format)
-
Image & DrawRectangle(Vector2 position, Vector2 size, ::Color color=WHITE)
-
Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
-
Image & ExportAsCode(const std::string &fileName)
-
inline ::Color * ExtractPalette(int maxPaletteSize, int *extractCount)
-
-
-
-
static Image GenGradientH(int width, int height, Color left, Color right)
-
-
void LoadEx(::Color *pixels, int width, int height)
-
-
inline ::Vector4 * GetImageDataNormalized()
-
void LoadPro(void *data, int width, int height, int format)
-
-
static Image GenWhiteNoise(int width, int height, float factor)
-
Provides all the classes associated with raylib-cpp.
-
inline ::Color * GetImageData()
-
-
Image & DrawText(::Vector2 position, const std::string &text, int fontSize, ::Color color=WHITE)
-
Image & Format(int newFormat)
-
-
void LoadRaw(const std::string &fileName, int width, int height, int format, int headerSize)
-
-
Image & DrawRectangle(int posX, int posY, int width, int height, ::Color color=WHITE)
-
Image & Crop(::Rectangle crop)
-
Image(const std::string &fileName)
-
Image & DrawRectangleLines(::Rectangle rec, int thick, ::Color color)
-
-
Image & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color)
-
Image & AlphaPremultiply()
-
Image & DrawPixel(int posX, int posY, ::Color color)
-
Image & ClearBackground(::Color color=WHITE)
-
Image & DrawCircle(::Vector2 center, int radius, ::Color color)
+
1 #ifndef RAYLIB_CPP_IMAGE_HPP_
+
2 #define RAYLIB_CPP_IMAGE_HPP_
+
+
+
+
+
+
+
+
+
+
+
13 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
22 Image (
const std::string& fileName) {
+
+
+
25 Image (
const std::string& fileName,
int width,
int height,
int format,
int headerSize) {
+
26 LoadRaw (fileName, width, height, format, headerSize);
+
+
28 Image (
const std::string& fileName,
int * frames) {
+
+
+
+
32 set (::GetTextureData(texture));
+
+
+
35 set (::GenImageColor(width, height, color));
+
+
+
+
39 return ::ImageText(text.c_str(), fontSize, color);
+
+
+
+
43 return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
+
+
+
+
+
+
+
+
51 return ::GenImageColor(width, height, color);
+
+
+
+
55 return ::GenImageGradientV(width, height, top, bottom);
+
+
+
+
59 return ::GenImageGradientH(width, height, left, right);
+
+
+
+
63 return ::GenImageGradientRadial(width, height, density, inner, outer);
+
+
+
+
67 return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
+
+
+
+
71 return ::GenImageWhiteNoise(width, height, factor);
+
+
+
+
75 return ::GenImagePerlinNoise(width, height, offsetX, offsetY, scale);
+
+
+
+
79 return ::GenImageCellular(width, height, tileSize);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
99 height = image.height;
+
100 mipmaps = image.mipmaps;
+
101 format = image.format;
+
+
+
104 void Load (
const std::string& fileName) {
+
105 set (::LoadImage(fileName.c_str()));
+
+
+
108 void LoadRaw (
const std::string& fileName,
int width,
int height,
int format,
int headerSize) {
+
109 set (::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
+
+
+
112 void LoadAnim (
const std::string& fileName,
int * frames) {
+
113 set (::LoadImageAnim(fileName.c_str(), frames));
+
+
+
+
117 ::UnloadImage(*
this );
+
+
+
+
121 ::ExportImage(*
this , fileName.c_str());
+
+
+
+
125 ::ExportImageAsCode(*
this , fileName.c_str());
+
+
+
+
129 GETTERSETTER(
void *,Data,data)
+
130 GETTERSETTER(
int ,Width,width)
+
131 GETTERSETTER(
int ,Height,height)
+
+
+
+
+
136 return ::ImageCopy(*
this );
+
+
+
139 return ::ImageFromImage(*
this , rec);
+
+
+
+
143 ::ImageToPOT(
this , fillColor);
+
+
+
+
+
148 ::ImageFormat(
this , newFormat);
+
+
+
+
+
153 ::ImageAlphaMask(
this , alphaMask);
+
+
+
+
+
158 ::ImageAlphaCrop(
this , threshold);
+
+
+
+
+
163 ::ImageAlphaPremultiply(
this );
+
+
+
+
+
168 ::ImageCrop(
this , crop);
+
+
+
+
172 ::ImageResize(
this , newWidth, newHeight);
+
+
+
+
176 ::ImageResizeNN(
this , newWidth, newHeight);
+
+
+
+
180 ::ImageResizeCanvas(
this , newWidth, newHeight, offsetX, offsetY, color);
+
+
+
+
184 ::ImageMipmaps(
this );
+
+
+
+
188 ::ImageDither(
this , rBpp, gBpp, bBpp, aBpp);
+
+
+
+
+
193 ::ImageFlipVertical(
this );
+
+
+
+
197 ::ImageFlipHorizontal(
this );
+
+
+
+
+
202 ::ImageRotateCW(
this );
+
+
+
+
206 ::ImageRotateCCW(
this );
+
+
+
+
210 ::ImageColorTint(
this , color);
+
+
+
+
214 ::ImageColorInvert(
this );
+
+
+
+
218 ::ImageColorGrayscale(
this );
+
+
+
+
222 ::ImageColorContrast(
this , contrast);
+
+
+
+
226 ::ImageColorBrightness(
this , brightness);
+
+
+
+
230 ::ImageColorReplace(
this , color, replace);
+
+
+
+
234 inline ::Color*
GetPalette (
int maxPaletteSize,
int *extractCount) {
+
235 return ::GetImagePalette(*
this , maxPaletteSize, extractCount);
+
+
+
+
239 return ::GetImageAlphaBorder(*
this , threshold);
+
+
+
+
243 ::ImageClearBackground(
this , color);
+
+
+
+
+
248 ::ImageDrawPixel(
this , posX, posY, color);
+
+
+
+
+
253 ::ImageDrawPixelV(
this , position, color);
+
+
+
+
+
258 ::ImageDrawLine(
this , startPosX, startPosY, endPosX, endPosY, color);
+
+
+
+
+
263 ::ImageDrawLineV(
this , start, end, color);
+
+
+
+
+
268 ::ImageDrawCircle(
this , centerX, centerY, radius, color);
+
+
+
+
+
273 ::ImageDrawCircleV(
this , center, radius, color);
+
+
+
+
277 ::ImageDrawRectangle(
this , posX, posY, width, height, color);
+
+
+
+
281 ::ImageDrawRectangleV(
this , position, size, color);
+
+
+
+
285 ::ImageDrawRectangleRec(
this , rec, color);
+
+
+
+
289 ::ImageDrawRectangleLines(
this , rec, thick, color);
+
+
+
+
293 ::ImageDraw(
this , src, srcRec, dstRec, tint);
+
+
+
+
+
298 ::ImageDrawText(
this , text.c_str(), (
int )position.x, (
int )position.y, fontSize, color);
+
+
+
+
302 ::ImageDrawText(
this , text.c_str(), x, y, fontSize, color);
+
+
+
+
306 ::ImageDrawTextEx(
this , font, text.c_str(), position, fontSize, spacing, tint);
+
+
+
+
+
311 return ::GetImageData(*
this );
+
+
+
+
315 return ::GetImageDataNormalized(*
this );
+
+
+
318 return ::LoadTextureFromImage(*
this );
+
+
+
+
+
+
Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
+
Provides all the classes associated with raylib-cpp.
+
Image & DrawRectangle(Vector2 position, Vector2 size, ::Color color=WHITE)
+
Image & ColorBrightness(int brightness)
+
+
Image(::Texture2D texture)
+
+
inline ::Color * GetImageData()
+
Image & Format(int newFormat)
+
static Image GenGradientV(int width, int height, Color top, Color bottom)
+
inline ::Color * GetPalette(int maxPaletteSize, int *extractCount)
+
Image & DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color=WHITE)
+
+
Image & ToPOT(Color fillColor)
+
+
+
Image & Crop(::Rectangle crop)
+
Image & ExportAsCode(const std::string &fileName)
+
Image(const std::string &fileName)
+
inline ::Vector4 * GetImageDataNormalized()
+
+
static Image GenGradientH(int width, int height, Color left, Color right)
+
static Image GenWhiteNoise(int width, int height, float factor)
+
+
Image & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color)
+
Image & DrawPixel(int posX, int posY, ::Color color)
+
Image & DrawRectangle(int posX, int posY, int width, int height, ::Color color=WHITE)
+
+
Image & ColorContrast(float contrast)
+
Image & DrawRectangleLines(::Rectangle rec, int thick, ::Color color)
+
Image & ClearBackground(::Color color=WHITE)
+
Image & DrawCircle(::Vector2 center, int radius, ::Color color)
+
void LoadRaw(const std::string &fileName, int width, int height, int format, int headerSize)
+
Image & operator=(const ::Image &image)
+
Image & AlphaPremultiply()
+
static Image GetScreenData()
+
Image & DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
+
+
Image(const std::string &fileName, int width, int height, int format, int headerSize)
+
Image & DrawPixel(::Vector2 position, ::Color color)
+
+
+
+
static Image Text(std::string text, int fontSize, Color color)
+
+
static Image GenGradientRadial(int width, int height, float density, Color inner, Color outer)
+
static Image GenPerlinNoise(int width, int height, int offsetX, int offsetY, float scale)
+
void LoadAnim(const std::string &fileName, int *frames)
+
Image & AlphaMask(Image alphaMask)
+
void Load(const std::string &fileName)
+
Image(const std::string &fileName, int *frames)
+
Image & DrawText(const std::string &text, int x, int y, int fontSize, ::Color color=WHITE)
+
Image & ColorTint(::Color color=WHITE)
+
Rectangle GetAlphaBorder(float threshold)
+
Image & AlphaCrop(float threshold)
+
Image & Resize(int newWidth, int newHeight)
+
static Image GenCellular(int width, int height, int tileSize)
+
+
Image & ResizeCanvas(int newWidth, int newHeight, int offsetX, int offsetY, Color color)
+
+
+
Image & DrawCircle(int centerX, int centerY, int radius, ::Color color)
+
Image & ResizeNN(int newWidth, int newHeight)
+
Image(int width, int height, Color color=WHITE)
+
Image & operator=(const Image &image)
+
Image & Export(const std::string &fileName)
+
static Image GenChecked(int width, int height, int checksX, int checksY, Color col1, Color col2)
+
+
+
+
static Image Text(Font font, std::string text, float fontSize, float spacing, Color tint)
+
Image & Draw(::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint=WHITE)
+
Image & DrawLine(::Vector2 start, ::Vector2 end, ::Color color)
+
Image & ColorReplace(::Color color, ::Color replace)
+
Image & DrawRectangle(::Rectangle rec, ::Color color=WHITE)
+
Image FromImage(::Rectangle rec)
+
static Image GenColor(int width, int height, Color color)
diff --git a/docs/_material_8hpp_source.html b/docs/_material_8hpp_source.html
index 24f02f3..8688390 100644
--- a/docs/_material_8hpp_source.html
+++ b/docs/_material_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Material.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_MATERIAL_HPP_ 2 #define RAYLIB_CPP_MATERIAL_HPP_ 22 set (LoadMaterialDefault());
30 shader = material.shader;
32 params = material.params;
48 ::UnloadMaterial(*
this );
52 ::SetMaterialTexture(
this , mapType, texture);
-
-
-
-
-
Material & operator=(const Material &material)
-
Provides all the classes associated with raylib-cpp.
-
Material(::Material material)
-
-
Material & SetTexture(int mapType, ::Texture2D texture)
+
1 #ifndef RAYLIB_CPP_MATERIAL_HPP_
+
2 #define RAYLIB_CPP_MATERIAL_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
22 set (LoadMaterialDefault());
+
+
+
+
+
+
+
+
30 shader = material.shader;
+
+
32 params = material.params;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
48 ::UnloadMaterial(*
this );
+
+
+
+
52 ::SetMaterialTexture(
this , mapType, texture);
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
Material & SetTexture(int mapType, ::Texture2D texture)
+
Material & operator=(const Material &material)
+
Material(::Material material)
+
+
+
+
void set(::Material material)
+
+
diff --git a/docs/_matrix_8hpp_source.html b/docs/_matrix_8hpp_source.html
index d41aaf0..bc76b54 100644
--- a/docs/_matrix_8hpp_source.html
+++ b/docs/_matrix_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Matrix.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_MATRIX_HPP_ 2 #define RAYLIB_CPP_MATRIX_HPP_ 8 #ifndef RAYLIB_CPP_NO_MATH 16 #ifndef RAYLIB_CPP_NO_MATH 27 Matrix (
float M0 = 0,
float M1 = 0,
float M2 = 0,
float M3 = 0,
float M4 = 0,
float M5 = 0,
float M6 = 0,
float M7 = 0,
float M8 = 0,
float M9 = 0,
float M10 = 0,
float M11 = 0,
float M12 = 0,
float M13 = 0,
float M14 = 0,
float M15 = 0) {
65 GETTERSETTER(
float ,M0,m0)
66 GETTERSETTER(
float ,M1,m1)
67 GETTERSETTER(
float ,M2,m2)
68 GETTERSETTER(
float ,M3,m3)
69 GETTERSETTER(
float ,M4,m4)
70 GETTERSETTER(
float ,M5,m5)
71 GETTERSETTER(
float ,M6,m6)
72 GETTERSETTER(
float ,M7,m7)
73 GETTERSETTER(
float ,M8,m8)
74 GETTERSETTER(
float ,M9,m9)
75 GETTERSETTER(
float ,M10,m10)
76 GETTERSETTER(
float ,M11,m11)
77 GETTERSETTER(
float ,M12,m12)
78 GETTERSETTER(
float ,M13,m13)
79 GETTERSETTER(
float ,M14,m14)
80 GETTERSETTER(
float ,M15,m15)
112 ::SetMatrixProjection(*
this );
117 ::SetMatrixModelview(*
this );
122 return ::GetMatrixModelview();
126 return ::GetMatrixProjection();
129 #ifndef RAYLIB_CPP_NO_MATH 131 return ::MatrixTrace(*
this );
134 return ::MatrixTranspose(*
this );
137 return ::MatrixInvert(*
this );
140 return ::MatrixNormalize(*
this );
143 return ::MatrixIdentity();
146 return ::MatrixAdd(*
this , right);
149 return ::MatrixAdd(*
this , matrix);
152 return ::MatrixSubtract(*
this , right);
155 return ::MatrixSubtract(*
this , matrix);
158 return ::MatrixTranslate(x, y, z);
161 return ::MatrixRotate(axis, angle);
164 return ::MatrixRotateXYZ(angle);
167 return ::MatrixRotateX(angle);
170 return ::MatrixRotateY(angle);
173 return ::MatrixRotateZ(angle);
176 return ::MatrixScale(x, y, z);
179 return ::MatrixMultiply(*
this , right);
182 return ::MatrixMultiply(*
this , matrix);
185 static Matrix Frustum (
double left,
double right,
double bottom,
double top,
double near,
double far) {
186 return ::MatrixFrustum(left, right, bottom, top, near, far);
190 return ::MatrixPerspective(fovy, aspect, near, far);
193 static Matrix Ortho (
double left,
double right,
double bottom,
double top,
double near,
double far) {
194 return ::MatrixOrtho(left, right, bottom, top, near, far);
198 return ::MatrixLookAt(eye, target, up);
202 return ::MatrixToFloatV(*
this );
static Matrix Ortho(double left, double right, double bottom, double top, double near, double far)
-
-
static Matrix Frustum(double left, double right, double bottom, double top, double near, double far)
-
Matrix operator*(const Matrix &matrix)
-
static Matrix Translate(float x, float y, float z)
-
Matrix Add(::Matrix right)
-
static Matrix RotateXYZ(Vector3 angle)
-
static Matrix Scale(float x, float y, float z)
-
static Matrix Rotate(Vector3 axis, float angle)
-
-
-
-
static Matrix RotateZ(float angle)
-
Matrix operator-(const Matrix &matrix)
-
-
-
Matrix & operator=(const Matrix &matrix)
-
-
-
static Matrix RotateX(float angle)
-
Matrix Subtract(::Matrix right)
-
static Matrix GetModelview()
-
Matrix(float M0=0, float M1=0, float M2=0, float M3=0, float M4=0, float M5=0, float M6=0, float M7=0, float M8=0, float M9=0, float M10=0, float M11=0, float M12=0, float M13=0, float M14=0, float M15=0)
-
static Matrix Perspective(double fovy, double aspect, double near, double far)
-
-
static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up)
-
Provides all the classes associated with raylib-cpp.
-
-
static Matrix RotateY(float angle)
-
Matrix Multiply(Matrix right)
-
bool operator==(const Matrix &other)
-
static Matrix GetProjection()
-
-
Matrix operator+(const Matrix &matrix)
+
1 #ifndef RAYLIB_CPP_MATRIX_HPP_
+
2 #define RAYLIB_CPP_MATRIX_HPP_
+
+
+
+
+
+
8 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
15 #include "./raylib-cpp-utils.hpp"
+
16 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
+
+
+
+
27 Matrix (
float M0 = 0,
float M1 = 0,
float M2 = 0,
float M3 = 0,
float M4 = 0,
float M5 = 0,
float M6 = 0,
float M7 = 0,
float M8 = 0,
float M9 = 0,
float M10 = 0,
float M11 = 0,
float M12 = 0,
float M13 = 0,
float M14 = 0,
float M15 = 0) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
65 GETTERSETTER(
float ,M0,m0)
+
66 GETTERSETTER(
float ,M1,m1)
+
67 GETTERSETTER(
float ,M2,m2)
+
68 GETTERSETTER(
float ,M3,m3)
+
69 GETTERSETTER(
float ,M4,m4)
+
70 GETTERSETTER(
float ,M5,m5)
+
71 GETTERSETTER(
float ,M6,m6)
+
72 GETTERSETTER(
float ,M7,m7)
+
73 GETTERSETTER(
float ,M8,m8)
+
74 GETTERSETTER(
float ,M9,m9)
+
75 GETTERSETTER(
float ,M10,m10)
+
76 GETTERSETTER(
float ,M11,m11)
+
77 GETTERSETTER(
float ,M12,m12)
+
78 GETTERSETTER(
float ,M13,m13)
+
79 GETTERSETTER(
float ,M14,m14)
+
80 GETTERSETTER(
float ,M15,m15)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
112 ::SetMatrixProjection(*
this );
+
+
+
+
+
117 ::SetMatrixModelview(*
this );
+
+
+
+
+
122 return ::GetMatrixModelview();
+
+
+
+
126 return ::GetMatrixProjection();
+
+
+
129 #ifndef RAYLIB_CPP_NO_MATH
+
+
131 return ::MatrixTrace(*
this );
+
+
+
134 return ::MatrixTranspose(*
this );
+
+
+
137 return ::MatrixInvert(*
this );
+
+
+
140 return ::MatrixNormalize(*
this );
+
+
+
143 return ::MatrixIdentity();
+
+
+
146 return ::MatrixAdd(*
this , right);
+
+
+
149 return ::MatrixAdd(*
this , matrix);
+
+
+
152 return ::MatrixSubtract(*
this , right);
+
+
+
155 return ::MatrixSubtract(*
this , matrix);
+
+
+
158 return ::MatrixTranslate(x, y, z);
+
+
+
161 return ::MatrixRotate(axis, angle);
+
+
+
164 return ::MatrixRotateXYZ(angle);
+
+
+
167 return ::MatrixRotateX(angle);
+
+
+
170 return ::MatrixRotateY(angle);
+
+
+
173 return ::MatrixRotateZ(angle);
+
+
+
176 return ::MatrixScale(x, y, z);
+
+
+
179 return ::MatrixMultiply(*
this , right);
+
+
+
182 return ::MatrixMultiply(*
this , matrix);
+
+
+
185 static Matrix Frustum (
double left,
double right,
double bottom,
double top,
double near,
double far) {
+
186 return ::MatrixFrustum(left, right, bottom, top, near, far);
+
+
+
+
190 return ::MatrixPerspective(fovy, aspect, near, far);
+
+
+
193 static Matrix Ortho (
double left,
double right,
double bottom,
double top,
double near,
double far) {
+
194 return ::MatrixOrtho(left, right, bottom, top, near, far);
+
+
+
+
198 return ::MatrixLookAt(eye, target, up);
+
+
+
+
202 return ::MatrixToFloatV(*
this );
+
+
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
+
Matrix operator*(const Matrix &matrix)
+
static Matrix Frustum(double left, double right, double bottom, double top, double near, double far)
+
Matrix Add(::Matrix right)
+
static Matrix RotateXYZ(Vector3 angle)
+
static Matrix Scale(float x, float y, float z)
+
static Matrix Translate(float x, float y, float z)
+
static Matrix Rotate(Vector3 axis, float angle)
+
static Matrix RotateZ(float angle)
+
+
+
+
Matrix operator-(const Matrix &matrix)
+
+
Matrix & operator=(const Matrix &matrix)
+
+
+
static Matrix RotateX(float angle)
+
static Matrix Perspective(double fovy, double aspect, double near, double far)
+
+
+
Matrix Subtract(::Matrix right)
+
static Matrix GetModelview()
+
Matrix(float M0=0, float M1=0, float M2=0, float M3=0, float M4=0, float M5=0, float M6=0, float M7=0, float M8=0, float M9=0, float M10=0, float M11=0, float M12=0, float M13=0, float M14=0, float M15=0)
+
+
static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up)
+
static Matrix RotateY(float angle)
+
Matrix Multiply(Matrix right)
+
bool operator==(const Matrix &other)
+
static Matrix GetProjection()
+
Matrix operator+(const Matrix &matrix)
+
static Matrix Ortho(double left, double right, double bottom, double top, double near, double far)
+
diff --git a/docs/_mesh_8hpp_source.html b/docs/_mesh_8hpp_source.html
index cf90e89..a8314f1 100644
--- a/docs/_mesh_8hpp_source.html
+++ b/docs/_mesh_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Mesh.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_MESH_HPP_ 2 #define RAYLIB_CPP_MESH_HPP_ 14 #include "BoundingBox.hpp" 24 Mesh (
int VertexCount = 0,
int TriangleCount = 0) {
25 vertexCount = VertexCount;
26 triangleCount = TriangleCount;
30 vertexCount = mesh.vertexCount;
31 triangleCount = mesh.triangleCount;
32 vertices = mesh.vertices;
33 texcoords = mesh.texcoords;
34 texcoords2 = mesh.texcoords2;
35 normals = mesh.normals;
36 tangents = mesh.tangents;
38 indices = mesh.indices;
39 animVertices = mesh.animVertices;
40 animNormals = mesh.animNormals;
41 boneIds = mesh.boneIds;
42 boneWeights = mesh.boneWeights;
47 GETTERSETTER(
int ,VertexCount,vertexCount)
48 GETTERSETTER(
int ,TriangleCount,triangleCount)
65 ExportMesh(*
this , fileName.c_str());
74 return ::MeshBoundingBox(*
this );
86 ::MeshBinormals(
this );
91 return ::LoadModelFromMesh(*
this );
raylib::Model LoadModelFrom()
-
Mesh & operator=(const Mesh &mesh)
-
raylib::BoundingBox BoundingBox()
-
-
-
-
-
-
-
Mesh(int VertexCount=0, int TriangleCount=0)
-
Provides all the classes associated with raylib-cpp.
-
-
Mesh & Export(const std::string &fileName)
-
+
1 #ifndef RAYLIB_CPP_MESH_HPP_
+
2 #define RAYLIB_CPP_MESH_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
14 #include "./BoundingBox.hpp"
+
15 #include "./Model.hpp"
+
+
+
+
+
+
+
+
+
24 Mesh (
int VertexCount = 0,
int TriangleCount = 0) {
+
25 vertexCount = VertexCount;
+
26 triangleCount = TriangleCount;
+
+
+
+
30 vertexCount = mesh.vertexCount;
+
31 triangleCount = mesh.triangleCount;
+
32 vertices = mesh.vertices;
+
33 texcoords = mesh.texcoords;
+
34 texcoords2 = mesh.texcoords2;
+
35 normals = mesh.normals;
+
36 tangents = mesh.tangents;
+
+
38 indices = mesh.indices;
+
39 animVertices = mesh.animVertices;
+
40 animNormals = mesh.animNormals;
+
41 boneIds = mesh.boneIds;
+
42 boneWeights = mesh.boneWeights;
+
+
+
+
+
47 GETTERSETTER(
int ,VertexCount,vertexCount)
+
48 GETTERSETTER(
int ,TriangleCount,triangleCount)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
65 ExportMesh(*
this , fileName.c_str());
+
+
+
+
+
+
+
+
+
74 return ::MeshBoundingBox(*
this );
+
+
+
+
+
+
+
+
+
+
+
+
86 ::MeshBinormals(
this );
+
+
+
+
+
91 ::MeshNormalsSmooth(
this );
+
+
+
+
+
96 return ::LoadModelFromMesh(*
this );
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
+
+
+
raylib::Model LoadModelFrom()
+
raylib::BoundingBox BoundingBox()
+
+
+
+
Mesh & operator=(const Mesh &mesh)
+
Mesh(int VertexCount=0, int TriangleCount=0)
+
+
+
+
Mesh & Export(const std::string &fileName)
diff --git a/docs/_model_8hpp_source.html b/docs/_model_8hpp_source.html
index d5e180a..74833e8 100644
--- a/docs/_model_8hpp_source.html
+++ b/docs/_model_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Model.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_MODEL_HPP_ 2 #define RAYLIB_CPP_MODEL_HPP_ 22 Model (
const std::string& fileName) {
23 set (LoadModel(fileName.c_str()));
27 set (LoadModelFromMesh(mesh));
35 transform = model.transform;
37 meshCount = model.meshCount;
38 meshes = model.meshes;
40 materialCount = model.materialCount;
41 materials = model.materials;
42 meshMaterial = model.meshMaterial;
43 boneCount = model.boneCount;
45 bindPose = model.bindPose;
48 GETTERSETTER(::
Matrix ,Transform,transform)
49 GETTERSETTER(
int ,MeshCount,meshCount)
50 GETTERSETTER(
int ,MaterialCount,materialCount)
67 ::SetModelMeshMaterial(
this , meshId, materialId);
72 return ::GetCollisionRayModel(ray, *
this );
81 return ::IsModelAnimationValid(*
this , anim);
RayHitInfo GetCollision(::Ray ray)
-
-
Model & UpdateModelAnimation(::ModelAnimation anim, int frame)
-
-
-
Model(const std::string &fileName)
-
-
-
-
Model & SetMeshMaterial(int meshId, int materialId)
-
-
-
Provides all the classes associated with raylib-cpp.
-
-
Model & operator=(const Model &model)
-
-
bool IsModelAnimationValid(::ModelAnimation anim)
+
1 #ifndef RAYLIB_CPP_MODEL_HPP_
+
2 #define RAYLIB_CPP_MODEL_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
22 Model (
const std::string& fileName) {
+
23 set (LoadModel(fileName.c_str()));
+
+
+
+
27 set (LoadModelFromMesh(mesh));
+
+
+
+
+
+
+
+
35 transform = model.transform;
+
+
37 meshCount = model.meshCount;
+
38 meshes = model.meshes;
+
+
40 materialCount = model.materialCount;
+
41 materials = model.materials;
+
42 meshMaterial = model.meshMaterial;
+
43 boneCount = model.boneCount;
+
+
45 bindPose = model.bindPose;
+
+
+
48 GETTERSETTER(::
Matrix ,Transform,transform)
+
49 GETTERSETTER(
int ,MeshCount,meshCount)
+
50 GETTERSETTER(
int ,MaterialCount,materialCount)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
67 ::SetModelMeshMaterial(
this , meshId, materialId);
+
+
+
+
+
72 return ::GetCollisionRayModel(ray, *
this );
+
+
+
+
+
+
+
+
+
81 return ::IsModelAnimationValid(*
this , anim);
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
Model & SetMeshMaterial(int meshId, int materialId)
+
+
Model(const std::string &fileName)
+
Model & UpdateModelAnimation(::ModelAnimation anim, int frame)
+
+
bool IsModelAnimationValid(::ModelAnimation anim)
+
Model & operator=(const Model &model)
+
+
+
RayHitInfo GetCollision(::Ray ray)
+
+
+
+
+
+
diff --git a/docs/_model_animation_8hpp_source.html b/docs/_model_animation_8hpp_source.html
index 2e77f3f..0d32b39 100644
--- a/docs/_model_animation_8hpp_source.html
+++ b/docs/_model_animation_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: ModelAnimation.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_MODEL_HPP_ 2 #define RAYLIB_CPP_MODEL_HPP_ 27 boneCount = model.boneCount;
29 frameCount = model.frameCount;
30 framePoses = model.framePoses;
33 GETTERSETTER(
int ,BoneCount,boneCount)
34 GETTERSETTER(::BoneInfo*,Bones,bones)
35 GETTERSETTER(
int ,FrameCount,frameCount)
36 GETTERSETTER(Transform**,FramePoses,framePoses)
49 ::UnloadModelAnimation(*
this );
53 ::UpdateModelAnimation(model, *
this , frame);
58 return ::IsModelAnimationValid(model, *
this );
62 return ::IsModelAnimationValid(model, *
this );
ModelAnimation(::ModelAnimation model)
-
ModelAnimation & operator=(const ModelAnimation &model)
-
-
bool IsModelAnimationValid(::Model model)
-
-
ModelAnimation & UpdateAnimation(::Model model, int frame)
-
-
-
bool IsValid(::Model model)
-
Provides all the classes associated with raylib-cpp.
+
1 #ifndef RAYLIB_CPP_MODEL_HPP_
+
2 #define RAYLIB_CPP_MODEL_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
27 boneCount = model.boneCount;
+
+
29 frameCount = model.frameCount;
+
30 framePoses = model.framePoses;
+
+
+
33 GETTERSETTER(
int ,BoneCount,boneCount)
+
34 GETTERSETTER(::BoneInfo*,Bones,bones)
+
35 GETTERSETTER(
int ,FrameCount,frameCount)
+
36 GETTERSETTER(Transform**,FramePoses,framePoses)
+
+
+
+
+
+
+
+
+
+
+
+
+
49 ::UnloadModelAnimation(*
this );
+
+
+
+
53 ::UpdateModelAnimation(model, *
this , frame);
+
+
+
+
+
58 return ::IsModelAnimationValid(model, *
this );
+
+
+
+
62 return ::IsModelAnimationValid(model, *
this );
+
+
+
+
+
+
ModelAnimation & UpdateAnimation(::Model model, int frame)
+
Provides all the classes associated with raylib-cpp.
+
bool IsModelAnimationValid(::Model model)
+
+
bool IsValid(::Model model)
+
void set(::ModelAnimation model)
+
ModelAnimation & operator=(const ModelAnimation &model)
+
+
ModelAnimation(::ModelAnimation model)
+
+
diff --git a/docs/_mouse_8hpp_source.html b/docs/_mouse_8hpp_source.html
index 7aaac94..0dfae81 100644
--- a/docs/_mouse_8hpp_source.html
+++ b/docs/_mouse_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Mouse.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_MOUSE_HPP_ 2 #define RAYLIB_CPP_MOUSE_HPP_ 12 #include "Vector2.hpp" 18 return ::IsMouseButtonPressed(button);
21 return ::IsMouseButtonDown(button);
24 return ::IsMouseButtonReleased(button);
27 return ::IsMouseButtonUp(button);
36 ::SetMouseOffset(x,
GetY ());
40 ::SetMouseOffset(
GetX (), y);
44 return ::GetMousePosition();
47 ::SetMousePosition(x, y);
51 ::SetMouseOffset(offsetX, offsetY);
55 ::SetMouseScale(scaleX, scaleY);
59 return ::GetMouseWheelMove();
68 return ::GetTouchPosition(index);
bool IsButtonUp(int button)
-
bool IsButtonReleased(int button)
-
-
-
bool IsButtonDown(int button)
-
-
Vector2 GetTouchPosition(int index)
-
-
Mouse & SetPosition(int x, int y)
-
-
bool IsButtonPressed(int button)
-
-
-
Provides all the classes associated with raylib-cpp.
-
-
-
Mouse & SetOffset(int offsetX, int offsetY)
-
Mouse & SetScale(float scaleX, float scaleY)
-
+
1 #ifndef RAYLIB_CPP_MOUSE_HPP_
+
2 #define RAYLIB_CPP_MOUSE_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./Vector2.hpp"
+
+
+
+
+
+
18 return ::IsMouseButtonPressed(button);
+
+
+
21 return ::IsMouseButtonDown(button);
+
+
+
24 return ::IsMouseButtonReleased(button);
+
+
+
27 return ::IsMouseButtonUp(button);
+
+
+
+
+
+
+
+
+
36 ::SetMouseOffset(x,
GetY ());
+
+
+
+
40 ::SetMouseOffset(
GetX (), y);
+
+
+
+
44 return ::GetMousePosition();
+
+
+
47 ::SetMousePosition(x, y);
+
+
+
+
51 ::SetMouseOffset(offsetX, offsetY);
+
+
+
+
55 ::SetMouseScale(scaleX, scaleY);
+
+
+
+
59 return ::GetMouseWheelMove();
+
+
+
+
+
+
+
+
+
68 return ::GetTouchPosition(index);
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
Vector2 GetTouchPosition(int index)
+
+
+
Mouse & SetPosition(int x, int y)
+
Mouse & SetOffset(int offsetX, int offsetY)
+
+
+
bool IsButtonUp(int button)
+
Mouse & SetScale(float scaleX, float scaleY)
+
+
+
+
bool IsButtonReleased(int button)
+
+
+
bool IsButtonDown(int button)
+
bool IsButtonPressed(int button)
+
diff --git a/docs/_music_8hpp_source.html b/docs/_music_8hpp_source.html
index a04784a..e95db2f 100644
--- a/docs/_music_8hpp_source.html
+++ b/docs/_music_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Music.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_MUSIC_HPP_ 2 #define RAYLIB_CPP_MUSIC_HPP_ 21 Music (
const std::string& fileName) {
22 set (::LoadMusicStream(fileName.c_str()));
30 ctxType = music.ctxType;
31 ctxData = music.ctxData;
32 sampleCount = music.sampleCount;
33 loopCount = music.loopCount;
34 stream = music.stream;
37 GETTERSETTER(
int ,CtxType,ctxType)
38 GETTERSETTER(
unsigned int ,SampleCount,sampleCount)
39 GETTERSETTER(
unsigned int ,LoopCount,loopCount)
52 ::UnloadMusicStream(*
this );
56 ::PlayMusicStream(*
this );
61 ::UpdateMusicStream(*
this );
66 ::StopMusicStream(*
this );
71 ::PauseMusicStream(*
this );
75 ::ResumeMusicStream(*
this );
79 return ::IsMusicPlaying(*
this );
82 ::SetMusicVolume(*
this , volume);
86 ::SetMusicPitch(*
this , pitch);
90 ::SetMusicLoopCount(*
this , count);
94 return ::GetMusicTimeLength(*
this );
97 return ::GetMusicTimePlayed(*
this );
-
-
-
-
Music(const std::string &fileName)
-
-
-
Music & SetPitch(float pitch)
-
Music & SetLoopCount(int count)
-
Music & SetVolume(float volume)
-
-
-
-
-
Provides all the classes associated with raylib-cpp.
-
Music & operator=(const Music &music)
-
-
+
1 #ifndef RAYLIB_CPP_MUSIC_HPP_
+
2 #define RAYLIB_CPP_MUSIC_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
21 Music (
const std::string& fileName) {
+
22 set (::LoadMusicStream(fileName.c_str()));
+
+
+
+
+
+
+
+
30 ctxType = music.ctxType;
+
31 ctxData = music.ctxData;
+
32 looping = music.looping;
+
33 sampleCount = music.sampleCount;
+
34 stream = music.stream;
+
+
+
37 GETTERSETTER(
int ,CtxType,ctxType)
+
38 GETTERSETTER(
bool ,Looping,looping)
+
39 GETTERSETTER(
unsigned int ,SampleCount,sampleCount)
+
+
+
+
+
+
+
+
+
+
+
+
+
52 ::UnloadMusicStream(*
this );
+
+
+
+
56 ::PlayMusicStream(*
this );
+
+
+
+
+
61 ::UpdateMusicStream(*
this );
+
+
+
+
+
66 ::StopMusicStream(*
this );
+
+
+
+
+
71 ::PauseMusicStream(*
this );
+
+
+
+
75 ::ResumeMusicStream(*
this );
+
+
+
+
79 return ::IsMusicPlaying(*
this );
+
+
+
82 ::SetMusicVolume(*
this , volume);
+
+
+
+
86 ::SetMusicPitch(*
this , pitch);
+
+
+
+
90 return ::GetMusicTimeLength(*
this );
+
+
+
93 return ::GetMusicTimePlayed(*
this );
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
Music & SetPitch(float pitch)
+
+
Music & SetVolume(float volume)
+
+
+
+
+
Music & operator=(const Music &music)
+
+
+
+
+
Music(const std::string &fileName)
+
+
+
+
diff --git a/docs/_physics_8hpp_source.html b/docs/_physics_8hpp_source.html
index cd695ef..1cb9db5 100644
--- a/docs/_physics_8hpp_source.html
+++ b/docs/_physics_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Physics.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_PHYSICS_HPP_ 2 #define RAYLIB_CPP_PHYSICS_HPP_ 13 #include "Vector2.hpp" 46 ::SetPhysicsTimeStep(delta);
51 return ::IsPhysicsEnabled();
55 ::SetPhysicsGravity(x, y);
60 return ::CreatePhysicsBodyCircle(pos, radius, density);
63 return ::CreatePhysicsBodyRectangle(pos, width, height, density);
66 return ::CreatePhysicsBodyPolygon(pos, radius, sides, density);
69 ::PhysicsAddForce(body, force);
73 ::PhysicsAddTorque(body, amount);
77 ::PhysicsShatter(body, position, force);
81 return ::GetPhysicsBodiesCount();
84 return ::GetPhysicsBody(index);
87 return ::GetPhysicsShapeType(index);
90 return ::GetPhysicsShapeVerticesCount(index);
93 return ::GetPhysicsShapeVertex(body, vertex);
96 ::SetPhysicsBodyRotation(body, radians);
100 ::DestroyPhysicsBody(body);
int GetShapeVerticesCount(int index)
-
Physics & Shatter(PhysicsBody body, Vector2 position, float force)
-
PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density)
-
Physics & AddTorque(PhysicsBody body, float amount)
-
PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density)
-
Physics & SetBodyRotation(PhysicsBody body, float radians)
-
Physics & DestroyBody(PhysicsBody body)
-
-
-
Physics & SetGravity(float x, float y)
-
Vector2 GetShapeVertex(PhysicsBody body, int vertex)
-
-
-
-
Physics & SetTimeStep(double delta)
-
-
-
-
PhysicsBody GetBody(int index)
-
PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density)
-
int GetShapeType(int index)
-
Provides all the classes associated with raylib-cpp.
-
-
Physics(float gravityX, float gravityY)
-
-
Physics & AddForce(PhysicsBody body, Vector2 force)
+
1 #ifndef RAYLIB_CPP_PHYSICS_HPP_
+
2 #define RAYLIB_CPP_PHYSICS_HPP_
+
+
+
+
+
+
+
+
+
+
+
13 #include "./Vector2.hpp"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
46 ::SetPhysicsTimeStep(delta);
+
+
+
+
+
51 return ::IsPhysicsEnabled();
+
+
+
+
55 ::SetPhysicsGravity(x, y);
+
+
+
+
+
60 return ::CreatePhysicsBodyCircle(pos, radius, density);
+
+
+
63 return ::CreatePhysicsBodyRectangle(pos, width, height, density);
+
+
+
66 return ::CreatePhysicsBodyPolygon(pos, radius, sides, density);
+
+
+
69 ::PhysicsAddForce(body, force);
+
+
+
+
73 ::PhysicsAddTorque(body, amount);
+
+
+
+
77 ::PhysicsShatter(body, position, force);
+
+
+
+
81 return ::GetPhysicsBodiesCount();
+
+
+
84 return ::GetPhysicsBody(index);
+
+
+
87 return ::GetPhysicsShapeType(index);
+
+
+
90 return ::GetPhysicsShapeVerticesCount(index);
+
+
+
93 return ::GetPhysicsShapeVertex(body, vertex);
+
+
+
96 ::SetPhysicsBodyRotation(body, radians);
+
+
+
+
100 ::DestroyPhysicsBody(body);
+
+
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density)
+
+
Physics & DestroyBody(PhysicsBody body)
+
+
Physics & SetBodyRotation(PhysicsBody body, float radians)
+
+
+
PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density)
+
Physics & SetGravity(float x, float y)
+
+
+
Vector2 GetShapeVertex(PhysicsBody body, int vertex)
+
PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density)
+
int GetShapeType(int index)
+
Physics & Shatter(PhysicsBody body, Vector2 position, float force)
+
+
Physics(float gravityX, float gravityY)
+
Physics & SetTimeStep(double delta)
+
+
Physics & AddForce(PhysicsBody body, Vector2 force)
+
+
+
Physics & AddTorque(PhysicsBody body, float amount)
+
PhysicsBody GetBody(int index)
+
int GetShapeVerticesCount(int index)
diff --git a/docs/_ray_8hpp_source.html b/docs/_ray_8hpp_source.html
index 700bb3e..98942b6 100644
--- a/docs/_ray_8hpp_source.html
+++ b/docs/_ray_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Ray.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_RAY_HPP_ 2 #define RAYLIB_CPP_RAY_HPP_ 14 #include "RayHitInfo.hpp" 25 direction = Direction;
29 set (GetMouseRay(mousePosition, camera));
33 position = ray.position;
34 direction = ray.direction;
48 GETTERSETTER(::
Vector3 ,Direction,direction)
51 DrawRay(*
this , color);
56 return CheckCollisionRaySphere(*
this , center, radius);
60 return CheckCollisionRaySphereEx(*
this , center, radius, collisionPoint);
64 return CheckCollisionRayBox(*
this , box);
68 return GetCollisionRayModel(*
this , model);
72 return GetCollisionRayTriangle(*
this , p1, p2, p3);
76 return GetCollisionRayGround(*
this , groundHeight);
Ray & operator=(const ::Ray &ray)
-
bool CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint)
-
RayHitInfo GetCollisionTriangle(::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
-
-
RayHitInfo GetCollisionGround(float groundHeight)
-
-
-
RayHitInfo GetCollisionModel(::Model model)
-
-
-
bool CheckCollisionSphere(::Vector3 center, float radius)
-
-
Ray(::Vector3 Position, ::Vector3 Direction)
-
-
-
Provides all the classes associated with raylib-cpp.
-
-
bool CheckCollisionBox(::BoundingBox box)
-
Ray(::Vector2 mousePosition, ::Camera camera)
-
Ray & Draw(::Color color)
-
Ray & operator=(const Ray &ray)
+
1 #ifndef RAYLIB_CPP_RAY_HPP_
+
2 #define RAYLIB_CPP_RAY_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
14 #include "./RayHitInfo.hpp"
+
+
+
+
+
+
+
+
+
+
+
25 direction = Direction;
+
+
+
+
29 set (GetMouseRay(mousePosition, camera));
+
+
+
+
33 position = ray.position;
+
34 direction = ray.direction;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
48 GETTERSETTER(::
Vector3 ,Direction,direction)
+
+
+
51 DrawRay(*
this , color);
+
+
+
+
+
56 return CheckCollisionRaySphere(*
this , center, radius);
+
+
+
+
60 return CheckCollisionRaySphereEx(*
this , center, radius, collisionPoint);
+
+
+
+
64 return CheckCollisionRayBox(*
this , box);
+
+
+
+
68 return GetCollisionRayModel(*
this , model);
+
+
+
+
72 return GetCollisionRayTriangle(*
this , p1, p2, p3);
+
+
+
+
76 return GetCollisionRayGround(*
this , groundHeight);
+
+
+
+
+
+
Ray & Draw(::Color color)
+
Provides all the classes associated with raylib-cpp.
+
+
Ray & operator=(const Ray &ray)
+
Ray(::Vector3 Position, ::Vector3 Direction)
+
+
bool CheckCollisionSphere(::Vector3 center, float radius)
+
+
Ray(::Vector2 mousePosition, ::Camera camera)
+
RayHitInfo GetCollisionModel(::Model model)
+
RayHitInfo GetCollisionTriangle(::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
+
bool CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint)
+
+
+
+
+
RayHitInfo GetCollisionGround(float groundHeight)
+
+
+
+
Ray & operator=(const ::Ray &ray)
+
bool CheckCollisionBox(::BoundingBox box)
diff --git a/docs/_ray_hit_info_8hpp_source.html b/docs/_ray_hit_info_8hpp_source.html
index c04b187..1bd2383 100644
--- a/docs/_ray_hit_info_8hpp_source.html
+++ b/docs/_ray_hit_info_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: RayHitInfo.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_RAYHITINFO_HPP_ 2 #define RAYLIB_CPP_RAYHITINFO_HPP_ 40 distance = ray.distance;
41 position = ray.position;
45 GETTERSETTER(
bool ,Hit,hit)
46 GETTERSETTER(
float ,Distance,distance)
48 GETTERSETTER(::Vector3,Normal,normal)
RayHitInfo & operator=(const ::RayHitInfo &ray)
-
RayHitInfo & operator=(const RayHitInfo &ray)
-
RayHitInfo(bool Hit, float Distance, ::Vector3 Position, ::Vector3 Normal)
-
-
-
Provides all the classes associated with raylib-cpp.
-
RayHitInfo(::RayHitInfo ray)
+
1 #ifndef RAYLIB_CPP_RAYHITINFO_HPP_
+
2 #define RAYLIB_CPP_RAYHITINFO_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
40 distance = ray.distance;
+
41 position = ray.position;
+
+
+
+
45 GETTERSETTER(
bool ,Hit,hit)
+
46 GETTERSETTER(
float ,Distance,distance)
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
void set(::RayHitInfo ray)
+
RayHitInfo(::RayHitInfo ray)
+
+
RayHitInfo & operator=(const ::RayHitInfo &ray)
+
RayHitInfo & operator=(const RayHitInfo &ray)
+
+
RayHitInfo(bool Hit, float Distance, ::Vector3 Position, ::Vector3 Normal)
diff --git a/docs/_rectangle_8hpp_source.html b/docs/_rectangle_8hpp_source.html
index 1cfbce3..0ebd829 100644
--- a/docs/_rectangle_8hpp_source.html
+++ b/docs/_rectangle_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Rectangle.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_RECTANGLE_HPP_ 2 #define RAYLIB_CPP_RECTANGLE_HPP_ 13 #include "Vector2.hpp" 21 Rectangle (
float X = 0,
float Y = 0,
float Width = 0,
float Height = 0) {
35 GETTERSETTER(
float ,X,x)
36 GETTERSETTER(
float ,Y,y)
37 GETTERSETTER(
float ,Width,width)
38 GETTERSETTER(
float ,Height,height)
51 ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
55 ::DrawRectanglePro(*
this , origin, rotation, color);
60 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
64 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
68 ::DrawRectangleGradientEx(*
this , col1, col2, col3, col4);
72 ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
76 ::DrawRectangleLinesEx(*
this , lineThick, color);
80 ::DrawRectangleRounded(*
this , roundness, segments, color);
84 ::DrawRectangleRoundedLines(*
this , roundness, segments, lineThick, color);
89 return ::CheckCollisionRecs(*
this , rec2);
92 return ::GetCollisionRec(*
this , rec2);
95 return ::CheckCollisionPointRec(point, *
this );
Rectangle & Draw(::Vector2 origin, float rotation, ::Color color)
-
-
Rectangle & operator=(const Rectangle &rect)
-
Rectangle & DrawGradientV(::Color color1, ::Color color2)
-
bool CheckCollision(::Vector2 point)
-
Rectangle(::Rectangle vec)
-
bool CheckCollision(::Rectangle rec2)
-
Rectangle & DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4)
-
Rectangle(float X=0, float Y=0, float Width=0, float Height=0)
-
-
Rectangle & DrawLines(::Color color)
-
Rectangle & DrawRounded(float roundness, int segments, ::Color color)
-
Rectangle GetCollision(::Rectangle rec2)
-
Rectangle & DrawRoundedLines(float roundness, int segments, int lineThick, ::Color color)
-
Provides all the classes associated with raylib-cpp.
-
-
Rectangle & Draw(::Color color)
-
Rectangle & DrawGradientH(::Color color1, ::Color color2)
-
Rectangle & DrawLinesEx(int lineThick, ::Color color)
+
1 #ifndef RAYLIB_CPP_RECTANGLE_HPP_
+
2 #define RAYLIB_CPP_RECTANGLE_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
13 #include "./Vector2.hpp"
+
+
+
+
+
+
+
+
21 Rectangle (
float X = 0,
float Y = 0,
float Width = 0,
float Height = 0) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
35 GETTERSETTER(
float ,X,x)
+
36 GETTERSETTER(
float ,Y,y)
+
37 GETTERSETTER(
float ,Width,width)
+
38 GETTERSETTER(
float ,Height,height)
+
+
+
+
+
+
+
+
+
+
+
+
+
51 ::DrawRectangle(
static_cast< int > (x),
static_cast< int > (y),
static_cast< int > (width),
static_cast< int > (height), color);
+
+
+
+
55 ::DrawRectanglePro(*
this , origin, rotation, color);
+
+
+
+
+
60 ::DrawRectangleGradientH(
static_cast< int > (x),
static_cast< int > (y),
static_cast< int > (width),
static_cast< int > (height), color1, color2);
+
+
+
+
64 ::DrawRectangleGradientH(
static_cast< int > (x),
static_cast< int > (y),
static_cast< int > (width),
static_cast< int > (height), color1, color2);
+
+
+
+
68 ::DrawRectangleGradientEx(*
this , col1, col2, col3, col4);
+
+
+
+
72 ::DrawRectangleLines(
static_cast< int > (x),
static_cast< int > (y),
static_cast< int > (width),
static_cast< int > (height), color);
+
+
+
+
76 ::DrawRectangleLinesEx(*
this , lineThick, color);
+
+
+
+
80 ::DrawRectangleRounded(*
this , roundness, segments, color);
+
+
+
+
84 ::DrawRectangleRoundedLines(*
this , roundness, segments, lineThick, color);
+
+
+
+
+
89 return ::CheckCollisionRecs(*
this , rec2);
+
+
+
92 return ::GetCollisionRec(*
this , rec2);
+
+
+
95 return ::CheckCollisionPointRec(point, *
this );
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
bool CheckCollision(::Rectangle rec2)
+
bool CheckCollision(::Vector2 point)
+
Rectangle & DrawRounded(float roundness, int segments, ::Color color)
+
void set(::Rectangle rect)
+
Rectangle & DrawGradientH(::Color color1, ::Color color2)
+
Rectangle & Draw(::Vector2 origin, float rotation, ::Color color)
+
Rectangle & DrawLinesEx(int lineThick, ::Color color)
+
Rectangle & DrawGradientV(::Color color1, ::Color color2)
+
Rectangle & DrawLines(::Color color)
+
+
+
Rectangle(float X=0, float Y=0, float Width=0, float Height=0)
+
Rectangle(::Rectangle vec)
+
+
Rectangle & DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4)
+
Rectangle & Draw(::Color color)
+
Rectangle GetCollision(::Rectangle rec2)
+
Rectangle & DrawRoundedLines(float roundness, int segments, int lineThick, ::Color color)
+
Rectangle & operator=(const Rectangle &rect)
diff --git a/docs/_render_texture2_d_8hpp_source.html b/docs/_render_texture2_d_8hpp_source.html
index 846612c..6a576ea 100644
--- a/docs/_render_texture2_d_8hpp_source.html
+++ b/docs/_render_texture2_d_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: RenderTexture2D.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_RENDERTEXTURE2D_HPP_ 2 #define RAYLIB_CPP_RENDERTEXTURE2D_HPP_ 24 set (LoadRenderTexture(width, height));
28 id = renderTexture.id;
29 texture = renderTexture.texture;
30 depth = renderTexture.depth;
31 depthTexture = renderTexture.depthTexture;
34 GETTERSETTER(
unsigned int ,Id,
id )
36 GETTERSETTER(Texture2D,Depth,depth)
37 GETTERSETTER(
bool ,DepthTexture,depthTexture)
54 UnloadRenderTexture(*
this );
-
RenderTexture2D RenderTexture
-
-
RenderTexture2D(int width, int height)
-
RenderTexture2D & operator=(const RenderTexture2D &texture)
-
RenderTexture2D(unsigned int Id)
-
-
RenderTexture2D & EndTextureMode()
-
RenderTexture2D & BeginTextureMode()
-
-
Provides all the classes associated with raylib-cpp.
-
RenderTexture2D(::RenderTexture2D renderTexture)
+
1 #ifndef RAYLIB_CPP_RENDERTEXTURE2D_HPP_
+
2 #define RAYLIB_CPP_RENDERTEXTURE2D_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
+
+
24 set (LoadRenderTexture(width, height));
+
+
+
+
28 id = renderTexture.id;
+
29 texture = renderTexture.texture;
+
30 depth = renderTexture.depth;
+
31 depthTexture = renderTexture.depthTexture;
+
+
+
34 GETTERSETTER(
unsigned int ,Id,
id )
+
+
+
37 GETTERSETTER(
bool ,DepthTexture,depthTexture)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
54 UnloadRenderTexture(*
this );
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
RenderTexture2D & EndTextureMode()
+
RenderTexture2D & BeginTextureMode()
+
RenderTexture2D RenderTexture
+
void set(::RenderTexture2D renderTexture)
+
RenderTexture2D(::RenderTexture2D renderTexture)
+
RenderTexture2D(int width, int height)
+
RenderTexture2D & operator=(const RenderTexture2D &texture)
+
+
RenderTexture2D(unsigned int Id)
+
+
diff --git a/docs/_shader_8hpp_source.html b/docs/_shader_8hpp_source.html
index 45cb057..46478d8 100644
--- a/docs/_shader_8hpp_source.html
+++ b/docs/_shader_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Shader.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_SHADER_HPP_ 2 #define RAYLIB_CPP_SHADER_HPP_ 27 set (GetShaderDefault());
35 GETTERSETTER(
unsigned int ,Id,
id )
36 GETTERSETTER(
int *,Locs,locs)
53 ::UnloadShader(*
this );
56 static Shader Load (
const std::string& vsFileName,
const std::string& fsFileName) {
57 return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
59 static Shader LoadCode (
const std::string& vsCode,
const std::string& fsCode) {
60 char * param1 = (
char *)vsCode.c_str();
61 char * param2 = (
char *)fsCode.c_str();
62 return ::LoadShaderCode(param1, param2);
76 return ::GetShaderLocation(*
this , uniformName.c_str());
static Shader LoadCode(const std::string &vsCode, const std::string &fsCode)
-
-
Shader & BeginShaderMode()
-
-
static Shader Load(const std::string &vsFileName, const std::string &fsFileName)
-
-
-
-
Shader & operator=(const Shader &shader)
-
Shader(unsigned int Id, int *Locs)
-
-
Provides all the classes associated with raylib-cpp.
-
int GetLocation(const std::string &uniformName)
+
1 #ifndef RAYLIB_CPP_SHADER_HPP_
+
2 #define RAYLIB_CPP_SHADER_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
27 set (GetShaderDefault());
+
+
+
+
+
+
+
+
35 GETTERSETTER(
unsigned int ,Id,
id )
+
36 GETTERSETTER(
int *,Locs,locs)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
53 ::UnloadShader(*
this );
+
+
+
56 static Shader Load (
const std::string& vsFileName,
const std::string& fsFileName) {
+
57 return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
+
+
59 static Shader LoadCode (
const std::string& vsCode,
const std::string& fsCode) {
+
60 char * param1 = (
char *)vsCode.c_str();
+
61 char * param2 = (
char *)fsCode.c_str();
+
62 return ::LoadShaderCode(param1, param2);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
76 return ::GetShaderLocation(*
this , uniformName.c_str());
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
static Shader LoadCode(const std::string &vsCode, const std::string &fsCode)
+
Shader & BeginShaderMode()
+
+
+
+
static Shader Load(const std::string &vsFileName, const std::string &fsFileName)
+
+
Shader & operator=(const Shader &shader)
+
+
Shader(unsigned int Id, int *Locs)
+
+
int GetLocation(const std::string &uniformName)
+
void set(::Shader shader)
diff --git a/docs/_sound_8hpp_source.html b/docs/_sound_8hpp_source.html
index b6271ca..bb15c08 100644
--- a/docs/_sound_8hpp_source.html
+++ b/docs/_sound_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Sound.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_SOUND_HPP_ 2 #define RAYLIB_CPP_SOUND_HPP_ 23 Sound (
const std::string& fileName) {
24 set (LoadSound(fileName.c_str()));
28 set (LoadSoundFromWave(wave));
36 sampleCount = sound.sampleCount;
37 stream = sound.stream;
40 GETTERSETTER(
unsigned int ,SampleCount,sampleCount)
54 ::UpdateSound(*
this , data, sampleCount);
81 ::PlaySoundMulti(*
this );
91 return ::IsSoundPlaying(*
this );
94 ::SetSoundVolume(*
this , volume);
98 ::SetSoundPitch(*
this , pitch);
-
-
AudioStream management functions.
-
-
-
Sound(const std::string &fileName)
-
-
-
-
-
Sound & SetPitch(float pitch)
-
-
Sound & SetVolume(float volume)
-
-
Sound & Update(const void *data, int sampleCount)
-
Provides all the classes associated with raylib-cpp.
-
-
Sound & operator=(const Sound &sound)
-
-
+
1 #ifndef RAYLIB_CPP_SOUND_HPP_
+
2 #define RAYLIB_CPP_SOUND_HPP_
+
+
+
+
+
+
+
+
+
+
+
+
14 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
23 Sound (
const std::string& fileName) {
+
24 set (LoadSound(fileName.c_str()));
+
+
+
+
28 set (LoadSoundFromWave(wave));
+
+
+
+
+
+
+
+
36 sampleCount = sound.sampleCount;
+
37 stream = sound.stream;
+
+
+
40 GETTERSETTER(
unsigned int ,SampleCount,sampleCount)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
54 ::UpdateSound(*
this , data, sampleCount);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
81 ::PlaySoundMulti(*
this );
+
+
+
+
+
+
+
+
+
+
91 return ::IsSoundPlaying(*
this );
+
+
+
94 ::SetSoundVolume(*
this , volume);
+
+
+
+
98 ::SetSoundPitch(*
this , pitch);
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
+
+
Sound & Update(const void *data, int sampleCount)
+
+
+
Sound & SetVolume(float volume)
+
+
+
+
Sound & operator=(const Sound &sound)
+
+
+
+
+
AudioStream management functions.
+
Sound & SetPitch(float pitch)
+
+
+
Sound(const std::string &fileName)
diff --git a/docs/_texture2_d_8hpp_source.html b/docs/_texture2_d_8hpp_source.html
index 317ec6a..2c5c802 100644
--- a/docs/_texture2_d_8hpp_source.html
+++ b/docs/_texture2_d_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Texture2D.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_TEXTURE2D_HPP_ 2 #define RAYLIB_CPP_TEXTURE2D_HPP_ 15 #include "Vector2.hpp" 16 #include "Material.hpp" 22 set (::GetTextureDefault());
39 width = texture.width;
40 height = texture.height;
41 mipmaps = texture.mipmaps;
42 format = texture.format;
45 GETTERSETTER(
unsigned int ,Id,
id )
46 GETTERSETTER(
int ,Width,width)
47 GETTERSETTER(
int ,Height,height)
48 GETTERSETTER(
int ,Mipmaps,mipmaps)
49 GETTERSETTER(
int ,Format,format)
62 set (::LoadTextureFromImage(image));
69 void Load (
const std::string& fileName) {
70 set (::LoadTexture(fileName.c_str()));
74 ::UnloadTexture(*
this );
78 ::UpdateTexture(*
this , pixels);
83 return ::GetTextureData(*
this );
90 ::GenTextureMipmaps(
this );
95 ::SetTextureFilter(*
this , filterMode);
100 ::SetTextureWrap(*
this , wrapMode);
105 ::DrawTexture(*
this , posX, posY, tint);
110 ::DrawTextureV(*
this , position, tint);
114 ::DrawTextureEx(*
this , position, rotation, scale, tint);
119 ::DrawTextureRec(*
this , sourceRec, position, tint);
123 ::DrawTextureQuad(*
this , tiling, offset, quad, tint);
127 ::DrawTexturePro(*
this , sourceRec, destRec, origin, rotation, tint);
131 ::DrawTextureNPatch(*
this , nPatchInfo, destRec, origin, rotation, tint);
136 ::DrawCubeTexture(*
this , position, width, height, length, color);
146 return ::GetPixelDataSize(width, height, format);
-
static int GetPixelDataSize(int width, int height, int format)
-
Texture2D & Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE)
-
-
-
void LoadFromImage(::Image &image)
-
-
void LoadTextureCubemap(::Image &image, int layoutType)
-
Texture2D & Update(const void *pixels)
-
Texture2D & SetFilter(int filterMode)
-
Texture2D & Draw(::Vector3 position, float width, float height, float length, ::Color color=WHITE)
-
-
Texture2D(::Image &image)
-
Texture2D & SetMaterialTexture(Material *material, int mapType)
-
Texture2D & Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
-
-
Texture2D & Draw(int posX, int posY, ::Color tint=WHITE)
-
-
Texture2D & Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
-
-
Texture2D & Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE)
-
Texture2D(const std::string &fileName)
-
-
Texture2D & operator=(const Texture2D &texture)
-
void Load(const std::string &fileName)
-
-
-
Provides all the classes associated with raylib-cpp.
-
-
-
Texture2D & SetWrap(int wrapMode)
-
Texture2D & Draw(::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE)
-
Texture2D & Draw(::Vector2 position, ::Color tint=WHITE)
+
1 #ifndef RAYLIB_CPP_TEXTURE2D_HPP_
+
2 #define RAYLIB_CPP_TEXTURE2D_HPP_
+
+
+
+
+
+
+
+
+
+
+
+
14 #include "./raylib-cpp-utils.hpp"
+
15 #include "./Vector2.hpp"
+
16 #include "./Material.hpp"
+
+
+
+
+
+
22 set (::GetTextureDefault());
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
39 width = texture.width;
+
40 height = texture.height;
+
41 mipmaps = texture.mipmaps;
+
42 format = texture.format;
+
+
+
45 GETTERSETTER(
unsigned int ,Id,
id )
+
46 GETTERSETTER(
int ,Width,width)
+
47 GETTERSETTER(
int ,Height,height)
+
48 GETTERSETTER(
int ,Mipmaps,mipmaps)
+
49 GETTERSETTER(
int ,Format,format)
+
+
+
+
+
+
+
+
+
+
+
+
+
62 set (::LoadTextureFromImage(image));
+
+
+
+
+
+
+
69 void Load (
const std::string& fileName) {
+
70 set (::LoadTexture(fileName.c_str()));
+
+
+
+
74 ::UnloadTexture(*
this );
+
+
+
+
78 ::UpdateTexture(*
this , pixels);
+
+
+
+
+
83 UpdateTextureRec(*
this , rec, pixels);
+
+
+
+
+
88 return ::GetTextureData(*
this );
+
+
+
+
+
+
+
95 ::GenTextureMipmaps(
this );
+
+
+
+
+
100 ::SetTextureFilter(*
this , filterMode);
+
+
+
+
+
105 ::SetTextureWrap(*
this , wrapMode);
+
+
+
+
+
110 ::DrawTexture(*
this , posX, posY, tint);
+
+
+
+
+
115 ::DrawTextureV(*
this , position, tint);
+
+
+
+
119 ::DrawTextureEx(*
this , position, rotation, scale, tint);
+
+
+
+
+
124 ::DrawTextureRec(*
this , sourceRec, position, tint);
+
+
+
+
128 ::DrawTextureQuad(*
this , tiling, offset, quad, tint);
+
+
+
+
132 ::DrawTexturePro(*
this , sourceRec, destRec, origin, rotation, tint);
+
+
+
+
136 ::DrawTextureNPatch(*
this , nPatchInfo, destRec, origin, rotation, tint);
+
+
+
+
+
141 ::DrawCubeTexture(*
this , position, width, height, length, color);
+
+
+
+
+
146 ::DrawTextureTiled(*
this , sourceRec, destRec, origin, rotation, scale, tint);
+
+
+
+
+
+
+
+
+
+
156 return ::GetPixelDataSize(width, height, format);
+
+
+
+
+
+
+
+
+
void LoadTextureCubemap(::Image &image, int layoutType)
+
Provides all the classes associated with raylib-cpp.
+
void Load(const std::string &fileName)
+
+
+
Texture2D & Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
+
+
Texture2D(::Image &image)
+
Texture2D & Draw(::Vector3 position, float width, float height, float length, ::Color color=WHITE)
+
Texture2D & DrawTiled(Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE)
+
Texture2D & Update(const void *pixels)
+
Texture2D & Draw(::Vector2 position, ::Color tint=WHITE)
+
+
+
Texture2D & Draw(int posX, int posY, ::Color tint=WHITE)
+
Texture2D & SetWrap(int wrapMode)
+
static int GetPixelDataSize(int width, int height, int format)
+
Texture2D(const std::string &fileName)
+
+
+
+
+
+
Texture2D & SetFilter(int filterMode)
+
+
Texture2D & operator=(const Texture2D &texture)
+
Texture2D & Draw(::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE)
+
void LoadFromImage(::Image &image)
+
Texture2D & Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE)
+
Texture2D & UpdateRec(Rectangle rec, const void *pixels)
+
Texture2D & Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE)
+
Texture2D & Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
+
+
Texture2D & SetMaterialTexture(Material *material, int mapType)
+
+
void set(::Texture2D texture)
diff --git a/docs/_vector2_8hpp_source.html b/docs/_vector2_8hpp_source.html
index 14a484b..2ff5c8f 100644
--- a/docs/_vector2_8hpp_source.html
+++ b/docs/_vector2_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Vector2.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_VECTOR2_HPP_ 2 #define RAYLIB_CPP_VECTOR2_HPP_ 8 #ifndef RAYLIB_CPP_NO_MATH 16 #ifndef RAYLIB_CPP_NO_MATH 35 GETTERSETTER(
float ,X,x)
36 GETTERSETTER(
float ,Y,y)
53 #ifndef RAYLIB_CPP_NO_MATH 55 return Vector2Add(*
this , vector2);
59 return Vector2Add(*
this , vector2);
63 return Vector2Subtract(*
this , vector2);
67 return Vector2Subtract(*
this , vector2);
71 return Vector2Negate(*
this );
75 return Vector2Negate(*
this );
79 return Vector2MultiplyV(*
this , vector2);
83 return Vector2MultiplyV(*
this , vector2);
87 return Vector2Scale(*
this , scale);
91 return Vector2Scale(*
this , scale);
95 return Vector2DivideV(*
this , vector2);
99 return Vector2DivideV(*
this , vector2);
103 return Vector2Divide(*
this , div);
107 return Vector2Divide(*
this , div);
111 set (Vector2Add(*
this , vector2));
117 set (Vector2Subtract(*
this , vector2));
124 set (Vector2MultiplyV(*
this , vector2));
130 set (Vector2Scale(*
this , scale));
136 set (Vector2DivideV(*
this , vector2));
142 set (Vector2Divide(*
this , div));
148 return Vector2Length(*
this );
152 return Vector2Normalize(*
this );
156 return Vector2DotProduct(*
this , vector2);
160 return Vector2Angle(*
this , vector2);
164 return Vector2Distance(*
this , vector2);
168 return Vector2Lerp(*
this , vector2, amount);
172 return Vector2Rotate(*
this , degrees);
176 return Vector2Zero();
185 ::DrawPixelV(*
this , color);
190 ::DrawLineV(*
this , endPos, color);
195 ::DrawLineEx(*
this , endPos, thick, color);
205 ::DrawCircleV(*
this , radius, color);
210 ::DrawRectangleV(*
this , size, color);
215 ::DrawPoly (*
this , sides, radius, rotation, color);
Vector2 Divide(const Vector2 &vector2)
-
Vector2 operator-(const Vector2 &vector2)
-
Vector2 & DrawLine(::Vector2 endPos, ::Color color)
-
Vector2 Multiply(const Vector2 &vector2)
-
-
Vector2 operator/(const Vector2 &vector2)
-
Vector2 & operator/=(const Vector2 &vector2)
-
-
-
Vector2 operator/(const float div)
-
Vector2 & operator+=(const Vector2 &vector2)
-
Vector2 & operator*=(const Vector2 &vector2)
-
Vector2 & DrawLineBezier(::Vector2 endPos, float thick, ::Color color)
-
bool operator==(const Vector2 &other)
-
-
Vector2 & DrawPixel(::Color color)
-
Vector2 & DrawLine(::Vector2 endPos, float thick, ::Color color)
-
Vector2 Rotate(float degrees)
-
float DotProduct(const Vector2 &vector2)
-
-
Vector2 & DrawCircle(float radius, ::Color color)
-
Vector2 Lerp(const Vector2 &vector2, const float amount)
-
Vector2 & operator=(const Vector2 &vector2)
-
Vector2 operator*(const float scale)
-
Vector2 & DrawPoly(int sides, float radius, float rotation, ::Color color)
-
Vector2 & DrawRectangle(::Vector2 size, ::Color color)
-
Vector2 & operator*=(const float scale)
-
Vector2 Subtract(const Vector2 &vector2)
-
Vector2 Scale(const float scale)
-
-
-
Vector2 operator+(const Vector2 &vector2)
-
Vector2 & operator-=(const Vector2 &vector2)
-
Vector2 & operator/=(const float div)
-
Provides all the classes associated with raylib-cpp.
-
-
-
float Distance(const Vector2 &vector2)
-
Vector2 Add(const Vector2 &vector2)
-
float Angle(const Vector2 &vector2)
-
Vector2 operator*(const Vector2 &vector2)
-
Vector2 Divide(const float div)
-
Vector2(float X=0, float Y=0)
+
1 #ifndef RAYLIB_CPP_VECTOR2_HPP_
+
2 #define RAYLIB_CPP_VECTOR2_HPP_
+
+
+
+
+
+
8 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
15 #include "./raylib-cpp-utils.hpp"
+
+
17 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
36 GETTERSETTER(
float ,X,x)
+
37 GETTERSETTER(
float ,Y,y)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
54 #ifndef RAYLIB_CPP_NO_MATH
+
+
56 return Vector2Add(*
this , vector2);
+
+
+
+
60 return Vector2Add(*
this , vector2);
+
+
+
+
64 return Vector2Subtract(*
this , vector2);
+
+
+
+
68 return Vector2Subtract(*
this , vector2);
+
+
+
+
72 return Vector2Negate(*
this );
+
+
+
+
76 return Vector2Negate(*
this );
+
+
+
+
80 return Vector2Multiply(*
this , vector2);
+
+
+
+
84 return Vector2Multiply(*
this , vector2);
+
+
+
+
88 return Vector2Scale(*
this , scale);
+
+
+
+
92 return Vector2Scale(*
this , scale);
+
+
+
+
96 return Vector2Divide(*
this , vector2);
+
+
+
+
100 return Vector2Divide(*
this , vector2);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
118 set (Vector2Add(*
this , vector2));
+
+
+
+
+
+
124 set (Vector2Subtract(*
this , vector2));
+
+
+
+
+
+
+
131 set (Vector2Multiply(*
this , vector2));
+
+
+
+
+
+
137 set (Vector2Scale(*
this , scale));
+
+
+
+
+
+
143 set (Vector2Divide(*
this , vector2));
+
+
+
+
+
+
+
+
+
+
+
+
+
156 return Vector2Length(*
this );
+
+
+
+
160 return Vector2Normalize(*
this );
+
+
+
+
164 return Vector2DotProduct(*
this , vector2);
+
+
+
+
168 return Vector2Angle(*
this , vector2);
+
+
+
+
172 return Vector2Distance(*
this , vector2);
+
+
+
+
176 return Vector2Lerp(*
this , vector2, amount);
+
+
+
+
180 return Vector2Rotate(*
this , degrees);
+
+
+
+
184 return Vector2Zero();
+
+
+
+
+
+
+
+
+
193 ::DrawPixelV(*
this , color);
+
+
+
+
+
198 ::DrawLineV(*
this , endPos, color);
+
+
+
+
+
203 ::DrawLineEx(*
this , endPos, thick, color);
+
+
+
+
+
+
+
+
+
+
213 ::DrawCircleV(*
this , radius, color);
+
+
+
+
+
218 ::DrawRectangleV(*
this , size, color);
+
+
+
+
+
223 ::DrawPoly (*
this , sides, radius, rotation, color);
+
+
+
+
+
+
+
+
Vector2 operator-(const Vector2 &vector2)
+
Vector2 & operator*=(const Vector2 &vector2)
+
Provides all the classes associated with raylib-cpp.
+
float Angle(const Vector2 &vector2)
+
Vector2 Subtract(const Vector2 &vector2)
+
Vector2 & operator+=(const Vector2 &vector2)
+
Vector2 Scale(const float scale)
+
Vector2 Rotate(float degrees)
+
Vector2 operator+(const Vector2 &vector2)
+
Vector2 & DrawPixel(::Color color)
+
Vector2 & operator=(const Vector2 &vector2)
+
Vector2 & operator/=(const float div)
+
Vector2 & DrawLine(::Vector2 endPos, ::Color color)
+
Vector2 operator/(const Vector2 &vector2)
+
+
float Distance(const Vector2 &vector2)
+
float DotProduct(const Vector2 &vector2)
+
Vector2 & Divide(const float div)
+
Vector2 operator*(const float scale)
+
Vector2 & DrawPoly(int sides, float radius, float rotation, ::Color color)
+
+
Vector2 & operator-=(const Vector2 &vector2)
+
+
+
+
+
+
Vector2 operator*(const Vector2 &vector2)
+
Vector2(float X=0, float Y=0)
+
+
+
Vector2 Add(const Vector2 &vector2)
+
Vector2 & DrawRectangle(::Vector2 size, ::Color color)
+
Vector2 & operator/=(const Vector2 &vector2)
+
Vector2 & DrawLineBezier(::Vector2 endPos, float thick, ::Color color)
+
Vector2 & operator*=(const float scale)
+
Vector2 & operator/(const float div)
+
Vector2 & DrawLine(::Vector2 endPos, float thick, ::Color color)
+
bool operator==(const Vector2 &other)
+
Vector2 & DrawCircle(float radius, ::Color color)
+
Vector2 Lerp(const Vector2 &vector2, const float amount)
+
Vector2 Divide(const Vector2 &vector2)
+
Vector2 Multiply(const Vector2 &vector2)
diff --git a/docs/_vector3_8hpp_source.html b/docs/_vector3_8hpp_source.html
index d2c06aa..fbf355e 100644
--- a/docs/_vector3_8hpp_source.html
+++ b/docs/_vector3_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Vector3.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_VECTOR3_HPP_ 2 #define RAYLIB_CPP_VECTOR3_HPP_ 8 #ifndef RAYLIB_CPP_NO_MATH 16 #ifndef RAYLIB_CPP_NO_MATH 26 Vector3 (
float X = 0,
float Y = 0,
float Z = 0) {
33 set (ColorToHSV(color));
41 GETTERSETTER(
float ,X,x)
42 GETTERSETTER(
float ,Y,y)
43 GETTERSETTER(
float ,Z,z)
61 #ifndef RAYLIB_CPP_NO_MATH 63 return Vector3Add(*
this , vector3);
67 return Vector3Add(*
this , vector3);
71 return Vector3Subtract(*
this , vector3);
75 return Vector3Subtract(*
this , vector3);
79 return Vector3Negate(*
this );
83 return Vector3Negate(*
this );
87 return Vector3Multiply(*
this , vector3);
91 return Vector3Multiply(*
this , vector3);
95 return Vector3Scale(*
this , scale);
99 return Vector3Scale(*
this , scale);
103 return Vector3DivideV(*
this , vector3);
107 return Vector3DivideV(*
this , vector3);
111 return Vector3Divide(*
this , div);
115 return Vector3Divide(*
this , div);
119 set (Vector3Add(*
this , vector3));
125 set (Vector3Subtract(*
this , vector3));
132 set (Vector3Multiply(*
this , vector3));
138 set (Vector3Scale(*
this , scale));
144 set (Vector3DivideV(*
this , vector3));
150 set (Vector3Divide(*
this , div));
156 return Vector3Length(*
this );
160 return Vector3Normalize(*
this );
164 return Vector3DotProduct(*
this , vector3);
168 return Vector3Distance(*
this , vector3);
172 return Vector3Lerp(*
this , vector3, amount);
176 return Vector3CrossProduct(*
this , vector3);
180 return Vector3Perpendicular(*
this );
184 return Vector3OrthoNormalize(
this , vector3);
188 return Vector3Transform(*
this , matrix);
192 return Vector3RotateByQuaternion(*
this , quaternion);
196 return Vector3Reflect(*
this , normal);
200 return Vector3Min(*
this , vector3);
204 return Vector3Max(*
this , vector3);
208 return Vector3Barycenter(*
this , a, b, c);
212 return Vector3Zero();
229 ::DrawCircle3D (*
this , radius, rotationAxis, rotationAngle, color);
234 ::DrawCube (*
this , width, height, length, color);
238 ::DrawCubeV(*
this , size, color);
247 ::DrawCubeWiresV(*
this , size, color);
262 ::DrawSphereEx(*
this , radius, rings, slices, color);
272 ::DrawCylinder (*
this , radiusTop, radiusBottom, height, slices, color);
292 return CheckCollisionSpheres(*
this , radiusA, centerB, radiusB);
-
Vector3 Subtract(const Vector3 &vector3)
-
Vector3 & DrawPlane(::Vector2 size, ::Color color)
-
Vector3 Multiply(const Vector3 &vector3)
-
Vector3 Divide(const Vector3 &vector3)
-
Vector3 Reflect(const Vector3 &normal)
-
Vector3 & DrawSphere(float radius, Color color)
-
void OrthoNormalize(Vector3 *vector3)
-
-
-
Vector3 & DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)
-
-
Vector3 Max(const Vector3 &vector3)
-
-
Vector3 Barycenter(const Vector3 &a, const Vector3 &b, const Vector3 &c)
-
Vector3 & DrawCircle3D(float radius, Vector3 rotationAxis, float rotationAngle, Color color)
-
Vector3 CrossProduct(const Vector3 &vector3)
-
Vector3 & operator-=(const Vector3 &vector3)
-
Vector3 Divide(const float div)
-
Vector3 operator+(const Vector3 &vector3)
-
Vector3 operator*(const float scale)
-
Vector3 & DrawSphereWires(float radius, int rings, int slices, Color color)
-
Vector3 operator/(const Vector3 &vector3)
-
Vector3 & DrawCubeWires(::Vector3 size, ::Color color)
-
-
-
Vector3 Add(const Vector3 &vector3)
-
-
Vector3 & operator=(const Vector3 &vector3)
-
Vector3 & DrawSphere(float radius, int rings, int slices, Color color)
-
Vector3 & DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)
-
Vector3(float X=0, float Y=0, float Z=0)
-
-
Vector3 Min(const Vector3 &vector3)
-
Vector3 operator/(const float div)
-
Vector3 Transform(const ::Matrix &matrix)
-
bool operator==(const Vector3 &other)
-
Vector3 & operator*=(const Vector3 &vector3)
-
-
Vector3 & DrawCubeTexture(::Texture2D texture, float width, float height, float length, ::Color color)
-
Vector3 & operator/=(const float div)
-
Vector3 Scale(const float scale)
-
float DotProduct(const Vector3 &vector3)
-
-
Vector3 & DrawCube(::Vector3 size, ::Color color)
-
Vector3 RotateByQuaternion(Quaternion quaternion)
-
Vector3 & DrawCube(float width, float height, float length, ::Color color)
-
Provides all the classes associated with raylib-cpp.
-
-
-
Vector3 & DrawPoint3D(::Color color)
-
Vector3 & operator*=(const float scale)
-
Vector3 & DrawLine3D(::Vector3 endPos, ::Color color)
-
Vector3 & operator/=(const Vector3 &vector3)
-
Vector3 & DrawCubeWires(float width, float height, float length, ::Color color)
-
Vector3 & operator+=(const Vector3 &vector3)
-
Vector3 Lerp(const Vector3 &vector3, const float amount)
-
-
float Distance(const Vector3 &vector3)
-
-
bool CheckCollision(float radiusA, Vector3 centerB, float radiusB)
-
Vector3 operator*(const Vector3 &vector3)
-
Vector3 operator-(const Vector3 &vector3)
+
1 #ifndef RAYLIB_CPP_VECTOR3_HPP_
+
2 #define RAYLIB_CPP_VECTOR3_HPP_
+
+
+
+
+
+
8 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
15 #include "./raylib-cpp-utils.hpp"
+
16 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
+
+
+
26 Vector3 (
float X = 0,
float Y = 0,
float Z = 0) {
+
+
+
+
+
+
+
33 set (ColorToHSV(color));
+
+
+
+
+
+
+
+
41 GETTERSETTER(
float ,X,x)
+
42 GETTERSETTER(
float ,Y,y)
+
43 GETTERSETTER(
float ,Z,z)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
61 #ifndef RAYLIB_CPP_NO_MATH
+
+
63 return Vector3Add(*
this , vector3);
+
+
+
+
67 return Vector3Add(*
this , vector3);
+
+
+
+
71 return Vector3Subtract(*
this , vector3);
+
+
+
+
75 return Vector3Subtract(*
this , vector3);
+
+
+
+
79 return Vector3Negate(*
this );
+
+
+
+
83 return Vector3Negate(*
this );
+
+
+
+
87 return Vector3Multiply(*
this , vector3);
+
+
+
+
91 return Vector3Multiply(*
this , vector3);
+
+
+
+
95 return Vector3Scale(*
this , scale);
+
+
+
+
99 return Vector3Scale(*
this , scale);
+
+
+
+
103 return Vector3Divide(*
this , vector3);
+
+
+
+
107 return Vector3Divide(*
this , vector3);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
123 set (Vector3Add(*
this , vector3));
+
+
+
+
+
+
129 set (Vector3Subtract(*
this , vector3));
+
+
+
+
+
+
+
136 set (Vector3Multiply(*
this , vector3));
+
+
+
+
+
+
142 set (Vector3Scale(*
this , scale));
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
164 return Vector3Length(*
this );
+
+
+
+
168 return Vector3Normalize(*
this );
+
+
+
+
172 return Vector3DotProduct(*
this , vector3);
+
+
+
+
176 return Vector3Distance(*
this , vector3);
+
+
+
+
180 return Vector3Lerp(*
this , vector3, amount);
+
+
+
+
184 return Vector3CrossProduct(*
this , vector3);
+
+
+
+
188 return Vector3Perpendicular(*
this );
+
+
+
+
192 return Vector3OrthoNormalize(
this , vector3);
+
+
+
+
196 return Vector3Transform(*
this , matrix);
+
+
+
+
200 return Vector3RotateByQuaternion(*
this , quaternion);
+
+
+
+
204 return Vector3Reflect(*
this , normal);
+
+
+
+
208 return Vector3Min(*
this , vector3);
+
+
+
+
212 return Vector3Max(*
this , vector3);
+
+
+
+
216 return Vector3Barycenter(*
this , a, b, c);
+
+
+
+
220 return Vector3Zero();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
237 ::DrawCircle3D (*
this , radius, rotationAxis, rotationAngle, color);
+
+
+
+
+
242 ::DrawCube (*
this , width, height, length, color);
+
+
+
+
246 ::DrawCubeV(*
this , size, color);
+
+
+
+
+
+
+
+
+
255 ::DrawCubeWiresV(*
this , size, color);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
270 ::DrawSphereEx(*
this , radius, rings, slices, color);
+
+
+
+
+
+
+
+
+
+
280 ::DrawCylinder (*
this , radiusTop, radiusBottom, height, slices, color);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
300 return CheckCollisionSpheres(*
this , radiusA, centerB, radiusB);
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
Vector3 CrossProduct(const Vector3 &vector3)
+
+
Vector3 & operator-=(const Vector3 &vector3)
+
float Distance(const Vector3 &vector3)
+
Vector3 operator+(const Vector3 &vector3)
+
Vector3 Barycenter(const Vector3 &a, const Vector3 &b, const Vector3 &c)
+
Vector3 operator*(const float scale)
+
+
bool CheckCollision(float radiusA, Vector3 centerB, float radiusB)
+
Vector3 & DrawCubeWires(::Vector3 size, ::Color color)
+
+
Vector3 & DrawSphereWires(float radius, int rings, int slices, Color color)
+
Vector3 operator*(const Vector3 &vector3)
+
Vector3 operator-(const Vector3 &vector3)
+
Vector3 Add(const Vector3 &vector3)
+
Vector3 & operator=(const Vector3 &vector3)
+
Vector3 & DrawSphere(float radius, int rings, int slices, Color color)
+
+
+
+
+
Vector3 Max(const Vector3 &vector3)
+
Vector3 & Divide(const float div)
+
+
Vector3 Min(const Vector3 &vector3)
+
Vector3 & DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)
+
bool operator==(const Vector3 &other)
+
Vector3 & DrawCircle3D(float radius, Vector3 rotationAxis, float rotationAngle, Color color)
+
Vector3 & DrawCubeTexture(::Texture2D texture, float width, float height, float length, ::Color color)
+
Vector3 operator/(const Vector3 &vector3)
+
Vector3 Scale(const float scale)
+
Vector3 & DrawCube(::Vector3 size, ::Color color)
+
+
+
Vector3 & DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)
+
Vector3 & operator*=(const float scale)
+
Vector3(float X=0, float Y=0, float Z=0)
+
Vector3 & DrawLine3D(::Vector3 endPos, ::Color color)
+
Vector3 & operator/=(const Vector3 &vector3)
+
Vector3 & operator+=(const Vector3 &vector3)
+
+
Vector3 Lerp(const Vector3 &vector3, const float amount)
+
Vector3 & DrawCubeWires(float width, float height, float length, ::Color color)
+
Vector3 Transform(const ::Matrix &matrix)
+
+
Vector3 operator/(const float div)
+
Vector3 & operator*=(const Vector3 &vector3)
+
+
Vector3 & DrawPlane(::Vector2 size, ::Color color)
+
Vector3 Multiply(const Vector3 &vector3)
+
Vector3 Divide(const Vector3 &vector3)
+
Vector3 & operator/=(const float div)
+
Vector3 Subtract(const Vector3 &vector3)
+
Vector3 Reflect(const Vector3 &normal)
+
float DotProduct(const Vector3 &vector3)
+
Vector3 & DrawSphere(float radius, Color color)
+
void OrthoNormalize(Vector3 *vector3)
+
Vector3 RotateByQuaternion(Quaternion quaternion)
+
+
+
Vector3 & DrawPoint3D(::Color color)
+
+
Vector3 & DrawCube(float width, float height, float length, ::Color color)
diff --git a/docs/_vector4_8hpp_source.html b/docs/_vector4_8hpp_source.html
index 321c1a1..4e09de9 100644
--- a/docs/_vector4_8hpp_source.html
+++ b/docs/_vector4_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Vector4.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_VECTOR4_HPP_ 2 #define RAYLIB_CPP_VECTOR4_HPP_ 8 #ifndef RAYLIB_CPP_NO_MATH 16 #ifndef RAYLIB_CPP_NO_MATH 27 Vector4 (
float X = 0,
float Y = 0,
float Z = 0,
float W = 0) {
35 set (ColorNormalize(color));
45 GETTERSETTER(
float ,X,x)
46 GETTERSETTER(
float ,Y,y)
47 GETTERSETTER(
float ,Z,z)
48 GETTERSETTER(
float ,W,w)
67 #ifndef RAYLIB_CPP_NO_MATH 69 return QuaternionMultiply(*
this , vector4);
73 return QuaternionMultiply(*
this , vector4);
77 return QuaternionLerp(*
this , vector4, amount);
81 return QuaternionNlerp(*
this , vector4, amount);
85 return QuaternionSlerp(*
this , vector4, amount);
89 return QuaternionToMatrix(*
this );
93 return QuaternionLength(*
this );
97 return QuaternionNormalize(*
this );
101 return QuaternionInvert(*
this );
105 return QuaternionToAxisAngle(*
this , outAxis, outAngle);
112 QuaternionToAxisAngle(*
this , &outAxis, &outAngle);
114 std::pair<Vector3, float> out(outAxis, outAngle);
120 return ::QuaternionTransform(*
this , matrix);
124 return ::QuaternionIdentity();
128 return ::QuaternionFromVector3ToVector3(from , to);
132 return ::QuaternionFromMatrix(matrix);
136 return ::QuaternionFromAxisAngle(axis, angle);
140 return ::QuaternionFromEuler(roll, pitch, yaw);
144 return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
148 return ::QuaternionToEuler(*
this );
153 return ::ColorFromNormalized(*
this );
-
-
-
Vector4 operator*(const Vector4 &vector4)
-
-
Vector4(float X=0, float Y=0, float Z=0, float W=0)
-
-
bool operator==(const Vector4 &other)
-
-
static Vector4 FromEuler(const float roll, const float pitch, const float yaw)
-
static Vector4 FromEuler(const Vector3 &vector3)
-
-
-
-
Vector4 Multiply(const Vector4 &vector4)
-
-
Vector4 Nlerp(const Vector4 &vector4, float amount)
-
Vector4 Slerp(const Vector4 &vector4, float amount)
-
std::pair< Vector3, float > ToAxisAngle()
-
void ToAxisAngle(Vector3 *outAxis, float *outAngle)
-
Vector4 & operator=(const Vector4 &vector4)
-
static Vector4 FromVector3ToVector3(const Vector3 &from, const Vector3 &to)
-
Provides all the classes associated with raylib-cpp.
-
-
static Vector4 FromAxisAngle(const Vector3 &axis, const float angle)
-
-
Color ColorFromNormalized()
-
Vector4 Lerp(const Vector4 &vector4, float amount)
-
Vector4 Transform(const ::Matrix &matrix)
-
static Vector4 Identity()
-
static Vector4 FromMatrix(const ::Matrix &matrix)
+
1 #ifndef RAYLIB_CPP_VECTOR4_HPP_
+
2 #define RAYLIB_CPP_VECTOR4_HPP_
+
+
+
+
+
+
8 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
15 #include "./raylib-cpp-utils.hpp"
+
16 #ifndef RAYLIB_CPP_NO_MATH
+
+
+
+
+
+
+
+
+
+
+
27 Vector4 (
float X = 0,
float Y = 0,
float Z = 0,
float W = 0) {
+
+
+
+
+
+
+
+
35 set (ColorNormalize(color));
+
+
+
+
+
+
+
+
+
+
45 GETTERSETTER(
float ,X,x)
+
46 GETTERSETTER(
float ,Y,y)
+
47 GETTERSETTER(
float ,Z,z)
+
48 GETTERSETTER(
float ,W,w)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
67 #ifndef RAYLIB_CPP_NO_MATH
+
+
69 return QuaternionMultiply(*
this , vector4);
+
+
+
+
73 return QuaternionMultiply(*
this , vector4);
+
+
+
+
77 return QuaternionLerp(*
this , vector4, amount);
+
+
+
+
81 return QuaternionNlerp(*
this , vector4, amount);
+
+
+
+
85 return QuaternionSlerp(*
this , vector4, amount);
+
+
+
+
89 return QuaternionToMatrix(*
this );
+
+
+
+
93 return QuaternionLength(*
this );
+
+
+
+
97 return QuaternionNormalize(*
this );
+
+
+
+
101 return QuaternionInvert(*
this );
+
+
+
+
105 return QuaternionToAxisAngle(*
this , outAxis, outAngle);
+
+
+
+
+
+
+
112 QuaternionToAxisAngle(*
this , &outAxis, &outAngle);
+
+
114 std::pair<Vector3, float> out(outAxis, outAngle);
+
+
+
+
+
+
120 return ::QuaternionTransform(*
this , matrix);
+
+
+
+
124 return ::QuaternionIdentity();
+
+
+
+
128 return ::QuaternionFromVector3ToVector3(from , to);
+
+
+
+
132 return ::QuaternionFromMatrix(matrix);
+
+
+
+
136 return ::QuaternionFromAxisAngle(axis, angle);
+
+
+
+
140 return ::QuaternionFromEuler(roll, pitch, yaw);
+
+
+
+
144 return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
+
+
+
+
148 return ::QuaternionToEuler(*
this );
+
+
+
+
+
153 return ::ColorFromNormalized(*
this );
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
void ToAxisAngle(Vector3 *outAxis, float *outAngle)
+
Vector4 Slerp(const Vector4 &vector4, float amount)
+
+
Color ColorFromNormalized()
+
Vector4 & operator=(const Vector4 &vector4)
+
std::pair< Vector3, float > ToAxisAngle()
+
static Vector4 FromMatrix(const ::Matrix &matrix)
+
+
static Vector4 Identity()
+
static Vector4 FromEuler(const Vector3 &vector3)
+
+
+
Vector4 Nlerp(const Vector4 &vector4, float amount)
+
static Vector4 FromVector3ToVector3(const Vector3 &from, const Vector3 &to)
+
bool operator==(const Vector4 &other)
+
static Vector4 FromAxisAngle(const Vector3 &axis, const float angle)
+
+
Vector4 Lerp(const Vector4 &vector4, float amount)
+
+
Vector4 Multiply(const Vector4 &vector4)
+
+
Vector4 operator*(const Vector4 &vector4)
+
+
+
+
+
Vector4 Transform(const ::Matrix &matrix)
+
+
static Vector4 FromEuler(const float roll, const float pitch, const float yaw)
+
Vector4(float X=0, float Y=0, float Z=0, float W=0)
diff --git a/docs/_vr_simulator_8hpp_source.html b/docs/_vr_simulator_8hpp_source.html
index 8b6554b..105d028 100644
--- a/docs/_vr_simulator_8hpp_source.html
+++ b/docs/_vr_simulator_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: VrSimulator.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_VRSIMULATOR_HPP_ 2 #define RAYLIB_CPP_VRSIMULATOR_HPP_ 22 Set (info, distortion);
34 return ::IsVrSimulatorReady();
38 ::UpdateVrTracking(camera);
42 ::SetVrConfiguration(info, distortion);
-
-
VrSimulator & Set(VrDeviceInfo info, Shader distortion)
-
-
VrSimulator & Update(Camera *camera)
-
-
-
-
Provides all the classes associated with raylib-cpp.
-
-
-
VrSimulator(VrDeviceInfo info, Shader distortion)
-
-
-
+
1 #ifndef RAYLIB_CPP_VRSIMULATOR_HPP_
+
2 #define RAYLIB_CPP_VRSIMULATOR_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
+
22 Set (info, distortion);
+
+
+
+
+
+
+
+
+
+
+
+
34 return ::IsVrSimulatorReady();
+
+
+
+
38 ::UpdateVrTracking(camera);
+
+
+
+
42 ::SetVrConfiguration(info, distortion);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
+
VrSimulator & Set(VrDeviceInfo info, Shader distortion)
+
+
VrSimulator & Update(Camera *camera)
+
+
+
+
+
+
+
+
+
VrSimulator(VrDeviceInfo info, Shader distortion)
diff --git a/docs/_wave_8hpp_source.html b/docs/_wave_8hpp_source.html
index 6f38baf..839acd7 100644
--- a/docs/_wave_8hpp_source.html
+++ b/docs/_wave_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Wave.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_WAVE_HPP_ 2 #define RAYLIB_CPP_WAVE_HPP_ 21 Wave (
unsigned int SampleCount = 0,
unsigned int SampleRate = 0,
unsigned int SampleSize = 0,
unsigned int Channels = 0) {
22 sampleCount = SampleCount;
23 sampleRate = SampleRate;
24 sampleSize = SampleSize;
28 Wave (
const std::string& fileName) {
29 set (LoadWave(fileName.c_str()));
37 sampleCount = wave.sampleCount;
38 sampleRate = wave.sampleRate;
39 sampleSize = wave.sampleSize;
40 channels = wave.channels;
44 GETTERSETTER(
unsigned int ,X,sampleCount)
45 GETTERSETTER(
unsigned int ,Y,sampleRate)
46 GETTERSETTER(
unsigned int ,Z,sampleSize)
47 GETTERSETTER(
unsigned int ,W,channels)
48 GETTERSETTER(
void *,Data,data)
60 inline Wave &
Format (
int SampleRate = 0,
int SampleSize = 0,
int Channels = 2) {
61 ::WaveFormat(
this , SampleRate, SampleSize, Channels);
66 return ::WaveCopy(*
this );
69 inline Wave &
Crop (
int initSample,
int finalSample) {
70 ::WaveCrop(
this , initSample, finalSample);
75 ::ExportWave(*
this , fileName.c_str());
79 ::ExportWaveAsCode(*
this , fileName.c_str());
91 return ::LoadSoundFromWave(*
this );
95 return ::GetWaveData(*
this );
Wave & Crop(int initSample, int finalSample)
-
Wave & operator=(const Wave &wave)
-
-
Wave(const std::string &fileName)
-
Wave & Export(const std::string &fileName)
-
-
Wave(unsigned int SampleCount=0, unsigned int SampleRate=0, unsigned int SampleSize=0, unsigned int Channels=0)
-
-
Wave & ExportAsCode(const std::string &fileName)
-
-
Provides all the classes associated with raylib-cpp.
-
Wave & Format(int SampleRate=0, int SampleSize=0, int Channels=2)
-
-
-
-
+
1 #ifndef RAYLIB_CPP_WAVE_HPP_
+
2 #define RAYLIB_CPP_WAVE_HPP_
+
+
+
+
+
+
+
+
+
+
12 #include "./raylib-cpp-utils.hpp"
+
+
+
+
+
+
+
+
+
21 Wave (
unsigned int SampleCount = 0,
unsigned int SampleRate = 0,
unsigned int SampleSize = 0,
unsigned int Channels = 0) {
+
22 sampleCount = SampleCount;
+
23 sampleRate = SampleRate;
+
24 sampleSize = SampleSize;
+
+
+
+
28 Wave (
const std::string& fileName) {
+
29 set (LoadWave(fileName.c_str()));
+
+
+
+
+
+
+
+
37 sampleCount = wave.sampleCount;
+
38 sampleRate = wave.sampleRate;
+
39 sampleSize = wave.sampleSize;
+
40 channels = wave.channels;
+
+
+
+
44 GETTERSETTER(
unsigned int ,X,sampleCount)
+
45 GETTERSETTER(
unsigned int ,Y,sampleRate)
+
46 GETTERSETTER(
unsigned int ,Z,sampleSize)
+
47 GETTERSETTER(
unsigned int ,W,channels)
+
48 GETTERSETTER(
void *,Data,data)
+
+
+
+
+
+
+
+
+
+
+
+
60 inline Wave &
Format (
int SampleRate = 0,
int SampleSize = 0,
int Channels = 2) {
+
61 ::WaveFormat(
this , SampleRate, SampleSize, Channels);
+
+
+
+
+
66 return ::WaveCopy(*
this );
+
+
+
69 inline Wave &
Crop (
int initSample,
int finalSample) {
+
70 ::WaveCrop(
this , initSample, finalSample);
+
+
+
+
+
75 ::ExportWave(*
this , fileName.c_str());
+
+
+
+
79 ::ExportWaveAsCode(*
this , fileName.c_str());
+
+
+
+
+
+
+
+
+
+
+
+
91 return ::LoadSoundFromWave(*
this );
+
+
+
+
95 return ::GetWaveData(*
this );
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
Wave & Crop(int initSample, int finalSample)
+
Wave & operator=(const Wave &wave)
+
+
+
+
Wave & Export(const std::string &fileName)
+
Wave(unsigned int SampleCount=0, unsigned int SampleRate=0, unsigned int SampleSize=0, unsigned int Channels=0)
+
+
+
+
+
Wave(const std::string &fileName)
+
+
Wave & ExportAsCode(const std::string &fileName)
+
Wave & Format(int SampleRate=0, int SampleSize=0, int Channels=2)
diff --git a/docs/_window_8hpp_source.html b/docs/_window_8hpp_source.html
index 02558aa..d215f82 100644
--- a/docs/_window_8hpp_source.html
+++ b/docs/_window_8hpp_source.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Window.hpp Source File
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
1 #ifndef RAYLIB_CPP_WINDOW_HPP_ 2 #define RAYLIB_CPP_WINDOW_HPP_ 23 Window (
int width = 800,
int height = 450,
const std::string& title =
"raylib" ,
bool lateInit =
false ) {
25 Init (width, height, title);
33 void Init (
int width,
int height,
const std::string& title) {
34 ::InitWindow(width, height, title.c_str());
41 return ::WindowShouldClose();
55 return ::IsWindowReady();
58 return ::IsWindowMinimized();
61 return ::IsWindowResized();
64 return ::IsWindowHidden();
68 return ::IsWindowFullscreen();
83 ::SetWindowIcon(image);
87 ::SetWindowTitle(title.c_str());
91 ::SetWindowPosition(x, y);
95 ::SetWindowMonitor(monitor);
99 ::SetWindowMinSize(width, height);
103 ::SetWindowSize(width, height);
107 return ::GetWindowHandle();
120 return ::GetScreenWidth();
124 return ::GetScreenHeight();
128 return ::GetWindowPosition();
152 return ::GetFrameTime();
-
-
Vector2 GetWindowPosition()
-
void Close()
Close window and unload OpenGL context.
-
Window & SetMonitor(int monitor)
-
-
-
Window & SetMinSize(int width, int height)
-
-
-
-
-
Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
Initialize window and OpenGL context.
-
-
-
void Init(int width, int height, const std::string &title)
-
Window & SetPosition(int x, int y)
-
Window & ToggleFullscreen()
-
Window & SetTitle(const std::string &title)
-
std::string GetClipboardText()
-
Window & SetSize(int width, int height)
-
static bool IsReady()
Check if window has been initialized successfully.
-
-
Window and Graphics Device Functions.
-
-
Provides all the classes associated with raylib-cpp.
-
-
Window & SetClipboardText(const std::string &text)
-
-
std::string GetMonitorName(int monitor)
-
-
Window & SetTargetFPS(int fps)
-
Window & SetIcon(Image image)
-
-
bool ShouldClose()
Check if KEY_ESCAPE pressed or Close icon pressed.
-
+
1 #ifndef RAYLIB_CPP_WINDOW_HPP_
+
2 #define RAYLIB_CPP_WINDOW_HPP_
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
31 Window (
int width = 800,
int height = 450,
const std::string& title =
"raylib" ,
bool lateInit =
false ) {
+
+
33 Init (width, height, title);
+
+
+
+
+
+
+
+
41 void Init (
int width,
int height,
const std::string& title) {
+
42 ::InitWindow(width, height, title.c_str());
+
+
+
+
49 return ::WindowShouldClose();
+
+
+
+
+
+
+
+
60 return ::IsCursorOnScreen();
+
+
+
+
67 return ::IsWindowReady();
+
+
+
70 return ::IsWindowMinimized();
+
+
+
73 return ::IsWindowFocused();
+
+
+
76 return ::IsWindowResized();
+
+
+
79 return ::IsWindowHidden();
+
+
+
+
83 return ::IsWindowFullscreen();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
98 ::SetWindowIcon(image);
+
+
+
+
102 ::SetWindowTitle(title.c_str());
+
+
+
+
106 ::SetWindowPosition(x, y);
+
+
+
+
110 ::SetWindowMonitor(monitor);
+
+
+
+
114 ::SetWindowMinSize(width, height);
+
+
+
+
118 ::SetWindowSize(width, height);
+
+
+
+
122 return ::GetWindowHandle();
+
+
+
+
+
+
+
+
+
+
+
+
+
135 return ::GetScreenWidth();
+
+
+
+
139 return ::GetScreenHeight();
+
+
+
+
143 return ::GetWindowPosition();
+
+
+
+
147 return ::GetWindowScaleDPI();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
171 return ::GetFrameTime();
+
+
+
+
+
+
+
+
+
Provides all the classes associated with raylib-cpp.
+
+
+
Window & SetMonitor(int monitor)
+
+
+
void Close()
Close window and unload OpenGL context.
+
+
+
+
+
+
Window & SetMinSize(int width, int height)
+
+
void Init(int width, int height, const std::string &title)
+
Window & SetPosition(int x, int y)
+
Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
Initialize window and OpenGL context.
+
std::string GetClipboardText()
+
+
Window & SetSize(int width, int height)
+
+
Window & ToggleFullscreen()
+
Window & SetTitle(const std::string &title)
+
+
+
static bool IsReady()
Check if window has been initialized successfully.
+
+
Window & SetClipboardText(const std::string &text)
+
+
std::string GetMonitorName(int monitor)
+
+
Window & SetIcon(Image image)
+
bool ShouldClose()
Check if KEY_ESCAPE pressed or Close icon pressed.
+
+
+
+
Window & SetTargetFPS(int fps)
+
+
Window and Graphics Device Functions.
diff --git a/docs/annotated.html b/docs/annotated.html
index df61bee..8db7231 100644
--- a/docs/annotated.html
+++ b/docs/annotated.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -68,7 +71,7 @@ $(function() {
[detail level 1 2 ]
-
+
+/* @license-end */
diff --git a/docs/class_bounding_box.html b/docs/class_bounding_box.html
index 35c8771..73e0bef 100644
--- a/docs/class_bounding_box.html
+++ b/docs/class_bounding_box.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: BoundingBox Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_camera2_d.html b/docs/class_camera2_d.html
index ea81dd2..7ed146a 100644
--- a/docs/class_camera2_d.html
+++ b/docs/class_camera2_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Camera2D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_camera3_d.html b/docs/class_camera3_d.html
index 67d79f5..f10014a 100644
--- a/docs/class_camera3_d.html
+++ b/docs/class_camera3_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Camera3D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_color.html b/docs/class_color.html
index 673401f..0e76d96 100644
--- a/docs/class_color.html
+++ b/docs/class_color.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Color Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_font.html b/docs/class_font.html
index befc291..6b98dd3 100644
--- a/docs/class_font.html
+++ b/docs/class_font.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Font Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_image.html b/docs/class_image.html
index 62107ab..ecfcc52 100644
--- a/docs/class_image.html
+++ b/docs/class_image.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Image Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_material.html b/docs/class_material.html
index 160837f..16fd412 100644
--- a/docs/class_material.html
+++ b/docs/class_material.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Material Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_matrix.html b/docs/class_matrix.html
index ccb22ec..e2da4f0 100644
--- a/docs/class_matrix.html
+++ b/docs/class_matrix.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Matrix Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_mesh.html b/docs/class_mesh.html
index 2c4d3d0..091b6f0 100644
--- a/docs/class_mesh.html
+++ b/docs/class_mesh.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Mesh Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_model.html b/docs/class_model.html
index aa00659..d08e6ad 100644
--- a/docs/class_model.html
+++ b/docs/class_model.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Model Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_model_animation.html b/docs/class_model_animation.html
index 5156e3d..3a70193 100644
--- a/docs/class_model_animation.html
+++ b/docs/class_model_animation.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: ModelAnimation Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_music.html b/docs/class_music.html
index 9e4a073..fad147f 100644
--- a/docs/class_music.html
+++ b/docs/class_music.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Music Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_ray.html b/docs/class_ray.html
index 99ff81a..d362cb7 100644
--- a/docs/class_ray.html
+++ b/docs/class_ray.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Ray Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_ray_hit_info.html b/docs/class_ray_hit_info.html
index 967a7dd..986ca19 100644
--- a/docs/class_ray_hit_info.html
+++ b/docs/class_ray_hit_info.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: RayHitInfo Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_rectangle.html b/docs/class_rectangle.html
index 0e88c0f..e006464 100644
--- a/docs/class_rectangle.html
+++ b/docs/class_rectangle.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Rectangle Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_render_texture2_d.html b/docs/class_render_texture2_d.html
index cb76e58..e7388a4 100644
--- a/docs/class_render_texture2_d.html
+++ b/docs/class_render_texture2_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: RenderTexture2D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_shader.html b/docs/class_shader.html
index 6bcebcc..95c5d93 100644
--- a/docs/class_shader.html
+++ b/docs/class_shader.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Shader Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_sound.html b/docs/class_sound.html
index f945f0d..85a383a 100644
--- a/docs/class_sound.html
+++ b/docs/class_sound.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Sound Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_texture2_d.html b/docs/class_texture2_d.html
index 1265bfd..a8639a0 100644
--- a/docs/class_texture2_d.html
+++ b/docs/class_texture2_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Texture2D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_vector2.html b/docs/class_vector2.html
index cf5a173..0578635 100644
--- a/docs/class_vector2.html
+++ b/docs/class_vector2.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Vector2 Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_vector3.html b/docs/class_vector3.html
index 78ac147..5bbc0e8 100644
--- a/docs/class_vector3.html
+++ b/docs/class_vector3.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Vector3 Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_vector4.html b/docs/class_vector4.html
index 7b67d2c..9b242ac 100644
--- a/docs/class_vector4.html
+++ b/docs/class_vector4.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Vector4 Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/class_wave.html b/docs/class_wave.html
index 2a26679..0f434a6 100644
--- a/docs/class_wave.html
+++ b/docs/class_wave.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Wave Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classes.html b/docs/classes.html
index 12268a7..da96cbb 100644
--- a/docs/classes.html
+++ b/docs/classes.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Index
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -67,46 +70,115 @@ $(function() {
diff --git a/docs/classraylib_1_1_audio_device-members.html b/docs/classraylib_1_1_audio_device-members.html
index b014e75..5f718c9 100644
--- a/docs/classraylib_1_1_audio_device-members.html
+++ b/docs/classraylib_1_1_audio_device-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_audio_device.html b/docs/classraylib_1_1_audio_device.html
index 4a426e2..653fb84 100644
--- a/docs/classraylib_1_1_audio_device.html
+++ b/docs/classraylib_1_1_audio_device.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::AudioDevice Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -165,8 +167,7 @@ Public Member Functions
Definition at line 31 of file AudioDevice.hpp .
References Close() .
-AudioDevice & Close()
Close the audio device and context.
-
+
@@ -198,7 +199,7 @@ Public Member Functions
Definition at line 46 of file AudioDevice.hpp .
Referenced by ~AudioDevice() .
-
+
@@ -229,7 +230,7 @@ Public Member Functions
Definition at line 38 of file AudioDevice.hpp .
Referenced by AudioDevice() .
-
+
@@ -258,7 +259,7 @@ Public Member Functions
Check if audio device has been initialized successfully.
Definition at line 54 of file AudioDevice.hpp .
- 55 return ::IsAudioDeviceReady();
+
@@ -288,15 +289,15 @@ Public Member Functions
Set master volume (listener).
Definition at line 61 of file AudioDevice.hpp .
- 62 ::SetMasterVolume(volume);
+
diff --git a/docs/classraylib_1_1_audio_stream-members.html b/docs/classraylib_1_1_audio_stream-members.html
index b7a17f3..c1d7d21 100644
--- a/docs/classraylib_1_1_audio_stream-members.html
+++ b/docs/classraylib_1_1_audio_stream-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_audio_stream.html b/docs/classraylib_1_1_audio_stream.html
index 5801568..22885c2 100644
--- a/docs/classraylib_1_1_audio_stream.html
+++ b/docs/classraylib_1_1_audio_stream.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::AudioStream Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
AudioStream management functions.
+
AudioStream management functions.
More...
-
AudioStream management functions.
+
AudioStream management functions.
Definition at line 18 of file AudioStream.hpp .
@@ -166,7 +169,9 @@ Public Member Functions
@@ -212,7 +217,9 @@ Public Member Functions
Init audio stream (to stream raw audio pcm data)
Definition at line 27 of file AudioStream.hpp .
-
28 set (InitAudioStream(SampleRate, SampleSize, Channels));
+
+
References set() .
+
@@ -241,8 +248,7 @@ Public Member Functions
Definition at line 31 of file AudioStream.hpp .
References Close() .
-AudioStream & Close()
Close audio stream and free memory.
-
+
@@ -274,7 +280,7 @@ Public Member Functions
Definition at line 67 of file AudioStream.hpp .
Referenced by ~AudioStream() .
- 68 ::CloseAudioStream(*
this );
+
@@ -384,7 +390,7 @@ Public Member Functions
Check if audio stream is playing.
Definition at line 106 of file AudioStream.hpp .
- 107 return ::IsAudioStreamPlaying(*
this );
+
@@ -413,7 +419,7 @@ Public Member Functions
Check if any audio stream buffers requires refill.
Definition at line 75 of file AudioStream.hpp .
- 76 return ::IsAudioStreamProcessed(*
this );
+
@@ -441,7 +447,9 @@ Public Member Functions
@@ -469,7 +477,9 @@ Public Member Functions
@@ -498,7 +508,7 @@ Public Member Functions
Pause audio stream.
Definition at line 90 of file AudioStream.hpp .
- 91 ::PauseAudioStream(*
this );
+
@@ -527,7 +537,7 @@ Public Member Functions
Play audio stream.
Definition at line 82 of file AudioStream.hpp .
- 83 ::PlayAudioStream(*
this );
+
@@ -556,7 +566,7 @@ Public Member Functions
Resume audio stream.
Definition at line 98 of file AudioStream.hpp .
- 99 ::ResumeAudioStream(*
this );
+
@@ -584,7 +594,9 @@ Public Member Functions
Definition at line 35 of file AudioStream.hpp .
-
36 sampleRate = stream.sampleRate;
37 sampleSize = stream.sampleSize;
38 channels = stream.channels;
39 buffer = stream.buffer;
+
+
Referenced by AudioStream() , and operator=() .
+
@@ -614,7 +626,7 @@ Public Member Functions
Default size for new audio streams.
Definition at line 137 of file AudioStream.hpp .
- 138 ::SetAudioStreamBufferSizeDefault(size);
+
@@ -672,7 +684,7 @@ Public Member Functions
Set pitch for audio stream (1.0 is base level)
Definition at line 129 of file AudioStream.hpp .
- 130 ::SetAudioStreamPitch(*
this , pitch);
+
@@ -758,7 +770,7 @@ Public Member Functions
Set volume for audio stream (1.0 is max level)
Definition at line 121 of file AudioStream.hpp .
- 122 ::SetAudioStreamVolume(*
this , volume);
+
@@ -787,7 +799,7 @@ Public Member Functions
Stop audio stream.
Definition at line 113 of file AudioStream.hpp .
- 114 ::StopAudioStream(*
this );
+
@@ -827,15 +839,15 @@ Public Member Functions
Update audio stream buffers with data.
Definition at line 59 of file AudioStream.hpp .
- 60 ::UpdateAudioStream(*
this , data, samplesCount);
+
diff --git a/docs/classraylib_1_1_bounding_box-members.html b/docs/classraylib_1_1_bounding_box-members.html
index d6753c6..a09d79f 100644
--- a/docs/classraylib_1_1_bounding_box-members.html
+++ b/docs/classraylib_1_1_bounding_box-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_bounding_box.html b/docs/classraylib_1_1_bounding_box.html
index 45da0ab..2ea94b4 100644
--- a/docs/classraylib_1_1_bounding_box.html
+++ b/docs/classraylib_1_1_bounding_box.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::BoundingBox Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -160,7 +165,9 @@ Public Member Functions
@@ -198,7 +205,7 @@ Public Member Functions
@@ -227,11 +234,39 @@ Public Member Functions
Definition at line 50 of file BoundingBox.hpp .
-
51 return CheckCollisionBoxes(*
this , box2);
+
+
+
+
+◆ CheckCollision() [2/3]
+
+
+
+
+
+
+
+
+ bool raylib::BoundingBox::CheckCollision
+ (
+ ::Ray
+ ray )
+
+
+
+
+
+inline
+
+
+
-◆ CheckCollision() [2/3]
+◆ CheckCollision() [3/3]
@@ -265,35 +300,7 @@ Public Member Functions
Definition at line 54 of file BoundingBox.hpp .
-
55 return CheckCollisionBoxSphere(*
this , center, radius);
-
-
-
-◆ CheckCollision() [3/3]
-
-
-
-
-
-
-
- bool raylib::BoundingBox::CheckCollision
- (
- ::Ray
- ray )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 58 of file BoundingBox.hpp .
-
59 return CheckCollisionRayBox(ray, *
this );
@@ -321,7 +328,7 @@ Public Member Functions
@@ -403,7 +410,9 @@ Public Member Functions
@@ -431,7 +440,9 @@ Public Member Functions
@@ -459,7 +470,9 @@ Public Member Functions
@@ -521,9 +534,9 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_camera2_d-members.html b/docs/classraylib_1_1_camera2_d-members.html
index eb93a9e..d24d988 100644
--- a/docs/classraylib_1_1_camera2_d-members.html
+++ b/docs/classraylib_1_1_camera2_d-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_camera2_d.html b/docs/classraylib_1_1_camera2_d.html
index ae0a3c5..a2ce416 100644
--- a/docs/classraylib_1_1_camera2_d.html
+++ b/docs/classraylib_1_1_camera2_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Camera2D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
Definition at line 18 of file Camera2D.hpp .
-
21 rotation = rotationValue;
+
@@ -190,8 +193,7 @@ Public Member Functions
@@ -218,8 +220,7 @@ Public Member Functions
@@ -246,7 +247,7 @@ Public Member Functions
Definition at line 63 of file Camera2D.hpp .
-
64 return ::GetCameraMatrix2D(*
this );
+
@@ -328,7 +329,7 @@ Public Member Functions
Definition at line 69 of file Camera2D.hpp .
-
70 return ::GetScreenToWorld2D(position, *
this );
+
@@ -383,7 +384,7 @@ Public Member Functions
Definition at line 66 of file Camera2D.hpp .
-
67 return ::GetWorldToScreen2D(position, *
this );
+
@@ -438,7 +439,9 @@ Public Member Functions
@@ -466,7 +469,9 @@ Public Member Functions
@@ -494,7 +499,9 @@ Public Member Functions
Definition at line 25 of file Camera2D.hpp .
-
26 offset = camera.offset;
27 target = camera.target;
28 rotation = camera.rotation;
+
+
Referenced by operator=() .
+
@@ -522,7 +529,7 @@ Public Member Functions
Definition at line 32 of file Camera2D.hpp .
-
33 offset = camera.offset;
34 target = camera.target;
35 rotation = camera.rotation;
+
@@ -640,9 +647,9 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_camera3_d-members.html b/docs/classraylib_1_1_camera3_d-members.html
index d384b78..55b7612 100644
--- a/docs/classraylib_1_1_camera3_d-members.html
+++ b/docs/classraylib_1_1_camera3_d-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_camera3_d.html b/docs/classraylib_1_1_camera3_d.html
index e5c84c3..06f8c6b 100644
--- a/docs/classraylib_1_1_camera3_d.html
+++ b/docs/classraylib_1_1_camera3_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Camera3D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
Camera3D (::Vector3 positionValue, ::Vector3 targetValue, ::Vector3 upValue, float fovyValue=0, int typeValue=0)
-
Camera3D ()
+
Camera3D (::Vector3 positionValue, ::Vector3 targetValue, ::Vector3 upValue, float fovyValue=0, int typeValue=0)
+
Camera3D & BeginMode3D ()
Camera3D & DrawBillboard (::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)
@@ -190,7 +193,7 @@ Public Member Functions
Definition at line 18 of file Camera3D.hpp .
-
19 position = positionValue;
+
@@ -217,7 +220,7 @@ Public Member Functions
@@ -245,8 +248,7 @@ Public Member Functions
@@ -296,8 +298,7 @@ Public Member Functions
Definition at line 111 of file Camera3D.hpp .
-
Camera3D & DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)
-
+
@@ -353,7 +354,7 @@ Public Member Functions
Definition at line 116 of file Camera3D.hpp .
-
117 ::DrawBillboardRec(*
this , texture, sourceRec, center, size, tint);
+
@@ -380,8 +381,7 @@ Public Member Functions
@@ -435,7 +435,7 @@ Public Member Functions
Definition at line 69 of file Camera3D.hpp .
-
70 return ::GetCameraMatrix(*
this );
+
@@ -463,7 +463,7 @@ Public Member Functions
Definition at line 103 of file Camera3D.hpp .
-
104 return ::GetMouseRay(mousePosition, *
this );
+
@@ -599,7 +599,7 @@ Public Member Functions
Definition at line 107 of file Camera3D.hpp .
-
108 return ::GetWorldToScreen(position, *
this );
+
@@ -627,7 +627,9 @@ Public Member Functions
@@ -655,7 +657,9 @@ Public Member Functions
@@ -683,7 +687,9 @@ Public Member Functions
Definition at line 44 of file Camera3D.hpp .
-
45 position = camera.position;
46 target = camera.target;
+
+
Referenced by operator=() .
+
@@ -711,7 +717,7 @@ Public Member Functions
Definition at line 52 of file Camera3D.hpp .
-
53 position = camera.position;
54 target = camera.target;
+
@@ -739,7 +745,7 @@ Public Member Functions
Definition at line 78 of file Camera3D.hpp .
-
79 ::SetCameraAltControl(altKey);
+
@@ -795,7 +801,7 @@ Public Member Functions
Definition at line 73 of file Camera3D.hpp .
-
74 ::SetCameraMode(*
this , mode);
+
@@ -857,7 +863,7 @@ Public Member Functions
Definition at line 88 of file Camera3D.hpp .
-
89 ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
+
@@ -913,7 +919,7 @@ Public Member Functions
Definition at line 83 of file Camera3D.hpp .
-
84 ::SetCameraSmoothZoomControl(szKey);
+
@@ -1024,7 +1030,7 @@ Public Member Functions
@@ -1051,16 +1057,15 @@ Public Member Functions
Definition at line 98 of file Camera3D.hpp .
-
Camera3D & UpdateVrTracking()
-
+
diff --git a/docs/classraylib_1_1_color-members.html b/docs/classraylib_1_1_color-members.html
index 383982b..01385ff 100644
--- a/docs/classraylib_1_1_color-members.html
+++ b/docs/classraylib_1_1_color-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_color.html b/docs/classraylib_1_1_color.html
index bbac26d..c59424f 100644
--- a/docs/classraylib_1_1_color.html
+++ b/docs/classraylib_1_1_color.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Color Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
Color (::Color color)
-
Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
-
Color (::Vector3 hsv)
Color (int hexValue)
+
Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
+
Color (Vector4 normalized)
Color & ClearBackground ()
-
Color & DrawLine (int startPosX, int startPosY, int endPosX, int endPosY)
-
Color & DrawLine (::Vector2 startPos, ::Vector2 endPos)
Color & DrawLine (::Vector2 startPos, ::Vector2 endPos, float thick)
+
Color & DrawLine (int startPosX, int startPosY, int endPosX, int endPosY)
+
Color & DrawLineBezier (::Vector2 startPos, Vector2 endPos, float thick)
Color & DrawLineStrip (::Vector2 *points, int numPoints)
-
Color & DrawPixel (int x, int y)
-
Color & DrawPixel (::Vector2 pos)
+
Color & DrawPixel (int x, int y)
+
Color & DrawRectangle (int posX, int posY, int width, int height)
-
Color & DrawRectangle (Vector2 position, Vector2 size)
-
Color & DrawRectangle (Rectangle rec)
Color & DrawRectangle (Rectangle rec, Vector2 origin, float rotation)
+
Color & DrawRectangle (Vector2 position, Vector2 size)
+
Color & DrawRectangleLines (int posX, int posY, int width, int height)
Color & DrawRectangleLines (Rectangle rec, int lineThick)
-
Color & DrawText (const std::string &text, int posX, int posY, int fontSize)
-
-
Color & DrawText (::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
-
Color & DrawText (::Font font, const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap=false)
+
Color & DrawText (::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
+
+
Color & DrawText (const std::string &text, int posX, int posY, int fontSize)
+
Color Fade (float alpha)
unsigned char GetA ()
@@ -239,7 +242,7 @@ Static Public Attributes
@@ -267,7 +270,7 @@ Static Public Attributes
@@ -317,7 +320,7 @@ Static Public Attributes
@@ -345,7 +348,9 @@ Static Public Attributes
Definition at line 38 of file Color.hpp .
-
39 set (::ColorFromHSV(hsv));
+
+
References set() .
+
@@ -373,7 +378,9 @@ Static Public Attributes
Definition at line 41 of file Color.hpp .
-
42 set (::GetColor(hexValue));
+
+
References set() .
+
@@ -401,7 +408,9 @@ Static Public Attributes
Definition at line 44 of file Color.hpp .
-
45 set (::ColorFromNormalized(normalized));
+
+
References set() .
+
@@ -429,12 +438,93 @@ Static Public Attributes
Definition at line 124 of file Color.hpp .
-
Color & ClearBackground()
-
+
+
+
+
+◆ DrawLine() [1/3]
+
+
+
+
+
+
+
+
+ Color & raylib::Color::DrawLine
+ (
+ ::Vector2
+ startPos ,
+
+
+
+
+ ::Vector2
+ endPos
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ DrawLine() [2/3]
+
+
+
+
+
+
+
+
+ Color & raylib::Color::DrawLine
+ (
+ ::Vector2
+ startPos ,
+
+
+
+
+ ::Vector2
+ endPos ,
+
+
+
+
+ float
+ thick
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
-◆ DrawLine() [1/3]
+◆ DrawLine() [3/3]
@@ -480,90 +570,7 @@ Static Public Attributes
Definition at line 139 of file Color.hpp .
-
140 ::DrawLine (startPosX, startPosY, endPosX, endPosY, *
this );
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
-
-
-
-
-◆ DrawLine() [2/3]
-
-
-
-
-
-
-
- Color & raylib::Color::DrawLine
- (
- ::Vector2
- startPos ,
-
-
-
-
- ::Vector2
- endPos
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 143 of file Color.hpp .
-
144 ::DrawLineV(startPos, endPos, *
this );
-
-
-
-◆ DrawLine() [3/3]
-
-
-
-
-
-
-
-
- Color & raylib::Color::DrawLine
- (
- ::Vector2
- startPos ,
-
-
-
-
- ::Vector2
- endPos ,
-
-
-
-
- float
- thick
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 147 of file Color.hpp .
-
148 ::DrawLineEx(startPos, endPos, thick, *
this );
@@ -607,8 +614,7 @@ Static Public Attributes
Definition at line 151 of file Color.hpp .
-
Color & DrawLineBezier(::Vector2 startPos, Vector2 endPos, float thick)
-
+
@@ -646,12 +652,39 @@ Static Public Attributes
Definition at line 155 of file Color.hpp .
-
Color & DrawLineStrip(::Vector2 *points, int numPoints)
-
+
+
+
+
+◆ DrawPixel() [1/2]
+
+
+
+
+
+
+
+
+ Color & raylib::Color::DrawPixel
+ (
+ ::Vector2
+ pos )
+
+
+
+
+
+inline
+
+
+
-◆ DrawPixel() [1/2]
+◆ DrawPixel() [2/2]
@@ -685,36 +718,7 @@ Static Public Attributes
Definition at line 129 of file Color.hpp .
-
Color & DrawPixel(int x, int y)
-
-
-
-
-◆ DrawPixel() [2/2]
-
-
-
-
-
-
-
- Color & raylib::Color::DrawPixel
- (
- ::Vector2
- pos )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 134 of file Color.hpp .
-
135 ::DrawPixelV(pos, *
this );
@@ -764,50 +768,11 @@ Static Public Attributes
Definition at line 174 of file Color.hpp .
-
Color & DrawRectangle(int posX, int posY, int width, int height)
-
-
-
-
-◆ DrawRectangle() [2/4]
-
-
-
-
-
-
-
- Color & raylib::Color::DrawRectangle
- (
- Vector2
- position ,
-
-
-
-
- Vector2
- size
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 179 of file Color.hpp .
-
180 ::DrawRectangleV(position, size, *
this );
-◆ DrawRectangle() [3/4]
+◆ DrawRectangle() [2/4]
@@ -831,11 +796,11 @@ Static Public Attributes
Definition at line 184 of file Color.hpp .
-
185 ::DrawRectangleRec(rec, *
this );
+
-◆ DrawRectangle() [4/4]
+◆ DrawRectangle() [3/4]
@@ -875,7 +840,45 @@ Static Public Attributes
Definition at line 189 of file Color.hpp .
-
190 ::DrawRectanglePro(rec, origin, rotation, *
this );
+
+
+
+
+◆ DrawRectangle() [4/4]
+
+
+
+
+
+
+
+
+ Color & raylib::Color::DrawRectangle
+ (
+ Vector2
+ position ,
+
+
+
+
+ Vector2
+ size
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
@@ -925,8 +928,7 @@ Static Public Attributes
Definition at line 194 of file Color.hpp .
-
Color & DrawRectangleLines(int posX, int posY, int width, int height)
-
+
@@ -965,119 +967,10 @@ Static Public Attributes
Definition at line 199 of file Color.hpp .
-References Beige , Black , Blank , Blue , Brown , DarkBlue , DarkBrown , DarkGray , DarkGreen , DarkPurple , Gold , Gray , Green , LightGray , Lime , Magenta , Maroon , Orange , Pink , Purple , RayWhite , Red , SkyBlue , Violet , White , and Yellow .
- 200 ::DrawRectangleLinesEx(rec, lineThick, *
this );
-
-
-
-◆ DrawText() [1/3]
-
-
-
-
-
-
-
-
- Color & raylib::Color::DrawText
- (
- const std::string &
- text ,
-
-
-
-
- int
- posX ,
-
-
-
-
- int
- posY ,
-
-
-
-
- int
- fontSize
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 160 of file Color.hpp .
-
161 ::DrawText (text.c_str(), posX, posY, fontSize, *
this );
Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
-
-
-
-
-◆ DrawText() [2/3]
-
-
-
-
-
-
-
-
- Color & raylib::Color::DrawText
- (
- ::Font
- font ,
-
-
-
-
- const std::string &
- text ,
-
-
-
-
- ::Vector2
- position ,
-
-
-
-
- float
- fontSize ,
-
-
-
-
- float
- spacing
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 164 of file Color.hpp .
-
165 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *
this );
-◆ DrawText() [3/3]
+◆ DrawText() [1/3]
@@ -1135,7 +1028,113 @@ Static Public Attributes
Definition at line 169 of file Color.hpp .
-
170 ::DrawTextRec(font, text.c_str(), rec, fontSize, spacing, wordWrap, *
this );
+
+
+
+
+◆ DrawText() [2/3]
+
+
+
+
+
+
+
+
+ Color & raylib::Color::DrawText
+ (
+ ::Font
+ font ,
+
+
+
+
+ const std::string &
+ text ,
+
+
+
+
+ ::Vector2
+ position ,
+
+
+
+
+ float
+ fontSize ,
+
+
+
+
+ float
+ spacing
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ DrawText() [3/3]
+
+
+
+
+
+
+
+
+ Color & raylib::Color::DrawText
+ (
+ const std::string &
+ text ,
+
+
+
+
+ int
+ posX ,
+
+
+
+
+ int
+ posY ,
+
+
+
+
+ int
+ fontSize
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
@@ -1165,9 +1164,7 @@ Static Public Attributes
Definition at line 95 of file Color.hpp .
References set() .
- 97 a.set(::
Fade (*
this , alpha));
-
-
+
@@ -1302,7 +1299,7 @@ Static Public Attributes
Definition at line 101 of file Color.hpp .
-
102 return ::ColorNormalize(*
this );
+
@@ -1329,7 +1326,7 @@ Static Public Attributes
Definition at line 93 of file Color.hpp .
-
93 { return ::ColorToInt(*
this ); }
+
@@ -1357,7 +1354,9 @@ Static Public Attributes
@@ -1385,7 +1384,9 @@ Static Public Attributes
@@ -1414,8 +1415,8 @@ Static Public Attributes
Definition at line 48 of file Color.hpp .
-Referenced by Fade() .
-
+Referenced by Color() , Fade() , and operator=() .
+
@@ -1443,7 +1444,7 @@ Static Public Attributes
@@ -1582,7 +1583,7 @@ Static Public Attributes
Definition at line 105 of file Color.hpp .
-
106 return ::ColorToHSV(*
this );
+
@@ -1609,7 +1610,7 @@ Static Public Attributes
Definition at line 89 of file Color.hpp .
-
90 return ::ColorToInt(*
this );
+
@@ -1635,8 +1636,6 @@ Static Public Attributes
Definition at line 80 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1661,8 +1660,6 @@ Static Public Attributes
Definition at line 84 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1687,8 +1684,6 @@ Static Public Attributes
Definition at line 85 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1713,8 +1708,6 @@ Static Public Attributes
Definition at line 75 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1739,8 +1732,6 @@ Static Public Attributes
Definition at line 81 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1765,8 +1756,6 @@ Static Public Attributes
Definition at line 76 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1791,8 +1780,6 @@ Static Public Attributes
Definition at line 82 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1817,8 +1804,6 @@ Static Public Attributes
Definition at line 64 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1843,8 +1828,6 @@ Static Public Attributes
Definition at line 73 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1869,8 +1852,6 @@ Static Public Attributes
Definition at line 79 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1895,8 +1876,6 @@ Static Public Attributes
Definition at line 66 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1921,8 +1900,6 @@ Static Public Attributes
Definition at line 63 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1947,8 +1924,6 @@ Static Public Attributes
Definition at line 71 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1973,8 +1948,6 @@ Static Public Attributes
Definition at line 62 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -1999,8 +1972,6 @@ Static Public Attributes
Definition at line 72 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2025,8 +1996,6 @@ Static Public Attributes
Definition at line 86 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2051,8 +2020,6 @@ Static Public Attributes
Definition at line 70 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2077,8 +2044,6 @@ Static Public Attributes
Definition at line 67 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2103,8 +2068,6 @@ Static Public Attributes
Definition at line 68 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2129,8 +2092,6 @@ Static Public Attributes
Definition at line 77 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2155,8 +2116,6 @@ Static Public Attributes
Definition at line 87 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2181,8 +2140,6 @@ Static Public Attributes
Definition at line 69 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2207,8 +2164,6 @@ Static Public Attributes
Definition at line 74 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2233,8 +2188,6 @@ Static Public Attributes
Definition at line 78 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2259,8 +2212,6 @@ Static Public Attributes
Definition at line 83 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
@@ -2285,16 +2236,14 @@ Static Public Attributes
Definition at line 65 of file Color.hpp .
-Referenced by DrawRectangleLines() .
-
diff --git a/docs/classraylib_1_1_dropped_files-members.html b/docs/classraylib_1_1_dropped_files-members.html
index 5e7d118..6f80e2d 100644
--- a/docs/classraylib_1_1_dropped_files-members.html
+++ b/docs/classraylib_1_1_dropped_files-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_dropped_files.html b/docs/classraylib_1_1_dropped_files.html
index f9f467e..3aa84b4 100644
--- a/docs/classraylib_1_1_dropped_files.html
+++ b/docs/classraylib_1_1_dropped_files.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::DroppedFiles Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -172,8 +174,7 @@ Protected Attributes
Definition at line 47 of file DroppedFiles.hpp .
References Clear() .
-DroppedFiles & Clear()
Clear dropped files paths buffer.
-
+
@@ -203,9 +204,10 @@ Protected Attributes
Definition at line 79 of file DroppedFiles.hpp .
+References m_files .
+
Referenced by back() , front() , and operator[]() .
- 80 if (
m_files != NULL && pos < m_count && pos >= 0) {
81 return std::string(
m_files [pos]);
-
+
@@ -233,10 +235,8 @@ Protected Attributes
Definition at line 75 of file DroppedFiles.hpp .
-References at() .
-
+References at() , and m_count .
+
@@ -267,7 +267,7 @@ Protected Attributes
Definition at line 42 of file DroppedFiles.hpp .
Referenced by clear() , and ~DroppedFiles() .
- 43 ::ClearDroppedFiles();
+
@@ -296,8 +296,7 @@ Protected Attributes
Definition at line 67 of file DroppedFiles.hpp .
References Clear() .
-DroppedFiles & Clear()
Clear dropped files paths buffer.
-
+
@@ -326,8 +325,7 @@ Protected Attributes
Definition at line 55 of file DroppedFiles.hpp .
References m_count .
-
+
@@ -354,8 +352,9 @@ Protected Attributes
@@ -384,8 +383,7 @@ Protected Attributes
Definition at line 71 of file DroppedFiles.hpp .
References at() .
-
+
@@ -415,10 +413,10 @@ Protected Attributes
Definition at line 27 of file DroppedFiles.hpp .
+References m_count , and m_files .
+
Referenced by DroppedFiles() .
-
+
@@ -447,7 +445,7 @@ Protected Attributes
Check if a file has been dropped into window.
Definition at line 35 of file DroppedFiles.hpp .
- 36 return ::IsFileDropped();
+
@@ -477,8 +475,7 @@ Protected Attributes
Definition at line 51 of file DroppedFiles.hpp .
References at() .
-
+
@@ -507,8 +504,7 @@ Protected Attributes
Definition at line 59 of file DroppedFiles.hpp .
References m_count .
-
+
@@ -534,7 +530,7 @@ Protected Attributes
Definition at line 18 of file DroppedFiles.hpp .
-Referenced by Count() , and size() .
+Referenced by back() , Count() , empty() , Get() , and size() .
@@ -560,14 +556,16 @@ Protected Attributes
Definition at line 17 of file DroppedFiles.hpp .
+Referenced by at() , and Get() .
+
diff --git a/docs/classraylib_1_1_font-members.html b/docs/classraylib_1_1_font-members.html
index 38cf6cf..25e4ae1 100644
--- a/docs/classraylib_1_1_font-members.html
+++ b/docs/classraylib_1_1_font-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_font.html b/docs/classraylib_1_1_font.html
index 044464a..2b83d36 100644
--- a/docs/classraylib_1_1_font.html
+++ b/docs/classraylib_1_1_font.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Font Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
Font ()
+
Font (::Image &image, ::Color key, int firstChar)
+
Font (const std::string &fileName)
Font (const std::string &fileName, int fontSize, int *fontChars, int charCount)
-
Font (::Image &image, ::Color key, int firstChar)
-
~Font ()
-
Font & DrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
-
Font & DrawText (const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint=WHITE)
Font & DrawText (const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, ::Color selectText, Color selectBack)
+
Font & DrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
+
int GetBaseSize ()
CharInfo * GetChars ()
@@ -153,7 +156,9 @@ Public Member Functions
Definition at line 19 of file Font.hpp .
-
20 set (GetFontDefault());
+
+
References set() .
+
@@ -181,7 +186,9 @@ Public Member Functions
Definition at line 23 of file Font.hpp .
-
24 set (LoadFont(fileName.c_str()));
+
+
References set() .
+
@@ -231,7 +238,9 @@ Public Member Functions
Definition at line 27 of file Font.hpp .
-
28 set (LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
+
+
References set() .
+
@@ -275,7 +284,9 @@ Public Member Functions
Definition at line 31 of file Font.hpp .
-
32 set (LoadFontFromImage(image, key, firstChar));
+
+
References set() .
+
@@ -304,69 +315,12 @@ Public Member Functions
Definition at line 35 of file Font.hpp .
References Unload() .
-
+
-
-◆ DrawText() [1/3]
-
-
-
-
-
-
-
-
- Font & raylib::Font::DrawText
- (
- const std::string &
- text ,
-
-
-
-
- ::Vector2
- position ,
-
-
-
-
- float
- fontSize ,
-
-
-
-
- float
- spacing ,
-
-
-
-
- ::Color
- tint = WHITE
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 75 of file Font.hpp .
-
76 ::DrawTextEx(*
this , text.c_str(), position, fontSize, spacing, tint);
-
-
-◆ DrawText() [2/3]
+◆ DrawText() [1/3]
@@ -424,11 +378,11 @@ Public Member Functions
Definition at line 79 of file Font.hpp .
-
80 ::DrawTextRec(*
this , text.c_str(), rec, fontSize, spacing, wordWrap, tint);
+
-◆ DrawText() [3/3]
+◆ DrawText() [2/3]
@@ -510,7 +464,63 @@ Public Member Functions
Definition at line 83 of file Font.hpp .
-
84 ::DrawTextRecEx(*
this , text.c_str(), rec, fontSize, spacing, wordWrap, tint, selectStart, selectLength, selectText, selectBack);
+
+
+
+
+◆ DrawText() [3/3]
+
+
+
+
+
+
+
+
+ Font & raylib::Font::DrawText
+ (
+ const std::string &
+ text ,
+
+
+
+
+ ::Vector2
+ position ,
+
+
+
+
+ float
+ fontSize ,
+
+
+
+
+ float
+ spacing ,
+
+
+
+
+ ::Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
@@ -619,7 +629,7 @@ Public Member Functions
Definition at line 92 of file Font.hpp .
-
93 return ::GetGlyphIndex(*
this , character);
+
@@ -717,7 +727,7 @@ Public Member Functions
Definition at line 88 of file Font.hpp .
-
89 return ::MeasureTextEx(*
this , text.c_str(), fontSize, spacing);
+
@@ -745,7 +755,9 @@ Public Member Functions
@@ -773,7 +785,9 @@ Public Member Functions
@@ -801,7 +815,9 @@ Public Member Functions
Definition at line 43 of file Font.hpp .
-
44 baseSize = font.baseSize;
45 charsCount = font.charsCount;
46 texture = font.texture;
+
+
Referenced by Font() , and operator=() .
+
@@ -829,7 +845,7 @@ Public Member Functions
Definition at line 51 of file Font.hpp .
-
52 baseSize = font.baseSize;
53 charsCount = font.charsCount;
54 texture = font.texture;
+
@@ -998,15 +1014,15 @@ Public Member Functions
Definition at line 39 of file Font.hpp .
Referenced by ~Font() .
-
+
diff --git a/docs/classraylib_1_1_gamepad-members.html b/docs/classraylib_1_1_gamepad-members.html
index 5e60a89..c98f59a 100644
--- a/docs/classraylib_1_1_gamepad-members.html
+++ b/docs/classraylib_1_1_gamepad-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_gamepad.html b/docs/classraylib_1_1_gamepad.html
index 3a1b9f8..0fb8388 100644
--- a/docs/classraylib_1_1_gamepad.html
+++ b/docs/classraylib_1_1_gamepad.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Gamepad Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -170,8 +175,9 @@ Public Attributes
@@ -199,8 +205,9 @@ Public Attributes
@@ -227,7 +234,7 @@ Public Attributes
Definition at line 61 of file Gamepad.hpp .
-
62 return ::GetGamepadButtonPressed();
+
@@ -254,8 +261,9 @@ Public Attributes
@@ -282,7 +290,7 @@ Public Attributes
@@ -309,8 +317,9 @@ Public Attributes
@@ -338,8 +347,9 @@ Public Attributes
@@ -367,8 +377,9 @@ Public Attributes
@@ -396,8 +407,9 @@ Public Attributes
@@ -425,8 +437,9 @@ Public Attributes
@@ -454,8 +467,9 @@ Public Attributes
@@ -484,8 +498,7 @@ Public Attributes
Definition at line 35 of file Gamepad.hpp .
References number .
-
+
@@ -513,7 +526,9 @@ Public Attributes
@@ -541,8 +556,11 @@ Public Attributes
@@ -570,7 +588,7 @@ Public Attributes
@@ -588,16 +606,16 @@ Public Attributes
Definition at line 22 of file Gamepad.hpp .
-Referenced by operator int() .
+Referenced by GetAxisCount() , GetAxisMovement() , GetName() , IsAvailable() , IsButtonDown() , IsButtonPressed() , IsButtonReleased() , IsButtonUp() , IsName() , operator int() , and set() .
diff --git a/docs/classraylib_1_1_image-members.html b/docs/classraylib_1_1_image-members.html
index 93cebd8..4791366 100644
--- a/docs/classraylib_1_1_image-members.html
+++ b/docs/classraylib_1_1_image-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
DrawRectangle (Vector2 position, Vector2 size, ::Color color=WHITE)raylib::Image inline
DrawRectangle (::Rectangle rec, ::Color color=WHITE)raylib::Image inline
DrawRectangleLines (::Rectangle rec, int thick, ::Color color)raylib::Image inline
-
DrawText (::Vector2 position, const std::string &text, int fontSize, ::Color color=WHITE)raylib::Image inline
-
DrawText (::Vector2 position, ::Font font, const std::string &text, float fontSize, float spacing, ::Color color=WHITE)raylib::Image inline
-
Export (const std::string &fileName)raylib::Image inline
-
ExportAsCode (const std::string &fileName)raylib::Image inline
-
ExtractPalette (int maxPaletteSize, int *extractCount)raylib::Image inline
+
DrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color=WHITE)raylib::Image inline
+
DrawText (const std::string &text, int x, int y, int fontSize, ::Color color=WHITE)raylib::Image inline
+
DrawText (::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)raylib::Image inline
+
Export (const std::string &fileName)raylib::Image inline
+
ExportAsCode (const std::string &fileName)raylib::Image inline
FlipHorizontal ()raylib::Image inline
FlipVertical ()raylib::Image inline
Format (int newFormat)raylib::Image inline
@@ -119,46 +122,45 @@ $(function() {
GetImageData ()raylib::Image inline
GetImageDataNormalized ()raylib::Image inline
GetMipmaps ()raylib::Image inline
-
GetScreenData ()raylib::Image inline static
-
GetWidth ()raylib::Image inline
-
Image ()raylib::Image inline
-
Image (::Image image)raylib::Image inline
-
Image (const std::string &fileName)raylib::Image inline
-
Image (::Color *pixels, int width, int height)raylib::Image inline
-
Image (void *data, int width, int height, int format)raylib::Image inline
-
Image (const std::string &fileName, int width, int height, int format, int headerSize)raylib::Image inline
+
GetPalette (int maxPaletteSize, int *extractCount)raylib::Image inline
+
GetScreenData ()raylib::Image inline static
+
GetWidth ()raylib::Image inline
+
Image ()raylib::Image inline
+
Image (::Image image)raylib::Image inline
+
Image (const std::string &fileName)raylib::Image inline
+
Image (const std::string &fileName, int width, int height, int format, int headerSize)raylib::Image inline
+
Image (const std::string &fileName, int *frames)raylib::Image inline
Image (::Texture2D texture)raylib::Image inline
-
Image (int width, int height, Color color=raylib::Color::RayWhite)raylib::Image inline
+
Image (int width, int height, Color color=WHITE)raylib::Image inline
Load (const std::string &fileName)raylib::Image inline
-
LoadEx (::Color *pixels, int width, int height)raylib::Image inline
-
LoadPro (void *data, int width, int height, int format)raylib::Image inline
-
LoadRaw (const std::string &fileName, int width, int height, int format, int headerSize)raylib::Image inline
-
Mipmaps ()raylib::Image inline
-
operator Texture2D ()raylib::Image inline
-
operator= (const ::Image &image)raylib::Image inline
-
operator= (const Image &image)raylib::Image inline
-
Resize (int newWidth, int newHeight)raylib::Image inline
-
ResizeCanvas (int newWidth, int newHeight, int offsetX, int offsetY, Color color)raylib::Image inline
-
ResizeNN (int newWidth, int newHeight)raylib::Image inline
-
RotateCCW ()raylib::Image inline
-
RotateCW ()raylib::Image inline
-
set (::Image image)raylib::Image inline
-
SetData (void *value)raylib::Image inline
-
SetFormat (int value)raylib::Image inline
-
SetHeight (int value)raylib::Image inline
-
SetMipmaps (int value)raylib::Image inline
-
SetWidth (int value)raylib::Image inline
-
Text (std::string text, int fontSize, Color color)raylib::Image inline static
-
Text (Font font, std::string text, float fontSize, float spacing, Color tint)raylib::Image inline static
-
ToPOT (Color fillColor)raylib::Image inline
-
Unload ()raylib::Image inline
-
~Image ()raylib::Image inline
+
LoadAnim (const std::string &fileName, int *frames)raylib::Image inline
+
LoadRaw (const std::string &fileName, int width, int height, int format, int headerSize)raylib::Image inline
+
Mipmaps ()raylib::Image inline
+
operator Texture2D ()raylib::Image inline
+
operator= (const ::Image &image)raylib::Image inline
+
operator= (const Image &image)raylib::Image inline
+
Resize (int newWidth, int newHeight)raylib::Image inline
+
ResizeCanvas (int newWidth, int newHeight, int offsetX, int offsetY, Color color)raylib::Image inline
+
ResizeNN (int newWidth, int newHeight)raylib::Image inline
+
RotateCCW ()raylib::Image inline
+
RotateCW ()raylib::Image inline
+
set (::Image image)raylib::Image inline
+
SetData (void *value)raylib::Image inline
+
SetFormat (int value)raylib::Image inline
+
SetHeight (int value)raylib::Image inline
+
SetMipmaps (int value)raylib::Image inline
+
SetWidth (int value)raylib::Image inline
+
Text (std::string text, int fontSize, Color color)raylib::Image inline static
+
Text (Font font, std::string text, float fontSize, float spacing, Color tint)raylib::Image inline static
+
ToPOT (Color fillColor)raylib::Image inline
+
Unload ()raylib::Image inline
+
~Image ()raylib::Image inline
diff --git a/docs/classraylib_1_1_image.html b/docs/classraylib_1_1_image.html
index 2686ca0..968788e 100644
--- a/docs/classraylib_1_1_image.html
+++ b/docs/classraylib_1_1_image.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Image Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
Image (::Image image)
-
Image (const std::string &fileName)
-
-
Image (::Color *pixels, int width, int height)
-
-
Image (void *data, int width, int height, int format)
-
-
Image (const std::string &fileName, int width, int height, int format, int headerSize)
-
Image (::Texture2D texture)
-
Image (int width, int height, Color color=raylib::Color::RayWhite )
-
+
Image (const std::string &fileName)
+
+
Image (const std::string &fileName, int *frames)
+
+
Image (const std::string &fileName, int width, int height, int format, int headerSize)
+
+
Image (int width, int height, Color color=WHITE)
+
~Image ()
Image & AlphaCrop (float threshold)
@@ -121,36 +122,36 @@ Public Member Functions
Image & Draw (::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint=WHITE)
-
Image & DrawCircle (int centerX, int centerY, int radius, ::Color color)
-
Image & DrawCircle (::Vector2 center, int radius, ::Color color)
-
Image & DrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color)
-
+
Image & DrawCircle (int centerX, int centerY, int radius, ::Color color)
+
Image & DrawLine (::Vector2 start, ::Vector2 end, ::Color color)
-
Image & DrawPixel (int posX, int posY, ::Color color)
-
+
Image & DrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color)
+
Image & DrawPixel (::Vector2 position, ::Color color)
+
Image & DrawPixel (int posX, int posY, ::Color color)
+
+
Image & DrawRectangle (::Rectangle rec, ::Color color=WHITE)
+
Image & DrawRectangle (int posX, int posY, int width, int height, ::Color color=WHITE)
Image & DrawRectangle (Vector2 position, Vector2 size, ::Color color=WHITE)
-
Image & DrawRectangle (::Rectangle rec, ::Color color=WHITE)
-
Image & DrawRectangleLines (::Rectangle rec, int thick, ::Color color)
-
Image & DrawText (::Vector2 position, const std::string &text, int fontSize, ::Color color=WHITE)
-
-
Image & DrawText (::Vector2 position, ::Font font, const std::string &text, float fontSize, float spacing, ::Color color=WHITE)
-
+
Image & DrawText (::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
+
+
Image & DrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color=WHITE)
+
+
Image & DrawText (const std::string &text, int x, int y, int fontSize, ::Color color=WHITE)
+
Image & Export (const std::string &fileName)
Image & ExportAsCode (const std::string &fileName)
-
inline ::Color * ExtractPalette (int maxPaletteSize, int *extractCount)
-
Image & FlipHorizontal ()
Image & FlipVertical ()
@@ -173,14 +174,14 @@ Public Member Functions
int GetMipmaps ()
+
inline ::Color * GetPalette (int maxPaletteSize, int *extractCount)
+
int GetWidth ()
void Load (const std::string &fileName)
-
void LoadEx (::Color *pixels, int width, int height)
-
-
void LoadPro (void *data, int width, int height, int format)
-
+
void LoadAnim (const std::string &fileName, int *frames)
+
void LoadRaw (const std::string &fileName, int width, int height, int format, int headerSize)
Image & Mipmaps ()
@@ -238,17 +239,17 @@ Static Public Member Functions
static Image GetScreenData ()
-
static Image Text (std::string text, int fontSize, Color color)
-
static Image Text (Font font, std::string text, float fontSize, float spacing, Color tint)
+
static Image Text (std::string text, int fontSize, Color color)
+
Definition at line 16 of file Image.hpp .
-
◆ Image() [1/8]
+
◆ Image() [1/7]
-
◆ Image() [2/8]
+
◆ Image() [2/7]
@@ -301,11 +302,13 @@ Static Public Member Functions
-
◆ Image() [3/8]
+
◆ Image() [3/7]
@@ -330,113 +333,12 @@ Static Public Member Functions
Definition at line 22 of file Image.hpp .
-
References Load() .
-
void Load(const std::string &fileName)
-
-
-
-
-
◆ Image() [4/8]
+
References Load() .
-
-
-
-
-
-
-
- raylib::Image::Image
- (
- ::Color *
- pixels ,
-
-
-
-
- int
- width ,
-
-
-
-
- int
- height
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 25 of file Image.hpp .
-
-
References LoadEx() .
-
26 LoadEx (pixels, width, height);
void LoadEx(::Color *pixels, int width, int height)
-
-
-
-
-
◆ Image() [5/8]
-
-
-
-
-
-
-
-
- raylib::Image::Image
- (
- void *
- data ,
-
-
-
-
- int
- width ,
-
-
-
-
- int
- height ,
-
-
-
-
- int
- format
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 28 of file Image.hpp .
-
-
References LoadPro() .
-
29 LoadPro (data, width, height, format);
void LoadPro(void *data, int width, int height, int format)
-
-
◆ Image() [6/8]
+
◆ Image() [4/7]
@@ -487,15 +389,54 @@ Static Public Member Functions
+
+
+
◆ Image() [5/7]
+
+
+
+
+
+
+
+
+ raylib::Image::Image
+ (
+ const std::string &
+ fileName ,
+
+
+
+
+ int *
+ frames
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
Definition at line 28 of file Image.hpp .
+
+
References LoadAnim() .
-
References LoadRaw() .
-
32 LoadRaw (fileName, width, height, format, headerSize);
void LoadRaw(const std::string &fileName, int width, int height, int format, int headerSize)
-
-
◆ Image() [7/8]
+
◆ Image() [6/7]
@@ -518,12 +459,14 @@ Static Public Member Functions
-
Definition at line 34 of file Image.hpp .
-
35 set (::GetTextureData(texture));
+
Definition at line 31 of file Image.hpp .
+
+
References set() .
+
-
-
◆ Image() [8/8]
+
+
◆ Image() [7/7]
@@ -547,7 +490,7 @@ Static Public Member Functions
Color
-
color = raylib::Color::RayWhite
+
color = WHITE
@@ -562,8 +505,10 @@ Static Public Member Functions
-
Definition at line 37 of file Image.hpp .
-
38 set (::GenImageColor(width, height, color));
+
Definition at line 34 of file Image.hpp .
+
+
References set() .
+
@@ -589,11 +534,10 @@ Static Public Member Functions
@@ -621,8 +565,8 @@ Static Public Member Functions
-
Definition at line 164 of file Image.hpp .
-
165 ::ImageAlphaCrop(
this , threshold);
+
Definition at line 157 of file Image.hpp .
+
@@ -649,8 +593,8 @@ Static Public Member Functions
-
Definition at line 159 of file Image.hpp .
-
160 ::ImageAlphaMask(
this , alphaMask);
+
Definition at line 152 of file Image.hpp .
+
@@ -676,8 +620,8 @@ Static Public Member Functions
-
Definition at line 169 of file Image.hpp .
-
170 ::ImageAlphaPremultiply(
this );
+
Definition at line 162 of file Image.hpp .
+
@@ -704,8 +648,8 @@ Static Public Member Functions
-
Definition at line 249 of file Image.hpp .
-
250 ::ImageClearBackground(
this , color);
+
Definition at line 242 of file Image.hpp .
+
@@ -732,8 +676,8 @@ Static Public Member Functions
-
Definition at line 232 of file Image.hpp .
-
233 ::ImageColorBrightness(
this , brightness);
+
Definition at line 225 of file Image.hpp .
+
@@ -760,8 +704,8 @@ Static Public Member Functions
-
Definition at line 228 of file Image.hpp .
-
229 ::ImageColorContrast(
this , contrast);
+
Definition at line 221 of file Image.hpp .
+
@@ -787,8 +731,8 @@ Static Public Member Functions
-
Definition at line 224 of file Image.hpp .
-
225 ::ImageColorGrayscale(
this );
+
Definition at line 217 of file Image.hpp .
+
@@ -814,8 +758,8 @@ Static Public Member Functions
@@ -852,8 +796,8 @@ Static Public Member Functions
-
Definition at line 236 of file Image.hpp .
-
237 ::ImageColorReplace(
this , color, replace);
+
Definition at line 229 of file Image.hpp .
+
@@ -880,8 +824,8 @@ Static Public Member Functions
-
Definition at line 216 of file Image.hpp .
-
217 ::ImageColorTint(
this , color);
+
Definition at line 209 of file Image.hpp .
+
@@ -907,8 +851,8 @@ Static Public Member Functions
-
Definition at line 142 of file Image.hpp .
-
143 return ::ImageCopy(*
this );
+
Definition at line 135 of file Image.hpp .
+
@@ -935,8 +879,8 @@ Static Public Member Functions
@@ -985,8 +929,8 @@ Static Public Member Functions
-
Definition at line 194 of file Image.hpp .
-
195 ::ImageDither(
this , rBpp, gBpp, bBpp, aBpp);
+
Definition at line 187 of file Image.hpp .
+
@@ -1035,12 +979,56 @@ Static Public Member Functions
-
Definition at line 299 of file Image.hpp .
-
300 ::ImageDraw(
this , src, srcRec, dstRec, tint);
+
Definition at line 292 of file Image.hpp .
+
+
+
+
+◆ DrawCircle() [1/2]
+
+
+
+
+
+
+
+
+ Image & raylib::Image::DrawCircle
+ (
+ ::Vector2
+ center ,
+
+
+
+
+ int
+ radius ,
+
+
+
+
+ ::Color
+ color
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
-◆ DrawCircle() [1/2]
+◆ DrawCircle() [2/2]
@@ -1085,12 +1073,12 @@ Static Public Member Functions
-
Definition at line 274 of file Image.hpp .
-
275 ::ImageDrawCircle(
this , centerX, centerY, radius, color);
+
Definition at line 267 of file Image.hpp .
+
-
-◆ DrawCircle() [2/2]
+
+◆ DrawLine() [1/2]
@@ -1099,16 +1087,16 @@ Static Public Member Functions
- Image & raylib::Image::DrawCircle
+ Image & raylib::Image::DrawLine
(
::Vector2
- center ,
+ start ,
- int
- radius ,
+ ::Vector2
+ end ,
@@ -1129,12 +1117,12 @@ Static Public Member Functions
-
Definition at line 279 of file Image.hpp .
-
280 ::ImageDrawCircleV(
this , center, radius, color);
+
Definition at line 262 of file Image.hpp .
+
-◆ DrawLine() [1/2]
+◆ DrawLine() [2/2]
@@ -1185,12 +1173,12 @@ Static Public Member Functions
-
Definition at line 264 of file Image.hpp .
-
265 ::ImageDrawLine(
this , startPosX, startPosY, endPosX, endPosY, color);
+
Definition at line 257 of file Image.hpp .
+
-
-◆ DrawLine() [2/2]
+
+◆ DrawPixel() [1/2]
@@ -1199,16 +1187,10 @@ Static Public Member Functions
- Image & raylib::Image::DrawLine
+ Image & raylib::Image::DrawPixel
(
::Vector2
- start ,
-
-
-
-
- ::Vector2
- end ,
+ position ,
@@ -1229,12 +1211,12 @@ Static Public Member Functions
-
Definition at line 269 of file Image.hpp .
-
270 ::ImageDrawLineV(
this , start, end, color);
+
Definition at line 252 of file Image.hpp .
+
-◆ DrawPixel() [1/2]
+◆ DrawPixel() [2/2]
@@ -1273,12 +1255,12 @@ Static Public Member Functions
-
Definition at line 254 of file Image.hpp .
-
255 ::ImageDrawPixel(
this , posX, posY, color);
+
Definition at line 247 of file Image.hpp .
+
-
-◆ DrawPixel() [2/2]
+
+◆ DrawRectangle() [1/3]
@@ -1287,16 +1269,16 @@ Static Public Member Functions
- Image & raylib::Image::DrawPixel
+ Image & raylib::Image::DrawRectangle
(
- ::Vector2
- position ,
+ ::Rectangle
+ rec ,
::Color
- color
+ color = WHITE
@@ -1311,12 +1293,12 @@ Static Public Member Functions
-
Definition at line 259 of file Image.hpp .
-
260 ::ImageDrawPixelV(
this , position, color);
+
Definition at line 284 of file Image.hpp .
+
-◆ DrawRectangle() [1/3]
+◆ DrawRectangle() [2/3]
@@ -1367,12 +1349,12 @@ Static Public Member Functions
-
Definition at line 283 of file Image.hpp .
-
284 ::ImageDrawRectangle(
this , posX, posY, width, height, color);
+
Definition at line 276 of file Image.hpp .
+
-◆ DrawRectangle() [2/3]
+◆ DrawRectangle() [3/3]
@@ -1411,46 +1393,8 @@ Static Public Member Functions
-
Definition at line 287 of file Image.hpp .
-
288 ::ImageDrawRectangleV(
this , position, size, color);
-
-
-
-◆ DrawRectangle() [3/3]
+Definition at line 280 of file Image.hpp .
-
-
-
-
-
-
-
- Image & raylib::Image::DrawRectangle
- (
- ::Rectangle
- rec ,
-
-
-
-
- ::Color
- color = WHITE
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 291 of file Image.hpp .
-
292 ::ImageDrawRectangleRec(
this , rec, color);
@@ -1493,12 +1437,12 @@ Static Public Member Functions
-
Definition at line 295 of file Image.hpp .
-
296 ::ImageDrawRectangleLines(
this , rec, thick, color);
+
Definition at line 288 of file Image.hpp .
+
-
-◆ DrawText() [1/2]
+
+◆ DrawText() [1/3]
@@ -1509,8 +1453,8 @@ Static Public Member Functions
Image & raylib::Image::DrawText
(
- ::Vector2
- position ,
+ ::Font
+ font ,
@@ -1518,6 +1462,68 @@ Static Public Member Functions
const std::string &
text ,
+
+
+
+ ::Vector2
+ position ,
+
+
+
+
+ float
+ fontSize ,
+
+
+
+
+ float
+ spacing ,
+
+
+
+
+ ::Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ DrawText() [2/3]
+
+
+
+
+
+
+
+
+ Image & raylib::Image::DrawText
+ (
+ const std::string &
+ text ,
+
+
+
+
+ ::Vector2
+ position ,
+
@@ -1543,12 +1549,12 @@ Static Public Member Functions
-
Definition at line 304 of file Image.hpp .
-
305 ::ImageDrawText(
this , position, text.c_str(), fontSize, color);
+
Definition at line 297 of file Image.hpp .
+
-
-◆ DrawText() [2/2]
+
+◆ DrawText() [3/3]
@@ -1559,32 +1565,26 @@ Static Public Member Functions
Image & raylib::Image::DrawText
(
- ::Vector2
- position ,
-
-
-
-
- ::Font
- font ,
-
-
-
-
const std::string &
text ,
- float
- fontSize ,
+ int
+ x ,
- float
- spacing ,
+ int
+ y ,
+
+
+
+
+ int
+ fontSize ,
@@ -1605,8 +1605,8 @@ Static Public Member Functions
-
Definition at line 308 of file Image.hpp .
-
309 ::ImageDrawTextEx(
this , position, font, text.c_str(), fontSize, spacing, color);
+
Definition at line 301 of file Image.hpp .
+
@@ -1633,8 +1633,8 @@ Static Public Member Functions
-
Definition at line 127 of file Image.hpp .
-
128 ::ExportImage(*
this , fileName.c_str());
+
Definition at line 120 of file Image.hpp .
+
@@ -1661,46 +1661,8 @@ Static Public Member Functions
-
Definition at line 131 of file Image.hpp .
-
132 ::ExportImageAsCode(*
this , fileName.c_str());
-
-
-
-◆ ExtractPalette()
+Definition at line 124 of file Image.hpp .
-
-
-
-
-
-
-
- inline ::Color * raylib::Image::ExtractPalette
- (
- int
- maxPaletteSize ,
-
-
-
-
- int *
- extractCount
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 241 of file Image.hpp .
-
242 return ::ImageExtractPalette(*
this , maxPaletteSize, extractCount);
@@ -1726,8 +1688,8 @@ Static Public Member Functions
-
Definition at line 203 of file Image.hpp .
-
204 ::ImageFlipHorizontal(
this );
+
Definition at line 196 of file Image.hpp .
+
@@ -1753,8 +1715,8 @@ Static Public Member Functions
-
Definition at line 199 of file Image.hpp .
-
200 ::ImageFlipVertical(
this );
+
Definition at line 192 of file Image.hpp .
+
@@ -1781,8 +1743,8 @@ Static Public Member Functions
-
Definition at line 154 of file Image.hpp .
-
155 ::ImageFormat(
this , newFormat);
+
Definition at line 147 of file Image.hpp .
+
@@ -1809,8 +1771,8 @@ Static Public Member Functions
-
Definition at line 145 of file Image.hpp .
-
146 return ::ImageFromImage(*
this , rec);
+
Definition at line 138 of file Image.hpp .
+
@@ -1853,8 +1815,8 @@ Static Public Member Functions
-
Definition at line 81 of file Image.hpp .
-
82 return ::GenImageCellular(width, height, tileSize);
+
Definition at line 78 of file Image.hpp .
+
@@ -1915,8 +1877,8 @@ Static Public Member Functions
-
Definition at line 69 of file Image.hpp .
-
70 return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
+
Definition at line 66 of file Image.hpp .
+
@@ -1959,8 +1921,8 @@ Static Public Member Functions
-
Definition at line 53 of file Image.hpp .
-
54 return ::GenImageColor(width, height, color);
+
Definition at line 50 of file Image.hpp .
+
@@ -2009,8 +1971,8 @@ Static Public Member Functions
-
Definition at line 61 of file Image.hpp .
-
62 return ::GenImageGradientH(width, height, left, right);
+
Definition at line 58 of file Image.hpp .
+
@@ -2065,8 +2027,8 @@ Static Public Member Functions
-
Definition at line 65 of file Image.hpp .
-
66 return ::GenImageGradientRadial(width, height, density, inner, outer);
+
Definition at line 62 of file Image.hpp .
+
@@ -2115,8 +2077,8 @@ Static Public Member Functions
-
Definition at line 57 of file Image.hpp .
-
58 return ::GenImageGradientV(width, height, top, bottom);
+
Definition at line 54 of file Image.hpp .
+
@@ -2171,8 +2133,8 @@ Static Public Member Functions
-
Definition at line 77 of file Image.hpp .
-
78 return ::GenImagePerlinNoise(width, height, offsetX, offsetY, scale);
+
Definition at line 74 of file Image.hpp .
+
@@ -2215,8 +2177,8 @@ Static Public Member Functions
-
Definition at line 73 of file Image.hpp .
-
74 return ::GenImageWhiteNoise(width, height, factor);
+
Definition at line 70 of file Image.hpp .
+
@@ -2243,8 +2205,8 @@ Static Public Member Functions
-
Definition at line 245 of file Image.hpp .
-
246 return ::GetImageAlphaBorder(*
this , threshold);
+
Definition at line 238 of file Image.hpp .
+
@@ -2270,8 +2232,8 @@ Static Public Member Functions
@@ -2297,8 +2259,8 @@ Static Public Member Functions
@@ -2324,8 +2286,8 @@ Static Public Member Functions
@@ -2351,8 +2313,8 @@ Static Public Member Functions
-
Definition at line 313 of file Image.hpp .
-
314 return ::GetImageData(*
this );
+
Definition at line 310 of file Image.hpp .
+
@@ -2378,8 +2340,8 @@ Static Public Member Functions
-
Definition at line 317 of file Image.hpp .
-
318 return ::GetImageDataNormalized(*
this );
+
Definition at line 314 of file Image.hpp .
+
@@ -2405,8 +2367,46 @@ Static Public Member Functions
+
+
+◆ GetPalette()
+
+
+
+
+
+
+
+
+ inline ::Color * raylib::Image::GetPalette
+ (
+ int
+ maxPaletteSize ,
+
+
+
+
+ int *
+ extractCount
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
@@ -2432,12 +2432,10 @@ Static Public Member Functions
@@ -2463,8 +2461,8 @@ Static Public Member Functions
@@ -2491,14 +2489,16 @@ Static Public Member Functions
-
-◆ LoadEx()
+
+◆ LoadAnim()
@@ -2507,22 +2507,16 @@ Static Public Member Functions
- void raylib::Image::LoadEx
+ void raylib::Image::LoadAnim
(
- ::Color *
- pixels ,
+ const std::string &
+ fileName ,
- int
- width ,
-
-
-
-
- int
- height
+ int *
+ frames
@@ -2537,62 +2531,12 @@ Static Public Member Functions
-
Definition at line 111 of file Image.hpp .
+
Definition at line 112 of file Image.hpp .
-
Referenced by Image() .
-
112 set (::LoadImageEx(pixels, width, height));
-
-
-
-◆ LoadPro()
-
-
-
-
-
-
-
-
- void raylib::Image::LoadPro
- (
- void *
- data ,
-
-
-
-
- int
- width ,
-
-
-
-
- int
- height ,
-
-
-
-
- int
- format
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 115 of file Image.hpp .
+
References set() .
Referenced by Image() .
-
116 set (::LoadImagePro(data, width, height, format));
+
@@ -2647,10 +2591,12 @@ Static Public Member Functions
-
Definition at line 119 of file Image.hpp .
+
Definition at line 108 of file Image.hpp .
+
+
References set() .
+
+
Referenced by Image() .
-
Referenced by Image() .
-
120 set (::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
@@ -2676,8 +2622,8 @@ Static Public Member Functions
@@ -2703,8 +2649,8 @@ Static Public Member Functions
-
Definition at line 320 of file Image.hpp .
-
321 return ::LoadTextureFromImage(*
this );
+
Definition at line 317 of file Image.hpp .
+
@@ -2731,8 +2677,10 @@ Static Public Member Functions
@@ -2759,8 +2707,10 @@ Static Public Member Functions
@@ -2797,8 +2747,8 @@ Static Public Member Functions
-
Definition at line 178 of file Image.hpp .
-
179 ::ImageResize(
this , newWidth, newHeight);
+
Definition at line 171 of file Image.hpp .
+
@@ -2853,8 +2803,8 @@ Static Public Member Functions
-
Definition at line 186 of file Image.hpp .
-
187 ::ImageResizeCanvas(
this , newWidth, newHeight, offsetX, offsetY, color);
+
Definition at line 179 of file Image.hpp .
+
@@ -2891,8 +2841,8 @@ Static Public Member Functions
-
Definition at line 182 of file Image.hpp .
-
183 ::ImageResizeNN(
this , newWidth, newHeight);
+
Definition at line 175 of file Image.hpp .
+
@@ -2918,8 +2868,8 @@ Static Public Member Functions
@@ -2945,8 +2895,8 @@ Static Public Member Functions
@@ -2973,8 +2923,10 @@ Static Public Member Functions
@@ -3001,8 +2953,8 @@ Static Public Member Functions
@@ -3029,8 +2981,8 @@ Static Public Member Functions
@@ -3057,8 +3009,8 @@ Static Public Member Functions
@@ -3085,8 +3037,8 @@ Static Public Member Functions
@@ -3113,56 +3065,12 @@ Static Public Member Functions
-
-
-◆ Text() [1/2]
+Definition at line 130 of file Image.hpp .
-
-
-
-
-
-
-
- static Image raylib::Image::Text
- (
- std::string
- text ,
-
-
-
-
- int
- fontSize ,
-
-
-
-
- Color
- color
-
-
-
- )
-
-
-
-
-
-inline static
-
-
-
-
-
Definition at line 41 of file Image.hpp .
-
42 return ::ImageText(text.c_str(), fontSize, color);
-◆ Text() [2/2]
+◆ Text() [1/2]
@@ -3213,8 +3121,52 @@ Static Public Member Functions
-
Definition at line 45 of file Image.hpp .
-
46 return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
+
Definition at line 42 of file Image.hpp .
+
+
+
+
+◆ Text() [2/2]
+
+
+
+
+
+
+
+
+ static Image raylib::Image::Text
+ (
+ std::string
+ text ,
+
+
+
+
+ int
+ fontSize ,
+
+
+
+
+ Color
+ color
+
+
+
+ )
+
+
+
+
+
+inline static
+
+
+
@@ -3241,8 +3193,8 @@ Static Public Member Functions
-
Definition at line 149 of file Image.hpp .
-
150 ::ImageToPOT(
this , fillColor);
+
Definition at line 142 of file Image.hpp .
+
@@ -3268,18 +3220,18 @@ Static Public Member Functions
diff --git a/docs/classraylib_1_1_material-members.html b/docs/classraylib_1_1_material-members.html
index cac1385..0950d17 100644
--- a/docs/classraylib_1_1_material-members.html
+++ b/docs/classraylib_1_1_material-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_material.html b/docs/classraylib_1_1_material.html
index d6fece4..1137ead 100644
--- a/docs/classraylib_1_1_material.html
+++ b/docs/classraylib_1_1_material.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Material Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -151,7 +156,9 @@ Public Member Functions
Definition at line 21 of file Material.hpp .
-
22 set (LoadMaterialDefault());
+
+
References set() .
+
@@ -180,8 +187,7 @@ Public Member Functions
Definition at line 25 of file Material.hpp .
References Unload() .
-
+
@@ -237,7 +243,9 @@ Public Member Functions
@@ -265,7 +273,9 @@ Public Member Functions
@@ -293,7 +303,9 @@ Public Member Functions
@@ -359,7 +371,7 @@ Public Member Functions
Definition at line 51 of file Material.hpp .
-
52 ::SetMaterialTexture(
this , mapType, texture);
+
@@ -388,15 +400,15 @@ Public Member Functions
Definition at line 47 of file Material.hpp .
Referenced by ~Material() .
- 48 ::UnloadMaterial(*
this );
+
diff --git a/docs/classraylib_1_1_matrix-members.html b/docs/classraylib_1_1_matrix-members.html
index afac846..f5b8bbc 100644
--- a/docs/classraylib_1_1_matrix-members.html
+++ b/docs/classraylib_1_1_matrix-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_matrix.html b/docs/classraylib_1_1_matrix.html
index a725eaa..3d20377 100644
--- a/docs/classraylib_1_1_matrix.html
+++ b/docs/classraylib_1_1_matrix.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Matrix Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -362,7 +367,7 @@ Static Public Member Functions
@@ -391,7 +396,7 @@ Static Public Member Functions
Definition at line 145 of file Matrix.hpp .
-
146 return ::MatrixAdd(*
this , right);
+
@@ -453,7 +458,7 @@ Static Public Member Functions
Definition at line 185 of file Matrix.hpp .
-
186 return ::MatrixFrustum(left, right, bottom, top, near, far);
+
@@ -912,7 +917,7 @@ Static Public Member Functions
Definition at line 121 of file Matrix.hpp .
-
122 return ::GetMatrixModelview();
+
@@ -939,7 +944,7 @@ Static Public Member Functions
Definition at line 125 of file Matrix.hpp .
-
126 return ::GetMatrixProjection();
+
@@ -966,7 +971,7 @@ Static Public Member Functions
Definition at line 142 of file Matrix.hpp .
-
143 return ::MatrixIdentity();
+
@@ -993,7 +998,7 @@ Static Public Member Functions
Definition at line 136 of file Matrix.hpp .
-
137 return ::MatrixInvert(*
this );
+
@@ -1037,7 +1042,7 @@ Static Public Member Functions
Definition at line 197 of file Matrix.hpp .
-
198 return ::MatrixLookAt(eye, target, up);
+
@@ -1065,7 +1070,7 @@ Static Public Member Functions
Definition at line 178 of file Matrix.hpp .
-
179 return ::MatrixMultiply(*
this , right);
+
@@ -1092,7 +1097,7 @@ Static Public Member Functions
Definition at line 139 of file Matrix.hpp .
-
140 return ::MatrixNormalize(*
this );
+
@@ -1121,8 +1126,7 @@ Static Public Member Functions
Definition at line 204 of file Matrix.hpp .
References ToFloatV() .
-
+
@@ -1150,7 +1154,7 @@ Static Public Member Functions
Definition at line 181 of file Matrix.hpp .
-
182 return ::MatrixMultiply(*
this , matrix);
+
@@ -1178,7 +1182,7 @@ Static Public Member Functions
Definition at line 148 of file Matrix.hpp .
-
149 return ::MatrixAdd(*
this , matrix);
+
@@ -1206,7 +1210,7 @@ Static Public Member Functions
Definition at line 154 of file Matrix.hpp .
-
155 return ::MatrixSubtract(*
this , matrix);
+
@@ -1234,7 +1238,9 @@ Static Public Member Functions
@@ -1262,7 +1268,9 @@ Static Public Member Functions
@@ -1290,7 +1298,7 @@ Static Public Member Functions
@@ -1352,7 +1360,7 @@ Static Public Member Functions
Definition at line 193 of file Matrix.hpp .
-
194 return ::MatrixOrtho(left, right, bottom, top, near, far);
+
@@ -1402,7 +1410,7 @@ Static Public Member Functions
Definition at line 189 of file Matrix.hpp .
-
190 return ::MatrixPerspective(fovy, aspect, near, far);
+
@@ -1440,7 +1448,7 @@ Static Public Member Functions
Definition at line 160 of file Matrix.hpp .
-
161 return ::MatrixRotate(axis, angle);
+
@@ -1468,7 +1476,7 @@ Static Public Member Functions
Definition at line 166 of file Matrix.hpp .
-
167 return ::MatrixRotateX(angle);
+
@@ -1496,7 +1504,7 @@ Static Public Member Functions
Definition at line 163 of file Matrix.hpp .
-
164 return ::MatrixRotateXYZ(angle);
+
@@ -1524,7 +1532,7 @@ Static Public Member Functions
Definition at line 169 of file Matrix.hpp .
-
170 return ::MatrixRotateY(angle);
+
@@ -1552,7 +1560,7 @@ Static Public Member Functions
Definition at line 172 of file Matrix.hpp .
-
173 return ::MatrixRotateZ(angle);
+
@@ -1596,7 +1604,7 @@ Static Public Member Functions
Definition at line 175 of file Matrix.hpp .
-
176 return ::MatrixScale(x, y, z);
+
@@ -1624,7 +1632,9 @@ Static Public Member Functions
@@ -2099,7 +2109,7 @@ Static Public Member Functions
Definition at line 116 of file Matrix.hpp .
-
117 ::SetMatrixModelview(*
this );
+
@@ -2126,7 +2136,7 @@ Static Public Member Functions
Definition at line 111 of file Matrix.hpp .
-
112 ::SetMatrixProjection(*
this );
+
@@ -2154,7 +2164,7 @@ Static Public Member Functions
Definition at line 151 of file Matrix.hpp .
-
152 return ::MatrixSubtract(*
this , right);
+
@@ -2183,7 +2193,7 @@ Static Public Member Functions
Definition at line 201 of file Matrix.hpp .
Referenced by operator float16() .
- 202 return ::MatrixToFloatV(*
this );
+
@@ -2210,7 +2220,7 @@ Static Public Member Functions
Definition at line 130 of file Matrix.hpp .
-
131 return ::MatrixTrace(*
this );
+
@@ -2254,7 +2264,7 @@ Static Public Member Functions
Definition at line 157 of file Matrix.hpp .
-
158 return ::MatrixTranslate(x, y, z);
+
@@ -2281,15 +2291,15 @@ Static Public Member Functions
Definition at line 133 of file Matrix.hpp .
-
134 return ::MatrixTranspose(*
this );
+
diff --git a/docs/classraylib_1_1_mesh-members.html b/docs/classraylib_1_1_mesh-members.html
index cda4d10..188bc07 100644
--- a/docs/classraylib_1_1_mesh-members.html
+++ b/docs/classraylib_1_1_mesh-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_mesh.html b/docs/classraylib_1_1_mesh.html
index 2ecc459..6474636 100644
--- a/docs/classraylib_1_1_mesh.html
+++ b/docs/classraylib_1_1_mesh.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Mesh Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -178,7 +185,7 @@ Public Member Functions
Definition at line 24 of file Mesh.hpp .
-
25 vertexCount = VertexCount;
26 triangleCount = TriangleCount;
+
@@ -207,8 +214,7 @@ Public Member Functions
Definition at line 60 of file Mesh.hpp .
References Unload() .
-
+
@@ -236,7 +242,7 @@ Public Member Functions
Definition at line 85 of file Mesh.hpp .
-
86 ::MeshBinormals(
this );
+
@@ -265,7 +271,7 @@ Public Member Functions
Definition at line 73 of file Mesh.hpp .
Referenced by operator raylib::BoundingBox() .
- 74 return ::MeshBoundingBox(*
this );
+
@@ -293,7 +299,7 @@ Public Member Functions
Definition at line 64 of file Mesh.hpp .
-
65 ExportMesh(*
this , fileName.c_str());
+
@@ -373,10 +379,37 @@ Public Member Functions
+
+
+◆ NormalsSmooth()
+
+
+
+
+
+
+
+
+ Mesh & raylib::Mesh::NormalsSmooth
+ (
+ )
+
+
+
+
+
+inline
+
+
+
@@ -405,8 +438,7 @@ Public Member Functions
Definition at line 76 of file Mesh.hpp .
References BoundingBox() .
-raylib::BoundingBox BoundingBox()
-
+
@@ -432,11 +464,10 @@ Public Member Functions
@@ -464,7 +495,9 @@ Public Member Functions
@@ -492,7 +525,9 @@ Public Member Functions
@@ -520,7 +555,9 @@ Public Member Functions
Definition at line 29 of file Mesh.hpp .
-
30 vertexCount = mesh.vertexCount;
31 triangleCount = mesh.triangleCount;
32 vertices = mesh.vertices;
33 texcoords = mesh.texcoords;
34 texcoords2 = mesh.texcoords2;
35 normals = mesh.normals;
36 tangents = mesh.tangents;
38 indices = mesh.indices;
39 animVertices = mesh.animVertices;
40 animNormals = mesh.animNormals;
41 boneIds = mesh.boneIds;
42 boneWeights = mesh.boneWeights;
+
+
Referenced by Mesh() , and operator=() .
+
@@ -603,7 +640,7 @@ Public Member Functions
@@ -632,15 +669,15 @@ Public Member Functions
Definition at line 69 of file Mesh.hpp .
Referenced by ~Mesh() .
-
+
diff --git a/docs/classraylib_1_1_model-members.html b/docs/classraylib_1_1_model-members.html
index 1c0a11d..f16bea9 100644
--- a/docs/classraylib_1_1_model-members.html
+++ b/docs/classraylib_1_1_model-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_model.html b/docs/classraylib_1_1_model.html
index a21b514..4f23a71 100644
--- a/docs/classraylib_1_1_model.html
+++ b/docs/classraylib_1_1_model.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Model Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -168,7 +173,9 @@ Public Member Functions
Definition at line 22 of file Model.hpp .
-
23 set (LoadModel(fileName.c_str()));
+
+
References set() .
+
@@ -196,7 +203,9 @@ Public Member Functions
Definition at line 26 of file Model.hpp .
-
27 set (LoadModelFromMesh(mesh));
+
+
References set() .
+
@@ -225,8 +234,7 @@ Public Member Functions
Definition at line 30 of file Model.hpp .
References Unload() .
-
+
@@ -255,7 +263,7 @@ Public Member Functions
Definition at line 71 of file Model.hpp .
-
72 return ::GetCollisionRayModel(ray, *
this );
+
@@ -364,7 +372,7 @@ Public Member Functions
Definition at line 80 of file Model.hpp .
-
81 return ::IsModelAnimationValid(*
this , anim);
+
@@ -392,7 +400,9 @@ Public Member Functions
@@ -420,7 +430,9 @@ Public Member Functions
@@ -448,7 +460,9 @@ Public Member Functions
Definition at line 34 of file Model.hpp .
-
35 transform = model.transform;
37 meshCount = model.meshCount;
38 meshes = model.meshes;
40 materialCount = model.materialCount;
41 materials = model.materials;
42 meshMaterial = model.meshMaterial;
43 boneCount = model.boneCount;
45 bindPose = model.bindPose;
+
+
Referenced by Model() , and operator=() .
+
@@ -542,7 +556,7 @@ Public Member Functions
Definition at line 66 of file Model.hpp .
-
67 ::SetModelMeshMaterial(
this , meshId, materialId);
+
@@ -599,7 +613,7 @@ Public Member Functions
Definition at line 62 of file Model.hpp .
Referenced by ~Model() .
-
+
@@ -637,16 +651,15 @@ Public Member Functions
Definition at line 75 of file Model.hpp .
-
Model & UpdateModelAnimation(::ModelAnimation anim, int frame)
-
+
diff --git a/docs/classraylib_1_1_model_animation-members.html b/docs/classraylib_1_1_model_animation-members.html
index f9c8873..58d580a 100644
--- a/docs/classraylib_1_1_model_animation-members.html
+++ b/docs/classraylib_1_1_model_animation-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_model_animation.html b/docs/classraylib_1_1_model_animation.html
index 3f9aba1..d09188a 100644
--- a/docs/classraylib_1_1_model_animation.html
+++ b/docs/classraylib_1_1_model_animation.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::ModelAnimation Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -167,8 +172,7 @@ Public Member Functions
Definition at line 22 of file ModelAnimation.hpp .
References Unload() .
-
+
@@ -305,7 +309,7 @@ Public Member Functions
Definition at line 61 of file ModelAnimation.hpp .
-
62 return ::IsModelAnimationValid(model, *
this );
+
@@ -333,7 +337,7 @@ Public Member Functions
Definition at line 57 of file ModelAnimation.hpp .
-
58 return ::IsModelAnimationValid(model, *
this );
+
@@ -361,7 +365,9 @@ Public Member Functions
@@ -389,7 +395,9 @@ Public Member Functions
@@ -417,7 +425,9 @@ Public Member Functions
@@ -558,7 +568,7 @@ Public Member Functions
Definition at line 48 of file ModelAnimation.hpp .
Referenced by ~ModelAnimation() .
- 49 ::UnloadModelAnimation(*
this );
+
@@ -596,15 +606,15 @@ Public Member Functions
Definition at line 52 of file ModelAnimation.hpp .
-
53 ::UpdateModelAnimation(model, *
this , frame);
+
diff --git a/docs/classraylib_1_1_mouse-members.html b/docs/classraylib_1_1_mouse-members.html
index 939d44f..4475275 100644
--- a/docs/classraylib_1_1_mouse-members.html
+++ b/docs/classraylib_1_1_mouse-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_mouse.html b/docs/classraylib_1_1_mouse.html
index 5ae5d31..64d78b7 100644
--- a/docs/classraylib_1_1_mouse.html
+++ b/docs/classraylib_1_1_mouse.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Mouse Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
Definition at line 43 of file Mouse.hpp .
-
44 return ::GetMousePosition();
+
@@ -163,7 +166,7 @@ Public Member Functions
Definition at line 67 of file Mouse.hpp .
-
68 return ::GetTouchPosition(index);
+
@@ -190,7 +193,7 @@ Public Member Functions
@@ -217,7 +220,7 @@ Public Member Functions
@@ -244,7 +247,7 @@ Public Member Functions
Definition at line 58 of file Mouse.hpp .
-
59 return ::GetMouseWheelMove();
+
@@ -273,7 +276,7 @@ Public Member Functions
Definition at line 29 of file Mouse.hpp .
Referenced by SetY() .
-
+
@@ -302,7 +305,7 @@ Public Member Functions
Definition at line 32 of file Mouse.hpp .
Referenced by SetX() .
-
+
@@ -330,7 +333,7 @@ Public Member Functions
Definition at line 20 of file Mouse.hpp .
-
21 return ::IsMouseButtonDown(button);
+
@@ -358,7 +361,7 @@ Public Member Functions
Definition at line 17 of file Mouse.hpp .
-
18 return ::IsMouseButtonPressed(button);
+
@@ -386,7 +389,7 @@ Public Member Functions
Definition at line 23 of file Mouse.hpp .
-
24 return ::IsMouseButtonReleased(button);
+
@@ -414,7 +417,7 @@ Public Member Functions
Definition at line 26 of file Mouse.hpp .
-
27 return ::IsMouseButtonUp(button);
+
@@ -452,7 +455,7 @@ Public Member Functions
Definition at line 50 of file Mouse.hpp .
-
51 ::SetMouseOffset(offsetX, offsetY);
+
@@ -490,7 +493,7 @@ Public Member Functions
Definition at line 46 of file Mouse.hpp .
-
47 ::SetMousePosition(x, y);
+
@@ -528,7 +531,7 @@ Public Member Functions
Definition at line 54 of file Mouse.hpp .
-
55 ::SetMouseScale(scaleX, scaleY);
+
@@ -558,8 +561,7 @@ Public Member Functions
Definition at line 35 of file Mouse.hpp .
References GetY() .
- 36 ::SetMouseOffset(x,
GetY ());
-
+
@@ -589,16 +591,15 @@ Public Member Functions
Definition at line 39 of file Mouse.hpp .
References GetX() .
- 40 ::SetMouseOffset(
GetX (), y);
-
+
diff --git a/docs/classraylib_1_1_music-members.html b/docs/classraylib_1_1_music-members.html
index d764327..b8b1af0 100644
--- a/docs/classraylib_1_1_music-members.html
+++ b/docs/classraylib_1_1_music-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
This is the complete list of members for
raylib::Music , including all inherited members.
diff --git a/docs/classraylib_1_1_music.html b/docs/classraylib_1_1_music.html
index 4dc9f8b..96f9d4c 100644
--- a/docs/classraylib_1_1_music.html
+++ b/docs/classraylib_1_1_music.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Music Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -180,7 +183,9 @@ Public Member Functions
Definition at line 21 of file Music.hpp .
-
22 set (::LoadMusicStream(fileName.c_str()));
+
+
References set() .
+
@@ -209,8 +214,7 @@ Public Member Functions
Definition at line 25 of file Music.hpp .
References Unload() .
-
+
@@ -241,8 +245,8 @@ Public Member Functions
-
-◆ GetLoopCount()
+
+◆ GetLooping()
@@ -251,7 +255,7 @@ Public Member Functions
- unsigned int raylib::Music::GetLoopCount
+ bool raylib::Music::GetLooping
(
)
@@ -264,7 +268,7 @@ Public Member Functions
@@ -291,7 +295,7 @@ Public Member Functions
@@ -318,8 +322,8 @@ Public Member Functions
-
Definition at line 93 of file Music.hpp .
-
94 return ::GetMusicTimeLength(*
this );
+
Definition at line 89 of file Music.hpp .
+
@@ -345,8 +349,8 @@ Public Member Functions
-
Definition at line 96 of file Music.hpp .
-
97 return ::GetMusicTimePlayed(*
this );
+
Definition at line 92 of file Music.hpp .
+
@@ -373,7 +377,7 @@ Public Member Functions
Definition at line 78 of file Music.hpp .
-
79 return ::IsMusicPlaying(*
this );
+
@@ -401,7 +405,9 @@ Public Member Functions
@@ -429,7 +435,9 @@ Public Member Functions
@@ -456,7 +464,7 @@ Public Member Functions
Definition at line 70 of file Music.hpp .
-
71 ::PauseMusicStream(*
this );
+
@@ -483,7 +491,7 @@ Public Member Functions
Definition at line 55 of file Music.hpp .
-
56 ::PlayMusicStream(*
this );
+
@@ -510,7 +518,7 @@ Public Member Functions
Definition at line 74 of file Music.hpp .
-
75 ::ResumeMusicStream(*
this );
+
@@ -538,7 +546,9 @@ Public Member Functions
Definition at line 29 of file Music.hpp .
-
30 ctxType = music.ctxType;
31 ctxData = music.ctxData;
32 sampleCount = music.sampleCount;
33 loopCount = music.loopCount;
34 stream = music.stream;
+
+
Referenced by Music() , and operator=() .
+
@@ -569,8 +579,8 @@ Public Member Functions
-
-◆ SetLoopCount() [1/2]
+
+◆ SetLooping()
@@ -579,9 +589,9 @@ Public Member Functions
- void raylib::Music::SetLoopCount
+ void raylib::Music::SetLooping
(
- unsigned int
+ bool
value )
@@ -593,36 +603,8 @@ Public Member Functions
-
-
-◆ SetLoopCount() [2/2]
-
-
-
-
-
-
-
-
- Music & raylib::Music::SetLoopCount
- (
- int
- count )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 89 of file Music.hpp .
-
90 ::SetMusicLoopCount(*
this , count);
@@ -650,7 +632,7 @@ Public Member Functions
Definition at line 85 of file Music.hpp .
-
86 ::SetMusicPitch(*
this , pitch);
+
@@ -677,7 +659,7 @@ Public Member Functions
@@ -706,7 +688,7 @@ Public Member Functions
Definition at line 81 of file Music.hpp .
-
82 ::SetMusicVolume(*
this , volume);
+
@@ -733,7 +715,7 @@ Public Member Functions
Definition at line 65 of file Music.hpp .
-
66 ::StopMusicStream(*
this );
+
@@ -762,7 +744,7 @@ Public Member Functions
Definition at line 51 of file Music.hpp .
Referenced by ~Music() .
- 52 ::UnloadMusicStream(*
this );
+
@@ -789,15 +771,15 @@ Public Member Functions
Definition at line 60 of file Music.hpp .
-
61 ::UpdateMusicStream(*
this );
+
diff --git a/docs/classraylib_1_1_physics-members.html b/docs/classraylib_1_1_physics-members.html
index 5632efa..fc906e4 100644
--- a/docs/classraylib_1_1_physics-members.html
+++ b/docs/classraylib_1_1_physics-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_physics.html b/docs/classraylib_1_1_physics.html
index 9a92352..d046d29 100644
--- a/docs/classraylib_1_1_physics.html
+++ b/docs/classraylib_1_1_physics.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Physics Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -192,9 +194,7 @@ Public Member Functions
Definition at line 21 of file Physics.hpp .
References Init() , and SetGravity() .
-Physics & SetGravity(float x, float y)
-
-
+
@@ -223,8 +223,7 @@ Public Member Functions
Definition at line 26 of file Physics.hpp .
References Close() .
-
+
@@ -263,7 +262,7 @@ Public Member Functions
Definition at line 68 of file Physics.hpp .
-
69 ::PhysicsAddForce(body, force);
+
@@ -301,7 +300,7 @@ Public Member Functions
Definition at line 72 of file Physics.hpp .
-
73 ::PhysicsAddTorque(body, amount);
+
@@ -330,7 +329,7 @@ Public Member Functions
Definition at line 35 of file Physics.hpp .
Referenced by ~Physics() .
-
+
@@ -374,7 +373,7 @@ Public Member Functions
Definition at line 59 of file Physics.hpp .
-
60 return ::CreatePhysicsBodyCircle(pos, radius, density);
+
@@ -424,7 +423,7 @@ Public Member Functions
Definition at line 65 of file Physics.hpp .
-
66 return ::CreatePhysicsBodyPolygon(pos, radius, sides, density);
+
@@ -474,7 +473,7 @@ Public Member Functions
Definition at line 62 of file Physics.hpp .
-
63 return ::CreatePhysicsBodyRectangle(pos, width, height, density);
+
@@ -502,7 +501,7 @@ Public Member Functions
Definition at line 99 of file Physics.hpp .
-
100 ::DestroyPhysicsBody(body);
+
@@ -529,7 +528,7 @@ Public Member Functions
Definition at line 80 of file Physics.hpp .
-
81 return ::GetPhysicsBodiesCount();
+
@@ -557,7 +556,7 @@ Public Member Functions
Definition at line 83 of file Physics.hpp .
-
84 return ::GetPhysicsBody(index);
+
@@ -585,7 +584,7 @@ Public Member Functions
Definition at line 86 of file Physics.hpp .
-
87 return ::GetPhysicsShapeType(index);
+
@@ -623,7 +622,7 @@ Public Member Functions
Definition at line 92 of file Physics.hpp .
-
93 return ::GetPhysicsShapeVertex(body, vertex);
+
@@ -651,7 +650,7 @@ Public Member Functions
Definition at line 89 of file Physics.hpp .
-
90 return ::GetPhysicsShapeVerticesCount(index);
+
@@ -680,7 +679,7 @@ Public Member Functions
Definition at line 30 of file Physics.hpp .
Referenced by Physics() .
-
+
@@ -707,7 +706,7 @@ Public Member Functions
Definition at line 50 of file Physics.hpp .
-
51 return ::IsPhysicsEnabled();
+
@@ -734,7 +733,7 @@ Public Member Functions
@@ -761,7 +760,7 @@ Public Member Functions
@@ -799,7 +798,7 @@ Public Member Functions
Definition at line 95 of file Physics.hpp .
-
96 ::SetPhysicsBodyRotation(body, radians);
+
@@ -839,7 +838,7 @@ Public Member Functions
Definition at line 54 of file Physics.hpp .
Referenced by Physics() .
- 55 ::SetPhysicsGravity(x, y);
+
@@ -867,7 +866,7 @@ Public Member Functions
Definition at line 45 of file Physics.hpp .
-
46 ::SetPhysicsTimeStep(delta);
+
@@ -911,15 +910,15 @@ Public Member Functions
Definition at line 76 of file Physics.hpp .
-
77 ::PhysicsShatter(body, position, force);
+
diff --git a/docs/classraylib_1_1_ray-members.html b/docs/classraylib_1_1_ray-members.html
index 2c8ff8b..dfb4ec7 100644
--- a/docs/classraylib_1_1_ray-members.html
+++ b/docs/classraylib_1_1_ray-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_ray.html b/docs/classraylib_1_1_ray.html
index 6e888ce..076d590 100644
--- a/docs/classraylib_1_1_ray.html
+++ b/docs/classraylib_1_1_ray.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Ray Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -176,7 +181,7 @@ Public Member Functions
Definition at line 23 of file Ray.hpp .
-
25 direction = Direction;
+
@@ -214,7 +219,9 @@ Public Member Functions
Definition at line 28 of file Ray.hpp .
-
29 set (GetMouseRay(mousePosition, camera));
+
+
References set() .
+
@@ -243,7 +250,7 @@ Public Member Functions
Definition at line 63 of file Ray.hpp .
-
64 return CheckCollisionRayBox(*
this , box);
+
@@ -281,7 +288,7 @@ Public Member Functions
Definition at line 55 of file Ray.hpp .
-
56 return CheckCollisionRaySphere(*
this , center, radius);
+
@@ -325,7 +332,7 @@ Public Member Functions
Definition at line 59 of file Ray.hpp .
-
60 return CheckCollisionRaySphereEx(*
this , center, radius, collisionPoint);
+
@@ -353,7 +360,7 @@ Public Member Functions
Definition at line 50 of file Ray.hpp .
-
51 DrawRay(*
this , color);
+
@@ -381,7 +388,7 @@ Public Member Functions
Definition at line 75 of file Ray.hpp .
-
76 return GetCollisionRayGround(*
this , groundHeight);
+
@@ -409,7 +416,7 @@ Public Member Functions
Definition at line 67 of file Ray.hpp .
-
68 return GetCollisionRayModel(*
this , model);
+
@@ -453,7 +460,7 @@ Public Member Functions
Definition at line 71 of file Ray.hpp .
-
72 return GetCollisionRayTriangle(*
this , p1, p2, p3);
+
@@ -535,7 +542,9 @@ Public Member Functions
@@ -563,7 +572,9 @@ Public Member Functions
@@ -591,7 +602,9 @@ Public Member Functions
Definition at line 32 of file Ray.hpp .
-
33 position = ray.position;
34 direction = ray.direction;
+
+
Referenced by operator=() , and Ray() .
+
@@ -653,9 +666,9 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_ray_hit_info-members.html b/docs/classraylib_1_1_ray_hit_info-members.html
index 0f9adf8..88ddb1e 100644
--- a/docs/classraylib_1_1_ray_hit_info-members.html
+++ b/docs/classraylib_1_1_ray_hit_info-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_ray_hit_info.html b/docs/classraylib_1_1_ray_hit_info.html
index 589397e..9ed1570 100644
--- a/docs/classraylib_1_1_ray_hit_info.html
+++ b/docs/classraylib_1_1_ray_hit_info.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::RayHitInfo Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -180,7 +185,7 @@ Public Member Functions
@@ -317,7 +322,9 @@ Public Member Functions
@@ -345,7 +352,9 @@ Public Member Functions
@@ -373,7 +382,9 @@ Public Member Functions
@@ -491,9 +502,9 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_rectangle-members.html b/docs/classraylib_1_1_rectangle-members.html
index ea63357..4a863d9 100644
--- a/docs/classraylib_1_1_rectangle-members.html
+++ b/docs/classraylib_1_1_rectangle-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_rectangle.html b/docs/classraylib_1_1_rectangle.html
index a0e66f8..2499975 100644
--- a/docs/classraylib_1_1_rectangle.html
+++ b/docs/classraylib_1_1_rectangle.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Rectangle Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -204,7 +209,7 @@ Public Member Functions
@@ -233,7 +238,7 @@ Public Member Functions
Definition at line 88 of file Rectangle.hpp .
-
89 return ::CheckCollisionRecs(*
this , rec2);
+
@@ -261,7 +266,7 @@ Public Member Functions
Definition at line 94 of file Rectangle.hpp .
-
95 return ::CheckCollisionPointRec(point, *
this );
+
@@ -289,7 +294,7 @@ Public Member Functions
Definition at line 50 of file Rectangle.hpp .
-
51 ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
+
@@ -333,7 +338,7 @@ Public Member Functions
Definition at line 54 of file Rectangle.hpp .
-
55 ::DrawRectanglePro(*
this , origin, rotation, color);
+
@@ -383,7 +388,7 @@ Public Member Functions
Definition at line 67 of file Rectangle.hpp .
-
68 ::DrawRectangleGradientEx(*
this , col1, col2, col3, col4);
+
@@ -421,7 +426,7 @@ Public Member Functions
Definition at line 63 of file Rectangle.hpp .
-
64 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
+
@@ -459,7 +464,7 @@ Public Member Functions
Definition at line 59 of file Rectangle.hpp .
-
60 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
+
@@ -487,7 +492,7 @@ Public Member Functions
Definition at line 71 of file Rectangle.hpp .
-
72 ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
+
@@ -525,7 +530,7 @@ Public Member Functions
Definition at line 75 of file Rectangle.hpp .
-
76 ::DrawRectangleLinesEx(*
this , lineThick, color);
+
@@ -569,7 +574,7 @@ Public Member Functions
Definition at line 79 of file Rectangle.hpp .
-
80 ::DrawRectangleRounded(*
this , roundness, segments, color);
+
@@ -619,7 +624,7 @@ Public Member Functions
Definition at line 83 of file Rectangle.hpp .
-
84 ::DrawRectangleRoundedLines(*
this , roundness, segments, lineThick, color);
+
@@ -647,7 +652,7 @@ Public Member Functions
Definition at line 91 of file Rectangle.hpp .
-
92 return ::GetCollisionRec(*
this , rec2);
+
@@ -783,7 +788,9 @@ Public Member Functions
@@ -811,7 +818,9 @@ Public Member Functions
@@ -839,7 +848,9 @@ Public Member Functions
@@ -957,9 +968,9 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_render_texture2_d-members.html b/docs/classraylib_1_1_render_texture2_d-members.html
index fc255eb..f4a546d 100644
--- a/docs/classraylib_1_1_render_texture2_d-members.html
+++ b/docs/classraylib_1_1_render_texture2_d-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_render_texture2_d.html b/docs/classraylib_1_1_render_texture2_d.html
index 8b48fa2..17e59ef 100644
--- a/docs/classraylib_1_1_render_texture2_d.html
+++ b/docs/classraylib_1_1_render_texture2_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::RenderTexture2D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -168,7 +173,7 @@ Public Member Functions
@@ -206,7 +211,9 @@ Public Member Functions
@@ -235,8 +242,7 @@ Public Member Functions
Definition at line 49 of file RenderTexture2D.hpp .
References Unload() .
-
+
@@ -264,8 +270,7 @@ Public Member Functions
@@ -292,8 +297,7 @@ Public Member Functions
@@ -429,7 +433,9 @@ Public Member Functions
@@ -457,7 +463,9 @@ Public Member Functions
@@ -485,7 +493,9 @@ Public Member Functions
Definition at line 27 of file RenderTexture2D.hpp .
-
28 id = renderTexture.id;
29 texture = renderTexture.texture;
30 depth = renderTexture.depth;
31 depthTexture = renderTexture.depthTexture;
+
+
Referenced by operator=() , and RenderTexture2D() .
+
@@ -626,15 +636,15 @@ Public Member Functions
Definition at line 53 of file RenderTexture2D.hpp .
Referenced by ~RenderTexture2D() .
- 54 UnloadRenderTexture(*
this );
+
diff --git a/docs/classraylib_1_1_shader-members.html b/docs/classraylib_1_1_shader-members.html
index 13023be..692736b 100644
--- a/docs/classraylib_1_1_shader-members.html
+++ b/docs/classraylib_1_1_shader-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_shader.html b/docs/classraylib_1_1_shader.html
index e83ff9e..8d217f7 100644
--- a/docs/classraylib_1_1_shader.html
+++ b/docs/classraylib_1_1_shader.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Shader Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -180,7 +185,7 @@ Static Public Member Functions
@@ -207,7 +212,9 @@ Static Public Member Functions
Definition at line 26 of file Shader.hpp .
-
27 set (GetShaderDefault());
+
+
References set() .
+
@@ -236,8 +243,7 @@ Static Public Member Functions
Definition at line 48 of file Shader.hpp .
References Unload() .
-
+
@@ -265,8 +271,7 @@ Static Public Member Functions
Definition at line 65 of file Shader.hpp .
-
Shader & BeginShaderMode()
-
+
@@ -293,8 +298,7 @@ Static Public Member Functions
@@ -349,7 +353,7 @@ Static Public Member Functions
Definition at line 75 of file Shader.hpp .
-
76 return ::GetShaderLocation(*
this , uniformName.c_str());
+
@@ -414,7 +418,7 @@ Static Public Member Functions
Definition at line 56 of file Shader.hpp .
-
57 return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
+
@@ -452,7 +456,7 @@ Static Public Member Functions
Definition at line 59 of file Shader.hpp .
-
60 char * param1 = (
char *)vsCode.c_str();
61 char * param2 = (
char *)fsCode.c_str();
62 return ::LoadShaderCode(param1, param2);
+
@@ -480,7 +484,9 @@ Static Public Member Functions
@@ -508,7 +514,9 @@ Static Public Member Functions
@@ -536,7 +544,9 @@ Static Public Member Functions
@@ -621,15 +631,15 @@ Static Public Member Functions
Definition at line 52 of file Shader.hpp .
Referenced by ~Shader() .
- 53 ::UnloadShader(*
this );
+
diff --git a/docs/classraylib_1_1_sound-members.html b/docs/classraylib_1_1_sound-members.html
index 74202e6..49aeda0 100644
--- a/docs/classraylib_1_1_sound-members.html
+++ b/docs/classraylib_1_1_sound-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_sound.html b/docs/classraylib_1_1_sound.html
index dbaba06..6add049 100644
--- a/docs/classraylib_1_1_sound.html
+++ b/docs/classraylib_1_1_sound.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Sound Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -176,7 +181,9 @@ Public Member Functions
Definition at line 23 of file Sound.hpp .
-
24 set (LoadSound(fileName.c_str()));
+
+
References set() .
+
@@ -204,7 +211,9 @@ Public Member Functions
Definition at line 27 of file Sound.hpp .
-
28 set (LoadSoundFromWave(wave));
+
+
References set() .
+
@@ -233,8 +242,7 @@ Public Member Functions
Definition at line 31 of file Sound.hpp .
References Unload() .
-
+
@@ -316,7 +324,7 @@ Public Member Functions
Definition at line 90 of file Sound.hpp .
-
91 return ::IsSoundPlaying(*
this );
+
@@ -344,7 +352,9 @@ Public Member Functions
@@ -372,7 +382,9 @@ Public Member Functions
@@ -399,7 +411,7 @@ Public Member Functions
@@ -426,7 +438,7 @@ Public Member Functions
@@ -453,7 +465,7 @@ Public Member Functions
Definition at line 80 of file Sound.hpp .
-
81 ::PlaySoundMulti(*
this );
+
@@ -480,7 +492,7 @@ Public Member Functions
@@ -508,7 +520,9 @@ Public Member Functions
Definition at line 35 of file Sound.hpp .
-
36 sampleCount = sound.sampleCount;
37 stream = sound.stream;
+
+
Referenced by operator=() , and Sound() .
+
@@ -536,7 +550,7 @@ Public Member Functions
Definition at line 97 of file Sound.hpp .
-
98 ::SetSoundPitch(*
this , pitch);
+
@@ -620,7 +634,7 @@ Public Member Functions
Definition at line 93 of file Sound.hpp .
-
94 ::SetSoundVolume(*
this , volume);
+
@@ -647,7 +661,7 @@ Public Member Functions
@@ -674,7 +688,7 @@ Public Member Functions
@@ -703,7 +717,7 @@ Public Member Functions
Definition at line 58 of file Sound.hpp .
Referenced by ~Sound() .
-
+
@@ -741,15 +755,15 @@ Public Member Functions
Definition at line 53 of file Sound.hpp .
-
54 ::UpdateSound(*
this , data, sampleCount);
+
diff --git a/docs/classraylib_1_1_texture2_d-members.html b/docs/classraylib_1_1_texture2_d-members.html
index 62baf63..68e6e93 100644
--- a/docs/classraylib_1_1_texture2_d-members.html
+++ b/docs/classraylib_1_1_texture2_d-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)raylib::Texture2D inline
Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)raylib::Texture2D inline
Draw (::Vector3 position, float width, float height, float length, ::Color color=WHITE)raylib::Texture2D inline
-
GenMipmaps ()raylib::Texture2D inline
-
GetFormat ()raylib::Texture2D inline
-
GetHeight ()raylib::Texture2D inline
-
GetId ()raylib::Texture2D inline
-
GetMipmaps ()raylib::Texture2D inline
-
GetPixelDataSize (int width, int height, int format)raylib::Texture2D inline static
-
GetTextureData ()raylib::Texture2D inline
-
GetWidth ()raylib::Texture2D inline
-
Load (const std::string &fileName)raylib::Texture2D inline
-
LoadFromImage (::Image &image)raylib::Texture2D inline
-
LoadTextureCubemap (::Image &image, int layoutType)raylib::Texture2D inline
-
operator raylib::Image ()raylib::Texture2D inline
-
operator= (const ::Texture2D &texture)raylib::Texture2D inline
-
operator= (const Texture2D &texture)raylib::Texture2D inline
-
set (::Texture2D texture)raylib::Texture2D inline
-
SetFilter (int filterMode)raylib::Texture2D inline
-
SetFormat (int value)raylib::Texture2D inline
-
SetHeight (int value)raylib::Texture2D inline
-
SetId (unsigned int value)raylib::Texture2D inline
-
SetMaterialTexture (Material *material, int mapType)raylib::Texture2D inline
-
SetMipmaps (int value)raylib::Texture2D inline
-
SetWidth (int value)raylib::Texture2D inline
-
SetWrap (int wrapMode)raylib::Texture2D inline
-
Texture2D ()raylib::Texture2D inline
-
Texture2D (::Image &image)raylib::Texture2D inline
-
Texture2D (const std::string &fileName)raylib::Texture2D inline
-
Unload ()raylib::Texture2D inline
-
Update (const void *pixels)raylib::Texture2D inline
+
DrawTiled (Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE)raylib::Texture2D inline
+
GenMipmaps ()raylib::Texture2D inline
+
GetFormat ()raylib::Texture2D inline
+
GetHeight ()raylib::Texture2D inline
+
GetId ()raylib::Texture2D inline
+
GetMipmaps ()raylib::Texture2D inline
+
GetPixelDataSize (int width, int height, int format)raylib::Texture2D inline static
+
GetTextureData ()raylib::Texture2D inline
+
GetWidth ()raylib::Texture2D inline
+
Load (const std::string &fileName)raylib::Texture2D inline
+
LoadFromImage (::Image &image)raylib::Texture2D inline
+
LoadTextureCubemap (::Image &image, int layoutType)raylib::Texture2D inline
+
operator raylib::Image ()raylib::Texture2D inline
+
operator= (const ::Texture2D &texture)raylib::Texture2D inline
+
operator= (const Texture2D &texture)raylib::Texture2D inline
+
set (::Texture2D texture)raylib::Texture2D inline
+
SetFilter (int filterMode)raylib::Texture2D inline
+
SetFormat (int value)raylib::Texture2D inline
+
SetHeight (int value)raylib::Texture2D inline
+
SetId (unsigned int value)raylib::Texture2D inline
+
SetMaterialTexture (Material *material, int mapType)raylib::Texture2D inline
+
SetMipmaps (int value)raylib::Texture2D inline
+
SetWidth (int value)raylib::Texture2D inline
+
SetWrap (int wrapMode)raylib::Texture2D inline
+
Texture2D ()raylib::Texture2D inline
+
Texture2D (::Image &image)raylib::Texture2D inline
+
Texture2D (const std::string &fileName)raylib::Texture2D inline
+
Unload ()raylib::Texture2D inline
+
Update (const void *pixels)raylib::Texture2D inline
+
UpdateRec (Rectangle rec, const void *pixels)raylib::Texture2D inline
~Texture2D ()raylib::Texture2D inline
diff --git a/docs/classraylib_1_1_texture2_d.html b/docs/classraylib_1_1_texture2_d.html
index c42936f..f087e9d 100644
--- a/docs/classraylib_1_1_texture2_d.html
+++ b/docs/classraylib_1_1_texture2_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Texture2D Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
~Texture2D ()
-
Texture2D & Draw (int posX, int posY, ::Color tint=WHITE)
-
-
Texture2D & Draw (::Vector2 position, ::Color tint=WHITE)
-
-
Texture2D & Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE)
-
-
Texture2D & Draw (::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE)
-
-
Texture2D & Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE)
-
-
Texture2D & Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
-
Texture2D & Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
+
Texture2D & Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
+
+
Texture2D & Draw (::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE)
+
+
Texture2D & Draw (::Vector2 position, ::Color tint=WHITE)
+
+
Texture2D & Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE)
+
+
Texture2D & Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE)
+
Texture2D & Draw (::Vector3 position, float width, float height, float length, ::Color color=WHITE)
+
Texture2D & Draw (int posX, int posY, ::Color tint=WHITE)
+
+
Texture2D & DrawTiled (Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE)
+
Texture2D & GenMipmaps ()
int GetFormat ()
@@ -147,6 +152,8 @@ Public Member Functions
Texture2D & Update (const void *pixels)
+
Texture2D & UpdateRec (Rectangle rec, const void *pixels)
+
@@ -181,7 +188,9 @@ Static Public Member Functions
Definition at line 21 of file Texture2D.hpp .
-
22 set (::GetTextureDefault());
+
+
References set() .
+
@@ -211,8 +220,7 @@ Static Public Member Functions
Definition at line 25 of file Texture2D.hpp .
References LoadFromImage() .
-void LoadFromImage(::Image &image)
-
+
@@ -242,8 +250,7 @@ Static Public Member Functions
Definition at line 29 of file Texture2D.hpp .
References Load() .
-void Load(const std::string &fileName)
-
+
@@ -272,295 +279,12 @@ Static Public Member Functions
Definition at line 33 of file Texture2D.hpp .
References Unload() .
-
+
-
-◆ Draw() [1/8]
-
-
-
-
-
-
-
-
- Texture2D & raylib::Texture2D::Draw
- (
- int
- posX ,
-
-
-
-
- int
- posY ,
-
-
-
-
- ::Color
- tint = WHITE
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 104 of file Texture2D.hpp .
-
105 ::DrawTexture(*
this , posX, posY, tint);
-
-
-
-◆ Draw() [2/8]
-
-
-
-
-
-
-
-
- Texture2D & raylib::Texture2D::Draw
- (
- ::Vector2
- position ,
-
-
-
-
- ::Color
- tint = WHITE
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 109 of file Texture2D.hpp .
-
110 ::DrawTextureV(*
this , position, tint);
-
-
-
-◆ Draw() [3/8]
-
-
-
-
-
-
-
-
- Texture2D & raylib::Texture2D::Draw
- (
- ::Vector2
- position ,
-
-
-
-
- float
- rotation ,
-
-
-
-
- float
- scale = 1.0f,
-
-
-
-
- ::Color
- tint = WHITE
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 113 of file Texture2D.hpp .
-
114 ::DrawTextureEx(*
this , position, rotation, scale, tint);
-
-
-
-◆ Draw() [4/8]
-
-
-
-
-
-
-
-
- Texture2D & raylib::Texture2D::Draw
- (
- ::Rectangle
- sourceRec ,
-
-
-
-
- ::Vector2
- position ,
-
-
-
-
- ::Color
- tint = WHITE
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 118 of file Texture2D.hpp .
-
119 ::DrawTextureRec(*
this , sourceRec, position, tint);
-
-
-
-◆ Draw() [5/8]
-
-
-
-
-
Definition at line 122 of file Texture2D.hpp .
-
123 ::DrawTextureQuad(*
this , tiling, offset, quad, tint);
-
-
-
-◆ Draw() [6/8]
-
-
-
-
-
-
-
-
- Texture2D & raylib::Texture2D::Draw
- (
- ::Rectangle
- sourceRec ,
-
-
-
-
- ::Rectangle
- destRec ,
-
-
-
-
- ::Vector2
- origin ,
-
-
-
-
- float
- rotation = 0,
-
-
-
-
- ::Color
- tint = WHITE
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 126 of file Texture2D.hpp .
-
127 ::DrawTexturePro(*
this , sourceRec, destRec, origin, rotation, tint);
-
-
-◆ Draw() [7/8]
+◆ Draw() [1/8]
@@ -611,12 +335,250 @@ Static Public Member Functions
-
Definition at line 130 of file Texture2D.hpp .
-
131 ::DrawTextureNPatch(*
this , nPatchInfo, destRec, origin, rotation, tint);
+
Definition at line 135 of file Texture2D.hpp .
+
+
+
+
+◆ Draw() [2/8]
+
+
+
+
+
+
+
+
+ Texture2D & raylib::Texture2D::Draw
+ (
+ ::Rectangle
+ sourceRec ,
+
+
+
+
+ ::Rectangle
+ destRec ,
+
+
+
+
+ ::Vector2
+ origin ,
+
+
+
+
+ float
+ rotation = 0,
+
+
+
+
+ ::Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ Draw() [3/8]
+
+
+
+
+
+
+
+
+ Texture2D & raylib::Texture2D::Draw
+ (
+ ::Rectangle
+ sourceRec ,
+
+
+
+
+ ::Vector2
+ position ,
+
+
+
+
+ ::Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ Draw() [4/8]
+
+
+
+
+
+
+
+
+ Texture2D & raylib::Texture2D::Draw
+ (
+ ::Vector2
+ position ,
+
+
+
+
+ ::Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ Draw() [5/8]
+
+
+
+
+
+
+
+
+ Texture2D & raylib::Texture2D::Draw
+ (
+ ::Vector2
+ position ,
+
+
+
+
+ float
+ rotation ,
+
+
+
+
+ float
+ scale = 1.0f,
+
+
+
+
+ ::Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ Draw() [6/8]
+
+
-◆ Draw() [8/8]
+◆ Draw() [7/8]
@@ -667,8 +629,114 @@ Static Public Member Functions
-
Definition at line 135 of file Texture2D.hpp .
-
136 ::DrawCubeTexture(*
this , position, width, height, length, color);
+
Definition at line 140 of file Texture2D.hpp .
+
+
+
+
+◆ Draw() [8/8]
+
+
+
+
+
+
+
+
+ Texture2D & raylib::Texture2D::Draw
+ (
+ int
+ posX ,
+
+
+
+
+ int
+ posY ,
+
+
+
+
+ ::Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ DrawTiled()
+
+
+
+
+
+
+
+
+ Texture2D & raylib::Texture2D::DrawTiled
+ (
+ Rectangle
+ sourceRec ,
+
+
+
+
+ Rectangle
+ destRec ,
+
+
+
+
+ Vector2
+ origin ,
+
+
+
+
+ float
+ rotation ,
+
+
+
+
+ float
+ scale ,
+
+
+
+
+ Color
+ tint = WHITE
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
@@ -694,8 +762,8 @@ Static Public Member Functions
@@ -846,8 +914,8 @@ Static Public Member Functions
@@ -873,10 +941,10 @@ Static Public Member Functions
@@ -932,8 +1000,10 @@ Static Public Member Functions
Definition at line 69 of file Texture2D.hpp .
+References set() .
+
Referenced by Texture2D() .
- 70 set (::LoadTexture(fileName.c_str()));
+
@@ -962,8 +1032,10 @@ Static Public Member Functions
Definition at line 61 of file Texture2D.hpp .
+References set() .
+
Referenced by Texture2D() .
- 62 set (::LoadTextureFromImage(image));
+
@@ -1001,8 +1073,9 @@ Static Public Member Functions
Definition at line 65 of file Texture2D.hpp .
-
void LoadTextureCubemap(::Image &image, int layoutType)
-
+
+
References set() .
+
@@ -1028,11 +1101,10 @@ Static Public Member Functions
@@ -1060,7 +1132,9 @@ Static Public Member Functions
@@ -1088,7 +1162,9 @@ Static Public Member Functions
@@ -1116,7 +1192,9 @@ Static Public Member Functions
@@ -1143,8 +1221,8 @@ Static Public Member Functions
@@ -1265,9 +1343,8 @@ Static Public Member Functions
-
Definition at line 140 of file Texture2D.hpp .
-
Texture2D & SetMaterialTexture(Material *material, int mapType)
-
+
Definition at line 150 of file Texture2D.hpp .
+
@@ -1350,8 +1427,8 @@ Static Public Member Functions
@@ -1380,7 +1457,7 @@ Static Public Member Functions
Definition at line 73 of file Texture2D.hpp .
Referenced by ~Texture2D() .
- 74 ::UnloadTexture(*
this );
+
@@ -1408,15 +1485,53 @@ Static Public Member Functions
Definition at line 77 of file Texture2D.hpp .
-
78 ::UpdateTexture(*
this , pixels);
+
+
+
+
+◆ UpdateRec()
+
+
+
+
+
+
+
+
+ Texture2D & raylib::Texture2D::UpdateRec
+ (
+ Rectangle
+ rec ,
+
+
+
+
+ const void *
+ pixels
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
diff --git a/docs/classraylib_1_1_vector2-members.html b/docs/classraylib_1_1_vector2-members.html
index 2464f33..e022b72 100644
--- a/docs/classraylib_1_1_vector2-members.html
+++ b/docs/classraylib_1_1_vector2-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_vector2.html b/docs/classraylib_1_1_vector2.html
index b90e1a5..04660be 100644
--- a/docs/classraylib_1_1_vector2.html
+++ b/docs/classraylib_1_1_vector2.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Vector2 Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -237,8 +242,8 @@ Static Public Member Functions
@@ -266,8 +271,8 @@ Static Public Member Functions
@@ -294,8 +299,8 @@ Static Public Member Functions
@@ -322,12 +327,40 @@ Static Public Member Functions
+
+
+◆ Divide() [1/2]
+
+
+
+
+
+
+
+
+ Vector2 & raylib::Vector2::Divide
+ (
+ const float
+ div )
+
+
+
+
+
+inline
+
+
+
-◆ Divide() [1/2]
+◆ Divide() [2/2]
@@ -350,36 +383,8 @@ Static Public Member Functions
-
Definition at line 94 of file Vector2.hpp .
-
95 return Vector2DivideV(*
this , vector2);
-
-
-
-◆ Divide() [2/2]
+Definition at line 95 of file Vector2.hpp .
-
-
-
-
-
-
-
- Vector2 raylib::Vector2::Divide
- (
- const float
- div )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 102 of file Vector2.hpp .
-
103 return Vector2Divide(*
this , div);
@@ -406,8 +411,8 @@ Static Public Member Functions
@@ -444,8 +449,8 @@ Static Public Member Functions
@@ -482,8 +487,8 @@ Static Public Member Functions
@@ -526,8 +531,8 @@ Static Public Member Functions
-
Definition at line 194 of file Vector2.hpp .
-
195 ::DrawLineEx(*
this , endPos, thick, color);
+
Definition at line 202 of file Vector2.hpp .
+
@@ -570,9 +575,8 @@ Static Public Member Functions
-
Definition at line 199 of file Vector2.hpp .
-
Vector2 & DrawLineBezier(::Vector2 endPos, float thick, ::Color color)
-
+
Definition at line 207 of file Vector2.hpp .
+
@@ -599,8 +603,8 @@ Static Public Member Functions
@@ -649,9 +653,8 @@ Static Public Member Functions
-
Definition at line 214 of file Vector2.hpp .
-
215 ::DrawPoly (*
this , sides, radius, rotation, color);
Vector2 & DrawPoly(int sides, float radius, float rotation, ::Color color)
-
+
Definition at line 222 of file Vector2.hpp .
+
@@ -688,8 +691,8 @@ Static Public Member Functions
@@ -715,7 +718,7 @@ Static Public Member Functions
@@ -742,7 +745,7 @@ Static Public Member Functions
@@ -769,8 +772,8 @@ Static Public Member Functions
@@ -807,8 +810,8 @@ Static Public Member Functions
-
Definition at line 167 of file Vector2.hpp .
-
168 return Vector2Lerp(*
this , vector2, amount);
+
Definition at line 175 of file Vector2.hpp .
+
@@ -835,8 +838,8 @@ Static Public Member Functions
-
Definition at line 78 of file Vector2.hpp .
-
79 return Vector2MultiplyV(*
this , vector2);
+
Definition at line 79 of file Vector2.hpp .
+
@@ -862,8 +865,8 @@ Static Public Member Functions
@@ -889,8 +892,8 @@ Static Public Member Functions
@@ -916,40 +919,12 @@ Static Public Member Functions
-
-
-◆ operator*() [1/2]
+Definition at line 187 of file Vector2.hpp .
-
-
-
-
-
-
-
- Vector2 raylib::Vector2::operator*
- (
- const Vector2 &
- vector2 )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 82 of file Vector2.hpp .
-
83 return Vector2MultiplyV(*
this , vector2);
-◆ operator*() [2/2]
+◆ operator*() [1/2]
@@ -972,12 +947,12 @@ Static Public Member Functions
-
-◆ operator*=() [1/2]
+
+◆ operator*() [2/2]
@@ -986,7 +961,7 @@ Static Public Member Functions
- Vector2 & raylib::Vector2::operator*=
+ Vector2 raylib::Vector2::operator*
(
const Vector2 &
vector2 )
@@ -1000,12 +975,12 @@ Static Public Member Functions
-
Definition at line 123 of file Vector2.hpp .
-
124 set (Vector2MultiplyV(*
this , vector2));
+
Definition at line 83 of file Vector2.hpp .
+
-◆ operator*=() [2/2]
+◆ operator*=() [1/2]
@@ -1028,8 +1003,40 @@ Static Public Member Functions
+
+
+◆ operator*=() [2/2]
+
+
+
+
+
+
+
+
+ Vector2 & raylib::Vector2::operator*=
+ (
+ const Vector2 &
+ vector2 )
+
+
+
+
+
+inline
+
+
+
@@ -1056,8 +1063,8 @@ Static Public Member Functions
@@ -1084,12 +1091,41 @@ Static Public Member Functions
+
+
+◆ operator-() [1/2]
+
+
+
+
+
+
+
+
+ Vector2 raylib::Vector2::operator-
+ (
+ )
+
+
+
+
+
+inline
+
+
+
-◆ operator-() [1/2]
+◆ operator-() [2/2]
@@ -1112,35 +1148,8 @@ Static Public Member Functions
-
Definition at line 66 of file Vector2.hpp .
-
67 return Vector2Subtract(*
this , vector2);
-
-
-
-◆ operator-() [2/2]
+Definition at line 67 of file Vector2.hpp .
-
-
-
-
-
-
-
- Vector2 raylib::Vector2::operator-
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 74 of file Vector2.hpp .
-
75 return Vector2Negate(*
this );
@@ -1167,12 +1176,42 @@ Static Public Member Functions
+
+
+◆ operator/() [1/2]
+
+
+
+
+
+
+
+
+ Vector2 & raylib::Vector2::operator/
+ (
+ const float
+ div )
+
+
+
+
+
+inline
+
+
+
-◆ operator/() [1/2]
+◆ operator/() [2/2]
@@ -1195,68 +1234,12 @@ Static Public Member Functions
-
Definition at line 98 of file Vector2.hpp .
-
99 return Vector2DivideV(*
this , vector2);
-
-
-
-◆ operator/() [2/2]
+Definition at line 99 of file Vector2.hpp .
-
-
-
-
-
-
-
- Vector2 raylib::Vector2::operator/
- (
- const float
- div )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 106 of file Vector2.hpp .
-
107 return Vector2Divide(*
this , div);
-
-
-
-◆ operator/=() [1/2]
-
-
-
-
-
-
-
-
- Vector2 & raylib::Vector2::operator/=
- (
- const Vector2 &
- vector2 )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 135 of file Vector2.hpp .
-
136 set (Vector2DivideV(*
this , vector2));
-◆ operator/=() [2/2]
+◆ operator/=() [1/2]
@@ -1279,8 +1262,38 @@ Static Public Member Functions
+
+
+◆ operator/=() [2/2]
+
+
+
+
+
+
+
+
+ Vector2 & raylib::Vector2::operator/=
+ (
+ const Vector2 &
+ vector2 )
+
+
+
+
+
+inline
+
+
+
@@ -1307,8 +1320,10 @@ Static Public Member Functions
@@ -1335,8 +1350,10 @@ Static Public Member Functions
@@ -1363,8 +1380,8 @@ Static Public Member Functions
@@ -1391,8 +1408,8 @@ Static Public Member Functions
@@ -1419,8 +1436,8 @@ Static Public Member Functions
@@ -1447,8 +1464,10 @@ Static Public Member Functions
@@ -1475,7 +1494,7 @@ Static Public Member Functions
@@ -1503,7 +1522,7 @@ Static Public Member Functions
@@ -1531,8 +1550,8 @@ Static Public Member Functions
-
Definition at line 62 of file Vector2.hpp .
-
63 return Vector2Subtract(*
this , vector2);
+
Definition at line 63 of file Vector2.hpp .
+
@@ -1558,16 +1577,16 @@ Static Public Member Functions
diff --git a/docs/classraylib_1_1_vector3-members.html b/docs/classraylib_1_1_vector3-members.html
index 2cec594..735562f 100644
--- a/docs/classraylib_1_1_vector3-members.html
+++ b/docs/classraylib_1_1_vector3-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_vector3.html b/docs/classraylib_1_1_vector3.html
index ba84464..5caeaa2 100644
--- a/docs/classraylib_1_1_vector3.html
+++ b/docs/classraylib_1_1_vector3.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Vector3 Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
+
Vector3 (::Color color)
+
Vector3 (::Vector3 vec)
Vector3 (float X=0, float Y=0, float Z=0)
-
Vector3 (::Color color)
-
Vector3 Add (const Vector3 &vector3)
Vector3 Barycenter (const Vector3 &a, const Vector3 &b, const Vector3 &c)
@@ -91,24 +94,24 @@ Public Member Functions
float Distance (const Vector3 &vector3)
+
Vector3 & Divide (const float div)
+
Vector3 Divide (const Vector3 &vector3)
-
Vector3 Divide (const float div)
-
float DotProduct (const Vector3 &vector3)
Vector3 & DrawCircle3D (float radius, Vector3 rotationAxis, float rotationAngle, Color color)
-
Vector3 & DrawCube (float width, float height, float length, ::Color color)
-
Vector3 & DrawCube (::Vector3 size, ::Color color)
+
Vector3 & DrawCube (float width, float height, float length, ::Color color)
+
Vector3 & DrawCubeTexture (::Texture2D texture, float width, float height, float length, ::Color color)
-
Vector3 & DrawCubeWires (float width, float height, float length, ::Color color)
-
Vector3 & DrawCubeWires (::Vector3 size, ::Color color)
+
Vector3 & DrawCubeWires (float width, float height, float length, ::Color color)
+
Vector3 & DrawCylinder (float radiusTop, float radiusBottom, float height, int slices, Color color)
Vector3 & DrawCylinderWires (float radiusTop, float radiusBottom, float height, int slices, Color color)
@@ -147,32 +150,32 @@ Public Member Functions
Vector3 Normalize ()
-
Vector3 operator* (const Vector3 &vector3)
-
Vector3 operator* (const float scale)
-
Vector3 & operator*= (const Vector3 &vector3)
-
+
Vector3 operator* (const Vector3 &vector3)
+
Vector3 & operator*= (const float scale)
+
Vector3 & operator*= (const Vector3 &vector3)
+
Vector3 operator+ (const Vector3 &vector3)
Vector3 & operator+= (const Vector3 &vector3)
-
Vector3 operator- (const Vector3 &vector3)
-
Vector3 operator- ()
+
Vector3 operator- (const Vector3 &vector3)
+
Vector3 & operator-= (const Vector3 &vector3)
-
Vector3 operator/ (const Vector3 &vector3)
-
Vector3 operator/ (const float div)
-
Vector3 & operator/= (const Vector3 &vector3)
-
+
Vector3 operator/ (const Vector3 &vector3)
+
Vector3 & operator/= (const float div)
+
Vector3 & operator/= (const Vector3 &vector3)
+
Vector3 & operator= (const ::Vector3 &vector3)
Vector3 & operator= (const Vector3 &vector3)
@@ -238,7 +241,9 @@ Static Public Member Functions
@@ -282,7 +287,7 @@ Static Public Member Functions
@@ -310,7 +315,9 @@ Static Public Member Functions
Definition at line 32 of file Vector3.hpp .
-
33 set (ColorToHSV(color));
+
+
References set() .
+
@@ -339,7 +346,7 @@ Static Public Member Functions
Definition at line 62 of file Vector3.hpp .
-
63 return Vector3Add(*
this , vector3);
+
@@ -382,8 +389,8 @@ Static Public Member Functions
@@ -426,8 +433,8 @@ Static Public Member Functions
-
Definition at line 291 of file Vector3.hpp .
-
292 return CheckCollisionSpheres(*
this , radiusA, centerB, radiusB);
+
Definition at line 299 of file Vector3.hpp .
+
@@ -454,8 +461,8 @@ Static Public Member Functions
-
Definition at line 175 of file Vector3.hpp .
-
176 return Vector3CrossProduct(*
this , vector3);
+
Definition at line 183 of file Vector3.hpp .
+
@@ -482,12 +489,40 @@ Static Public Member Functions
+
+
+◆ Divide() [1/2]
+
+
+
+
+
+
+
+
+ Vector3 & raylib::Vector3::Divide
+ (
+ const float
+ div )
+
+
+
+
+
+inline
+
+
+
-◆ Divide() [1/2]
+◆ Divide() [2/2]
@@ -511,35 +546,9 @@ Static Public Member Functions
Definition at line 102 of file Vector3.hpp .
-
103 return Vector3DivideV(*
this , vector3);
-
-
-
-◆ Divide() [2/2]
-
-
-
-
-
-
-
- Vector3 raylib::Vector3::Divide
- (
- const float
- div )
-
-
-
-
-
-inline
-
-
-
@@ -566,8 +575,8 @@ Static Public Member Functions
@@ -616,13 +625,50 @@ Static Public Member Functions
-
Definition at line 228 of file Vector3.hpp .
-
229 ::DrawCircle3D (*
this , radius, rotationAxis, rotationAngle, color);
Vector3 & DrawCircle3D(float radius, Vector3 rotationAxis, float rotationAngle, Color color)
-
+
Definition at line 236 of file Vector3.hpp .
+
+
+
+
+◆ DrawCube() [1/2]
+
+
+
+
+
+
+
+
+ Vector3 & raylib::Vector3::DrawCube
+ (
+ ::Vector3
+ size ,
+
+
+
+
+ ::Color
+ color
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
-◆ DrawCube() [1/2]
+◆ DrawCube() [2/2]
@@ -667,47 +713,8 @@ Static Public Member Functions
-
Definition at line 233 of file Vector3.hpp .
-
234 ::DrawCube (*
this , width, height, length, color);
Vector3 & DrawCube(float width, float height, float length, ::Color color)
-
-
-
-
-◆ DrawCube() [2/2]
+Definition at line 241 of file Vector3.hpp .
-
-
-
-
-
-
-
- Vector3 & raylib::Vector3::DrawCube
- (
- ::Vector3
- size ,
-
-
-
-
- ::Color
- color
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 237 of file Vector3.hpp .
-
238 ::DrawCubeV(*
this , size, color);
@@ -762,13 +769,50 @@ Static Public Member Functions
-
Definition at line 251 of file Vector3.hpp .
-
Vector3 & DrawCubeTexture(::Texture2D texture, float width, float height, float length, ::Color color)
-
+
Definition at line 259 of file Vector3.hpp .
+
+
+
+
+◆ DrawCubeWires() [1/2]
+
+
+
+
+
+
+
+
+ Vector3 & raylib::Vector3::DrawCubeWires
+ (
+ ::Vector3
+ size ,
+
+
+
+
+ ::Color
+ color
+
+
+
+ )
+
+
+
+
+
+inline
+
+
+
-◆ DrawCubeWires() [1/2]
+◆ DrawCubeWires() [2/2]
@@ -813,47 +857,8 @@ Static Public Member Functions
-
Definition at line 242 of file Vector3.hpp .
-
Vector3 & DrawCubeWires(float width, float height, float length, ::Color color)
-
-
-
-
-◆ DrawCubeWires() [2/2]
+Definition at line 250 of file Vector3.hpp .
-
-
-
-
-
-
-
- Vector3 & raylib::Vector3::DrawCubeWires
- (
- ::Vector3
- size ,
-
-
-
-
- ::Color
- color
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 246 of file Vector3.hpp .
-
247 ::DrawCubeWiresV(*
this , size, color);
@@ -908,9 +913,8 @@ Static Public Member Functions
-
Definition at line 271 of file Vector3.hpp .
-
272 ::DrawCylinder (*
this , radiusTop, radiusBottom, height, slices, color);
Vector3 & DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)
-
+
Definition at line 279 of file Vector3.hpp .
+
@@ -965,9 +969,8 @@ Static Public Member Functions
-
Definition at line 276 of file Vector3.hpp .
-
Vector3 & DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)
-
+
Definition at line 284 of file Vector3.hpp .
+
@@ -993,9 +996,8 @@ Static Public Member Functions
@@ -1032,9 +1034,8 @@ Static Public Member Functions
-
Definition at line 220 of file Vector3.hpp .
-
Vector3 & DrawLine3D(::Vector3 endPos, ::Color color)
-
+
Definition at line 228 of file Vector3.hpp .
+
@@ -1071,9 +1072,8 @@ Static Public Member Functions
-
Definition at line 281 of file Vector3.hpp .
-
Vector3 & DrawPlane(::Vector2 size, ::Color color)
-
+
Definition at line 289 of file Vector3.hpp .
+
@@ -1100,9 +1100,8 @@ Static Public Member Functions
@@ -1139,9 +1138,8 @@ Static Public Member Functions
-
Definition at line 256 of file Vector3.hpp .
-
Vector3 & DrawSphere(float radius, Color color)
-
+
Definition at line 264 of file Vector3.hpp .
+
@@ -1190,8 +1188,8 @@ Static Public Member Functions
-
Definition at line 261 of file Vector3.hpp .
-
262 ::DrawSphereEx(*
this , radius, rings, slices, color);
+
Definition at line 269 of file Vector3.hpp .
+
@@ -1240,9 +1238,8 @@ Static Public Member Functions
-
Definition at line 266 of file Vector3.hpp .
-
Vector3 & DrawSphereWires(float radius, int rings, int slices, Color color)
-
+
Definition at line 274 of file Vector3.hpp .
+
@@ -1349,8 +1346,8 @@ Static Public Member Functions
@@ -1387,8 +1384,8 @@ Static Public Member Functions
-
Definition at line 171 of file Vector3.hpp .
-
172 return Vector3Lerp(*
this , vector3, amount);
+
Definition at line 179 of file Vector3.hpp .
+
@@ -1415,8 +1412,8 @@ Static Public Member Functions
@@ -1443,8 +1440,8 @@ Static Public Member Functions
@@ -1472,7 +1469,7 @@ Static Public Member Functions
Definition at line 86 of file Vector3.hpp .
-
87 return Vector3Multiply(*
this , vector3);
+
@@ -1499,7 +1496,7 @@ Static Public Member Functions
Definition at line 78 of file Vector3.hpp .
-
79 return Vector3Negate(*
this );
+
@@ -1525,8 +1522,8 @@ Static Public Member Functions
@@ -1552,40 +1549,12 @@ Static Public Member Functions
-
-
-◆ operator*() [1/2]
+Definition at line 223 of file Vector3.hpp .
-
-
-
-
-
-
-
- Vector3 raylib::Vector3::operator*
- (
- const Vector3 &
- vector3 )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 90 of file Vector3.hpp .
-
91 return Vector3Multiply(*
this , vector3);
-◆ operator*() [2/2]
+◆ operator*() [1/2]
@@ -1609,11 +1578,11 @@ Static Public Member Functions
Definition at line 98 of file Vector3.hpp .
-
99 return Vector3Scale(*
this , scale);
+
-
-◆ operator*=() [1/2]
+
+◆ operator*() [2/2]
@@ -1622,7 +1591,7 @@ Static Public Member Functions
- Vector3 & raylib::Vector3::operator*=
+ Vector3 raylib::Vector3::operator*
(
const Vector3 &
vector3 )
@@ -1636,12 +1605,12 @@ Static Public Member Functions
-◆ operator*=() [2/2]
+◆ operator*=() [1/2]
@@ -1664,8 +1633,40 @@ Static Public Member Functions
+
+
+◆ operator*=() [2/2]
+
+
+
+
+
+
+
+
+ Vector3 & raylib::Vector3::operator*=
+ (
+ const Vector3 &
+ vector3 )
+
+
+
+
+
+inline
+
+
+
@@ -1693,7 +1694,7 @@ Static Public Member Functions
Definition at line 66 of file Vector3.hpp .
-
67 return Vector3Add(*
this , vector3);
+
@@ -1720,12 +1721,41 @@ Static Public Member Functions
+
+
+◆ operator-() [1/2]
+
+
+
+
+
+
+
+
+ Vector3 raylib::Vector3::operator-
+ (
+ )
+
+
+
+
+
+inline
+
+
+
-◆ operator-() [1/2]
+◆ operator-() [2/2]
@@ -1749,34 +1779,7 @@ Static Public Member Functions
Definition at line 74 of file Vector3.hpp .
-
75 return Vector3Subtract(*
this , vector3);
-
-
-
-◆ operator-() [2/2]
-
-
-
-
-
-
-
- Vector3 raylib::Vector3::operator-
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 82 of file Vector3.hpp .
-
83 return Vector3Negate(*
this );
@@ -1803,12 +1806,44 @@ Static Public Member Functions
+
+
+◆ operator/() [1/2]
+
+
+
+
+
+
+
+
+ Vector3 raylib::Vector3::operator/
+ (
+ const float
+ div )
+
+
+
+
+
+inline
+
+
+
-◆ operator/() [1/2]
+◆ operator/() [2/2]
@@ -1832,11 +1867,11 @@ Static Public Member Functions
Definition at line 106 of file Vector3.hpp .
-
107 return Vector3DivideV(*
this , vector3);
+
-
-◆ operator/() [2/2]
+
+◆ operator/=() [1/2]
@@ -1845,7 +1880,7 @@ Static Public Member Functions
- Vector3 raylib::Vector3::operator/
+ Vector3 & raylib::Vector3::operator/=
(
const float
div )
@@ -1859,12 +1894,12 @@ Static Public Member Functions
-◆ operator/=() [1/2]
+◆ operator/=() [2/2]
@@ -1887,36 +1922,8 @@ Static Public Member Functions
-
Definition at line 143 of file Vector3.hpp .
-
144 set (Vector3DivideV(*
this , vector3));
-
-
-
-◆ operator/=() [2/2]
+Definition at line 147 of file Vector3.hpp .
-
-
-
-
-
-
-
- Vector3 & raylib::Vector3::operator/=
- (
- const float
- div )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 149 of file Vector3.hpp .
-
150 set (Vector3Divide(*
this , div));
@@ -1944,7 +1951,9 @@ Static Public Member Functions
@@ -1972,7 +1981,9 @@ Static Public Member Functions
@@ -2000,7 +2011,7 @@ Static Public Member Functions
@@ -2027,8 +2038,8 @@ Static Public Member Functions
-
Definition at line 183 of file Vector3.hpp .
-
184 return Vector3OrthoNormalize(
this , vector3);
+
Definition at line 191 of file Vector3.hpp .
+
@@ -2054,8 +2065,8 @@ Static Public Member Functions
@@ -2082,8 +2093,8 @@ Static Public Member Functions
@@ -2110,8 +2121,8 @@ Static Public Member Functions
-
Definition at line 191 of file Vector3.hpp .
-
192 return Vector3RotateByQuaternion(*
this , quaternion);
+
Definition at line 199 of file Vector3.hpp .
+
@@ -2139,7 +2150,7 @@ Static Public Member Functions
Definition at line 94 of file Vector3.hpp .
-
95 return Vector3Scale(*
this , scale);
+
@@ -2167,7 +2178,9 @@ Static Public Member Functions
@@ -2279,7 +2292,7 @@ Static Public Member Functions
Definition at line 70 of file Vector3.hpp .
-
71 return Vector3Subtract(*
this , vector3);
+
@@ -2306,8 +2319,8 @@ Static Public Member Functions
@@ -2333,16 +2346,16 @@ Static Public Member Functions
diff --git a/docs/classraylib_1_1_vector4-members.html b/docs/classraylib_1_1_vector4-members.html
index b57ac10..72da562 100644
--- a/docs/classraylib_1_1_vector4-members.html
+++ b/docs/classraylib_1_1_vector4-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_vector4.html b/docs/classraylib_1_1_vector4.html
index d754530..81f0258 100644
--- a/docs/classraylib_1_1_vector4.html
+++ b/docs/classraylib_1_1_vector4.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Vector4 Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
+
Vector4 (::Color color)
+
Vector4 (::Vector4 vec)
Vector4 (float X=0, float Y=0, float Z=0, float W=0)
-
Vector4 (::Color color)
-
Color ColorFromNormalized ()
float GetW ()
@@ -123,10 +126,10 @@ Public Member Functions
Vector4 Slerp (const Vector4 &vector4, float amount)
-
void ToAxisAngle (Vector3 *outAxis, float *outAngle)
-
std::pair< Vector3 , float > ToAxisAngle ()
+
void ToAxisAngle (Vector3 *outAxis, float *outAngle)
+
Vector3 ToEuler ()
Matrix ToMatrix ()
@@ -178,7 +181,9 @@ Static Public Member Functions
@@ -228,7 +233,7 @@ Static Public Member Functions
@@ -256,7 +261,9 @@ Static Public Member Functions
Definition at line 34 of file Vector4.hpp .
-
35 set (ColorNormalize(color));
+
+
References set() .
+
@@ -284,7 +291,7 @@ Static Public Member Functions
Definition at line 152 of file Vector4.hpp .
-
153 return ::ColorFromNormalized(*
this );
+
@@ -322,7 +329,7 @@ Static Public Member Functions
Definition at line 135 of file Vector4.hpp .
-
136 return ::QuaternionFromAxisAngle(axis, angle);
+
@@ -366,7 +373,7 @@ Static Public Member Functions
Definition at line 139 of file Vector4.hpp .
-
140 return ::QuaternionFromEuler(roll, pitch, yaw);
+
@@ -394,7 +401,7 @@ Static Public Member Functions
Definition at line 143 of file Vector4.hpp .
-
144 return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
+
@@ -422,7 +429,7 @@ Static Public Member Functions
Definition at line 131 of file Vector4.hpp .
-
132 return ::QuaternionFromMatrix(matrix);
+
@@ -460,7 +467,7 @@ Static Public Member Functions
Definition at line 127 of file Vector4.hpp .
-
128 return ::QuaternionFromVector3ToVector3(from , to);
+
@@ -595,7 +602,7 @@ Static Public Member Functions
Definition at line 123 of file Vector4.hpp .
-
124 return ::QuaternionIdentity();
+
@@ -622,7 +629,7 @@ Static Public Member Functions
Definition at line 100 of file Vector4.hpp .
-
101 return QuaternionInvert(*
this );
+
@@ -649,7 +656,7 @@ Static Public Member Functions
Definition at line 92 of file Vector4.hpp .
-
93 return QuaternionLength(*
this );
+
@@ -687,7 +694,7 @@ Static Public Member Functions
Definition at line 76 of file Vector4.hpp .
-
77 return QuaternionLerp(*
this , vector4, amount);
+
@@ -715,7 +722,7 @@ Static Public Member Functions
Definition at line 68 of file Vector4.hpp .
-
69 return QuaternionMultiply(*
this , vector4);
+
@@ -753,7 +760,7 @@ Static Public Member Functions
Definition at line 80 of file Vector4.hpp .
-
81 return QuaternionNlerp(*
this , vector4, amount);
+
@@ -780,7 +787,7 @@ Static Public Member Functions
Definition at line 96 of file Vector4.hpp .
-
97 return QuaternionNormalize(*
this );
+
@@ -808,7 +815,7 @@ Static Public Member Functions
Definition at line 72 of file Vector4.hpp .
-
73 return QuaternionMultiply(*
this , vector4);
+
@@ -836,7 +843,9 @@ Static Public Member Functions
@@ -864,7 +873,9 @@ Static Public Member Functions
@@ -892,7 +903,7 @@ Static Public Member Functions
@@ -920,7 +931,9 @@ Static Public Member Functions
@@ -1070,11 +1083,38 @@ Static Public Member Functions
Definition at line 84 of file Vector4.hpp .
-
85 return QuaternionSlerp(*
this , vector4, amount);
+
+
+
+
+◆ ToAxisAngle() [1/2]
+
+
+
+
+
+
+
+
+ std::pair<Vector3 , float> raylib::Vector4::ToAxisAngle
+ (
+ )
+
+
+
+
+
+inline
+
+
+
-◆ ToAxisAngle() [1/2]
+◆ ToAxisAngle() [2/2]
@@ -1108,35 +1148,7 @@ Static Public Member Functions
Definition at line 104 of file Vector4.hpp .
-
105 return QuaternionToAxisAngle(*
this , outAxis, outAngle);
-
-
-
-◆ ToAxisAngle() [2/2]
-
-
-
-
-
-
-
- std::pair<Vector3 , float> raylib::Vector4::ToAxisAngle
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 108 of file Vector4.hpp .
-
112 QuaternionToAxisAngle(*
this , &outAxis, &outAngle);
114 std::pair<Vector3, float> out(outAxis, outAngle);
-
@@ -1163,7 +1175,7 @@ Static Public Member Functions
Definition at line 147 of file Vector4.hpp .
-
148 return ::QuaternionToEuler(*
this );
+
@@ -1190,7 +1202,7 @@ Static Public Member Functions
Definition at line 88 of file Vector4.hpp .
-
89 return QuaternionToMatrix(*
this );
+
@@ -1218,15 +1230,15 @@ Static Public Member Functions
Definition at line 119 of file Vector4.hpp .
-
120 return ::QuaternionTransform(*
this , matrix);
+
diff --git a/docs/classraylib_1_1_vr_simulator-members.html b/docs/classraylib_1_1_vr_simulator-members.html
index 6ce599e..f8cbce0 100644
--- a/docs/classraylib_1_1_vr_simulator-members.html
+++ b/docs/classraylib_1_1_vr_simulator-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_vr_simulator.html b/docs/classraylib_1_1_vr_simulator.html
index e726718..b50d9b4 100644
--- a/docs/classraylib_1_1_vr_simulator.html
+++ b/docs/classraylib_1_1_vr_simulator.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::VrSimulator Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -168,9 +170,7 @@ Public Member Functions
Definition at line 20 of file VrSimulator.hpp .
References Init() , and Set() .
- 22 Set (info, distortion);
VrSimulator & Set(VrDeviceInfo info, Shader distortion)
-
-
+
@@ -199,8 +199,7 @@ Public Member Functions
Definition at line 29 of file VrSimulator.hpp .
References Close() .
-
+
@@ -228,7 +227,7 @@ Public Member Functions
@@ -257,7 +256,7 @@ Public Member Functions
Definition at line 57 of file VrSimulator.hpp .
Referenced by ~VrSimulator() .
-
+
@@ -284,7 +283,7 @@ Public Member Functions
@@ -313,7 +312,7 @@ Public Member Functions
Definition at line 25 of file VrSimulator.hpp .
Referenced by VrSimulator() .
-
+
@@ -340,7 +339,7 @@ Public Member Functions
@@ -380,7 +379,7 @@ Public Member Functions
Definition at line 41 of file VrSimulator.hpp .
Referenced by VrSimulator() .
- 42 ::SetVrConfiguration(info, distortion);
+
@@ -407,7 +406,7 @@ Public Member Functions
@@ -435,15 +434,15 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_wave-members.html b/docs/classraylib_1_1_wave-members.html
index 2f8ef48..8e2e9af 100644
--- a/docs/classraylib_1_1_wave-members.html
+++ b/docs/classraylib_1_1_wave-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/classraylib_1_1_wave.html b/docs/classraylib_1_1_wave.html
index 140cbc7..75fecd2 100644
--- a/docs/classraylib_1_1_wave.html
+++ b/docs/classraylib_1_1_wave.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Wave Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
Wave (::Wave wave)
-
Wave (unsigned int SampleCount=0, unsigned int SampleRate=0, unsigned int SampleSize=0, unsigned int Channels=0)
-
Wave (const std::string &fileName)
+
Wave (unsigned int SampleCount=0, unsigned int SampleRate=0, unsigned int SampleSize=0, unsigned int Channels=0)
+
~Wave ()
Wave Copy ()
@@ -154,7 +157,9 @@ Public Member Functions
@@ -204,7 +209,7 @@ Public Member Functions
Definition at line 21 of file Wave.hpp .
-
22 sampleCount = SampleCount;
23 sampleRate = SampleRate;
24 sampleSize = SampleSize;
+
@@ -232,7 +237,9 @@ Public Member Functions
Definition at line 28 of file Wave.hpp .
-
29 set (LoadWave(fileName.c_str()));
+
+
References set() .
+
@@ -261,8 +268,7 @@ Public Member Functions
Definition at line 32 of file Wave.hpp .
References Unload() .
-
+
@@ -290,7 +296,7 @@ Public Member Functions
Definition at line 65 of file Wave.hpp .
-
66 return ::WaveCopy(*
this );
+
@@ -328,7 +334,7 @@ Public Member Functions
Definition at line 69 of file Wave.hpp .
-
70 ::WaveCrop(
this , initSample, finalSample);
+
@@ -356,7 +362,7 @@ Public Member Functions
Definition at line 74 of file Wave.hpp .
-
75 ::ExportWave(*
this , fileName.c_str());
+
@@ -384,7 +390,7 @@ Public Member Functions
Definition at line 78 of file Wave.hpp .
-
79 ::ExportWaveAsCode(*
this , fileName.c_str());
+
@@ -428,7 +434,7 @@ Public Member Functions
Definition at line 60 of file Wave.hpp .
-
61 ::WaveFormat(
this , SampleRate, SampleSize, Channels);
+
@@ -509,7 +515,7 @@ Public Member Functions
Definition at line 94 of file Wave.hpp .
-
95 return ::GetWaveData(*
this );
+
@@ -617,7 +623,7 @@ Public Member Functions
Definition at line 90 of file Wave.hpp .
-
91 return ::LoadSoundFromWave(*
this );
+
@@ -645,7 +651,9 @@ Public Member Functions
@@ -673,7 +681,9 @@ Public Member Functions
@@ -701,7 +711,9 @@ Public Member Functions
Definition at line 36 of file Wave.hpp .
-
37 sampleCount = wave.sampleCount;
38 sampleRate = wave.sampleRate;
39 sampleSize = wave.sampleSize;
40 channels = wave.channels;
+
+
Referenced by operator=() , and Wave() .
+
@@ -870,15 +882,15 @@ Public Member Functions
Definition at line 83 of file Wave.hpp .
Referenced by ~Wave() .
-
+
diff --git a/docs/classraylib_1_1_window-members.html b/docs/classraylib_1_1_window-members.html
index 597f1d1..635cb5e 100644
--- a/docs/classraylib_1_1_window-members.html
+++ b/docs/classraylib_1_1_window-members.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Member List
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
GetFrameTime ()raylib::Window inline
GetHandle ()raylib::Window inline
GetMonitorName (int monitor)raylib::Window inline
+
GetPosition ()raylib::Window inline
+
GetScaleDPI ()raylib::Window inline
GetScreenHeight ()raylib::Window inline
GetScreenWidth ()raylib::Window inline
GetTime ()raylib::Window inline
-
GetWindowPosition ()raylib::Window inline
-
Hide ()raylib::Window inline
-
Init (int width, int height, const std::string &title)raylib::Window inline
-
IsFullscreen ()raylib::Window inline
-
IsHidden ()raylib::Window inline
-
IsMinimized ()raylib::Window inline
-
IsReady ()raylib::Window inline static
-
IsResized ()raylib::Window inline
-
SetClipboardText (const std::string &text)raylib::Window inline
-
SetIcon (Image image)raylib::Window inline
-
SetMinSize (int width, int height)raylib::Window inline
-
SetMonitor (int monitor)raylib::Window inline
-
SetPosition (int x, int y)raylib::Window inline
-
SetSize (int width, int height)raylib::Window inline
-
SetTargetFPS (int fps)raylib::Window inline
-
SetTitle (const std::string &title)raylib::Window inline
-
ShouldClose ()raylib::Window inline
-
ToggleFullscreen ()raylib::Window inline
-
Unhide ()raylib::Window inline
-
Window (int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)raylib::Window inline
-
~Window ()raylib::Window inline
+
Hide ()raylib::Window inline
+
Init (int width, int height, const std::string &title)raylib::Window inline
+
IsCursorOnScreen ()raylib::Window inline
+
IsFocused ()raylib::Window inline
+
IsFullscreen ()raylib::Window inline
+
IsHidden ()raylib::Window inline
+
IsMinimized ()raylib::Window inline
+
IsReady ()raylib::Window inline static
+
IsResized ()raylib::Window inline
+
SetClipboardText (const std::string &text)raylib::Window inline
+
SetIcon (Image image)raylib::Window inline
+
SetMinSize (int width, int height)raylib::Window inline
+
SetMonitor (int monitor)raylib::Window inline
+
SetPosition (int x, int y)raylib::Window inline
+
SetSize (int width, int height)raylib::Window inline
+
SetTargetFPS (int fps)raylib::Window inline
+
SetTitle (const std::string &title)raylib::Window inline
+
ShouldClose ()raylib::Window inline
+
ToggleFullscreen ()raylib::Window inline
+
Unhide ()raylib::Window inline
+
Window (int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)raylib::Window inline
+
~Window ()raylib::Window inline
diff --git a/docs/classraylib_1_1_window.html b/docs/classraylib_1_1_window.html
index 5f201e5..22f37fb 100644
--- a/docs/classraylib_1_1_window.html
+++ b/docs/classraylib_1_1_window.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib::Window Class Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
-
Window and Graphics Device Functions.
+
Window and Graphics Device Functions.
More...
Window (int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
- Initialize window and OpenGL context. More...
+ Initialize window and OpenGL context. More...
~Window ()
Window & BeginDrawing ()
void Close ()
- Close window and unload OpenGL context. More...
+ Close window and unload OpenGL context. More...
Window & EndDrawing ()
@@ -100,18 +103,24 @@ Public Member Functions
std::string GetMonitorName (int monitor)
+Vector2 GetPosition ()
+
+Vector2 GetScaleDPI ()
+
int GetScreenHeight ()
int GetScreenWidth ()
double GetTime ()
-Vector2 GetWindowPosition ()
-
Window & Hide ()
void Init (int width, int height, const std::string &title)
+bool IsCursorOnScreen ()
+
+bool IsFocused ()
+
bool IsFullscreen ()
bool IsHidden ()
@@ -137,7 +146,7 @@ Public Member Functions
Window & SetTitle (const std::string &title)
bool ShouldClose ()
- Check if KEY_ESCAPE pressed or Close icon pressed. More...
+ Check if KEY_ESCAPE pressed or Close icon pressed. More...
Window & ToggleFullscreen ()
@@ -147,13 +156,17 @@ Public Member Functions
static bool IsReady ()
- Check if window has been initialized successfully. More...
+ Check if window has been initialized successfully. More...
-
Window and Graphics Device Functions.
-
-
Definition at line 18 of file Window.hpp .
+
Window and Graphics Device Functions.
+
+
while (!w.ShouldClose()) {
+
+
}
+
+
Definition at line 26 of file Window.hpp .
◆ Window()
@@ -203,11 +216,10 @@ Static Public Member Functions
Initialize window and OpenGL context.
-
Definition at line 23 of file Window.hpp .
+
Definition at line 31 of file Window.hpp .
+
+
References Init() .
-
References Init() .
-
25 Init (width, height, title);
void Init(int width, int height, const std::string &title)
-
@@ -233,11 +245,10 @@ Static Public Member Functions
@@ -264,9 +275,8 @@ Static Public Member Functions
@@ -294,10 +304,10 @@ Static Public Member Functions
Close window and unload OpenGL context.
-Definition at line 47 of file Window.hpp .
+Definition at line 55 of file Window.hpp .
+
+Referenced by ~Window() .
-Referenced by ~Window() .
-
@@ -323,9 +333,8 @@ Static Public Member Functions
@@ -351,9 +360,8 @@ Static Public Member Functions
@@ -379,8 +387,8 @@ Static Public Member Functions
@@ -406,8 +414,8 @@ Static Public Member Functions
@@ -433,8 +441,8 @@ Static Public Member Functions
@@ -461,9 +469,62 @@ Static Public Member Functions
-
Definition at line 131 of file Window.hpp .
-
std::string GetMonitorName(int monitor)
-
+
Definition at line 150 of file Window.hpp .
+
+
+
+
+◆ GetPosition()
+
+
+
+
+
+
+
+
+ Vector2 raylib::Window::GetPosition
+ (
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ GetScaleDPI()
+
+
+
+
+
+
+
+
+ Vector2 raylib::Window::GetScaleDPI
+ (
+ )
+
+
+
+
+
+inline
+
+
+
@@ -489,8 +550,8 @@ Static Public Member Functions
@@ -516,8 +577,8 @@ Static Public Member Functions
@@ -543,35 +604,8 @@ Static Public Member Functions
-
-
-◆ GetWindowPosition()
+Definition at line 173 of file Window.hpp .
-
-
-
-
-
-
-
- Vector2 raylib::Window::GetWindowPosition
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 127 of file Window.hpp .
-
128 return ::GetWindowPosition();
@@ -597,8 +631,8 @@ Static Public Member Functions
@@ -641,10 +675,64 @@ Static Public Member Functions
+
+
+◆ IsCursorOnScreen()
+
+
+
+
+
+
+
+
+ bool raylib::Window::IsCursorOnScreen
+ (
+ )
+
+
+
+
+
+inline
+
+
+
+
+
+◆ IsFocused()
+
+
+
+
+
+
+
+
+ bool raylib::Window::IsFocused
+ (
+ )
+
+
+
+
+
+inline
+
+
+
+
+
Definition at line 72 of file Window.hpp .
-
Referenced by Window() .
-
34 ::InitWindow(width, height, title.c_str());
@@ -670,8 +758,8 @@ Static Public Member Functions
-
Definition at line 67 of file Window.hpp .
-
68 return ::IsWindowFullscreen();
+
Definition at line 82 of file Window.hpp .
+
@@ -697,8 +785,8 @@ Static Public Member Functions
@@ -724,8 +812,8 @@ Static Public Member Functions
-
Definition at line 57 of file Window.hpp .
-
58 return ::IsWindowMinimized();
+
Definition at line 69 of file Window.hpp .
+
@@ -753,8 +841,8 @@ Static Public Member Functions
Check if window has been initialized successfully.
-Definition at line 54 of file Window.hpp .
- 55 return ::IsWindowReady();
+Definition at line 66 of file Window.hpp .
+
@@ -780,8 +868,8 @@ Static Public Member Functions
-
Definition at line 60 of file Window.hpp .
-
61 return ::IsWindowResized();
+
Definition at line 75 of file Window.hpp .
+
@@ -808,9 +896,8 @@ Static Public Member Functions
-
Definition at line 139 of file Window.hpp .
-
Window & SetClipboardText(const std::string &text)
-
+
Definition at line 158 of file Window.hpp .
+
@@ -837,8 +924,8 @@ Static Public Member Functions
@@ -875,8 +962,8 @@ Static Public Member Functions
-
Definition at line 98 of file Window.hpp .
-
99 ::SetWindowMinSize(width, height);
+
Definition at line 113 of file Window.hpp .
+
@@ -903,8 +990,8 @@ Static Public Member Functions
@@ -941,8 +1028,8 @@ Static Public Member Functions
@@ -979,8 +1066,8 @@ Static Public Member Functions
@@ -1007,9 +1094,8 @@ Static Public Member Functions
@@ -1036,8 +1122,8 @@ Static Public Member Functions
-
Definition at line 86 of file Window.hpp .
-
87 ::SetWindowTitle(title.c_str());
+
Definition at line 101 of file Window.hpp .
+
@@ -1065,8 +1151,8 @@ Static Public Member Functions
Check if KEY_ESCAPE pressed or Close icon pressed.
-Definition at line 40 of file Window.hpp .
- 41 return ::WindowShouldClose();
+Definition at line 48 of file Window.hpp .
+
@@ -1092,9 +1178,8 @@ Static Public Member Functions
@@ -1120,16 +1205,17 @@ Static Public Member Functions
+Window and Graphics Device Functions.
diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html
index 6aa7b52..3ac20e0 100644
--- a/docs/dir_d44c64559bbebec7f509842c48db8b23.html
+++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: include Directory Reference
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
diff --git a/docs/doxygen.css b/docs/doxygen.css
index 4f1ab91..73ecbb2 100644
--- a/docs/doxygen.css
+++ b/docs/doxygen.css
@@ -1,4 +1,4 @@
-/* The standard CSS for doxygen 1.8.13 */
+/* The standard CSS for doxygen 1.8.17 */
body, table, div, p, dl {
font: 400 14px/22px Roboto,sans-serif;
@@ -53,17 +53,24 @@ dt {
font-weight: bold;
}
-div.multicol {
+ul.multicol {
-moz-column-gap: 1em;
-webkit-column-gap: 1em;
+ column-gap: 1em;
-moz-column-count: 3;
-webkit-column-count: 3;
+ column-count: 3;
}
p.startli, p.startdd {
margin-top: 2px;
}
+th p.starttd, p.intertd, p.endtd {
+ font-size: 100%;
+ font-weight: 700;
+}
+
p.starttd {
margin-top: 0px;
}
@@ -80,6 +87,15 @@ p.endtd {
margin-bottom: 2px;
}
+p.interli {
+}
+
+p.interdd {
+}
+
+p.intertd {
+}
+
/* @end */
caption {
@@ -134,12 +150,12 @@ a.qindex {
a.qindexHL {
font-weight: bold;
background-color: #9CAFD4;
- color: #ffffff;
+ color: #FFFFFF;
border: 1px double #869DCA;
}
.contents a.qindexHL:visited {
- color: #ffffff;
+ color: #FFFFFF;
}
a.el {
@@ -163,6 +179,25 @@ dl.el {
margin-left: -1cm;
}
+ul {
+ overflow: hidden; /*Fixed: list item bullets overlap floating elements*/
+}
+
+#side-nav ul {
+ overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */
+}
+
+#main-nav ul {
+ overflow: visible; /* reset ul rule for the navigation bar drop down lists */
+}
+
+.fragment {
+ text-align: left;
+ direction: ltr;
+ overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/
+ overflow-y: hidden;
+}
+
pre.fragment {
border: 1px solid #C4CFE5;
background-color: #FBFCFD;
@@ -177,8 +212,8 @@ pre.fragment {
}
div.fragment {
- padding: 0px;
- margin: 4px 8px 4px 2px;
+ padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/
+ margin: 4px 8px 4px 2px;
background-color: #FBFCFD;
border: 1px solid #C4CFE5;
}
@@ -248,7 +283,7 @@ span.lineno a:hover {
div.ah, span.ah {
background-color: black;
font-weight: bold;
- color: #ffffff;
+ color: #FFFFFF;
margin-bottom: 3px;
margin-top: 3px;
padding: 0.2em;
@@ -324,7 +359,7 @@ img.formulaDsp {
}
-img.formulaInl {
+img.formulaInl, img.inline {
vertical-align: middle;
}
@@ -402,6 +437,13 @@ blockquote {
padding: 0 12px 0 16px;
}
+blockquote.DocNodeRTL {
+ border-left: 0;
+ border-right: 2px solid #9CAFD4;
+ margin: 0 4px 0 24px;
+ padding: 0 16px 0 12px;
+}
+
/* @end */
/*
@@ -498,7 +540,7 @@ table.memberdecls {
white-space: nowrap;
}
-.memItemRight {
+.memItemRight, .memTemplItemRight {
width: 100%;
}
@@ -666,17 +708,17 @@ dl.reflist dd {
padding-left: 0px;
}
-.params .paramname, .retval .paramname {
+.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname {
font-weight: bold;
vertical-align: top;
}
-.params .paramtype {
+.params .paramtype, .tparams .paramtype {
font-style: italic;
vertical-align: top;
}
-.params .paramdir {
+.params .paramdir, .tparams .paramdir {
font-family: "courier new",courier,monospace;
vertical-align: top;
}
@@ -1081,72 +1123,143 @@ div.headertitle
padding: 5px 5px 5px 10px;
}
-dl
-{
- padding: 0 0 0 10px;
+.PageDocRTL-title div.headertitle {
+ text-align: right;
+ direction: rtl;
}
-/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */
-dl.section
-{
+dl {
+ padding: 0 0 0 0;
+}
+
+/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */
+dl.section {
margin-left: 0px;
padding-left: 0px;
}
-dl.note
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #D0C000;
+dl.section.DocNodeRTL {
+ margin-right: 0px;
+ padding-right: 0px;
}
-dl.warning, dl.attention
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #FF0000;
+dl.note {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #D0C000;
}
-dl.pre, dl.post, dl.invariant
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #00D000;
+dl.note.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #D0C000;
}
-dl.deprecated
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #505050;
+dl.warning, dl.attention {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #FF0000;
}
-dl.todo
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #00C0E0;
+dl.warning.DocNodeRTL, dl.attention.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #FF0000;
}
-dl.test
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #3030E0;
+dl.pre, dl.post, dl.invariant {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #00D000;
}
-dl.bug
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #C08050;
+dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #00D000;
+}
+
+dl.deprecated {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #505050;
+}
+
+dl.deprecated.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #505050;
+}
+
+dl.todo {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #00C0E0;
+}
+
+dl.todo.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #00C0E0;
+}
+
+dl.test {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #3030E0;
+}
+
+dl.test.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #3030E0;
+}
+
+dl.bug {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #C08050;
+}
+
+dl.bug.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #C08050;
}
dl.section dd {
@@ -1263,6 +1376,11 @@ div.toc {
width: 200px;
}
+.PageDocRTL-title div.toc {
+ float: left !important;
+ text-align: right;
+}
+
div.toc li {
background: url("bdwn.png") no-repeat scroll 0 5px transparent;
font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif;
@@ -1271,6 +1389,12 @@ div.toc li {
padding-top: 2px;
}
+.PageDocRTL-title div.toc li {
+ background-position-x: right !important;
+ padding-left: 0 !important;
+ padding-right: 10px;
+}
+
div.toc h3 {
font: bold 12px/1.2 Arial,FreeSans,sans-serif;
color: #4665A2;
@@ -1300,6 +1424,26 @@ div.toc li.level4 {
margin-left: 45px;
}
+.PageDocRTL-title div.toc li.level1 {
+ margin-left: 0 !important;
+ margin-right: 0;
+}
+
+.PageDocRTL-title div.toc li.level2 {
+ margin-left: 0 !important;
+ margin-right: 15px;
+}
+
+.PageDocRTL-title div.toc li.level3 {
+ margin-left: 0 !important;
+ margin-right: 30px;
+}
+
+.PageDocRTL-title div.toc li.level4 {
+ margin-left: 0 !important;
+ margin-right: 45px;
+}
+
.inherit_header {
font-weight: bold;
color: gray;
@@ -1413,7 +1557,7 @@ tr.heading h2 {
}
#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after {
- border-top-color: #ffffff;
+ border-top-color: #FFFFFF;
border-width: 10px;
margin: 0px -10px;
}
@@ -1441,7 +1585,7 @@ tr.heading h2 {
}
#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after {
- border-bottom-color: #ffffff;
+ border-bottom-color: #FFFFFF;
border-width: 10px;
margin: 0px -10px;
}
@@ -1468,7 +1612,7 @@ tr.heading h2 {
left: 100%;
}
#powerTip.e:after {
- border-left-color: #ffffff;
+ border-left-color: #FFFFFF;
border-width: 10px;
top: 50%;
margin-top: -10px;
@@ -1484,7 +1628,7 @@ tr.heading h2 {
right: 100%;
}
#powerTip.w:after {
- border-right-color: #ffffff;
+ border-right-color: #FFFFFF;
border-width: 10px;
top: 50%;
margin-top: -10px;
@@ -1592,5 +1736,36 @@ th.markdownTableHeadCenter, td.markdownTableBodyCenter {
text-align: center
}
+.DocNodeRTL {
+ text-align: right;
+ direction: rtl;
+}
+.DocNodeLTR {
+ text-align: left;
+ direction: ltr;
+}
+
+table.DocNodeRTL {
+ width: auto;
+ margin-right: 0;
+ margin-left: auto;
+}
+
+table.DocNodeLTR {
+ width: auto;
+ margin-right: auto;
+ margin-left: 0;
+}
+
+tt, code, kbd, samp
+{
+ display: inline-block;
+ direction:ltr;
+}
/* @end */
+
+u {
+ text-decoration: underline;
+}
+
diff --git a/docs/dynsections.js b/docs/dynsections.js
index 1e6bf07..c8e84aa 100644
--- a/docs/dynsections.js
+++ b/docs/dynsections.js
@@ -1,3 +1,26 @@
+/*
+ @licstart The following is the entire license notice for the
+ JavaScript code in this file.
+
+ Copyright (C) 1997-2017 by Dimitri van Heesch
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ @licend The above is the entire license notice
+ for the JavaScript code in this file
+ */
function toggleVisibility(linkObj)
{
var base = $(linkObj).attr('id');
@@ -15,7 +38,7 @@ function toggleVisibility(linkObj)
summary.hide();
$(linkObj).removeClass('closed').addClass('opened');
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
- }
+ }
return false;
}
@@ -94,11 +117,11 @@ function toggleInherit(id)
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
}
}
-
+/* @license-end */
$(document).ready(function() {
$('.code,.codeRef').each(function() {
- $(this).data('powertip',$('#'+$(this).attr('href').replace(/.*\//,'').replace(/[^a-z_A-Z0-9]/g,'_')).html());
+ $(this).data('powertip',$('#a'+$(this).attr('href').replace(/.*\//,'').replace(/[^a-z_A-Z0-9]/g,'_')).html());
$(this).powerTip({ placement: 's', smartPlacement: true, mouseOnToPopup: true });
});
});
diff --git a/docs/functions.html b/docs/functions.html
index e6bde80..7023ea4 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -99,9 +102,9 @@ $(function() {
diff --git a/docs/functions_b.html b/docs/functions_b.html
index 6571b8f..af65d80 100644
--- a/docs/functions_b.html
+++ b/docs/functions_b.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -113,9 +116,9 @@ $(function() {
diff --git a/docs/functions_c.html b/docs/functions_c.html
index b8a6519..dd11341 100644
--- a/docs/functions_c.html
+++ b/docs/functions_c.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -151,9 +154,9 @@ $(function() {
diff --git a/docs/functions_d.html b/docs/functions_d.html
index 7b04097..c58e495 100644
--- a/docs/functions_d.html
+++ b/docs/functions_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -176,12 +179,12 @@ $(function() {
: raylib::Vector2
DrawRectangle()
-: raylib::Color
+: raylib::Color
, raylib::Image
, raylib::Vector2
DrawRectangleLines()
-: raylib::Color
+: raylib::Color
, raylib::Image
DrawRounded()
@@ -197,9 +200,12 @@ $(function() {
: raylib::Vector3
DrawText()
-: raylib::Color
-, raylib::Font
-, raylib::Image
+: raylib::Color
+, raylib::Font
+, raylib::Image
+
+DrawTiled()
+: raylib::Texture2D
DroppedFiles()
: raylib::DroppedFiles
@@ -208,9 +214,9 @@ $(function() {
diff --git a/docs/functions_e.html b/docs/functions_e.html
index 2e531c8..27c9186 100644
--- a/docs/functions_e.html
+++ b/docs/functions_e.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -93,16 +96,13 @@ $(function() {
: raylib::Image
, raylib::Wave
-ExtractPalette()
-: raylib::Image
-
diff --git a/docs/functions_f.html b/docs/functions_f.html
index ca20beb..f725ed2 100644
--- a/docs/functions_f.html
+++ b/docs/functions_f.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -104,9 +107,9 @@ $(function() {
diff --git a/docs/functions_func.html b/docs/functions_func.html
index d265077..c162768 100644
--- a/docs/functions_func.html
+++ b/docs/functions_func.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -99,9 +102,9 @@ $(function() {
diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html
index cc549b5..48c671f 100644
--- a/docs/functions_func_b.html
+++ b/docs/functions_func_b.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -98,9 +101,9 @@ $(function() {
diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html
index a5e30b7..671004f 100644
--- a/docs/functions_func_c.html
+++ b/docs/functions_func_c.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -151,9 +154,9 @@ $(function() {
diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html
index 481dd2d..7ac552d 100644
--- a/docs/functions_func_d.html
+++ b/docs/functions_func_d.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -75,7 +78,7 @@ $(function() {
Divide()
: raylib::Vector2
-, raylib::Vector3
+, raylib::Vector3
DotProduct()
: raylib::Vector2
@@ -182,9 +185,12 @@ $(function() {
: raylib::Vector3
DrawText()
-: raylib::Color
-, raylib::Font
-, raylib::Image
+: raylib::Color
+, raylib::Font
+, raylib::Image
+
+DrawTiled()
+: raylib::Texture2D
DroppedFiles()
: raylib::DroppedFiles
@@ -193,9 +199,9 @@ $(function() {
diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html
index a9b3f1b..9f9162f 100644
--- a/docs/functions_func_e.html
+++ b/docs/functions_func_e.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -93,16 +96,13 @@ $(function() {
: raylib::Image
, raylib::Wave
-ExtractPalette()
-: raylib::Image
-
diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html
index 46fc077..ecfa931 100644
--- a/docs/functions_func_f.html
+++ b/docs/functions_func_f.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -104,9 +107,9 @@ $(function() {
diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html
index 4f1c3d9..cdc55a1 100644
--- a/docs/functions_func_g.html
+++ b/docs/functions_func_g.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -226,8 +229,8 @@ $(function() {
GetLocs()
: raylib::Shader
-GetLoopCount()
-: raylib::Music
+ GetLooping()
+: raylib::Music
GetM0()
: raylib::Matrix
@@ -318,6 +321,9 @@ $(function() {
GetOffset()
: raylib::Camera2D
+GetPalette()
+: raylib::Image
+
GetPixelDataSize()
: raylib::Texture2D
@@ -326,6 +332,7 @@ $(function() {
, raylib::Mouse
, raylib::Ray
, raylib::RayHitInfo
+, raylib::Window
GetProjection()
: raylib::Matrix
@@ -349,6 +356,9 @@ $(function() {
GetSampleSize()
: raylib::AudioStream
+GetScaleDPI()
+: raylib::Window
+
GetScreenData()
: raylib::Image
@@ -435,9 +445,6 @@ $(function() {
, raylib::Rectangle
, raylib::Texture2D
-GetWindowPosition()
-: raylib::Window
-
GetWorldToScreen()
: raylib::Camera3D
@@ -472,9 +479,9 @@ $(function() {
diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html
index 979918b..c2d5f8a 100644
--- a/docs/functions_func_h.html
+++ b/docs/functions_func_h.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -70,9 +73,9 @@ $(function() {
diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html
index a0a21ed..1d8f74c 100644
--- a/docs/functions_func_i.html
+++ b/docs/functions_func_i.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -99,12 +102,18 @@ $(function() {
: raylib::Gamepad
, raylib::Mouse
+IsCursorOnScreen()
+: raylib::Window
+
IsEnabled()
: raylib::Physics
IsFileDropped()
: raylib::DroppedFiles
+IsFocused()
+: raylib::Window
+
IsFullscreen()
: raylib::Window
@@ -144,9 +153,9 @@ $(function() {
diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html
index eecd587..52dd32d 100644
--- a/docs/functions_func_l.html
+++ b/docs/functions_func_l.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -78,21 +81,18 @@ $(function() {
, raylib::Shader
, raylib::Texture2D
+LoadAnim()
+: raylib::Image
+
LoadCode()
: raylib::Shader
-LoadEx()
-: raylib::Image
-
LoadFromImage()
: raylib::Texture2D
LoadModelFrom()
: raylib::Mesh
-LoadPro()
-: raylib::Image
-
LoadRaw()
: raylib::Image
@@ -109,9 +109,9 @@ $(function() {
diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html
index 70f0aaa..807f3e7 100644
--- a/docs/functions_func_m.html
+++ b/docs/functions_func_m.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -103,9 +106,9 @@ $(function() {
diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html
index 864bdfa..43dd95e 100644
--- a/docs/functions_func_n.html
+++ b/docs/functions_func_n.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -77,13 +80,16 @@ $(function() {
, raylib::Vector3
, raylib::Vector4
+NormalsSmooth()
+: raylib::Mesh
+
diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html
index 3f2ff4b..9afb2ea 100644
--- a/docs/functions_func_o.html
+++ b/docs/functions_func_o.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -168,9 +171,9 @@ $(function() {
diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html
index b1d4851..79dba9a 100644
--- a/docs/functions_func_p.html
+++ b/docs/functions_func_p.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -89,9 +92,9 @@ $(function() {
diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html
index b723bdc..6fcb9a1 100644
--- a/docs/functions_func_r.html
+++ b/docs/functions_func_r.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -127,9 +130,9 @@ $(function() {
diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html
index b242efb..502aa3b 100644
--- a/docs/functions_func_s.html
+++ b/docs/functions_func_s.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -71,7 +74,7 @@ $(function() {
set()
: raylib::AudioStream
, raylib::BoundingBox
-, raylib::Camera2D
+, raylib::Camera2D
, raylib::Camera3D
, raylib::Color
, raylib::Font
@@ -196,8 +199,8 @@ $(function() {
SetLocs()
: raylib::Shader
-SetLoopCount()
-: raylib::Music
+ SetLooping()
+: raylib::Music
SetM0()
: raylib::Matrix
@@ -419,7 +422,7 @@ $(function() {
: raylib::Camera2D
Shader()
-: raylib::Shader
+: raylib::Shader
Shatter()
: raylib::Physics
@@ -434,7 +437,7 @@ $(function() {
: raylib::Vector4
Sound()
-: raylib::Sound
+: raylib::Sound
Stop()
: raylib::AudioStream
@@ -453,9 +456,9 @@ $(function() {
diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html
index 7eb8592..0c53465 100644
--- a/docs/functions_func_t.html
+++ b/docs/functions_func_t.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -116,9 +119,9 @@ $(function() {
diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html
index 868279c..f75cc39 100644
--- a/docs/functions_func_u.html
+++ b/docs/functions_func_u.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -94,6 +97,9 @@ $(function() {
UpdateModelAnimation()
: raylib::Model
+UpdateRec()
+: raylib::Texture2D
+
UpdateVrTracking()
: raylib::Camera3D
@@ -101,9 +107,9 @@ $(function() {
diff --git a/docs/functions_func_v.html b/docs/functions_func_v.html
index 8250bc5..a077a90 100644
--- a/docs/functions_func_v.html
+++ b/docs/functions_func_v.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -79,9 +82,9 @@ $(function() {
diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html
index ddacf5f..08a5d48 100644
--- a/docs/functions_func_w.html
+++ b/docs/functions_func_w.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -73,9 +76,9 @@ $(function() {
diff --git a/docs/functions_func_z.html b/docs/functions_func_z.html
index 66afc39..2733f99 100644
--- a/docs/functions_func_z.html
+++ b/docs/functions_func_z.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Functions
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -71,9 +74,9 @@ $(function() {
diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html
new file mode 100644
index 0000000..067afc8
--- /dev/null
+++ b/docs/functions_func_~.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+raylib-cpp: Class Members - Functions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ raylib-cpp
+
+ C++ object-oriented wrapper library for raylib.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/functions_g.html b/docs/functions_g.html
index c392444..981b159 100644
--- a/docs/functions_g.html
+++ b/docs/functions_g.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -226,8 +229,8 @@ $(function() {
GetLocs()
: raylib::Shader
-GetLoopCount()
-: raylib::Music
+ GetLooping()
+: raylib::Music
GetM0()
: raylib::Matrix
@@ -318,6 +321,9 @@ $(function() {
GetOffset()
: raylib::Camera2D
+GetPalette()
+: raylib::Image
+
GetPixelDataSize()
: raylib::Texture2D
@@ -326,6 +332,7 @@ $(function() {
, raylib::Mouse
, raylib::Ray
, raylib::RayHitInfo
+, raylib::Window
GetProjection()
: raylib::Matrix
@@ -349,6 +356,9 @@ $(function() {
GetSampleSize()
: raylib::AudioStream
+GetScaleDPI()
+: raylib::Window
+
GetScreenData()
: raylib::Image
@@ -435,9 +445,6 @@ $(function() {
, raylib::Rectangle
, raylib::Texture2D
-GetWindowPosition()
-: raylib::Window
-
GetWorldToScreen()
: raylib::Camera3D
@@ -481,9 +488,9 @@ $(function() {
diff --git a/docs/functions_h.html b/docs/functions_h.html
index 94f7045..b8c2113 100644
--- a/docs/functions_h.html
+++ b/docs/functions_h.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -70,9 +73,9 @@ $(function() {
diff --git a/docs/functions_i.html b/docs/functions_i.html
index 3679b43..0aa58ae 100644
--- a/docs/functions_i.html
+++ b/docs/functions_i.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -99,12 +102,18 @@ $(function() {
: raylib::Gamepad
, raylib::Mouse
+IsCursorOnScreen()
+: raylib::Window
+
IsEnabled()
: raylib::Physics
IsFileDropped()
: raylib::DroppedFiles
+IsFocused()
+: raylib::Window
+
IsFullscreen()
: raylib::Window
@@ -144,9 +153,9 @@ $(function() {
diff --git a/docs/functions_l.html b/docs/functions_l.html
index 0e7c873..bae574d 100644
--- a/docs/functions_l.html
+++ b/docs/functions_l.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -84,21 +87,18 @@ $(function() {
, raylib::Shader
, raylib::Texture2D
+LoadAnim()
+: raylib::Image
+
LoadCode()
: raylib::Shader
-LoadEx()
-: raylib::Image
-
LoadFromImage()
: raylib::Texture2D
LoadModelFrom()
: raylib::Mesh
-LoadPro()
-: raylib::Image
-
LoadRaw()
: raylib::Image
@@ -115,9 +115,9 @@ $(function() {
diff --git a/docs/functions_m.html b/docs/functions_m.html
index 3c62c41..07f791d 100644
--- a/docs/functions_m.html
+++ b/docs/functions_m.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -115,9 +118,9 @@ $(function() {
diff --git a/docs/functions_n.html b/docs/functions_n.html
index 5df0e97..aa1a206 100644
--- a/docs/functions_n.html
+++ b/docs/functions_n.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -77,6 +80,9 @@ $(function() {
, raylib::Vector3
, raylib::Vector4
+NormalsSmooth()
+: raylib::Mesh
+
number
: raylib::Gamepad
@@ -84,9 +90,9 @@ $(function() {
diff --git a/docs/functions_o.html b/docs/functions_o.html
index 22186c7..bf88dac 100644
--- a/docs/functions_o.html
+++ b/docs/functions_o.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -171,9 +174,9 @@ $(function() {
diff --git a/docs/functions_p.html b/docs/functions_p.html
index fef0a7e..79ed966 100644
--- a/docs/functions_p.html
+++ b/docs/functions_p.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -95,9 +98,9 @@ $(function() {
diff --git a/docs/functions_r.html b/docs/functions_r.html
index 8048f4d..683beac 100644
--- a/docs/functions_r.html
+++ b/docs/functions_r.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -133,9 +136,9 @@ $(function() {
diff --git a/docs/functions_s.html b/docs/functions_s.html
index 44248d5..f564099 100644
--- a/docs/functions_s.html
+++ b/docs/functions_s.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -71,7 +74,7 @@ $(function() {
set()
: raylib::AudioStream
, raylib::BoundingBox
-, raylib::Camera2D
+, raylib::Camera2D
, raylib::Camera3D
, raylib::Color
, raylib::Font
@@ -196,8 +199,8 @@ $(function() {
SetLocs()
: raylib::Shader
-SetLoopCount()
-: raylib::Music
+ SetLooping()
+: raylib::Music
SetM0()
: raylib::Matrix
@@ -437,7 +440,7 @@ $(function() {
: raylib::Vector4
Sound()
-: raylib::Sound
+: raylib::Sound
Stop()
: raylib::AudioStream
@@ -456,9 +459,9 @@ $(function() {
diff --git a/docs/functions_t.html b/docs/functions_t.html
index b958738..c024abc 100644
--- a/docs/functions_t.html
+++ b/docs/functions_t.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -116,9 +119,9 @@ $(function() {
diff --git a/docs/functions_u.html b/docs/functions_u.html
index 38fd2f9..22a3bb9 100644
--- a/docs/functions_u.html
+++ b/docs/functions_u.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -94,6 +97,9 @@ $(function() {
UpdateModelAnimation()
: raylib::Model
+UpdateRec()
+: raylib::Texture2D
+
UpdateVrTracking()
: raylib::Camera3D
@@ -101,9 +107,9 @@ $(function() {
diff --git a/docs/functions_v.html b/docs/functions_v.html
index e3b3e46..ad14a9c 100644
--- a/docs/functions_v.html
+++ b/docs/functions_v.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -82,9 +85,9 @@ $(function() {
diff --git a/docs/functions_vars.html b/docs/functions_vars.html
index d854c9a..cbcd890 100644
--- a/docs/functions_vars.html
+++ b/docs/functions_vars.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members - Variables
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -152,9 +155,9 @@ $(function() {
diff --git a/docs/functions_w.html b/docs/functions_w.html
index f3fa2ef..67579fb 100644
--- a/docs/functions_w.html
+++ b/docs/functions_w.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -76,9 +79,9 @@ $(function() {
diff --git a/docs/functions_y.html b/docs/functions_y.html
index e44b62f..9f0f682 100644
--- a/docs/functions_y.html
+++ b/docs/functions_y.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -70,9 +73,9 @@ $(function() {
diff --git a/docs/functions_z.html b/docs/functions_z.html
index d0e5e26..3966f12 100644
--- a/docs/functions_z.html
+++ b/docs/functions_z.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Members
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -71,9 +74,9 @@ $(function() {
diff --git a/docs/functions_~.html b/docs/functions_~.html
new file mode 100644
index 0000000..5454f44
--- /dev/null
+++ b/docs/functions_~.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+raylib-cpp: Class Members
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ raylib-cpp
+
+ C++ object-oriented wrapper library for raylib.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Here is a list of all class members with links to the classes they belong to:
+
+
- ~ -
+
+
+
+
+
diff --git a/docs/hierarchy.html b/docs/hierarchy.html
index c584d04..ebdbb71 100644
--- a/docs/hierarchy.html
+++ b/docs/hierarchy.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: Class Hierarchy
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -68,7 +71,7 @@ $(function() {
[detail level 1 2 ]
diff --git a/docs/index.html b/docs/index.html
index dfcd68d..f9b9666 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,9 +1,9 @@
-
+
-
+
raylib-cpp: raylib-cpp
@@ -31,18 +31,21 @@
-
+
+/* @license-end */
@@ -59,19 +62,56 @@ $(function() {
-
+
+Color & ClearBackground()
+
+
+Window and Graphics Device Functions.
diff --git a/docs/jquery.js b/docs/jquery.js
index f5343ed..103c32d 100644
--- a/docs/jquery.js
+++ b/docs/jquery.js
@@ -1,71 +1,26 @@
+/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML=" ",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML=" ";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""," "],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/
+/* @license-end */
@@ -77,9 +80,9 @@ $(function() {