diff --git a/include/AudioStream.hpp b/include/AudioStream.hpp index c280c83..9b5c0fe 100644 --- a/include/AudioStream.hpp +++ b/include/AudioStream.hpp @@ -53,6 +53,8 @@ class AudioStream : public ::AudioStream { GETTERSETTER(unsigned int, SampleSize, sampleSize) GETTERSETTER(unsigned int, Channels, channels) + /** + * AudioStream& operator=(const ::AudioStream& stream) { set(stream); return *this; @@ -178,7 +180,7 @@ class AudioStream : public ::AudioStream { } private: - inline void set(const ::AudioStream& stream) { + void set(const ::AudioStream& stream) { buffer = stream.buffer; sampleRate = stream.sampleRate; sampleSize = stream.sampleSize; diff --git a/include/BoundingBox.hpp b/include/BoundingBox.hpp index 34ba6f5..81d4c8f 100644 --- a/include/BoundingBox.hpp +++ b/include/BoundingBox.hpp @@ -69,7 +69,7 @@ class BoundingBox : public ::BoundingBox { } private: - inline void set(const ::BoundingBox& box) { + void set(const ::BoundingBox& box) { min = box.min; max = box.max; } diff --git a/include/Camera2D.hpp b/include/Camera2D.hpp index 3f36acf..c2ec658 100644 --- a/include/Camera2D.hpp +++ b/include/Camera2D.hpp @@ -61,7 +61,7 @@ class Camera2D : public ::Camera2D { } private: - inline void set(const ::Camera2D& camera) { + void set(const ::Camera2D& camera) { offset = camera.offset; target = camera.target; rotation = camera.rotation; diff --git a/include/Camera3D.hpp b/include/Camera3D.hpp index 320cc56..abd8d98 100644 --- a/include/Camera3D.hpp +++ b/include/Camera3D.hpp @@ -149,7 +149,7 @@ class Camera3D : public ::Camera3D { } private: - inline void set(const ::Camera3D& camera) { + void set(const ::Camera3D& camera) { position = camera.position; target = camera.target; up = camera.up; diff --git a/include/Color.hpp b/include/Color.hpp index 8f51910..44a2f7d 100644 --- a/include/Color.hpp +++ b/include/Color.hpp @@ -245,7 +245,7 @@ class Color : public ::Color { inline static Color RayWhite() { return RAYWHITE; } private: - inline void set(const ::Color& color) { + void set(const ::Color& color) { r = color.r; g = color.g; b = color.b; diff --git a/include/Image.hpp b/include/Image.hpp index 65fdf4d..4bb2a54 100644 --- a/include/Image.hpp +++ b/include/Image.hpp @@ -719,7 +719,7 @@ class Image : public ::Image { } private: - inline void set(const ::Image& image) { + void set(const ::Image& image) { data = image.data; width = image.width; height = image.height; diff --git a/include/Material.hpp b/include/Material.hpp index 02c87ee..cefe3ec 100644 --- a/include/Material.hpp +++ b/include/Material.hpp @@ -108,7 +108,7 @@ class Material : public ::Material { } private: - inline void set(const ::Material& material) { + void set(const ::Material& material) { shader = material.shader; maps = material.maps; params[0] = material.params[0]; diff --git a/include/Matrix.hpp b/include/Matrix.hpp index 203bedc..e0d238a 100644 --- a/include/Matrix.hpp +++ b/include/Matrix.hpp @@ -191,7 +191,7 @@ class Matrix : public ::Matrix { #endif private: - inline void set(const ::Matrix& mat) { + void set(const ::Matrix& mat) { m0 = mat.m0; m1 = mat.m1; m2 = mat.m2; diff --git a/include/Mesh.hpp b/include/Mesh.hpp index 0104072..f74a281 100644 --- a/include/Mesh.hpp +++ b/include/Mesh.hpp @@ -283,7 +283,7 @@ class Mesh : public ::Mesh { } private: - inline void set(const ::Mesh& mesh) { + void set(const ::Mesh& mesh) { vertexCount = mesh.vertexCount; triangleCount = mesh.triangleCount; vertices = mesh.vertices; diff --git a/include/Model.hpp b/include/Model.hpp index 9b26fba..ae69742 100644 --- a/include/Model.hpp +++ b/include/Model.hpp @@ -221,7 +221,7 @@ class Model : public ::Model { } private: - inline void set(const ::Model& model) { + void set(const ::Model& model) { transform = model.transform; meshCount = model.meshCount; diff --git a/include/ModelAnimation.hpp b/include/ModelAnimation.hpp index 3ad91be..24eb73c 100644 --- a/include/ModelAnimation.hpp +++ b/include/ModelAnimation.hpp @@ -97,7 +97,7 @@ class ModelAnimation : public ::ModelAnimation { } private: - inline void set(const ::ModelAnimation& model) { + void set(const ::ModelAnimation& model) { boneCount = model.boneCount; bones = model.bones; frameCount = model.frameCount; diff --git a/include/Music.hpp b/include/Music.hpp index 094848b..c1e4682 100644 --- a/include/Music.hpp +++ b/include/Music.hpp @@ -217,7 +217,7 @@ class Music : public ::Music { } private: - inline void set(const ::Music& music) { + void set(const ::Music& music) { ctxType = music.ctxType; ctxData = music.ctxData; looping = music.looping; diff --git a/include/Ray.hpp b/include/Ray.hpp index 7bf5cbe..f44acb7 100644 --- a/include/Ray.hpp +++ b/include/Ray.hpp @@ -89,7 +89,7 @@ class Ray : public ::Ray { } private: - inline void set(const ::Ray& ray) { + void set(const ::Ray& ray) { position = ray.position; direction = ray.direction; } diff --git a/include/RayCollision.hpp b/include/RayCollision.hpp index 2cda9ac..18f9b72 100644 --- a/include/RayCollision.hpp +++ b/include/RayCollision.hpp @@ -51,7 +51,7 @@ class RayCollision : public ::RayCollision { GETTERSETTER(::Vector3, Normal, normal) private: - inline void set(const ::RayCollision& ray) { + void set(const ::RayCollision& ray) { hit = ray.hit; distance = ray.distance; point = ray.point; diff --git a/include/Rectangle.hpp b/include/Rectangle.hpp index 54b5f29..b51e799 100644 --- a/include/Rectangle.hpp +++ b/include/Rectangle.hpp @@ -159,7 +159,7 @@ class Rectangle : public ::Rectangle { } private: - inline void set(const ::Rectangle& rect) { + void set(const ::Rectangle& rect) { x = rect.x; y = rect.y; width = rect.width; diff --git a/include/RenderTexture.hpp b/include/RenderTexture.hpp index fbbb41e..fd8f7d0 100644 --- a/include/RenderTexture.hpp +++ b/include/RenderTexture.hpp @@ -106,7 +106,7 @@ class RenderTexture : public ::RenderTexture { } private: - inline void set(const ::RenderTexture& renderTexture) { + void set(const ::RenderTexture& renderTexture) { id = renderTexture.id; texture = renderTexture.texture; depth = renderTexture.depth; diff --git a/include/Shader.hpp b/include/Shader.hpp index 146248f..52a5759 100644 --- a/include/Shader.hpp +++ b/include/Shader.hpp @@ -170,7 +170,7 @@ class Shader : public ::Shader { } private: - inline void set(const ::Shader& shader) { + void set(const ::Shader& shader) { id = shader.id; locs = shader.locs; } diff --git a/include/Sound.hpp b/include/Sound.hpp index 7049f43..9269b27 100644 --- a/include/Sound.hpp +++ b/include/Sound.hpp @@ -202,7 +202,7 @@ class Sound : public ::Sound { } private: - inline void set(const ::Sound& sound) { + void set(const ::Sound& sound) { frameCount = sound.frameCount; stream = sound.stream; } diff --git a/include/Texture.hpp b/include/Texture.hpp index cb2e6aa..5ec3e48 100644 --- a/include/Texture.hpp +++ b/include/Texture.hpp @@ -307,7 +307,7 @@ class Texture : public ::Texture { } private: - inline void set(const ::Texture& texture) { + void set(const ::Texture& texture) { id = texture.id; width = texture.width; height = texture.height; diff --git a/include/Vector2.hpp b/include/Vector2.hpp index c91aedd..bce7ced 100644 --- a/include/Vector2.hpp +++ b/include/Vector2.hpp @@ -316,7 +316,7 @@ class Vector2 : public ::Vector2 { } private: - inline void set(const ::Vector2& vec) { + void set(const ::Vector2& vec) { x = vec.x; y = vec.y; } diff --git a/include/Vector3.hpp b/include/Vector3.hpp index e8c6ce2..5700e38 100644 --- a/include/Vector3.hpp +++ b/include/Vector3.hpp @@ -299,7 +299,7 @@ class Vector3 : public ::Vector3 { } private: - inline void set(const ::Vector3& vec) { + void set(const ::Vector3& vec) { x = vec.x; y = vec.y; z = vec.z; diff --git a/include/Vector4.hpp b/include/Vector4.hpp index e3106af..f33936b 100644 --- a/include/Vector4.hpp +++ b/include/Vector4.hpp @@ -154,7 +154,7 @@ class Vector4 : public ::Vector4 { } private: - inline void set(const ::Vector4& vec4) { + void set(const ::Vector4& vec4) { x = vec4.x; y = vec4.y; z = vec4.z; diff --git a/include/VrStereoConfig.hpp b/include/VrStereoConfig.hpp index 936661f..b0d761b 100644 --- a/include/VrStereoConfig.hpp +++ b/include/VrStereoConfig.hpp @@ -52,7 +52,7 @@ class VrStereoConfig : public ::VrStereoConfig { } private: - inline void set(const ::VrStereoConfig& config) { + void set(const ::VrStereoConfig& config) { projection[0] = config.projection[0]; viewOffset[1] = config.viewOffset[1]; projection[0] = config.projection[0]; diff --git a/include/Wave.hpp b/include/Wave.hpp index fe1f50b..3f99256 100644 --- a/include/Wave.hpp +++ b/include/Wave.hpp @@ -211,7 +211,7 @@ class Wave : public ::Wave { } private: - inline void set(const ::Wave& wave) { + void set(const ::Wave& wave) { frameCount = wave.frameCount; sampleRate = wave.sampleRate; sampleSize = wave.sampleSize;