Skip to content

Commit

Permalink
Merge pull request #259 from Bigfoot71/master
Browse files Browse the repository at this point in the history
Changing access modifiers to `protected`
  • Loading branch information
RobLoach authored Oct 9, 2023
2 parents a3c520a + 592ac75 commit 8bdbded
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion include/AudioStream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class AudioStream : public ::AudioStream {
}
}

private:
protected:
void set(const ::AudioStream& stream) {
buffer = stream.buffer;
processor = stream.processor;
Expand Down
2 changes: 1 addition & 1 deletion include/BoundingBox.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class BoundingBox : public ::BoundingBox {
return GetRayCollisionBox(ray, *this);
}

private:
protected:
void set(const ::BoundingBox& box) {
min = box.min;
max = box.max;
Expand Down
2 changes: 1 addition & 1 deletion include/Camera2D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Camera2D : public ::Camera2D {
return ::GetWorldToScreen2D(position, *this);
}

private:
protected:
void set(const ::Camera2D& camera) {
offset = camera.offset;
target = camera.target;
Expand Down
2 changes: 1 addition & 1 deletion include/Camera3D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Camera3D : public ::Camera3D {
::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
}

private:
protected:
void set(const ::Camera3D& camera) {
position = camera.position;
target = camera.target;
Expand Down
2 changes: 1 addition & 1 deletion include/Color.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class Color : public ::Color {
inline static Color Magenta() { return MAGENTA; }
inline static Color RayWhite() { return RAYWHITE; }

private:
protected:
void set(const ::Color& color) {
r = color.r;
g = color.g;
Expand Down
2 changes: 1 addition & 1 deletion include/Font.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class Font : public ::Font {
return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
}

private:
protected:
void set(const ::Font& font) {
baseSize = font.baseSize;
glyphCount = font.glyphCount;
Expand Down
2 changes: 1 addition & 1 deletion include/Gamepad.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Gamepad {
return SetGamepadMappings(mappings.c_str());
}

private:
protected:
inline void set(int gamepadNumber) {
number = gamepadNumber;
}
Expand Down
2 changes: 1 addition & 1 deletion include/Image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ class Image : public ::Image {
return ::IsImageReady(*this);
}

private:
protected:
void set(const ::Image& image) {
data = image.data;
width = image.width;
Expand Down
2 changes: 1 addition & 1 deletion include/Material.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Material : public ::Material {
return ::IsMaterialReady(*this);
}

private:
protected:
void set(const ::Material& material) {
shader = material.shader;
maps = material.maps;
Expand Down
2 changes: 1 addition & 1 deletion include/Matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class Matrix : public ::Matrix {

#endif

private:
protected:
void set(const ::Matrix& mat) {
m0 = mat.m0;
m1 = mat.m1;
Expand Down
2 changes: 1 addition & 1 deletion include/Mesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class Mesh : public ::Mesh {
return ::LoadModelFromMesh(*this);
}

private:
protected:
void set(const ::Mesh& mesh) {
vertexCount = mesh.vertexCount;
triangleCount = mesh.triangleCount;
Expand Down
2 changes: 1 addition & 1 deletion include/Model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Model : public ::Model {
}
}

private:
protected:
void set(const ::Model& model) {
transform = model.transform;

Expand Down
2 changes: 1 addition & 1 deletion include/ModelAnimation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ModelAnimation : public ::ModelAnimation {
return ::IsModelAnimationValid(model, *this);
}

private:
protected:
void set(const ::ModelAnimation& model) {
boneCount = model.boneCount;
frameCount = model.frameCount;
Expand Down
2 changes: 1 addition & 1 deletion include/Music.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class Music : public ::Music {
return ::IsMusicReady(*this);
}

private:
protected:
void set(const ::Music& music) {
stream = music.stream;
frameCount = music.frameCount;
Expand Down
2 changes: 1 addition & 1 deletion include/Ray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Ray : public ::Ray {
return ::GetMouseRay(::GetMousePosition(), camera);
}

private:
protected:
inline void set(const ::Ray& ray) {
position = ray.position;
direction = ray.direction;
Expand Down
2 changes: 1 addition & 1 deletion include/RayCollision.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class RayCollision : public ::RayCollision {
GETTERSETTER(::Vector3, Position, point)
GETTERSETTER(::Vector3, Normal, normal)

private:
protected:
void set(const ::RayCollision& ray) {
hit = ray.hit;
distance = ray.distance;
Expand Down
2 changes: 1 addition & 1 deletion include/Rectangle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Rectangle : public ::Rectangle {
return SetPosition(position.x, position.y);
}

private:
protected:
void set(const ::Rectangle& rect) {
x = rect.x;
y = rect.y;
Expand Down
2 changes: 1 addition & 1 deletion include/RenderTexture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class RenderTexture : public ::RenderTexture {
return ::IsRenderTextureReady(*this);
}

private:
protected:
void set(const ::RenderTexture& renderTexture) {
id = renderTexture.id;
texture = renderTexture.texture;
Expand Down
2 changes: 1 addition & 1 deletion include/Shader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class Shader : public ::Shader {
return id != 0 && locs != nullptr;
}

private:
protected:
void set(const ::Shader& shader) {
id = shader.id;
locs = shader.locs;
Expand Down
2 changes: 1 addition & 1 deletion include/Sound.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class Sound : public ::Sound {
return ::IsSoundReady(*this);
}

private:
protected:
void set(const ::Sound& sound) {
frameCount = sound.frameCount;
stream = sound.stream;
Expand Down
2 changes: 1 addition & 1 deletion include/Vector2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ class Vector2 : public ::Vector2 {
return ::CheckCollisionPointLine(*this, p1, p2, threshold);
}

private:
protected:
void set(const ::Vector2& vec) {
x = vec.x;
y = vec.y;
Expand Down
2 changes: 1 addition & 1 deletion include/Vector3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class Vector3 : public ::Vector3 {
return CheckCollisionSpheres(*this, radius1, center2, radius2);
}

private:
protected:
void set(const ::Vector3& vec) {
x = vec.x;
y = vec.y;
Expand Down
2 changes: 1 addition & 1 deletion include/Vector4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class Vector4 : public ::Vector4 {
return ColorFromNormalized();
}

private:
protected:
void set(const ::Vector4& vec4) {
x = vec4.x;
y = vec4.y;
Expand Down
2 changes: 1 addition & 1 deletion include/VrStereoConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class VrStereoConfig : public ::VrStereoConfig {
::UnloadVrStereoConfig(*this);
}

private:
protected:
void set(const ::VrStereoConfig& config) {
projection[0] = config.projection[0];
projection[1] = config.projection[1];
Expand Down
2 changes: 1 addition & 1 deletion include/Wave.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class Wave : public ::Wave {
return ::IsWaveReady(*this);
}

private:
protected:
void set(const ::Wave& wave) {
frameCount = wave.frameCount;
sampleRate = wave.sampleRate;
Expand Down

0 comments on commit 8bdbded

Please sign in to comment.