From 43dbffc5fed001e1c0bc9e51614519d6be73ea4d Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sun, 25 Oct 2020 14:08:43 -0400 Subject: [PATCH] Update documentation --- docs/_audio_device_8hpp_source.html | 6 +- docs/_audio_stream_8hpp_source.html | 177 +- docs/_bounding_box_8hpp_source.html | 80 +- docs/_camera2_d_8hpp_source.html | 104 +- docs/_camera3_d_8hpp_source.html | 201 +-- docs/_color_8hpp_source.html | 469 +++-- docs/_dropped_files_8hpp_source.html | 36 +- docs/_font_8hpp_source.html | 127 +- docs/_gamepad_8hpp_source.html | 135 +- docs/_image_8hpp_source.html | 538 +++--- docs/_material_8hpp_source.html | 77 +- docs/_matrix_8hpp_source.html | 386 +++-- docs/_mesh_8hpp_source.html | 169 +- docs/_model_8hpp_source.html | 107 +- docs/_model_animation_8hpp_source.html | 99 +- docs/_mouse_8hpp_source.html | 81 +- docs/_music_8hpp_source.html | 169 +- docs/_physics_8hpp_source.html | 22 +- docs/_ray_8hpp_source.html | 109 +- docs/_ray_hit_info_8hpp_source.html | 35 +- docs/_rectangle_8hpp_source.html | 191 +- docs/_render_texture_8hpp_source.html | 164 ++ docs/_shader_8hpp_source.html | 203 ++- docs/_sound_8hpp_source.html | 126 +- docs/_texture_8hpp_source.html | 285 +++ docs/_vector2_8hpp_source.html | 277 +-- docs/_vector3_8hpp_source.html | 580 +++---- docs/_vector4_8hpp_source.html | 291 ++-- docs/_vr_simulator_8hpp_source.html | 8 +- docs/_wave_8hpp_source.html | 149 +- docs/_window_8hpp_source.html | 66 +- docs/annotated.html | 10 +- docs/class_audio_stream.html | 2 +- docs/class_bounding_box.html | 2 +- docs/class_camera2_d.html | 2 +- docs/class_camera3_d.html | 2 +- docs/class_color.html | 2 +- docs/class_font.html | 2 +- docs/class_image.html | 2 +- docs/class_material.html | 2 +- docs/class_matrix.html | 2 +- docs/class_mesh.html | 2 +- docs/class_model.html | 2 +- docs/class_model_animation.html | 2 +- docs/class_music.html | 2 +- docs/class_ray.html | 2 +- docs/class_ray_hit_info.html | 2 +- docs/class_rectangle.html | 2 +- docs/class_render_texture.html | 78 + docs/class_shader.html | 2 +- docs/class_sound.html | 2 +- docs/class_texture.html | 78 + docs/class_vector2.html | 2 +- docs/class_vector3.html | 2 +- docs/class_vector4.html | 2 +- docs/class_wave.html | 2 +- docs/classes.html | 26 +- .../classraylib_1_1_audio_device-members.html | 4 +- docs/classraylib_1_1_audio_device.html | 14 +- .../classraylib_1_1_audio_stream-members.html | 14 +- docs/classraylib_1_1_audio_stream.html | 118 +- .../classraylib_1_1_bounding_box-members.html | 14 +- docs/classraylib_1_1_bounding_box.html | 94 +- docs/classraylib_1_1_camera2_d-members.html | 20 +- docs/classraylib_1_1_camera2_d.html | 312 ++-- docs/classraylib_1_1_camera3_d-members.html | 22 +- docs/classraylib_1_1_camera3_d.html | 140 +- docs/classraylib_1_1_color-members.html | 22 +- docs/classraylib_1_1_color.html | 232 +-- ...classraylib_1_1_dropped_files-members.html | 16 +- docs/classraylib_1_1_dropped_files.html | 74 +- docs/classraylib_1_1_font-members.html | 18 +- docs/classraylib_1_1_font.html | 138 +- docs/classraylib_1_1_gamepad-members.html | 29 +- docs/classraylib_1_1_gamepad.html | 194 ++- docs/classraylib_1_1_image-members.html | 16 +- docs/classraylib_1_1_image.html | 226 +-- docs/classraylib_1_1_material-members.html | 6 +- docs/classraylib_1_1_material.html | 52 +- docs/classraylib_1_1_matrix-members.html | 36 +- docs/classraylib_1_1_matrix.html | 312 ++-- docs/classraylib_1_1_mesh-members.html | 8 +- docs/classraylib_1_1_mesh.html | 86 +- docs/classraylib_1_1_model-members.html | 14 +- docs/classraylib_1_1_model.html | 104 +- ...assraylib_1_1_model_animation-members.html | 16 +- docs/classraylib_1_1_model_animation.html | 112 +- docs/classraylib_1_1_mouse-members.html | 26 +- docs/classraylib_1_1_mouse.html | 179 +- docs/classraylib_1_1_music-members.html | 16 +- docs/classraylib_1_1_music.html | 124 +- docs/classraylib_1_1_physics-members.html | 12 +- docs/classraylib_1_1_physics.html | 52 +- docs/classraylib_1_1_ray-members.html | 14 +- docs/classraylib_1_1_ray.html | 100 +- .../classraylib_1_1_ray_hit_info-members.html | 12 +- docs/classraylib_1_1_ray_hit_info.html | 76 +- docs/classraylib_1_1_rectangle-members.html | 18 +- docs/classraylib_1_1_rectangle.html | 136 +- ...lassraylib_1_1_render_texture-members.html | 101 ++ docs/classraylib_1_1_render_texture.html | 595 +++++++ docs/classraylib_1_1_shader-members.html | 41 +- docs/classraylib_1_1_shader.html | 457 ++++- docs/classraylib_1_1_sound-members.html | 10 +- docs/classraylib_1_1_sound.html | 92 +- docs/classraylib_1_1_texture-members.html | 124 ++ docs/classraylib_1_1_texture.html | 1541 +++++++++++++++++ docs/classraylib_1_1_vector2-members.html | 27 +- docs/classraylib_1_1_vector2.html | 158 +- docs/classraylib_1_1_vector3-members.html | 12 +- docs/classraylib_1_1_vector3.html | 202 +-- docs/classraylib_1_1_vector4-members.html | 14 +- docs/classraylib_1_1_vector4.html | 136 +- .../classraylib_1_1_vr_simulator-members.html | 4 +- docs/classraylib_1_1_vr_simulator.html | 12 +- docs/classraylib_1_1_wave-members.html | 26 +- docs/classraylib_1_1_wave.html | 344 ++-- docs/classraylib_1_1_window-members.html | 32 +- docs/classraylib_1_1_window.html | 152 +- .../dir_d44c64559bbebec7f509842c48db8b23.html | 6 +- docs/functions.html | 4 +- docs/functions_b.html | 6 +- docs/functions_c.html | 14 +- docs/functions_d.html | 6 +- docs/functions_e.html | 6 +- docs/functions_f.html | 6 +- docs/functions_func.html | 4 +- docs/functions_func_b.html | 6 +- docs/functions_func_c.html | 14 +- docs/functions_func_d.html | 6 +- docs/functions_func_e.html | 6 +- docs/functions_func_f.html | 6 +- docs/functions_func_g.html | 292 ++-- docs/functions_func_h.html | 2 +- docs/functions_func_i.html | 52 +- docs/functions_func_l.html | 14 +- docs/functions_func_m.html | 2 +- docs/functions_func_n.html | 4 +- docs/functions_func_o.html | 20 +- docs/functions_func_p.html | 2 +- docs/functions_func_r.html | 9 +- docs/functions_func_s.html | 48 +- docs/functions_func_t.html | 10 +- docs/functions_func_u.html | 10 +- docs/functions_func_v.html | 2 +- docs/functions_func_w.html | 2 +- docs/functions_func_z.html | 2 +- docs/functions_func_~.html | 10 +- docs/functions_g.html | 292 ++-- docs/functions_h.html | 2 +- docs/functions_i.html | 52 +- docs/functions_l.html | 14 +- docs/functions_m.html | 2 +- docs/functions_n.html | 4 +- docs/functions_o.html | 26 +- docs/functions_p.html | 2 +- docs/functions_r.html | 9 +- docs/functions_s.html | 46 +- docs/functions_t.html | 10 +- docs/functions_u.html | 10 +- docs/functions_v.html | 2 +- docs/functions_vars.html | 2 +- docs/functions_w.html | 2 +- docs/functions_y.html | 2 +- docs/functions_z.html | 2 +- docs/functions_~.html | 10 +- docs/hierarchy.html | 10 +- docs/index.html | 10 +- docs/namespacemembers.html | 12 +- docs/namespacemembers_type.html | 12 +- docs/namespaceraylib.html | 46 +- docs/namespaces.html | 2 +- docs/raylib-cpp-utils_8hpp_source.html | 4 +- docs/raylib-cpp_8hpp_source.html | 6 +- docs/search/all_0.js | 2 +- docs/search/all_1.js | 4 +- docs/search/all_10.js | 212 +-- docs/search/all_11.js | 36 +- docs/search/all_12.js | 14 +- docs/search/all_13.js | 10 +- docs/search/all_14.js | 6 +- docs/search/all_15.js | 2 +- docs/search/all_16.js | 2 +- docs/search/all_17.js | 36 +- docs/search/all_2.js | 10 +- docs/search/all_3.js | 4 +- docs/search/all_4.js | 4 +- docs/search/all_5.js | 4 +- docs/search/all_6.js | 246 +-- docs/search/all_7.js | 2 +- docs/search/all_8.js | 46 +- docs/search/all_9.js | 26 +- docs/search/all_a.js | 32 +- docs/search/all_b.js | 10 +- docs/search/all_c.js | 42 +- docs/search/all_d.js | 16 +- docs/search/all_e.js | 2 +- docs/search/all_f.js | 48 +- docs/search/classes_0.js | 4 +- docs/search/classes_1.js | 2 +- docs/search/classes_2.js | 6 +- docs/search/classes_3.js | 2 +- docs/search/classes_4.js | 2 +- docs/search/classes_5.js | 2 +- docs/search/classes_6.js | 2 +- docs/search/classes_7.js | 14 +- docs/search/classes_8.js | 2 +- docs/search/classes_9.js | 8 +- docs/search/classes_a.js | 4 +- docs/search/classes_b.js | 2 +- docs/search/classes_c.js | 8 +- docs/search/classes_d.js | 4 +- docs/search/functions_0.js | 20 +- docs/search/functions_1.js | 20 +- docs/search/functions_10.js | 32 +- docs/search/functions_11.js | 14 +- docs/search/functions_12.js | 8 +- docs/search/functions_13.js | 4 +- docs/search/functions_14.js | 2 +- docs/search/functions_15.js | 36 +- docs/search/functions_2.js | 48 +- docs/search/functions_3.js | 74 +- docs/search/functions_4.js | 18 +- docs/search/functions_5.js | 26 +- docs/search/functions_6.js | 256 +-- docs/search/functions_7.js | 2 +- docs/search/functions_8.js | 46 +- docs/search/functions_9.js | 22 +- docs/search/functions_a.js | 22 +- docs/search/functions_b.js | 8 +- docs/search/functions_c.js | 40 +- docs/search/functions_d.js | 12 +- docs/search/functions_e.js | 38 +- docs/search/functions_f.js | 210 +-- docs/search/namespaces_0.js | 2 +- docs/search/pages_0.js | 2 +- docs/search/typedefs_0.js | 2 +- docs/search/typedefs_1.js | 2 +- docs/search/typedefs_2.js | 2 +- docs/search/typedefs_3.js | 4 +- docs/search/variables_0.js | 10 +- docs/search/variables_1.js | 10 +- docs/search/variables_2.js | 6 +- docs/search/variables_3.js | 4 +- docs/search/variables_4.js | 8 +- docs/search/variables_5.js | 2 +- docs/search/variables_6.js | 2 +- docs/search/variables_7.js | 4 +- docs/search/variables_8.js | 4 +- docs/search/variables_9.js | 2 +- docs/search/variables_a.js | 2 +- docs/search/variables_b.js | 2 +- docs/search/variables_c.js | 2 +- 253 files changed, 9900 insertions(+), 6181 deletions(-) create mode 100644 docs/_render_texture_8hpp_source.html create mode 100644 docs/_texture_8hpp_source.html create mode 100644 docs/class_render_texture.html create mode 100644 docs/class_texture.html create mode 100644 docs/classraylib_1_1_render_texture-members.html create mode 100644 docs/classraylib_1_1_render_texture.html create mode 100644 docs/classraylib_1_1_texture-members.html create mode 100644 docs/classraylib_1_1_texture.html diff --git a/docs/_audio_device_8hpp_source.html b/docs/_audio_device_8hpp_source.html index 33aea2e..d236108 100644 --- a/docs/_audio_device_8hpp_source.html +++ b/docs/_audio_device_8hpp_source.html @@ -107,7 +107,7 @@ $(function() {
48  return *this;
49  }
50 
-
54  inline bool IsReady() {
+
54  inline bool IsReady() const {
55  return ::IsAudioDeviceReady();
56  }
57 
@@ -127,10 +127,10 @@ $(function() {
~AudioDevice()
Definition: AudioDevice.hpp:31
AudioDevice(bool lateInit=false)
Initialize audio device and context.
Definition: AudioDevice.hpp:25
Audio device management functions.
Definition: AudioDevice.hpp:18
-
bool IsReady()
Check if audio device has been initialized successfully.
Definition: AudioDevice.hpp:54
+
bool IsReady() const
Check if audio device has been initialized successfully.
Definition: AudioDevice.hpp:54
diff --git a/docs/_audio_stream_8hpp_source.html b/docs/_audio_stream_8hpp_source.html index 7bcbc5d..44fc17a 100644 --- a/docs/_audio_stream_8hpp_source.html +++ b/docs/_audio_stream_8hpp_source.html @@ -99,106 +99,107 @@ $(function() {
32  Close();
33  }
34 
-
35  inline void set(::AudioStream stream) {
-
36  sampleRate = stream.sampleRate;
-
37  sampleSize = stream.sampleSize;
-
38  channels = stream.channels;
-
39  buffer = stream.buffer;
-
40  }
-
41 
-
42  GETTERSETTER(unsigned int,SampleRate,sampleRate)
-
43  GETTERSETTER(unsigned int,SampleSize,sampleSize)
-
44  GETTERSETTER(unsigned int,Channels,channels)
-
45 
-
46  AudioStream& operator=(const ::AudioStream& stream) {
-
47  set(stream);
-
48  return *this;
-
49  }
-
50 
-
51  AudioStream& operator=(const AudioStream& stream) {
-
52  set(stream);
-
53  return *this;
-
54  }
-
55 
-
59  inline AudioStream& Update(const void *data, int samplesCount) {
-
60  ::UpdateAudioStream(*this, data, samplesCount);
-
61  return *this;
-
62  }
-
63 
-
67  inline AudioStream& Close() {
-
68  ::CloseAudioStream(*this);
-
69  return *this;
+
35  GETTERSETTER(unsigned int,SampleRate,sampleRate)
+
36  GETTERSETTER(unsigned int,SampleSize,sampleSize)
+
37  GETTERSETTER(unsigned int,Channels,channels)
+
38 
+
39  AudioStream& operator=(const ::AudioStream& stream) {
+
40  set(stream);
+
41  return *this;
+
42  }
+
43 
+
44  AudioStream& operator=(const AudioStream& stream) {
+
45  set(stream);
+
46  return *this;
+
47  }
+
48 
+
52  inline AudioStream& Update(const void *data, int samplesCount) {
+
53  ::UpdateAudioStream(*this, data, samplesCount);
+
54  return *this;
+
55  }
+
56 
+
60  inline AudioStream& Close() {
+
61  ::CloseAudioStream(*this);
+
62  return *this;
+
63  }
+
64 
+
68  inline bool IsProcessed() const {
+
69  return ::IsAudioStreamProcessed(*this);
70  }
71 
-
75  inline bool IsProcessed() {
-
76  return ::IsAudioStreamProcessed(*this);
-
77  }
-
78 
-
82  inline AudioStream& Play() {
-
83  ::PlayAudioStream(*this);
-
84  return *this;
-
85  }
-
86 
-
90  inline AudioStream& Pause() {
-
91  ::PauseAudioStream(*this);
-
92  return *this;
-
93  }
-
94 
-
98  inline AudioStream& Resume() {
-
99  ::ResumeAudioStream(*this);
-
100  return *this;
+
75  inline AudioStream& Play() {
+
76  ::PlayAudioStream(*this);
+
77  return *this;
+
78  }
+
79 
+
83  inline AudioStream& Pause() {
+
84  ::PauseAudioStream(*this);
+
85  return *this;
+
86  }
+
87 
+
91  inline AudioStream& Resume() {
+
92  ::ResumeAudioStream(*this);
+
93  return *this;
+
94  }
+
95 
+
99  inline bool IsPlaying() const {
+
100  return ::IsAudioStreamPlaying(*this);
101  }
102 
-
106  inline bool IsPlaying() {
-
107  return ::IsAudioStreamPlaying(*this);
-
108  }
-
109 
-
113  inline AudioStream& Stop() {
-
114  ::StopAudioStream(*this);
-
115  return *this;
-
116  }
-
117 
-
121  inline AudioStream& SetVolume(float volume) {
-
122  ::SetAudioStreamVolume(*this, volume);
-
123  return *this;
-
124  }
-
125 
-
129  inline AudioStream& SetPitch(float pitch) {
-
130  ::SetAudioStreamPitch(*this, pitch);
-
131  return *this;
-
132  }
-
133 
-
137  inline AudioStream& SetBufferSizeDefault(int size) {
-
138  ::SetAudioStreamBufferSizeDefault(size);
-
139  return *this;
-
140  }
-
141 
-
142  };
-
143 }
-
144 
-
145 #endif
+
106  inline AudioStream& Stop() {
+
107  ::StopAudioStream(*this);
+
108  return *this;
+
109  }
+
110 
+
114  inline AudioStream& SetVolume(float volume) {
+
115  ::SetAudioStreamVolume(*this, volume);
+
116  return *this;
+
117  }
+
118 
+
122  inline AudioStream& SetPitch(float pitch) {
+
123  ::SetAudioStreamPitch(*this, pitch);
+
124  return *this;
+
125  }
+
126 
+
130  inline AudioStream& SetBufferSizeDefault(int size) {
+
131  ::SetAudioStreamBufferSizeDefault(size);
+
132  return *this;
+
133  }
+
134 
+
135  protected:
+
136  inline void set(::AudioStream stream) {
+
137  sampleRate = stream.sampleRate;
+
138  sampleSize = stream.sampleSize;
+
139  channels = stream.channels;
+
140  buffer = stream.buffer;
+
141  }
+
142 
+
143  };
+
144 }
+
145 
+
146 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
AudioStream & Stop()
Stop audio stream.
-
AudioStream & Update(const void *data, int samplesCount)
Update audio stream buffers with data.
Definition: AudioStream.hpp:59
-
void set(::AudioStream stream)
Definition: AudioStream.hpp:35
-
AudioStream & Close()
Close audio stream and free memory.
Definition: AudioStream.hpp:67
+
bool IsPlaying() const
Check if audio stream is playing.
Definition: AudioStream.hpp:99
+
AudioStream & Stop()
Stop audio stream.
+
AudioStream & Update(const void *data, int samplesCount)
Update audio stream buffers with data.
Definition: AudioStream.hpp:52
+
void set(::AudioStream stream)
+
AudioStream & Close()
Close audio stream and free memory.
Definition: AudioStream.hpp:60
~AudioStream()
Definition: AudioStream.hpp:31
-
AudioStream & Resume()
Resume audio stream.
Definition: AudioStream.hpp:98
+
AudioStream & Resume()
Resume audio stream.
Definition: AudioStream.hpp:91
AudioStream(::AudioStream music)
Definition: AudioStream.hpp:20
-
AudioStream & Play()
Play audio stream.
Definition: AudioStream.hpp:82
-
AudioStream & Pause()
Pause audio stream.
Definition: AudioStream.hpp:90
-
AudioStream & operator=(const AudioStream &stream)
Definition: AudioStream.hpp:51
-
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.
Definition: AudioStream.hpp:75
+
AudioStream & Play()
Play audio stream.
Definition: AudioStream.hpp:75
+
bool IsProcessed() const
Check if any audio stream buffers requires refill.
Definition: AudioStream.hpp:68
+
AudioStream & Pause()
Pause audio stream.
Definition: AudioStream.hpp:83
+
AudioStream & operator=(const AudioStream &stream)
Definition: AudioStream.hpp:44
+
AudioStream & SetBufferSizeDefault(int size)
Default size for new audio streams.
+
AudioStream & SetPitch(float pitch)
Set pitch for audio stream (1.0 is base level)
AudioStream management functions.
Definition: AudioStream.hpp:18
-
AudioStream & SetVolume(float volume)
Set volume for audio stream (1.0 is max level)
+
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)
Definition: AudioStream.hpp:27
diff --git a/docs/_bounding_box_8hpp_source.html b/docs/_bounding_box_8hpp_source.html index 4f45eab..24ff034 100644 --- a/docs/_bounding_box_8hpp_source.html +++ b/docs/_bounding_box_8hpp_source.html @@ -97,63 +97,65 @@ $(function() {
24  min = Min;
25  max = Max;
26  };
-
27  inline void set(::BoundingBox box) {
-
28  min = box.min;
-
29  max = box.max;
-
30  }
-
31 
-
32  GETTERSETTER(::Vector3,Min,min)
-
33  GETTERSETTER(::Vector3,Max,max)
-
34 
-
35  BoundingBox& operator=(const ::BoundingBox& box) {
-
36  set(box);
-
37  return *this;
-
38  }
-
39 
-
40  BoundingBox& operator=(const BoundingBox& box) {
-
41  set(box);
-
42  return *this;
-
43  }
-
44 
-
45  inline BoundingBox& Draw(::Color color = WHITE) {
-
46  DrawBoundingBox(*this, color);
-
47  return *this;
+
27 
+
28  GETTERSETTER(::Vector3,Min,min)
+
29  GETTERSETTER(::Vector3,Max,max)
+
30 
+
31  BoundingBox& operator=(const ::BoundingBox& box) {
+
32  set(box);
+
33  return *this;
+
34  }
+
35 
+
36  BoundingBox& operator=(const BoundingBox& box) {
+
37  set(box);
+
38  return *this;
+
39  }
+
40 
+
41  inline BoundingBox& Draw(::Color color = WHITE) {
+
42  DrawBoundingBox(*this, color);
+
43  return *this;
+
44  }
+
45 
+
46  inline bool CheckCollision(::BoundingBox box2) const {
+
47  return CheckCollisionBoxes(*this, box2);
48  }
49 
-
50  inline bool CheckCollision(::BoundingBox box2) {
-
51  return CheckCollisionBoxes(*this, box2);
+
50  inline bool CheckCollision(::Vector3 center, float radius) const {
+
51  return CheckCollisionBoxSphere(*this, center, radius);
52  }
53 
-
54  inline bool CheckCollision(::Vector3 center, float radius) {
-
55  return CheckCollisionBoxSphere(*this, center, radius);
+
54  inline bool CheckCollision(::Ray ray) const {
+
55  return CheckCollisionRayBox(ray, *this);
56  }
57 
-
58  inline bool CheckCollision(::Ray ray) {
-
59  return CheckCollisionRayBox(ray, *this);
-
60  }
-
61  };
-
62 }
-
63 
-
64 #endif
+
58  protected:
+
59  inline void set(::BoundingBox box) {
+
60  min = box.min;
+
61  max = box.max;
+
62  }
+
63  };
+
64 }
+
65 
+
66 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
void set(::BoundingBox box)
Definition: BoundingBox.hpp:27
-
bool CheckCollision(::Ray ray)
Definition: BoundingBox.hpp:58
-
bool CheckCollision(::BoundingBox box2)
Definition: BoundingBox.hpp:50
-
BoundingBox & operator=(const BoundingBox &box)
Definition: BoundingBox.hpp:40
+
void set(::BoundingBox box)
Definition: BoundingBox.hpp:59
+
bool CheckCollision(::BoundingBox box2) const
Definition: BoundingBox.hpp:46
+
BoundingBox & operator=(const BoundingBox &box)
Definition: BoundingBox.hpp:36
BoundingBox(::BoundingBox box)
Definition: BoundingBox.hpp:17
Definition: Ray.hpp:17
Definition: Vector3.hpp:21
-
BoundingBox & Draw(::Color color=WHITE)
Definition: BoundingBox.hpp:45
+
BoundingBox & Draw(::Color color=WHITE)
Definition: BoundingBox.hpp:41
Definition: Mesh.hpp:18
+
bool CheckCollision(::Ray ray) const
Definition: BoundingBox.hpp:54
+
bool CheckCollision(::Vector3 center, float radius) const
Definition: BoundingBox.hpp:50
Definition: Color.hpp:18
BoundingBox(::Vector3 Min, ::Vector3 Max)
Definition: BoundingBox.hpp:23
Definition: BoundingBox.hpp:15
BoundingBox(::Mesh mesh)
Definition: BoundingBox.hpp:20
-
bool CheckCollision(::Vector3 center, float radius)
Definition: BoundingBox.hpp:54
diff --git a/docs/_camera2_d_8hpp_source.html b/docs/_camera2_d_8hpp_source.html index ca083ff..9474546 100644 --- a/docs/_camera2_d_8hpp_source.html +++ b/docs/_camera2_d_8hpp_source.html @@ -95,52 +95,52 @@ $(function() {
22  zoom = zoomValue;
23  };
24 
-
25  inline void set(const ::Camera2D& camera) {
-
26  offset = camera.offset;
-
27  target = camera.target;
-
28  rotation = camera.rotation;
-
29  zoom = camera.zoom;
-
30  }
-
31 
-
32  inline void set(const Camera2D& camera) {
-
33  offset = camera.offset;
-
34  target = camera.target;
-
35  rotation = camera.rotation;
-
36  zoom = camera.zoom;
-
37  }
+
25  inline Camera2D& BeginMode2D() {
+
26  ::BeginMode2D(*this);
+
27  return *this;
+
28  }
+
29  inline Camera2D& EndMode2D() {
+
30  ::EndMode2D();
+
31  return *this;
+
32  }
+
33 
+
34  GETTERSETTER(Vector2,Offset,offset)
+
35  GETTERSETTER(Vector2,Target,target)
+
36  GETTERSETTER(float,Rotation,rotation)
+
37  GETTERSETTER(float,Zoom,zoom)
38 
-
39  inline Camera2D& BeginMode2D() {
-
40  ::BeginMode2D(*this);
+
39  Camera2D& operator=(const ::Camera2D& camera) {
+
40  set(camera);
41  return *this;
42  }
-
43  inline Camera2D& EndMode2D() {
-
44  ::EndMode2D();
-
45  return *this;
-
46  }
-
47 
-
48  GETTERSETTER(Vector2,Offset,offset)
-
49  GETTERSETTER(Vector2,Target,target)
-
50  GETTERSETTER(float,Rotation,rotation)
-
51  GETTERSETTER(float,Zoom,zoom)
-
52 
-
53  Camera2D& operator=(const ::Camera2D& camera) {
-
54  set(camera);
-
55  return *this;
-
56  }
-
57 
-
58  Camera2D& operator=(const Camera2D& camera) {
-
59  set(camera);
-
60  return *this;
-
61  }
-
62 
-
63  inline Matrix GetMatrix() {
-
64  return ::GetCameraMatrix2D(*this);
-
65  }
-
66  inline Vector2 GetWorldToScreen2D(Vector2 position) {
-
67  return ::GetWorldToScreen2D(position, *this);
-
68  }
-
69  inline Vector2 GetScreenToWorld2D(Vector2 position) {
-
70  return ::GetScreenToWorld2D(position, *this);
+
43 
+
44  Camera2D& operator=(const Camera2D& camera) {
+
45  set(camera);
+
46  return *this;
+
47  }
+
48 
+
49  inline Matrix GetMatrix() const {
+
50  return ::GetCameraMatrix2D(*this);
+
51  }
+
52  inline Vector2 GetWorldToScreen2D(Vector2 position) const {
+
53  return ::GetWorldToScreen2D(position, *this);
+
54  }
+
55  inline Vector2 GetScreenToWorld2D(Vector2 position) const {
+
56  return ::GetScreenToWorld2D(position, *this);
+
57  }
+
58  protected:
+
59  inline void set(const ::Camera2D& camera) {
+
60  offset = camera.offset;
+
61  target = camera.target;
+
62  rotation = camera.rotation;
+
63  zoom = camera.zoom;
+
64  }
+
65 
+
66  inline void set(const Camera2D& camera) {
+
67  offset = camera.offset;
+
68  target = camera.target;
+
69  rotation = camera.rotation;
+
70  zoom = camera.zoom;
71  }
72  };
73 }
@@ -148,21 +148,21 @@ $(function() {
75 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
Vector2 GetWorldToScreen2D(Vector2 position)
Definition: Camera2D.hpp:66
Definition: Matrix.hpp:21
-
Matrix GetMatrix()
Definition: Camera2D.hpp:63
-
Camera2D & BeginMode2D()
Definition: Camera2D.hpp:39
-
void set(const ::Camera2D &camera)
Definition: Camera2D.hpp:25
-
Camera2D & operator=(const Camera2D &camera)
Definition: Camera2D.hpp:58
+
Matrix GetMatrix() const
Definition: Camera2D.hpp:49
+
Vector2 GetScreenToWorld2D(Vector2 position) const
Definition: Camera2D.hpp:55
+
Camera2D & BeginMode2D()
Definition: Camera2D.hpp:25
+
void set(const ::Camera2D &camera)
Definition: Camera2D.hpp:59
+
Camera2D & operator=(const Camera2D &camera)
Definition: Camera2D.hpp:44
Definition: Camera2D.hpp:16
-
Camera2D & EndMode2D()
Definition: Camera2D.hpp:43
+
Camera2D & EndMode2D()
Definition: Camera2D.hpp:29
Definition: Vector2.hpp:22
-
void set(const Camera2D &camera)
Definition: Camera2D.hpp:32
-
Vector2 GetScreenToWorld2D(Vector2 position)
Definition: Camera2D.hpp:69
+
void set(const Camera2D &camera)
Definition: Camera2D.hpp:66
Camera2D(::Vector2 offsetValue, ::Vector2 targetValue, float rotationValue=0, float zoomValue=1)
Definition: Camera2D.hpp:18
+
Vector2 GetWorldToScreen2D(Vector2 position) const
Definition: Camera2D.hpp:52
diff --git a/docs/_camera3_d_8hpp_source.html b/docs/_camera3_d_8hpp_source.html index 4cb8268..321ab2d 100644 --- a/docs/_camera3_d_8hpp_source.html +++ b/docs/_camera3_d_8hpp_source.html @@ -114,120 +114,121 @@ $(function() {
41  return *this;
42  }
43 
-
44  inline void set(const ::Camera3D& camera) {
-
45  position = camera.position;
-
46  target = camera.target;
-
47  up = camera.up;
-
48  fovy = camera.fovy;
-
49  type = camera.type;
-
50  }
-
51 
-
52  inline void set(const Camera3D& camera) {
-
53  position = camera.position;
-
54  target = camera.target;
-
55  up = camera.up;
-
56  fovy = camera.fovy;
-
57  type = camera.type;
-
58  }
-
59 
-
60  Camera3D& BeginMode3D() {
-
61  ::BeginMode3D(*this);
-
62  return *this;
-
63  }
-
64  Camera3D& EndMode3D() {
-
65  ::EndMode3D();
-
66  return *this;
-
67  }
-
68 
-
69  inline Matrix GetMatrix() {
-
70  return ::GetCameraMatrix(*this);
-
71  }
-
72 
-
73  inline Camera3D& SetMode(int mode) {
-
74  ::SetCameraMode(*this, mode);
-
75  return *this;
-
76  }
-
77 
-
78  inline Camera3D& SetAltControl(int altKey) {
-
79  ::SetCameraAltControl(altKey);
-
80  return *this;
-
81  }
-
82 
-
83  inline Camera3D& SetSmoothZoomControl(int szKey) {
-
84  ::SetCameraSmoothZoomControl(szKey);
-
85  return *this;
-
86  }
-
87 
-
88  inline Camera3D& SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey) {
-
89  ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
-
90  return *this;
-
91  }
-
92 
-
93  inline Camera3D& Update() {
-
94  ::UpdateCamera(this);
-
95  return *this;
-
96  }
-
97 
-
98  inline Camera3D& UpdateVrTracking() {
-
99  ::UpdateVrTracking(this);
-
100  return *this;
-
101  }
-
102 
-
103  inline Ray GetMouseRay(::Vector2 mousePosition) {
-
104  return ::GetMouseRay(mousePosition, *this);
-
105  }
-
106 
-
107  inline Vector2 GetWorldToScreen(::Vector3 position) {
-
108  return ::GetWorldToScreen(position, *this);
-
109  }
-
110 
-
111  inline Camera3D& DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint = WHITE) {
-
112  ::DrawBillboard(*this, texture, center, size, tint);
-
113  return *this;
-
114  }
-
115 
-
116  inline Camera3D& DrawBillboard(Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint = WHITE) {
-
117  ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
-
118  return *this;
-
119  }
-
120  };
-
121 
-
122  typedef Camera3D Camera;
-
123 }
-
124 
-
125 #endif
+
44  Camera3D& BeginMode3D() {
+
45  ::BeginMode3D(*this);
+
46  return *this;
+
47  }
+
48  Camera3D& EndMode3D() {
+
49  ::EndMode3D();
+
50  return *this;
+
51  }
+
52 
+
53  inline Matrix GetMatrix() const {
+
54  return ::GetCameraMatrix(*this);
+
55  }
+
56 
+
57  inline Camera3D& SetMode(int mode) {
+
58  ::SetCameraMode(*this, mode);
+
59  return *this;
+
60  }
+
61 
+
62  inline Camera3D& SetAltControl(int altKey) {
+
63  ::SetCameraAltControl(altKey);
+
64  return *this;
+
65  }
+
66 
+
67  inline Camera3D& SetSmoothZoomControl(int szKey) {
+
68  ::SetCameraSmoothZoomControl(szKey);
+
69  return *this;
+
70  }
+
71 
+
72  inline Camera3D& SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey) {
+
73  ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
+
74  return *this;
+
75  }
+
76 
+
77  inline Camera3D& Update() {
+
78  ::UpdateCamera(this);
+
79  return *this;
+
80  }
+
81 
+
82  inline Camera3D& UpdateVrTracking() {
+
83  ::UpdateVrTracking(this);
+
84  return *this;
+
85  }
+
86 
+
87  inline Ray GetMouseRay(::Vector2 mousePosition) const {
+
88  return ::GetMouseRay(mousePosition, *this);
+
89  }
+
90 
+
91  inline Vector2 GetWorldToScreen(::Vector3 position) const {
+
92  return ::GetWorldToScreen(position, *this);
+
93  }
+
94 
+
95  inline Camera3D& DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint = WHITE) {
+
96  ::DrawBillboard(*this, texture, center, size, tint);
+
97  return *this;
+
98  }
+
99 
+
100  inline Camera3D& DrawBillboard(Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint = WHITE) {
+
101  ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
+
102  return *this;
+
103  }
+
104 
+
105  protected:
+
106  inline void set(const ::Camera3D& camera) {
+
107  position = camera.position;
+
108  target = camera.target;
+
109  up = camera.up;
+
110  fovy = camera.fovy;
+
111  type = camera.type;
+
112  }
+
113 
+
114  inline void set(const Camera3D& camera) {
+
115  position = camera.position;
+
116  target = camera.target;
+
117  up = camera.up;
+
118  fovy = camera.fovy;
+
119  type = camera.type;
+
120  }
+
121  };
+
122 
+
123  typedef Camera3D Camera;
+
124 }
+
125 
+
126 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
Definition: Matrix.hpp:21
-
Camera3D & SetMode(int mode)
Definition: Camera3D.hpp:73
-
Camera3D & DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)
Definition: Camera3D.hpp:111
-
Matrix GetMatrix()
Definition: Camera3D.hpp:69
+
Ray GetMouseRay(::Vector2 mousePosition) const
Definition: Camera3D.hpp:87
+
Camera3D & SetMode(int mode)
Definition: Camera3D.hpp:57
+
Camera3D & DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)
Definition: Camera3D.hpp:95
+
Matrix GetMatrix() const
Definition: Camera3D.hpp:53
Definition: Ray.hpp:17
-
Camera3D & UpdateVrTracking()
Definition: Camera3D.hpp:98
-
Ray GetMouseRay(::Vector2 mousePosition)
Definition: Camera3D.hpp:103
+
Camera3D & UpdateVrTracking()
Definition: Camera3D.hpp:82
Camera3D()
Definition: Camera3D.hpp:26
-
Camera3D & Update()
Definition: Camera3D.hpp:93
-
Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
Definition: Camera3D.hpp:88
-
Camera3D & SetAltControl(int altKey)
Definition: Camera3D.hpp:78
+
Camera3D & Update()
Definition: Camera3D.hpp:77
+
Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
Definition: Camera3D.hpp:72
+
Camera3D & SetAltControl(int altKey)
Definition: Camera3D.hpp:62
Definition: Vector3.hpp:21
Camera3D(::Vector3 positionValue, ::Vector3 targetValue, ::Vector3 upValue, float fovyValue=0, int typeValue=0)
Definition: Camera3D.hpp:18
-
Camera3D Camera
Definition: Camera3D.hpp:122
+
Camera3D Camera
Definition: Camera3D.hpp:123
Definition: Camera3D.hpp:16
-
Camera3D & BeginMode3D()
Definition: Camera3D.hpp:60
+
Camera3D & BeginMode3D()
Definition: Camera3D.hpp:44
Camera3D & operator=(const Camera3D &camera)
Definition: Camera3D.hpp:39
-
Camera3D & EndMode3D()
Definition: Camera3D.hpp:64
+
Camera3D & EndMode3D()
Definition: Camera3D.hpp:48
Definition: Rectangle.hpp:16
Definition: Vector2.hpp:22
-
void set(const ::Camera3D &camera)
Definition: Camera3D.hpp:44
+
void set(const ::Camera3D &camera)
Definition: Camera3D.hpp:106
Definition: Color.hpp:18
-
Camera3D & SetSmoothZoomControl(int szKey)
Definition: Camera3D.hpp:83
-
Vector2 GetWorldToScreen(::Vector3 position)
Definition: Camera3D.hpp:107
-
void set(const Camera3D &camera)
Definition: Camera3D.hpp:52
-
Camera3D & DrawBillboard(Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint=WHITE)
Definition: Camera3D.hpp:116
-
Definition: Texture2D.hpp:19
+
Camera3D & SetSmoothZoomControl(int szKey)
Definition: Camera3D.hpp:67
+
void set(const Camera3D &camera)
Definition: Camera3D.hpp:114
+
Definition: Texture.hpp:19
+
Camera3D & DrawBillboard(Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint=WHITE)
Definition: Camera3D.hpp:100
+
Vector2 GetWorldToScreen(::Vector3 position) const
Definition: Camera3D.hpp:91
diff --git a/docs/_color_8hpp_source.html b/docs/_color_8hpp_source.html index 78c351d..aa25423 100644 --- a/docs/_color_8hpp_source.html +++ b/docs/_color_8hpp_source.html @@ -122,285 +122,284 @@ $(function() {
49  set(::ColorFromNormalized(normalized));
50  }
51 
-
52  inline void set(const ::Color& color) {
-
53  r = color.r;
-
54  g = color.g;
-
55  b = color.b;
-
56  a = color.a;
-
57  }
-
58 
-
59  inline void set(const Color& color) {
-
60  r = color.r;
-
61  g = color.g;
-
62  b = color.b;
-
63  a = color.a;
-
64  }
-
65 
-
66  static Color LightGray;
-
67  static Color Gray;
-
68  static Color DarkGray;
-
69  static Color Yellow;
-
70  static Color Gold;
-
71  static Color Orange;
-
72  static Color Pink;
-
73  static Color Red;
-
74  static Color Maroon;
-
75  static Color Green;
-
76  static Color Lime;
-
77  static Color DarkGreen;
-
78  static Color SkyBlue;
-
79  static Color Blue;
-
80  static Color DarkBlue;
-
81  static Color Purple;
-
82  static Color Violet;
-
83  static Color DarkPurple;
-
84  static Color Beige;
-
85  static Color Brown;
-
86  static Color DarkBrown;
-
87  static Color White;
-
88  static Color Black;
-
89  static Color Blank;
-
90  static Color Magenta;
-
91  static Color RayWhite;
+
52  static Color LightGray;
+
53  static Color Gray;
+
54  static Color DarkGray;
+
55  static Color Yellow;
+
56  static Color Gold;
+
57  static Color Orange;
+
58  static Color Pink;
+
59  static Color Red;
+
60  static Color Maroon;
+
61  static Color Green;
+
62  static Color Lime;
+
63  static Color DarkGreen;
+
64  static Color SkyBlue;
+
65  static Color Blue;
+
66  static Color DarkBlue;
+
67  static Color Purple;
+
68  static Color Violet;
+
69  static Color DarkPurple;
+
70  static Color Beige;
+
71  static Color Brown;
+
72  static Color DarkBrown;
+
73  static Color White;
+
74  static Color Black;
+
75  static Color Blank;
+
76  static Color Magenta;
+
77  static Color RayWhite;
+
78 
+
79  int ToInt() const {
+
80  return ::ColorToInt(*this);
+
81  }
+
82 
+
83  operator int() const { return ::ColorToInt(*this); }
+
84 
+
85  Color Fade(float alpha) const {
+
86  return ::Fade(*this, alpha);
+
87  }
+
88 
+
89  Vector4 Normalize() const {
+
90  return ::ColorNormalize(*this);
+
91  }
92 
-
93  int ToInt() {
-
94  return ::ColorToInt(*this);
+
93  Vector3 ToHSV() const {
+
94  return ::ColorToHSV(*this);
95  }
96 
-
97  operator int() const { return ::ColorToInt(*this); }
-
98 
-
99  Color Fade(float alpha) {
-
100  Color a;
-
101  a.set(::Fade(*this, alpha));
-
102  return a;
-
103  }
-
104 
-
105  Vector4 Normalize() {
-
106  return ::ColorNormalize(*this);
-
107  }
-
108 
-
109  Vector3 ToHSV() {
-
110  return ::ColorToHSV(*this);
-
111  }
-
112 
-
113  GETTERSETTER(unsigned char,R,r)
-
114  GETTERSETTER(unsigned char,G,g)
-
115  GETTERSETTER(unsigned char,B,b)
-
116  GETTERSETTER(unsigned char,A,a)
-
117 
-
118  Color& operator=(const ::Color& color) {
-
119  set(color);
-
120  return *this;
-
121  }
-
122 
-
123  Color& operator=(const Color& color) {
-
124  set(color);
-
125  return *this;
-
126  }
-
127 
-
128  inline Color& ClearBackground() {
-
129  ::ClearBackground(*this);
-
130  return *this;
-
131  }
-
132 
-
133  inline Color& DrawPixel(int x, int y) {
-
134  ::DrawPixel(x, y, *this);
-
135  return *this;
-
136  }
-
137 
-
138  inline Color& DrawPixel(::Vector2 pos) {
-
139  ::DrawPixelV(pos, *this);
-
140  return *this;
-
141  }
-
142 
-
143  inline Color& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) {
-
144  ::DrawLine(startPosX, startPosY, endPosX, endPosY, *this);
+
97  GETTERSETTER(unsigned char,R,r)
+
98  GETTERSETTER(unsigned char,G,g)
+
99  GETTERSETTER(unsigned char,B,b)
+
100  GETTERSETTER(unsigned char,A,a)
+
101 
+
102  Color& operator=(const ::Color& color) {
+
103  set(color);
+
104  return *this;
+
105  }
+
106 
+
107  Color& operator=(const Color& color) {
+
108  set(color);
+
109  return *this;
+
110  }
+
111 
+
112  inline Color& ClearBackground() {
+
113  ::ClearBackground(*this);
+
114  return *this;
+
115  }
+
116 
+
117  inline Color& DrawPixel(int x, int y) {
+
118  ::DrawPixel(x, y, *this);
+
119  return *this;
+
120  }
+
121 
+
122  inline Color& DrawPixel(::Vector2 pos) {
+
123  ::DrawPixelV(pos, *this);
+
124  return *this;
+
125  }
+
126 
+
127  inline Color& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) {
+
128  ::DrawLine(startPosX, startPosY, endPosX, endPosY, *this);
+
129  return *this;
+
130  }
+
131  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos) {
+
132  ::DrawLineV(startPos, endPos, *this);
+
133  return *this;
+
134  }
+
135  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) {
+
136  ::DrawLineEx(startPos, endPos, thick, *this);
+
137  return *this;
+
138  }
+
139  inline Color& DrawLineBezier(::Vector2 startPos, Vector2 endPos, float thick) {
+
140  ::DrawLineBezier(startPos, endPos, thick, *this);
+
141  return *this;
+
142  }
+
143  inline Color& DrawLineStrip(::Vector2 *points, int numPoints) {
+
144  ::DrawLineStrip(points, numPoints, *this);
145  return *this;
146  }
-
147  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos) {
-
148  ::DrawLineV(startPos, endPos, *this);
-
149  return *this;
-
150  }
-
151  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) {
-
152  ::DrawLineEx(startPos, endPos, thick, *this);
-
153  return *this;
-
154  }
-
155  inline Color& DrawLineBezier(::Vector2 startPos, Vector2 endPos, float thick) {
-
156  ::DrawLineBezier(startPos, endPos, thick, *this);
-
157  return *this;
-
158  }
-
159  inline Color& DrawLineStrip(::Vector2 *points, int numPoints) {
-
160  ::DrawLineStrip(points, numPoints, *this);
-
161  return *this;
-
162  }
-
163 
-
164  inline Color& DrawText(const std::string& text, int posX, int posY, int fontSize) {
-
165  ::DrawText(text.c_str(), posX, posY, fontSize, *this);
-
166  return *this;
-
167  }
-
168  inline Color& DrawText(::Font font, const std::string& text, ::Vector2 position, float fontSize, float spacing) {
-
169  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
-
170  return *this;
-
171  }
-
172 
-
173  inline Color& DrawText(::Font font, const std::string& text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap = false) {
-
174  ::DrawTextRec(font, text.c_str(), rec, fontSize, spacing, wordWrap, *this);
-
175  return *this;
-
176  }
-
177 
-
178  inline Color& DrawRectangle(int posX, int posY, int width, int height) {
-
179  ::DrawRectangle(posX, posY, width, height, *this);
-
180  return *this;
-
181  }
-
182 
-
183  inline Color& DrawRectangle(Vector2 position, Vector2 size) {
-
184  ::DrawRectangleV(position, size, *this);
-
185  return *this;
-
186  }
-
187 
-
188  inline Color& DrawRectangle(Rectangle rec) {
-
189  ::DrawRectangleRec(rec, *this);
-
190  return *this;
-
191  }
-
192 
-
193  inline Color& DrawRectangle(Rectangle rec, Vector2 origin, float rotation) {
-
194  ::DrawRectanglePro(rec, origin, rotation, *this);
-
195  return *this;
-
196  }
-
197 
-
198  inline Color& DrawRectangleLines(int posX, int posY, int width, int height) {
-
199  ::DrawRectangleLines(posX, posY, width, height, *this);
-
200  return *this;
-
201  }
-
202 
-
203  inline Color& DrawRectangleLines(Rectangle rec, int lineThick) {
-
204  ::DrawRectangleLinesEx(rec, lineThick, *this);
-
205  return *this;
-
206  }
-
207 
-
208  };
-
209 
-
210  inline Color Color::LightGray = ::LIGHTGRAY;
-
211  inline Color Color::Gray = ::GRAY;
-
212  inline Color Color::DarkGray = ::DARKGRAY;
-
213  inline Color Color::Yellow = ::YELLOW;
-
214  inline Color Color::Gold = ::GOLD;
-
215  inline Color Color::Orange = ::ORANGE;
-
216  inline Color Color::Pink = ::PINK;
-
217  inline Color Color::Red = ::RED;
-
218  inline Color Color::Maroon = ::MAROON;
-
219  inline Color Color::Green = ::GREEN;
-
220  inline Color Color::Lime = ::LIME;
-
221  inline Color Color::DarkGreen = ::DARKGREEN;
-
222  inline Color Color::SkyBlue = ::SKYBLUE;
-
223  inline Color Color::Blue = ::BLUE;
-
224  inline Color Color::DarkBlue = ::DARKBLUE;
-
225  inline Color Color::Purple = ::PURPLE;
-
226  inline Color Color::Violet = ::VIOLET;
-
227  inline Color Color::DarkPurple = ::DARKPURPLE;
-
228  inline Color Color::Beige = ::BEIGE;
-
229  inline Color Color::Brown = ::BROWN;
-
230  inline Color Color::DarkBrown = ::DARKBROWN;
-
231  inline Color Color::White = ::WHITE;
-
232  inline Color Color::Black = ::BLACK;
-
233  inline Color Color::Blank = ::BLANK;
-
234  inline Color Color::Magenta = ::MAGENTA;
-
235  inline Color Color::RayWhite = ::RAYWHITE;
-
236 }
-
237 
-
238 #endif
+
147 
+
148  inline Color& DrawText(const std::string& text, int posX, int posY, int fontSize) {
+
149  ::DrawText(text.c_str(), posX, posY, fontSize, *this);
+
150  return *this;
+
151  }
+
152  inline Color& DrawText(::Font font, const std::string& text, ::Vector2 position, float fontSize, float spacing) {
+
153  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
+
154  return *this;
+
155  }
+
156 
+
157  inline Color& DrawText(::Font font, const std::string& text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap = false) {
+
158  ::DrawTextRec(font, text.c_str(), rec, fontSize, spacing, wordWrap, *this);
+
159  return *this;
+
160  }
+
161 
+
162  inline Color& DrawRectangle(int posX, int posY, int width, int height) {
+
163  ::DrawRectangle(posX, posY, width, height, *this);
+
164  return *this;
+
165  }
+
166 
+
167  inline Color& DrawRectangle(Vector2 position, Vector2 size) {
+
168  ::DrawRectangleV(position, size, *this);
+
169  return *this;
+
170  }
+
171 
+
172  inline Color& DrawRectangle(Rectangle rec) {
+
173  ::DrawRectangleRec(rec, *this);
+
174  return *this;
+
175  }
+
176 
+
177  inline Color& DrawRectangle(Rectangle rec, Vector2 origin, float rotation) {
+
178  ::DrawRectanglePro(rec, origin, rotation, *this);
+
179  return *this;
+
180  }
+
181 
+
182  inline Color& DrawRectangleLines(int posX, int posY, int width, int height) {
+
183  ::DrawRectangleLines(posX, posY, width, height, *this);
+
184  return *this;
+
185  }
+
186 
+
187  inline Color& DrawRectangleLines(Rectangle rec, int lineThick) {
+
188  ::DrawRectangleLinesEx(rec, lineThick, *this);
+
189  return *this;
+
190  }
+
191 
+
192  protected:
+
193  inline void set(const ::Color& color) {
+
194  r = color.r;
+
195  g = color.g;
+
196  b = color.b;
+
197  a = color.a;
+
198  }
+
199 
+
200  inline void set(const Color& color) {
+
201  r = color.r;
+
202  g = color.g;
+
203  b = color.b;
+
204  a = color.a;
+
205  }
+
206 
+
207  };
+
208 
+
209  inline Color Color::LightGray = ::LIGHTGRAY;
+
210  inline Color Color::Gray = ::GRAY;
+
211  inline Color Color::DarkGray = ::DARKGRAY;
+
212  inline Color Color::Yellow = ::YELLOW;
+
213  inline Color Color::Gold = ::GOLD;
+
214  inline Color Color::Orange = ::ORANGE;
+
215  inline Color Color::Pink = ::PINK;
+
216  inline Color Color::Red = ::RED;
+
217  inline Color Color::Maroon = ::MAROON;
+
218  inline Color Color::Green = ::GREEN;
+
219  inline Color Color::Lime = ::LIME;
+
220  inline Color Color::DarkGreen = ::DARKGREEN;
+
221  inline Color Color::SkyBlue = ::SKYBLUE;
+
222  inline Color Color::Blue = ::BLUE;
+
223  inline Color Color::DarkBlue = ::DARKBLUE;
+
224  inline Color Color::Purple = ::PURPLE;
+
225  inline Color Color::Violet = ::VIOLET;
+
226  inline Color Color::DarkPurple = ::DARKPURPLE;
+
227  inline Color Color::Beige = ::BEIGE;
+
228  inline Color Color::Brown = ::BROWN;
+
229  inline Color Color::DarkBrown = ::DARKBROWN;
+
230  inline Color Color::White = ::WHITE;
+
231  inline Color Color::Black = ::BLACK;
+
232  inline Color Color::Blank = ::BLANK;
+
233  inline Color Color::Magenta = ::MAGENTA;
+
234  inline Color Color::RayWhite = ::RAYWHITE;
+
235 }
+
236 
+
237 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
static Color DarkBrown
Definition: Color.hpp:86
-
Color & DrawRectangleLines(int posX, int posY, int width, int height)
Definition: Color.hpp:198
-
Color & DrawRectangle(Rectangle rec)
Definition: Color.hpp:188
-
Color & DrawLineStrip(::Vector2 *points, int numPoints)
Definition: Color.hpp:159
+
static Color DarkBrown
Definition: Color.hpp:72
+
Color & DrawRectangleLines(int posX, int posY, int width, int height)
Definition: Color.hpp:182
+
Color & DrawRectangle(Rectangle rec)
Definition: Color.hpp:172
+
Color & DrawLineStrip(::Vector2 *points, int numPoints)
Definition: Color.hpp:143
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
Definition: Color.hpp:32
-
-
Color & DrawText(::Font font, const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap=false)
Definition: Color.hpp:173
+
Color & DrawText(::Font font, const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap=false)
Definition: Color.hpp:157
Definition: Vector4.hpp:21
static Color FromHSV(float hue, float saturation, float value)
Definition: Color.hpp:41
-
static Color White
Definition: Color.hpp:87
-
static Color Beige
Definition: Color.hpp:84
+
static Color White
Definition: Color.hpp:73
+
static Color Beige
Definition: Color.hpp:70
-
void set(const ::Color &color)
Definition: Color.hpp:52
-
Color & ClearBackground()
Definition: Color.hpp:128
-
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos)
Definition: Color.hpp:147
-
static Color SkyBlue
Definition: Color.hpp:78
+
void set(const ::Color &color)
Definition: Color.hpp:193
+
Color & ClearBackground()
Definition: Color.hpp:112
+
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos)
Definition: Color.hpp:131
+
static Color SkyBlue
Definition: Color.hpp:64
-
static Color Yellow
Definition: Color.hpp:69
-
static Color Red
Definition: Color.hpp:73
-
Vector3 ToHSV()
Definition: Color.hpp:109
-
Color & DrawRectangle(Vector2 position, Vector2 size)
Definition: Color.hpp:183
-
static Color Pink
Definition: Color.hpp:72
+
static Color Yellow
Definition: Color.hpp:55
+
static Color Red
Definition: Color.hpp:59
+
Color & DrawRectangle(Vector2 position, Vector2 size)
Definition: Color.hpp:167
+
static Color Pink
Definition: Color.hpp:58
-
static Color Orange
Definition: Color.hpp:71
+
static Color Orange
Definition: Color.hpp:57
Definition: Vector3.hpp:21
-
Color & DrawPixel(int x, int y)
Definition: Color.hpp:133
+
Color & DrawPixel(int x, int y)
Definition: Color.hpp:117
-
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)
Definition: Color.hpp:151
-
Color & DrawRectangle(Rectangle rec, Vector2 origin, float rotation)
Definition: Color.hpp:193
+
int ToInt() const
Definition: Color.hpp:79
+
Vector3 ToHSV() const
Definition: Color.hpp:93
+
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)
Definition: Color.hpp:135
+
Color & DrawRectangle(Rectangle rec, Vector2 origin, float rotation)
Definition: Color.hpp:177
-
static Color DarkGreen
Definition: Color.hpp:77
+
static Color DarkGreen
Definition: Color.hpp:63
-
Color Fade(float alpha)
Definition: Color.hpp:99
-
Vector4 Normalize()
Definition: Color.hpp:105
-
void set(const Color &color)
Definition: Color.hpp:59
+
void set(const Color &color)
Definition: Color.hpp:200
Definition: Rectangle.hpp:16
-
int ToInt()
Definition: Color.hpp:93
Definition: Font.hpp:17
Color(::Vector3 hsv)
Definition: Color.hpp:38
-
Color & operator=(const Color &color)
Definition: Color.hpp:123
-
static Color Brown
Definition: Color.hpp:85
+
Color & operator=(const Color &color)
Definition: Color.hpp:107
+
static Color Brown
Definition: Color.hpp:71
Definition: Vector2.hpp:22
-
static Color Blue
Definition: Color.hpp:79
-
static Color Violet
Definition: Color.hpp:82
-
static Color Gray
Definition: Color.hpp:67
-
static Color Black
Definition: Color.hpp:88
-
Color & DrawPixel(::Vector2 pos)
Definition: Color.hpp:138
+
static Color Blue
Definition: Color.hpp:65
+
RenderTexture RenderTexture2D
+
static Color Violet
Definition: Color.hpp:68
+
static Color Gray
Definition: Color.hpp:53
+
static Color Black
Definition: Color.hpp:74
+
Color & DrawPixel(::Vector2 pos)
Definition: Color.hpp:122
Definition: Color.hpp:18
-
static Color DarkBlue
Definition: Color.hpp:80
-
Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
Definition: Color.hpp:164
+
static Color DarkBlue
Definition: Color.hpp:66
+
Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
Definition: Color.hpp:148
Color()
Definition: Color.hpp:20
-
static Color Blank
Definition: Color.hpp:89
-
static Color DarkGray
Definition: Color.hpp:68
-
Color & DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
Definition: Color.hpp:168
-
static Color Gold
Definition: Color.hpp:70
-
static Color LightGray
Definition: Color.hpp:66
-
static Color Green
Definition: Color.hpp:75
+
static Color Blank
Definition: Color.hpp:75
+
static Color DarkGray
Definition: Color.hpp:54
+
Texture Texture2D
Definition: Texture.hpp:162
+
Color & DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
Definition: Color.hpp:152
+
static Color Gold
Definition: Color.hpp:56
+
static Color LightGray
Definition: Color.hpp:52
+
static Color Green
Definition: Color.hpp:61
-
static Color Lime
Definition: Color.hpp:76
+
static Color Lime
Definition: Color.hpp:62
Color(Vector4 normalized)
Definition: Color.hpp:48
+
Vector4 Normalize() const
Definition: Color.hpp:89
-
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
Definition: Color.hpp:143
+
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
Definition: Color.hpp:127
+
Color Fade(float alpha) const
Definition: Color.hpp:85
Color(::Color color)
Definition: Color.hpp:26
-
static Color Magenta
Definition: Color.hpp:90
-
static Color Purple
Definition: Color.hpp:81
-
static Color RayWhite
Definition: Color.hpp:91
-
Color & DrawRectangleLines(Rectangle rec, int lineThick)
Definition: Color.hpp:203
-
static Color DarkPurple
Definition: Color.hpp:83
-
Color & DrawRectangle(int posX, int posY, int width, int height)
Definition: Color.hpp:178
-
static Color Maroon
Definition: Color.hpp:74
+
static Color Magenta
Definition: Color.hpp:76
+
static Color Purple
Definition: Color.hpp:67
+
static Color RayWhite
Definition: Color.hpp:77
+
Color & DrawRectangleLines(Rectangle rec, int lineThick)
Definition: Color.hpp:187
+
static Color DarkPurple
Definition: Color.hpp:69
+
Color & DrawRectangle(int posX, int posY, int width, int height)
Definition: Color.hpp:162
+
static Color Maroon
Definition: Color.hpp:60
-
Color & DrawLineBezier(::Vector2 startPos, Vector2 endPos, float thick)
Definition: Color.hpp:155
+
Color & DrawLineBezier(::Vector2 startPos, Vector2 endPos, float thick)
Definition: Color.hpp:139
-
Color(int hexValue)
Definition: Color.hpp:45
diff --git a/docs/_dropped_files_8hpp_source.html b/docs/_dropped_files_8hpp_source.html index 2eb31de..cfc4227 100644 --- a/docs/_dropped_files_8hpp_source.html +++ b/docs/_dropped_files_8hpp_source.html @@ -99,7 +99,7 @@ $(function() {
29  return *this;
30  }
31 
-
35  inline bool IsFileDropped() {
+
35  inline bool IsFileDropped() const {
36  return ::IsFileDropped();
37  }
38 
@@ -113,18 +113,18 @@ $(function() {
49  }
50 
51  inline std::string operator[](int pos) {
-
52  return at(pos);
+
52  return at(pos);
53  }
54 
-
55  inline int Count() {
+
55  inline int Count() const {
56  return m_count;
57  }
58 
-
59  inline int size() {
+
59  inline int size() const {
60  return m_count;
61  }
62 
-
63  inline bool empty() {
+
63  inline bool empty() const {
64  return m_count == 0;
65  }
66 
@@ -132,15 +132,15 @@ $(function() {
68  Clear();
69  }
70 
-
71  inline std::string front() {
-
72  return at(0);
+
71  inline std::string front() const {
+
72  return at(0);
73  }
74 
-
75  inline std::string back() {
-
76  return at(m_count - 1);
+
75  inline std::string back() const {
+
76  return at(m_count - 1);
77  }
78 
-
79  std::string at(int pos) {
+
79  std::string at(int pos) const {
80  if (m_files != NULL && pos < m_count && pos >= 0) {
81  return std::string(m_files[pos]);
82  }
@@ -151,26 +151,26 @@ $(function() {
87 
88 #endif
-
bool IsFileDropped()
Check if a file has been dropped into window.
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
void clear()
-
int Count()
+
int size() const
std::string operator[](int pos)
-
int size()
-
std::string back()
-
std::string at(int pos)
+
std::string front() const
DroppedFiles & Clear()
Clear dropped files paths buffer.
-
std::string front()
+
std::string at(int pos) const
+
int Count() const
char ** m_files
int m_count
-
bool empty()
DroppedFiles & Get()
Get the dropped files names.
+
std::string back() const
DroppedFiles()
~DroppedFiles()
+
bool IsFileDropped() const
Check if a file has been dropped into window.
+
bool empty() const
diff --git a/docs/_font_8hpp_source.html b/docs/_font_8hpp_source.html index d934619..060b4d0 100644 --- a/docs/_font_8hpp_source.html +++ b/docs/_font_8hpp_source.html @@ -117,88 +117,89 @@ $(function() {
44  UnloadFont(*this);
45  }
46 
-
47  void set(const ::Font font) {
-
48  baseSize = font.baseSize;
-
49  charsCount = font.charsCount;
-
50  texture = font.texture;
-
51  recs = font.recs;
-
52  chars = font.chars;
-
53  }
-
54 
-
55  void set(const Font& font) {
-
56  baseSize = font.baseSize;
-
57  charsCount = font.charsCount;
-
58  texture = font.texture;
-
59  recs = font.recs;
-
60  chars = font.chars;
+
47  GETTERSETTER(int,BaseSize,baseSize)
+
48  GETTERSETTER(int,CharsCount,charsCount)
+
49  GETTERSETTER(Texture2D,Texture,texture)
+
50  GETTERSETTER(Rectangle*,Recs,recs)
+
51  GETTERSETTER(CharInfo*,Chars,chars)
+
52 
+
53  Font& operator=(const ::Font& font) {
+
54  set(font);
+
55  return *this;
+
56  }
+
57 
+
58  Font& operator=(const Font& font) {
+
59  set(font);
+
60  return *this;
61  }
62 
-
63  GETTERSETTER(int,BaseSize,baseSize)
-
64  GETTERSETTER(int,CharsCount,charsCount)
-
65  GETTERSETTER(Texture2D,Texture,texture)
-
66  GETTERSETTER(Rectangle*,Recs,recs)
-
67  GETTERSETTER(CharInfo*,Chars,chars)
-
68 
-
69  Font& operator=(const ::Font& font) {
-
70  set(font);
-
71  return *this;
-
72  }
-
73 
-
74  Font& operator=(const Font& font) {
-
75  set(font);
-
76  return *this;
-
77  }
-
78 
-
79  inline Font& DrawText(const std::string& text, ::Vector2 position, float fontSize, float spacing, ::Color tint = WHITE) {
-
80  ::DrawTextEx(*this, text.c_str(), position, fontSize, spacing, tint);
-
81  return *this;
+
63  inline Font& DrawText(const std::string& text, ::Vector2 position, float fontSize, float spacing, ::Color tint = WHITE) {
+
64  ::DrawTextEx(*this, text.c_str(), position, fontSize, spacing, tint);
+
65  return *this;
+
66  }
+
67  inline Font& DrawText(const std::string& text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint = WHITE) {
+
68  ::DrawTextRec(*this, text.c_str(), rec, fontSize, spacing, wordWrap, tint);
+
69  return *this;
+
70  }
+
71  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) {
+
72  ::DrawTextRecEx(*this, text.c_str(), rec, fontSize, spacing, wordWrap, tint, selectStart, selectLength, selectText, selectBack);
+
73  return *this;
+
74  }
+
75 
+
76  inline Vector2 MeasureText(const std::string& text, float fontSize, float spacing) {
+
77  return ::MeasureTextEx(*this, text.c_str(), fontSize, spacing);
+
78  }
+
79 
+
80  inline int GetGlyphIndex(int character) const {
+
81  return ::GetGlyphIndex(*this, character);
82  }
-
83  inline Font& DrawText(const std::string& text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint = WHITE) {
-
84  ::DrawTextRec(*this, text.c_str(), rec, fontSize, spacing, wordWrap, tint);
-
85  return *this;
-
86  }
-
87  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) {
-
88  ::DrawTextRecEx(*this, text.c_str(), rec, fontSize, spacing, wordWrap, tint, selectStart, selectLength, selectText, selectBack);
-
89  return *this;
-
90  }
-
91 
-
92  inline Vector2 MeasureText(const std::string& text, float fontSize, float spacing) {
-
93  return ::MeasureTextEx(*this, text.c_str(), fontSize, spacing);
-
94  }
-
95 
-
96  inline int GetGlyphIndex(int character) {
-
97  return ::GetGlyphIndex(*this, character);
-
98  }
-
99  };
-
100 }
-
101 
-
102 #endif
+
83 
+
84  protected:
+
85  void set(const ::Font font) {
+
86  baseSize = font.baseSize;
+
87  charsCount = font.charsCount;
+
88  texture = font.texture;
+
89  recs = font.recs;
+
90  chars = font.chars;
+
91  }
+
92 
+
93  void set(const Font& font) {
+
94  baseSize = font.baseSize;
+
95  charsCount = font.charsCount;
+
96  texture = font.texture;
+
97  recs = font.recs;
+
98  chars = font.chars;
+
99  }
+
100  };
+
101 }
+
102 
+
103 #endif
Font(const std::string &fileName)
Definition: Font.hpp:23
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
Definition: Image.hpp:16
-
Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
Definition: Font.hpp:79
+
Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
Definition: Font.hpp:63
void Unload()
Definition: Font.hpp:43
-
Font & operator=(const Font &font)
Definition: Font.hpp:74
-
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, ::Color selectText, Color selectBack)
Definition: Font.hpp:87
+
Font & operator=(const Font &font)
Definition: Font.hpp:58
+
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, ::Color selectText, Color selectBack)
Definition: Font.hpp:71
Font()
Definition: Font.hpp:19
-
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint=WHITE)
Definition: Font.hpp:83
+
Font & DrawText(const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint=WHITE)
Definition: Font.hpp:67
~Font()
Definition: Font.hpp:39
-
void set(const ::Font font)
Definition: Font.hpp:47
+
void set(const ::Font font)
Definition: Font.hpp:85
Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
Definition: Font.hpp:35
Definition: Rectangle.hpp:16
Font(::Image &image, ::Color key, int firstChar)
Definition: Font.hpp:31
Definition: Font.hpp:17
+
int GetGlyphIndex(int character) const
Definition: Font.hpp:80
Definition: Vector2.hpp:22
Font(const std::string &fileName, int fontSize, int *fontChars, int charCount)
Definition: Font.hpp:27
-
void set(const Font &font)
Definition: Font.hpp:55
-
Vector2 MeasureText(const std::string &text, float fontSize, float spacing)
Definition: Font.hpp:92
+
void set(const Font &font)
Definition: Font.hpp:93
+
Vector2 MeasureText(const std::string &text, float fontSize, float spacing)
Definition: Font.hpp:76
Definition: Color.hpp:18
-
Definition: Texture2D.hpp:19
-
int GetGlyphIndex(int character)
Definition: Font.hpp:96
+
Definition: Texture.hpp:19
diff --git a/docs/_gamepad_8hpp_source.html b/docs/_gamepad_8hpp_source.html index 5dc2722..b53744c 100644 --- a/docs/_gamepad_8hpp_source.html +++ b/docs/_gamepad_8hpp_source.html @@ -94,77 +94,84 @@ $(function() {
21  }
22  int number;
23 
-
24  inline void set(int gamepadNumber) {
-
25  number = gamepadNumber;
-
26  }
-
27 
-
28  GETTERSETTER(int,Number,number)
-
29 
-
30  Gamepad& operator=(const Gamepad& gamepad) {
-
31  set(gamepad);
-
32  return *this;
-
33  }
-
34 
-
35  operator int() const { return number; }
-
36 
-
37  inline bool IsAvailable() {
-
38  return ::IsGamepadAvailable(number);
-
39  }
-
40  inline bool IsName(const std::string& name) {
-
41  return ::IsGamepadName(number, name.c_str());
-
42  }
-
43  std::string GetName() {
-
44  return std::string(::GetGamepadName(number));
-
45  }
-
46  inline bool IsButtonPressed(int button) {
-
47  return ::IsGamepadButtonPressed(number, button);
-
48  }
-
49 
-
50  inline bool IsButtonDown(int button) {
-
51  return ::IsGamepadButtonDown(number, button);
-
52  }
-
53 
-
54  inline bool IsButtonReleased(int button) {
-
55  return ::IsGamepadButtonReleased(number, button);
-
56  }
-
57  inline bool IsButtonUp(int button) {
-
58  return ::IsGamepadButtonUp(number, button);
-
59  }
-
60 
-
61  inline int GetButtonPressed() {
-
62  return ::GetGamepadButtonPressed();
-
63  }
-
64 
-
65  inline int GetAxisCount() {
-
66  return ::GetGamepadAxisCount(number);
-
67  }
-
68 
-
69  inline float GetAxisMovement(int axis) {
-
70  return ::GetGamepadAxisMovement(number, axis);
-
71  }
-
72  };
-
73 }
-
74 
-
75 #endif
+
24  GETTERSETTER(int,Number,number)
+
25 
+
26  Gamepad& operator=(const Gamepad& gamepad) {
+
27  set(gamepad);
+
28  return *this;
+
29  }
+
30 
+
31  Gamepad& operator=(int gamepadNumber) {
+
32  set(gamepadNumber);
+
33  return *this;
+
34  }
+
35 
+
36  operator int() const { return number; }
+
37 
+
38  inline bool IsAvailable() const {
+
39  return ::IsGamepadAvailable(number);
+
40  }
+
41  inline bool IsName(const std::string& name) const {
+
42  return ::IsGamepadName(number, name.c_str());
+
43  }
+
44  std::string GetName() const {
+
45  return std::string(::GetGamepadName(number));
+
46  }
+
47  inline bool IsButtonPressed(int button) const {
+
48  return ::IsGamepadButtonPressed(number, button);
+
49  }
+
50 
+
51  inline bool IsButtonDown(int button) const {
+
52  return ::IsGamepadButtonDown(number, button);
+
53  }
+
54 
+
55  inline bool IsButtonReleased(int button) const {
+
56  return ::IsGamepadButtonReleased(number, button);
+
57  }
+
58  inline bool IsButtonUp(int button) const {
+
59  return ::IsGamepadButtonUp(number, button);
+
60  }
+
61 
+
62  inline int GetButtonPressed() const {
+
63  return ::GetGamepadButtonPressed();
+
64  }
+
65 
+
66  inline int GetAxisCount() const {
+
67  return ::GetGamepadAxisCount(number);
+
68  }
+
69 
+
70  inline float GetAxisMovement(int axis) const {
+
71  return ::GetGamepadAxisMovement(number, axis);
+
72  }
+
73 
+
74  protected:
+
75  inline void set(int gamepadNumber) {
+
76  number = gamepadNumber;
+
77  }
+
78  };
+
79 }
+
80 
+
81 #endif
-
bool IsButtonUp(int button)
Definition: Gamepad.hpp:57
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
int GetAxisCount()
Definition: Gamepad.hpp:65
+
float GetAxisMovement(int axis) const
Definition: Gamepad.hpp:70
+
bool IsButtonReleased(int button) const
Definition: Gamepad.hpp:55
Gamepad(int gamepadNumber=0)
Definition: Gamepad.hpp:19
-
float GetAxisMovement(int axis)
Definition: Gamepad.hpp:69
-
bool IsButtonReleased(int button)
Definition: Gamepad.hpp:54
-
int GetButtonPressed()
Definition: Gamepad.hpp:61
-
void set(int gamepadNumber)
Definition: Gamepad.hpp:24
-
bool IsName(const std::string &name)
Definition: Gamepad.hpp:40
+
bool IsButtonUp(int button) const
Definition: Gamepad.hpp:58
+
void set(int gamepadNumber)
Definition: Gamepad.hpp:75
+
std::string GetName() const
Definition: Gamepad.hpp:44
Definition: Gamepad.hpp:17
-
bool IsAvailable()
Definition: Gamepad.hpp:37
-
std::string GetName()
Definition: Gamepad.hpp:43
-
bool IsButtonPressed(int button)
Definition: Gamepad.hpp:46
-
bool IsButtonDown(int button)
Definition: Gamepad.hpp:50
+
bool IsButtonPressed(int button) const
Definition: Gamepad.hpp:47
+
Gamepad & operator=(int gamepadNumber)
Definition: Gamepad.hpp:31
+
bool IsButtonDown(int button) const
Definition: Gamepad.hpp:51
+
int GetButtonPressed() const
Definition: Gamepad.hpp:62
+
bool IsAvailable() const
Definition: Gamepad.hpp:38
+
bool IsName(const std::string &name) const
Definition: Gamepad.hpp:41
+
int GetAxisCount() const
Definition: Gamepad.hpp:66
int number
Definition: Gamepad.hpp:22
diff --git a/docs/_image_8hpp_source.html b/docs/_image_8hpp_source.html index c59fbd8..84fa630 100644 --- a/docs/_image_8hpp_source.html +++ b/docs/_image_8hpp_source.html @@ -101,7 +101,7 @@ $(function() {
28  Image(const std::string& fileName, int* frames) {
29  LoadAnim(fileName, frames);
30  }
-
31  Image(::Texture2D texture) {
+
31  Image(::Texture2D texture) {
32  set(::GetTextureData(texture));
33  }
34  Image(int width, int height, Color color = WHITE) {
@@ -166,328 +166,330 @@ $(function() {
93  return *this;
94  }
95 
-
96  inline void set(::Image image) {
-
97  data = image.data;
-
98  width = image.width;
-
99  height = image.height;
-
100  mipmaps = image.mipmaps;
-
101  format = image.format;
+
96  void Load(const std::string& fileName) {
+
97  set(::LoadImage(fileName.c_str()));
+
98  }
+
99 
+
100  void LoadRaw(const std::string& fileName, int width, int height, int format, int headerSize) {
+
101  set(::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
102  }
103 
-
104  void Load(const std::string& fileName) {
-
105  set(::LoadImage(fileName.c_str()));
+
104  void LoadAnim(const std::string& fileName, int* frames) {
+
105  set(::LoadImageAnim(fileName.c_str(), frames));
106  }
107 
-
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));
-
110  }
+
108  inline void Unload() {
+
109  ::UnloadImage(*this);
+
110  };
111 
-
112  void LoadAnim(const std::string& fileName, int* frames) {
-
113  set(::LoadImageAnim(fileName.c_str(), frames));
-
114  }
-
115 
-
116  inline void Unload() {
-
117  ::UnloadImage(*this);
-
118  };
-
119 
-
120  inline Image& Export(const std::string& fileName) {
-
121  ::ExportImage(*this, fileName.c_str());
-
122  return *this;
-
123  }
-
124  inline Image& ExportAsCode(const std::string& fileName) {
-
125  ::ExportImageAsCode(*this, fileName.c_str());
-
126  return *this;
-
127  }
-
128 
-
129  GETTERSETTER(void*,Data,data)
-
130  GETTERSETTER(int,Width,width)
-
131  GETTERSETTER(int,Height,height)
-
132  GETTERSETTER(int,Mipmaps,mipmaps)
-
133  GETTERSETTER(int,Format,format)
-
134 
-
135  inline Image Copy() {
-
136  return ::ImageCopy(*this);
+
112  inline Image& Export(const std::string& fileName) {
+
113  ::ExportImage(*this, fileName.c_str());
+
114  return *this;
+
115  }
+
116  inline Image& ExportAsCode(const std::string& fileName) {
+
117  ::ExportImageAsCode(*this, fileName.c_str());
+
118  return *this;
+
119  }
+
120 
+
121  GETTERSETTER(void*,Data,data)
+
122  GETTERSETTER(int,Width,width)
+
123  GETTERSETTER(int,Height,height)
+
124  GETTERSETTER(int,Mipmaps,mipmaps)
+
125  GETTERSETTER(int,Format,format)
+
126 
+
127  inline Image Copy() {
+
128  return ::ImageCopy(*this);
+
129  }
+
130  inline Image FromImage(::Rectangle rec) {
+
131  return ::ImageFromImage(*this, rec);
+
132  }
+
133 
+
134  inline Image& ToPOT(Color fillColor) {
+
135  ::ImageToPOT(this, fillColor);
+
136  return *this;
137  }
-
138  inline Image FromImage(::Rectangle rec) {
-
139  return ::ImageFromImage(*this, rec);
-
140  }
-
141 
-
142  inline Image& ToPOT(Color fillColor) {
-
143  ::ImageToPOT(this, fillColor);
-
144  return *this;
-
145  }
-
146 
-
147  inline Image& Format(int newFormat) {
-
148  ::ImageFormat(this, newFormat);
-
149  return *this;
-
150  }
-
151 
-
152  inline Image& AlphaMask(Image alphaMask) {
-
153  ::ImageAlphaMask(this, alphaMask);
-
154  return *this;
-
155  }
-
156 
-
157  inline Image& AlphaCrop(float threshold) {
-
158  ::ImageAlphaCrop(this, threshold);
-
159  return *this;
-
160  }
-
161 
-
162  inline Image& AlphaPremultiply() {
-
163  ::ImageAlphaPremultiply(this);
-
164  return *this;
-
165  }
-
166 
-
167  inline Image& Crop(::Rectangle crop) {
-
168  ::ImageCrop(this, crop);
-
169  return *this;
-
170  }
-
171  inline Image& Crop(int offsetX, int offsetY, int newWidth, int newHeight) {
-
172  ::ImageCrop(this, (Rectangle){ (float)offsetX, (float)offsetY, (float)newWidth, (float)newHeight });
-
173  return *this;
-
174  }
-
175 
-
176  inline Image& Resize(int newWidth, int newHeight) {
-
177  ::ImageResize(this, newWidth, newHeight);
-
178  return *this;
-
179  }
-
180  inline Image& ResizeNN(int newWidth, int newHeight) {
-
181  ::ImageResizeNN(this, newWidth, newHeight);
-
182  return *this;
-
183  }
-
184 
-
185  inline Image& ResizeCanvas(int newWidth, int newHeight, int offsetX, int offsetY, Color color) {
-
186  ::ImageResizeCanvas(this, newWidth, newHeight, offsetX, offsetY, color);
-
187  return *this;
-
188  }
-
189 
-
190  inline Image& Mipmaps() {
-
191  ::ImageMipmaps(this);
-
192  return *this;
-
193  }
-
194 
-
195  inline Image& Dither(int rBpp, int gBpp, int bBpp, int aBpp) {
-
196  ::ImageDither(this, rBpp, gBpp, bBpp, aBpp);
-
197  return *this;
-
198  }
-
199 
-
200  inline Image& FlipVertical() {
-
201  ::ImageFlipVertical(this);
-
202  return *this;
-
203  }
-
204  inline Image& FlipHorizontal() {
-
205  ::ImageFlipHorizontal(this);
-
206  return *this;
-
207  }
-
208 
-
209  inline Image& RotateCW() {
-
210  ::ImageRotateCW(this);
-
211  return *this;
-
212  }
-
213 
-
214  inline Image& RotateCCW() {
-
215  ::ImageRotateCCW(this);
-
216  return *this;
-
217  }
-
218 
-
219  inline Image& ColorTint(::Color color = WHITE) {
-
220  ::ImageColorTint(this, color);
-
221  return *this;
-
222  }
-
223 
-
224  inline Image& ColorInvert() {
-
225  ::ImageColorInvert(this);
-
226  return *this;
-
227  }
-
228 
-
229  inline Image& ColorGrayscale() {
-
230  ::ImageColorGrayscale(this);
+
138 
+
139  inline Image& Format(int newFormat) {
+
140  ::ImageFormat(this, newFormat);
+
141  return *this;
+
142  }
+
143 
+
144  inline Image& AlphaMask(Image alphaMask) {
+
145  ::ImageAlphaMask(this, alphaMask);
+
146  return *this;
+
147  }
+
148 
+
149  inline Image& AlphaCrop(float threshold) {
+
150  ::ImageAlphaCrop(this, threshold);
+
151  return *this;
+
152  }
+
153 
+
154  inline Image& AlphaPremultiply() {
+
155  ::ImageAlphaPremultiply(this);
+
156  return *this;
+
157  }
+
158 
+
159  inline Image& Crop(::Rectangle crop) {
+
160  ::ImageCrop(this, crop);
+
161  return *this;
+
162  }
+
163  inline Image& Crop(int offsetX, int offsetY, int newWidth, int newHeight) {
+
164  ::ImageCrop(this, (Rectangle){ (float)offsetX, (float)offsetY, (float)newWidth, (float)newHeight });
+
165  return *this;
+
166  }
+
167 
+
168  inline Image& Resize(int newWidth, int newHeight) {
+
169  ::ImageResize(this, newWidth, newHeight);
+
170  return *this;
+
171  }
+
172  inline Image& ResizeNN(int newWidth, int newHeight) {
+
173  ::ImageResizeNN(this, newWidth, newHeight);
+
174  return *this;
+
175  }
+
176 
+
177  inline Image& ResizeCanvas(int newWidth, int newHeight, int offsetX, int offsetY, Color color) {
+
178  ::ImageResizeCanvas(this, newWidth, newHeight, offsetX, offsetY, color);
+
179  return *this;
+
180  }
+
181 
+
182  inline Image& Mipmaps() {
+
183  ::ImageMipmaps(this);
+
184  return *this;
+
185  }
+
186 
+
187  inline Image& Dither(int rBpp, int gBpp, int bBpp, int aBpp) {
+
188  ::ImageDither(this, rBpp, gBpp, bBpp, aBpp);
+
189  return *this;
+
190  }
+
191 
+
192  inline Image& FlipVertical() {
+
193  ::ImageFlipVertical(this);
+
194  return *this;
+
195  }
+
196  inline Image& FlipHorizontal() {
+
197  ::ImageFlipHorizontal(this);
+
198  return *this;
+
199  }
+
200 
+
201  inline Image& RotateCW() {
+
202  ::ImageRotateCW(this);
+
203  return *this;
+
204  }
+
205 
+
206  inline Image& RotateCCW() {
+
207  ::ImageRotateCCW(this);
+
208  return *this;
+
209  }
+
210 
+
211  inline Image& ColorTint(::Color color = WHITE) {
+
212  ::ImageColorTint(this, color);
+
213  return *this;
+
214  }
+
215 
+
216  inline Image& ColorInvert() {
+
217  ::ImageColorInvert(this);
+
218  return *this;
+
219  }
+
220 
+
221  inline Image& ColorGrayscale() {
+
222  ::ImageColorGrayscale(this);
+
223  return *this;
+
224  }
+
225  inline Image& ColorContrast(float contrast) {
+
226  ::ImageColorContrast(this, contrast);
+
227  return *this;
+
228  }
+
229  inline Image& ColorBrightness(int brightness) {
+
230  ::ImageColorBrightness(this, brightness);
231  return *this;
232  }
-
233  inline Image& ColorContrast(float contrast) {
-
234  ::ImageColorContrast(this, contrast);
+
233  inline Image& ColorReplace(::Color color, ::Color replace) {
+
234  ::ImageColorReplace(this, color, replace);
235  return *this;
236  }
-
237  inline Image& ColorBrightness(int brightness) {
-
238  ::ImageColorBrightness(this, brightness);
-
239  return *this;
+
237 
+
238  inline ::Color* GetPalette(int maxPaletteSize, int *extractCount) {
+
239  return ::GetImagePalette(*this, maxPaletteSize, extractCount);
240  }
-
241  inline Image& ColorReplace(::Color color, ::Color replace) {
-
242  ::ImageColorReplace(this, color, replace);
-
243  return *this;
+
241 
+
242  inline Rectangle GetAlphaBorder(float threshold) const {
+
243  return ::GetImageAlphaBorder(*this, threshold);
244  }
245 
-
246  inline ::Color* GetPalette(int maxPaletteSize, int *extractCount) {
-
247  return ::GetImagePalette(*this, maxPaletteSize, extractCount);
-
248  }
-
249 
-
250  inline Rectangle GetAlphaBorder(float threshold) {
-
251  return ::GetImageAlphaBorder(*this, threshold);
-
252  }
-
253 
-
254  inline Image& ClearBackground(::Color color = WHITE) {
-
255  ::ImageClearBackground(this, color);
-
256  return *this;
-
257  }
-
258 
-
259  inline Image& DrawPixel(int posX, int posY, ::Color color) {
-
260  ::ImageDrawPixel(this, posX, posY, color);
-
261  return *this;
-
262  }
-
263 
-
264  inline Image& DrawPixel(::Vector2 position, ::Color color) {
-
265  ::ImageDrawPixelV(this, position, color);
-
266  return *this;
-
267  }
-
268 
-
269  inline Image& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color) {
-
270  ::ImageDrawLine(this, startPosX, startPosY, endPosX, endPosY, color);
-
271  return *this;
-
272  }
-
273 
-
274  inline Image& DrawLine(::Vector2 start, ::Vector2 end, ::Color color) {
-
275  ::ImageDrawLineV(this, start, end, color);
-
276  return *this;
-
277  }
-
278 
-
279  inline Image& DrawCircle(int centerX, int centerY, int radius, ::Color color) {
-
280  ::ImageDrawCircle(this, centerX, centerY, radius, color);
-
281  return *this;
-
282  }
-
283 
-
284  inline Image& DrawCircle(::Vector2 center, int radius, ::Color color) {
-
285  ::ImageDrawCircleV(this, center, radius, color);
+
246  inline Image& ClearBackground(::Color color = WHITE) {
+
247  ::ImageClearBackground(this, color);
+
248  return *this;
+
249  }
+
250 
+
251  inline Image& DrawPixel(int posX, int posY, ::Color color) {
+
252  ::ImageDrawPixel(this, posX, posY, color);
+
253  return *this;
+
254  }
+
255 
+
256  inline Image& DrawPixel(::Vector2 position, ::Color color) {
+
257  ::ImageDrawPixelV(this, position, color);
+
258  return *this;
+
259  }
+
260 
+
261  inline Image& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color) {
+
262  ::ImageDrawLine(this, startPosX, startPosY, endPosX, endPosY, color);
+
263  return *this;
+
264  }
+
265 
+
266  inline Image& DrawLine(::Vector2 start, ::Vector2 end, ::Color color) {
+
267  ::ImageDrawLineV(this, start, end, color);
+
268  return *this;
+
269  }
+
270 
+
271  inline Image& DrawCircle(int centerX, int centerY, int radius, ::Color color) {
+
272  ::ImageDrawCircle(this, centerX, centerY, radius, color);
+
273  return *this;
+
274  }
+
275 
+
276  inline Image& DrawCircle(::Vector2 center, int radius, ::Color color) {
+
277  ::ImageDrawCircleV(this, center, radius, color);
+
278  return *this;
+
279  }
+
280  inline Image& DrawRectangle(int posX, int posY, int width, int height, ::Color color = WHITE) {
+
281  ::ImageDrawRectangle(this, posX, posY, width, height, color);
+
282  return *this;
+
283  }
+
284  inline Image& DrawRectangle(Vector2 position, Vector2 size, ::Color color = WHITE) {
+
285  ::ImageDrawRectangleV(this, position, size, color);
286  return *this;
287  }
-
288  inline Image& DrawRectangle(int posX, int posY, int width, int height, ::Color color = WHITE) {
-
289  ::ImageDrawRectangle(this, posX, posY, width, height, color);
+
288  inline Image& DrawRectangle(::Rectangle rec, ::Color color = WHITE) {
+
289  ::ImageDrawRectangleRec(this, rec, color);
290  return *this;
291  }
-
292  inline Image& DrawRectangle(Vector2 position, Vector2 size, ::Color color = WHITE) {
-
293  ::ImageDrawRectangleV(this, position, size, color);
+
292  inline Image& DrawRectangleLines(::Rectangle rec, int thick, ::Color color) {
+
293  ::ImageDrawRectangleLines(this, rec, thick, color);
294  return *this;
295  }
-
296  inline Image& DrawRectangle(::Rectangle rec, ::Color color = WHITE) {
-
297  ::ImageDrawRectangleRec(this, rec, color);
+
296  inline Image& Draw(::Image& src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint = WHITE) {
+
297  ::ImageDraw(this, src, srcRec, dstRec, tint);
298  return *this;
299  }
-
300  inline Image& DrawRectangleLines(::Rectangle rec, int thick, ::Color color) {
-
301  ::ImageDrawRectangleLines(this, rec, thick, color);
-
302  return *this;
-
303  }
-
304  inline Image& Draw(::Image& src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint = WHITE) {
-
305  ::ImageDraw(this, src, srcRec, dstRec, tint);
-
306  return *this;
-
307  }
-
308 
-
309  inline Image& DrawText(const std::string& text, ::Vector2 position, int fontSize, ::Color color = WHITE){
-
310  ::ImageDrawText(this, text.c_str(), (int)position.x, (int)position.y, fontSize, color);
+
300 
+
301  inline Image& DrawText(const std::string& text, ::Vector2 position, int fontSize, ::Color color = WHITE){
+
302  ::ImageDrawText(this, text.c_str(), (int)position.x, (int)position.y, fontSize, color);
+
303  return *this;
+
304  }
+
305  inline Image& DrawText(const std::string& text, int x, int y, int fontSize, ::Color color = WHITE){
+
306  ::ImageDrawText(this, text.c_str(), x, y, fontSize, color);
+
307  return *this;
+
308  }
+
309  inline Image& DrawText(::Font font, const std::string& text, ::Vector2 position, float fontSize, float spacing, ::Color tint = WHITE){
+
310  ::ImageDrawTextEx(this, font, text.c_str(), position, fontSize, spacing, tint);
311  return *this;
312  }
-
313  inline Image& DrawText(const std::string& text, int x, int y, int fontSize, ::Color color = WHITE){
-
314  ::ImageDrawText(this, text.c_str(), x, y, fontSize, color);
-
315  return *this;
+
313 
+
314  inline ::Color* GetImageData() {
+
315  return ::GetImageData(*this);
316  }
-
317  inline Image& DrawText(::Font font, const std::string& text, ::Vector2 position, float fontSize, float spacing, ::Color tint = WHITE){
-
318  ::ImageDrawTextEx(this, font, text.c_str(), position, fontSize, spacing, tint);
-
319  return *this;
+
317 
+
318  inline ::Vector4* GetImageDataNormalized() {
+
319  return ::GetImageDataNormalized(*this);
320  }
-
321 
-
322  inline ::Color* GetImageData() {
-
323  return ::GetImageData(*this);
-
324  }
-
325 
-
326  inline ::Vector4* GetImageDataNormalized() {
-
327  return ::GetImageDataNormalized(*this);
-
328  }
-
329  inline operator Texture2D() {
-
330  return ::LoadTextureFromImage(*this);
-
331  }
-
332  };
-
333 }
-
334 
-
335 #endif
+
321  inline operator Texture2D() {
+
322  return ::LoadTextureFromImage(*this);
+
323  }
+
324 
+
325  protected:
+
326  inline void set(::Image image) {
+
327  data = image.data;
+
328  width = image.width;
+
329  height = image.height;
+
330  mipmaps = image.mipmaps;
+
331  format = image.format;
+
332  }
+
333  };
+
334 }
+
335 
+
336 #endif
-
Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
Definition: Image.hpp:195
+
Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
Definition: Image.hpp:187
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
Image & DrawRectangle(Vector2 position, Vector2 size, ::Color color=WHITE)
Definition: Image.hpp:292
-
Image & ColorBrightness(int brightness)
Definition: Image.hpp:237
-
void set(::Image image)
Definition: Image.hpp:96
+
Image & DrawRectangle(Vector2 position, Vector2 size, ::Color color=WHITE)
Definition: Image.hpp:284
+
Image & ColorBrightness(int brightness)
Definition: Image.hpp:229
+
void set(::Image image)
Definition: Image.hpp:326
Image(::Texture2D texture)
Definition: Image.hpp:31
~Image()
Definition: Image.hpp:82
-
inline ::Color * GetImageData()
Definition: Image.hpp:322
-
Image & Format(int newFormat)
Definition: Image.hpp:147
+
inline ::Color * GetImageData()
Definition: Image.hpp:314
+
Image & Format(int newFormat)
Definition: Image.hpp:139
static Image GenGradientV(int width, int height, Color top, Color bottom)
Definition: Image.hpp:54
-
inline ::Color * GetPalette(int maxPaletteSize, int *extractCount)
Definition: Image.hpp:246
-
Image & DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color=WHITE)
Definition: Image.hpp:309
-
Image & ColorInvert()
Definition: Image.hpp:224
-
Image & ToPOT(Color fillColor)
Definition: Image.hpp:142
-
Image & ColorGrayscale()
Definition: Image.hpp:229
+
inline ::Color * GetPalette(int maxPaletteSize, int *extractCount)
Definition: Image.hpp:238
+
Image & DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color=WHITE)
Definition: Image.hpp:301
+
Image & ColorInvert()
Definition: Image.hpp:216
+
Image & ToPOT(Color fillColor)
Definition: Image.hpp:134
+
Image & ColorGrayscale()
Definition: Image.hpp:221
Definition: Image.hpp:16
-
Image & Crop(::Rectangle crop)
Definition: Image.hpp:167
-
Image & ExportAsCode(const std::string &fileName)
Definition: Image.hpp:124
+
Image & Crop(::Rectangle crop)
Definition: Image.hpp:159
+
Image & ExportAsCode(const std::string &fileName)
Definition: Image.hpp:116
Image(const std::string &fileName)
Definition: Image.hpp:22
-
inline ::Vector4 * GetImageDataNormalized()
Definition: Image.hpp:326
+
inline ::Vector4 * GetImageDataNormalized()
Definition: Image.hpp:318
Image(::Image image)
Definition: Image.hpp:19
static Image GenGradientH(int width, int height, Color left, Color right)
Definition: Image.hpp:58
static Image GenWhiteNoise(int width, int height, float factor)
Definition: Image.hpp:70
-
Image & RotateCCW()
Definition: Image.hpp:214
-
Image & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color)
Definition: Image.hpp:269
-
Image & DrawPixel(int posX, int posY, ::Color color)
Definition: Image.hpp:259
-
Image & DrawRectangle(int posX, int posY, int width, int height, ::Color color=WHITE)
Definition: Image.hpp:288
-
Image & FlipVertical()
Definition: Image.hpp:200
-
Image & ColorContrast(float contrast)
Definition: Image.hpp:233
-
Image & DrawRectangleLines(::Rectangle rec, int thick, ::Color color)
Definition: Image.hpp:300
-
Image & ClearBackground(::Color color=WHITE)
Definition: Image.hpp:254
-
Image & DrawCircle(::Vector2 center, int radius, ::Color color)
Definition: Image.hpp:284
-
void LoadRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Definition: Image.hpp:108
+
Image & RotateCCW()
Definition: Image.hpp:206
+
Image & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color)
Definition: Image.hpp:261
+
Image & DrawPixel(int posX, int posY, ::Color color)
Definition: Image.hpp:251
+
Image & DrawRectangle(int posX, int posY, int width, int height, ::Color color=WHITE)
Definition: Image.hpp:280
+
Image & FlipVertical()
Definition: Image.hpp:192
+
Image & ColorContrast(float contrast)
Definition: Image.hpp:225
+
Image & DrawRectangleLines(::Rectangle rec, int thick, ::Color color)
Definition: Image.hpp:292
+
Image & ClearBackground(::Color color=WHITE)
Definition: Image.hpp:246
+
Image & DrawCircle(::Vector2 center, int radius, ::Color color)
Definition: Image.hpp:276
+
void LoadRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Definition: Image.hpp:100
Image & operator=(const ::Image &image)
Definition: Image.hpp:86
-
Image & AlphaPremultiply()
Definition: Image.hpp:162
-
Image & Crop(int offsetX, int offsetY, int newWidth, int newHeight)
Definition: Image.hpp:171
+
Image & AlphaPremultiply()
Definition: Image.hpp:154
+
Image & Crop(int offsetX, int offsetY, int newWidth, int newHeight)
Definition: Image.hpp:163
static Image GetScreenData()
Definition: Image.hpp:46
-
Image & DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
Definition: Image.hpp:317
-
Image & Mipmaps()
Definition: Image.hpp:190
+
Image & DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
Definition: Image.hpp:309
+
Image & Mipmaps()
Definition: Image.hpp:182
Image(const std::string &fileName, int width, int height, int format, int headerSize)
Definition: Image.hpp:25
-
Image & DrawPixel(::Vector2 position, ::Color color)
Definition: Image.hpp:264
+
Image & DrawPixel(::Vector2 position, ::Color color)
Definition: Image.hpp:256
Definition: Rectangle.hpp:16
Definition: Font.hpp:17
Definition: Vector2.hpp:22
static Image Text(std::string text, int fontSize, Color color)
Definition: Image.hpp:38
+
Rectangle GetAlphaBorder(float threshold) const
Definition: Image.hpp:242
Definition: Color.hpp:18
static Image GenGradientRadial(int width, int height, float density, Color inner, Color outer)
Definition: Image.hpp:62
static Image GenPerlinNoise(int width, int height, int offsetX, int offsetY, float scale)
Definition: Image.hpp:74
-
void LoadAnim(const std::string &fileName, int *frames)
Definition: Image.hpp:112
-
Image & AlphaMask(Image alphaMask)
Definition: Image.hpp:152
-
void Load(const std::string &fileName)
Definition: Image.hpp:104
+
void LoadAnim(const std::string &fileName, int *frames)
Definition: Image.hpp:104
+
Image & AlphaMask(Image alphaMask)
Definition: Image.hpp:144
+
void Load(const std::string &fileName)
Definition: Image.hpp:96
Image(const std::string &fileName, int *frames)
Definition: Image.hpp:28
-
Image & DrawText(const std::string &text, int x, int y, int fontSize, ::Color color=WHITE)
Definition: Image.hpp:313
-
Image & ColorTint(::Color color=WHITE)
Definition: Image.hpp:219
-
Rectangle GetAlphaBorder(float threshold)
Definition: Image.hpp:250
-
Image & AlphaCrop(float threshold)
Definition: Image.hpp:157
-
Image & Resize(int newWidth, int newHeight)
Definition: Image.hpp:176
+
Image & DrawText(const std::string &text, int x, int y, int fontSize, ::Color color=WHITE)
Definition: Image.hpp:305
+
Texture Texture2D
Definition: Texture.hpp:162
+
Image & ColorTint(::Color color=WHITE)
Definition: Image.hpp:211
+
Image & AlphaCrop(float threshold)
Definition: Image.hpp:149
+
Image & Resize(int newWidth, int newHeight)
Definition: Image.hpp:168
static Image GenCellular(int width, int height, int tileSize)
Definition: Image.hpp:78
-
Image Copy()
Definition: Image.hpp:135
-
Image & ResizeCanvas(int newWidth, int newHeight, int offsetX, int offsetY, Color color)
Definition: Image.hpp:185
-
void Unload()
Definition: Image.hpp:116
-
Image & FlipHorizontal()
Definition: Image.hpp:204
-
Image & DrawCircle(int centerX, int centerY, int radius, ::Color color)
Definition: Image.hpp:279
-
Image & ResizeNN(int newWidth, int newHeight)
Definition: Image.hpp:180
+
Image Copy()
Definition: Image.hpp:127
+
Image & ResizeCanvas(int newWidth, int newHeight, int offsetX, int offsetY, Color color)
Definition: Image.hpp:177
+
void Unload()
Definition: Image.hpp:108
+
Definition: Texture.hpp:19
+
Image & FlipHorizontal()
Definition: Image.hpp:196
+
Image & DrawCircle(int centerX, int centerY, int radius, ::Color color)
Definition: Image.hpp:271
+
Image & ResizeNN(int newWidth, int newHeight)
Definition: Image.hpp:172
Image(int width, int height, Color color=WHITE)
Definition: Image.hpp:34
Image & operator=(const Image &image)
Definition: Image.hpp:91
-
Image & Export(const std::string &fileName)
Definition: Image.hpp:120
+
Image & Export(const std::string &fileName)
Definition: Image.hpp:112
static Image GenChecked(int width, int height, int checksX, int checksY, Color col1, Color col2)
Definition: Image.hpp:66
-
Image & RotateCW()
Definition: Image.hpp:209
-
Definition: Texture2D.hpp:19
+
Image & RotateCW()
Definition: Image.hpp:201
Image()
Definition: Image.hpp:18
static Image Text(Font font, std::string text, float fontSize, float spacing, Color tint)
Definition: Image.hpp:42
-
Image & Draw(::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint=WHITE)
Definition: Image.hpp:304
-
Image & DrawLine(::Vector2 start, ::Vector2 end, ::Color color)
Definition: Image.hpp:274
-
Image & ColorReplace(::Color color, ::Color replace)
Definition: Image.hpp:241
-
Image & DrawRectangle(::Rectangle rec, ::Color color=WHITE)
Definition: Image.hpp:296
-
Image FromImage(::Rectangle rec)
Definition: Image.hpp:138
+
Image & Draw(::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint=WHITE)
Definition: Image.hpp:296
+
Image & DrawLine(::Vector2 start, ::Vector2 end, ::Color color)
Definition: Image.hpp:266
+
Image & ColorReplace(::Color color, ::Color replace)
Definition: Image.hpp:233
+
Image & DrawRectangle(::Rectangle rec, ::Color color=WHITE)
Definition: Image.hpp:288
+
Image FromImage(::Rectangle rec)
Definition: Image.hpp:130
static Image GenColor(int width, int height, Color color)
Definition: Image.hpp:50
diff --git a/docs/_material_8hpp_source.html b/docs/_material_8hpp_source.html index 67aac4f..c0bde3c 100644 --- a/docs/_material_8hpp_source.html +++ b/docs/_material_8hpp_source.html @@ -99,52 +99,53 @@ $(function() {
26  Unload();
27  }
28 
-
29  inline void set(::Material material) {
-
30  shader = material.shader;
-
31  maps = material.maps;
-
32  params = material.params;
-
33  }
-
34 
-
35  GETTERSETTER(::Shader,Shader,shader)
-
36 
-
37  Material& operator=(const ::Material& material) {
-
38  set(material);
-
39  return *this;
-
40  }
-
41 
-
42  Material& operator=(const Material& material) {
-
43  set(material);
-
44  return *this;
-
45  }
-
46 
-
47  inline void Unload() {
-
48  ::UnloadMaterial(*this);
-
49  }
-
50 
-
51  inline Material& SetTexture(int mapType, ::Texture2D texture) {
-
52  ::SetMaterialTexture(this, mapType, texture);
-
53  return *this;
-
54  }
-
55 
-
56  };
-
57 }
-
58 
-
59 #endif
+
29  GETTERSETTER(::Shader,Shader,shader)
+
30 
+
31  Material& operator=(const ::Material& material) {
+
32  set(material);
+
33  return *this;
+
34  }
+
35 
+
36  Material& operator=(const Material& material) {
+
37  set(material);
+
38  return *this;
+
39  }
+
40 
+
41  inline void Unload() {
+
42  ::UnloadMaterial(*this);
+
43  }
+
44 
+
45  inline Material& SetTexture(int mapType, ::Texture2D texture) {
+
46  ::SetMaterialTexture(this, mapType, texture);
+
47  return *this;
+
48  }
+
49 
+
50  protected:
+
51  inline void set(::Material material) {
+
52  shader = material.shader;
+
53  maps = material.maps;
+
54  params = material.params;
+
55  }
+
56 
+
57  };
+
58 }
+
59 
+
60 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
~Material()
Definition: Material.hpp:25
-
Material & SetTexture(int mapType, ::Texture2D texture)
Definition: Material.hpp:51
-
Material & operator=(const Material &material)
Definition: Material.hpp:42
+
Material & SetTexture(int mapType, ::Texture2D texture)
Definition: Material.hpp:45
+
Material & operator=(const Material &material)
Definition: Material.hpp:36
Material(::Material material)
Definition: Material.hpp:17
Material()
Definition: Material.hpp:21
-
Definition: Shader.hpp:15
-
void Unload()
Definition: Material.hpp:47
-
void set(::Material material)
Definition: Material.hpp:29
+
Definition: Shader.hpp:16
+
void Unload()
Definition: Material.hpp:41
+
Definition: Texture.hpp:19
+
void set(::Material material)
Definition: Material.hpp:51
Definition: Material.hpp:15
-
Definition: Texture2D.hpp:19
diff --git a/docs/_matrix_8hpp_source.html b/docs/_matrix_8hpp_source.html index 452fea9..0acab17 100644 --- a/docs/_matrix_8hpp_source.html +++ b/docs/_matrix_8hpp_source.html @@ -116,212 +116,214 @@ $(function() {
43  m15 = M15;
44  };
45 
-
46  inline void set(::Matrix mat) {
-
47  m0 = mat.m0;
-
48  m1 = mat.m1;
-
49  m2 = mat.m2;
-
50  m3 = mat.m3;
-
51  m4 = mat.m4;
-
52  m5 = mat.m5;
-
53  m6 = mat.m6;
-
54  m7 = mat.m7;
-
55  m8 = mat.m8;
-
56  m9 = mat.m9;
-
57  m10 = mat.m10;
-
58  m11 = mat.m11;
-
59  m12 = mat.m12;
-
60  m13 = mat.m13;
-
61  m14 = mat.m14;
-
62  m15 = mat.m15;
-
63  }
-
64 
-
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)
-
81 
-
82  Matrix& operator=(const ::Matrix& matrix) {
-
83  set(matrix);
-
84  return *this;
-
85  }
-
86 
-
87  Matrix& operator=(const Matrix& matrix) {
-
88  set(matrix);
-
89  return *this;
+
46  GETTERSETTER(float,M0,m0)
+
47  GETTERSETTER(float,M1,m1)
+
48  GETTERSETTER(float,M2,m2)
+
49  GETTERSETTER(float,M3,m3)
+
50  GETTERSETTER(float,M4,m4)
+
51  GETTERSETTER(float,M5,m5)
+
52  GETTERSETTER(float,M6,m6)
+
53  GETTERSETTER(float,M7,m7)
+
54  GETTERSETTER(float,M8,m8)
+
55  GETTERSETTER(float,M9,m9)
+
56  GETTERSETTER(float,M10,m10)
+
57  GETTERSETTER(float,M11,m11)
+
58  GETTERSETTER(float,M12,m12)
+
59  GETTERSETTER(float,M13,m13)
+
60  GETTERSETTER(float,M14,m14)
+
61  GETTERSETTER(float,M15,m15)
+
62 
+
63  Matrix& operator=(const ::Matrix& matrix) {
+
64  set(matrix);
+
65  return *this;
+
66  }
+
67 
+
68  Matrix& operator=(const Matrix& matrix) {
+
69  set(matrix);
+
70  return *this;
+
71  }
+
72 
+
73  bool operator==(const Matrix& other) {
+
74  return m0 == other.m0
+
75  && m1 == other.m1
+
76  && m2 == other.m2
+
77  && m3 == other.m3
+
78  && m4 == other.m4
+
79  && m5 == other.m5
+
80  && m6 == other.m6
+
81  && m7 == other.m7
+
82  && m8 == other.m8
+
83  && m9 == other.m9
+
84  && m10 == other.m10
+
85  && m11 == other.m11
+
86  && m12 == other.m12
+
87  && m13 == other.m13
+
88  && m14 == other.m14
+
89  && m15 == other.m15;
90  }
91 
-
92  bool operator==(const Matrix& other) {
-
93  return m0 == other.m0
-
94  && m1 == other.m1
-
95  && m2 == other.m2
-
96  && m3 == other.m3
-
97  && m4 == other.m4
-
98  && m5 == other.m5
-
99  && m6 == other.m6
-
100  && m7 == other.m7
-
101  && m8 == other.m8
-
102  && m9 == other.m9
-
103  && m10 == other.m10
-
104  && m11 == other.m11
-
105  && m12 == other.m12
-
106  && m13 == other.m13
-
107  && m14 == other.m14
-
108  && m15 == other.m15;
-
109  }
-
110 
-
111  inline Matrix& SetProjection() {
-
112  ::SetMatrixProjection(*this);
-
113  return *this;
-
114  }
-
115 
-
116  inline Matrix& SetModelview() {
-
117  ::SetMatrixModelview(*this);
-
118  return *this;
+
92  inline Matrix& SetProjection() {
+
93  ::SetMatrixProjection(*this);
+
94  return *this;
+
95  }
+
96 
+
97  inline Matrix& SetModelview() {
+
98  ::SetMatrixModelview(*this);
+
99  return *this;
+
100  }
+
101 
+
102  static Matrix GetModelview() {
+
103  return ::GetMatrixModelview();
+
104  }
+
105 
+
106  static Matrix GetProjection() {
+
107  return ::GetMatrixProjection();
+
108  }
+
109 
+
110 #ifndef RAYLIB_CPP_NO_MATH
+
111  float Trace() {
+
112  return ::MatrixTrace(*this);
+
113  }
+
114  Matrix Transpose() {
+
115  return ::MatrixTranspose(*this);
+
116  }
+
117  Matrix Invert() {
+
118  return ::MatrixInvert(*this);
119  }
-
120 
-
121  static Matrix GetModelview() {
-
122  return ::GetMatrixModelview();
-
123  }
-
124 
-
125  static Matrix GetProjection() {
-
126  return ::GetMatrixProjection();
-
127  }
-
128 
-
129 #ifndef RAYLIB_CPP_NO_MATH
-
130  float Trace() {
-
131  return ::MatrixTrace(*this);
-
132  }
-
133  Matrix Transpose() {
-
134  return ::MatrixTranspose(*this);
-
135  }
-
136  Matrix Invert() {
-
137  return ::MatrixInvert(*this);
-
138  }
-
139  Matrix Normalize() {
-
140  return ::MatrixNormalize(*this);
-
141  }
-
142  static Matrix Identity() {
-
143  return ::MatrixIdentity();
-
144  }
-
145  Matrix Add(::Matrix right) {
-
146  return ::MatrixAdd(*this, right);
-
147  }
-
148  Matrix operator+(const Matrix& matrix) {
-
149  return ::MatrixAdd(*this, matrix);
-
150  }
-
151  Matrix Subtract(::Matrix right) {
-
152  return ::MatrixSubtract(*this, right);
-
153  }
-
154  Matrix operator-(const Matrix& matrix) {
-
155  return ::MatrixSubtract(*this, matrix);
-
156  }
-
157  static Matrix Translate(float x, float y, float z) {
-
158  return ::MatrixTranslate(x, y, z);
-
159  }
-
160  static Matrix Rotate(Vector3 axis, float angle) {
-
161  return ::MatrixRotate(axis, angle);
-
162  }
-
163  static Matrix RotateXYZ(Vector3 angle) {
-
164  return ::MatrixRotateXYZ(angle);
-
165  }
-
166  static Matrix RotateX(float angle) {
-
167  return ::MatrixRotateX(angle);
+
120  Matrix Normalize() {
+
121  return ::MatrixNormalize(*this);
+
122  }
+
123  static Matrix Identity() {
+
124  return ::MatrixIdentity();
+
125  }
+
126  Matrix Add(::Matrix right) {
+
127  return ::MatrixAdd(*this, right);
+
128  }
+
129  Matrix operator+(const Matrix& matrix) {
+
130  return ::MatrixAdd(*this, matrix);
+
131  }
+
132  Matrix Subtract(::Matrix right) {
+
133  return ::MatrixSubtract(*this, right);
+
134  }
+
135  Matrix operator-(const Matrix& matrix) {
+
136  return ::MatrixSubtract(*this, matrix);
+
137  }
+
138  static Matrix Translate(float x, float y, float z) {
+
139  return ::MatrixTranslate(x, y, z);
+
140  }
+
141  static Matrix Rotate(Vector3 axis, float angle) {
+
142  return ::MatrixRotate(axis, angle);
+
143  }
+
144  static Matrix RotateXYZ(Vector3 angle) {
+
145  return ::MatrixRotateXYZ(angle);
+
146  }
+
147  static Matrix RotateX(float angle) {
+
148  return ::MatrixRotateX(angle);
+
149  }
+
150  static Matrix RotateY(float angle) {
+
151  return ::MatrixRotateY(angle);
+
152  }
+
153  static Matrix RotateZ(float angle) {
+
154  return ::MatrixRotateZ(angle);
+
155  }
+
156  static Matrix Scale(float x, float y, float z) {
+
157  return ::MatrixScale(x, y, z);
+
158  }
+
159  Matrix Multiply(Matrix right) {
+
160  return ::MatrixMultiply(*this, right);
+
161  }
+
162  Matrix operator*(const Matrix& matrix) {
+
163  return ::MatrixMultiply(*this, matrix);
+
164  }
+
165 
+
166  static Matrix Frustum(double left, double right, double bottom, double top, double near, double far) {
+
167  return ::MatrixFrustum(left, right, bottom, top, near, far);
168  }
-
169  static Matrix RotateY(float angle) {
-
170  return ::MatrixRotateY(angle);
-
171  }
-
172  static Matrix RotateZ(float angle) {
-
173  return ::MatrixRotateZ(angle);
-
174  }
-
175  static Matrix Scale(float x, float y, float z) {
-
176  return ::MatrixScale(x, y, z);
-
177  }
-
178  Matrix Multiply(Matrix right) {
-
179  return ::MatrixMultiply(*this, right);
+
169 
+
170  static Matrix Perspective(double fovy, double aspect, double near, double far) {
+
171  return ::MatrixPerspective(fovy, aspect, near, far);
+
172  }
+
173 
+
174  static Matrix Ortho(double left, double right, double bottom, double top, double near, double far) {
+
175  return ::MatrixOrtho(left, right, bottom, top, near, far);
+
176  }
+
177 
+
178  static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up) {
+
179  return ::MatrixLookAt(eye, target, up);
180  }
-
181  Matrix operator*(const Matrix& matrix) {
-
182  return ::MatrixMultiply(*this, matrix);
-
183  }
-
184 
-
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);
+
181 
+
182  inline float16 ToFloatV() {
+
183  return ::MatrixToFloatV(*this);
+
184  }
+
185  operator float16() {
+
186  return ToFloatV();
187  }
-
188 
-
189  static Matrix Perspective(double fovy, double aspect, double near, double far) {
-
190  return ::MatrixPerspective(fovy, aspect, near, far);
-
191  }
-
192 
-
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);
-
195  }
-
196 
-
197  static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up) {
-
198  return ::MatrixLookAt(eye, target, up);
-
199  }
-
200 
-
201  float16 ToFloatV() {
-
202  return ::MatrixToFloatV(*this);
-
203  }
-
204  operator float16() {
-
205  return ToFloatV();
-
206  }
-
207 #endif
-
208  };
-
209 }
-
210 
-
211 
-
212 #endif
+
188 #endif
+
189  protected:
+
190 
+
191 
+
192  inline void set(::Matrix mat) {
+
193  m0 = mat.m0;
+
194  m1 = mat.m1;
+
195  m2 = mat.m2;
+
196  m3 = mat.m3;
+
197  m4 = mat.m4;
+
198  m5 = mat.m5;
+
199  m6 = mat.m6;
+
200  m7 = mat.m7;
+
201  m8 = mat.m8;
+
202  m9 = mat.m9;
+
203  m10 = mat.m10;
+
204  m11 = mat.m11;
+
205  m12 = mat.m12;
+
206  m13 = mat.m13;
+
207  m14 = mat.m14;
+
208  m15 = mat.m15;
+
209  }
+
210  };
+
211 }
+
212 
+
213 
+
214 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
Matrix Invert()
Definition: Matrix.hpp:136
+
Matrix Invert()
Definition: Matrix.hpp:117
Definition: Matrix.hpp:21
-
Matrix operator*(const Matrix &matrix)
Definition: Matrix.hpp:181
-
static Matrix Frustum(double left, double right, double bottom, double top, double near, double far)
Definition: Matrix.hpp:185
-
Matrix Add(::Matrix right)
Definition: Matrix.hpp:145
-
static Matrix RotateXYZ(Vector3 angle)
Definition: Matrix.hpp:163
-
static Matrix Scale(float x, float y, float z)
Definition: Matrix.hpp:175
-
static Matrix Translate(float x, float y, float z)
Definition: Matrix.hpp:157
-
static Matrix Rotate(Vector3 axis, float angle)
Definition: Matrix.hpp:160
-
static Matrix RotateZ(float angle)
Definition: Matrix.hpp:172
+
Matrix operator*(const Matrix &matrix)
Definition: Matrix.hpp:162
+
static Matrix Frustum(double left, double right, double bottom, double top, double near, double far)
Definition: Matrix.hpp:166
+
Matrix Add(::Matrix right)
Definition: Matrix.hpp:126
+
static Matrix RotateXYZ(Vector3 angle)
Definition: Matrix.hpp:144
+
static Matrix Scale(float x, float y, float z)
Definition: Matrix.hpp:156
+
static Matrix Translate(float x, float y, float z)
Definition: Matrix.hpp:138
+
static Matrix Rotate(Vector3 axis, float angle)
Definition: Matrix.hpp:141
+
static Matrix RotateZ(float angle)
Definition: Matrix.hpp:153
Definition: Vector3.hpp:21
-
Matrix & SetProjection()
Definition: Matrix.hpp:111
-
Matrix & SetModelview()
Definition: Matrix.hpp:116
-
Matrix operator-(const Matrix &matrix)
Definition: Matrix.hpp:154
-
static Matrix Identity()
Definition: Matrix.hpp:142
-
Matrix & operator=(const Matrix &matrix)
Definition: Matrix.hpp:87
-
Matrix Normalize()
Definition: Matrix.hpp:139
+
Matrix & SetProjection()
Definition: Matrix.hpp:92
+
Matrix & SetModelview()
Definition: Matrix.hpp:97
+
Matrix operator-(const Matrix &matrix)
Definition: Matrix.hpp:135
+
static Matrix Identity()
Definition: Matrix.hpp:123
+
Matrix & operator=(const Matrix &matrix)
Definition: Matrix.hpp:68
+
Matrix Normalize()
Definition: Matrix.hpp:120
Matrix(::Matrix mat)
Definition: Matrix.hpp:23
-
static Matrix RotateX(float angle)
Definition: Matrix.hpp:166
-
static Matrix Perspective(double fovy, double aspect, double near, double far)
Definition: Matrix.hpp:189
-
float16 ToFloatV()
Definition: Matrix.hpp:201
-
void set(::Matrix mat)
Definition: Matrix.hpp:46
-
Matrix Subtract(::Matrix right)
Definition: Matrix.hpp:151
-
static Matrix GetModelview()
Definition: Matrix.hpp:121
+
static Matrix RotateX(float angle)
Definition: Matrix.hpp:147
+
static Matrix Perspective(double fovy, double aspect, double near, double far)
Definition: Matrix.hpp:170
+
float16 ToFloatV()
Definition: Matrix.hpp:182
+
void set(::Matrix mat)
Definition: Matrix.hpp:192
+
Matrix Subtract(::Matrix right)
Definition: Matrix.hpp:132
+
static Matrix GetModelview()
Definition: Matrix.hpp:102
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)
Definition: Matrix.hpp:27
-
float Trace()
Definition: Matrix.hpp:130
-
static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up)
Definition: Matrix.hpp:197
-
static Matrix RotateY(float angle)
Definition: Matrix.hpp:169
-
Matrix Multiply(Matrix right)
Definition: Matrix.hpp:178
-
bool operator==(const Matrix &other)
Definition: Matrix.hpp:92
-
static Matrix GetProjection()
Definition: Matrix.hpp:125
-
Matrix operator+(const Matrix &matrix)
Definition: Matrix.hpp:148
-
static Matrix Ortho(double left, double right, double bottom, double top, double near, double far)
Definition: Matrix.hpp:193
-
Matrix Transpose()
Definition: Matrix.hpp:133
+
float Trace()
Definition: Matrix.hpp:111
+
static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up)
Definition: Matrix.hpp:178
+
static Matrix RotateY(float angle)
Definition: Matrix.hpp:150
+
Matrix Multiply(Matrix right)
Definition: Matrix.hpp:159
+
bool operator==(const Matrix &other)
Definition: Matrix.hpp:73
+
static Matrix GetProjection()
Definition: Matrix.hpp:106
+
Matrix operator+(const Matrix &matrix)
Definition: Matrix.hpp:129
+
static Matrix Ortho(double left, double right, double bottom, double top, double near, double far)
Definition: Matrix.hpp:174
+
Matrix Transpose()
Definition: Matrix.hpp:114
diff --git a/docs/_mesh_8hpp_source.html b/docs/_mesh_8hpp_source.html index 58e76c2..79c6b26 100644 --- a/docs/_mesh_8hpp_source.html +++ b/docs/_mesh_8hpp_source.html @@ -99,102 +99,103 @@ $(function() {
26  triangleCount = TriangleCount;
27  };
28 
-
29  inline void set(::Mesh mesh) {
-
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;
-
37  colors = mesh.colors;
-
38  indices = mesh.indices;
-
39  animVertices = mesh.animVertices;
-
40  animNormals = mesh.animNormals;
-
41  boneIds = mesh.boneIds;
-
42  boneWeights = mesh.boneWeights;
-
43  vaoId = mesh.vaoId;
-
44  vboId = mesh.vboId;
-
45  }
-
46 
-
47  GETTERSETTER(int,VertexCount,vertexCount)
-
48  GETTERSETTER(int,TriangleCount,triangleCount)
-
49 
-
50  Mesh& operator=(const ::Mesh& mesh) {
-
51  set(mesh);
-
52  return *this;
+
29  GETTERSETTER(int,VertexCount,vertexCount)
+
30  GETTERSETTER(int,TriangleCount,triangleCount)
+
31 
+
32  Mesh& operator=(const ::Mesh& mesh) {
+
33  set(mesh);
+
34  return *this;
+
35  }
+
36 
+
37  Mesh& operator=(const Mesh& mesh) {
+
38  set(mesh);
+
39  return *this;
+
40  }
+
41 
+
42  ~Mesh() {
+
43  Unload();
+
44  }
+
45 
+
46  inline Mesh& Export(const std::string& fileName) {
+
47  ExportMesh(*this, fileName.c_str());
+
48  return *this;
+
49  }
+
50 
+
51  inline void Unload() {
+
52  ::UnloadMesh(*this);
53  }
54 
-
55  Mesh& operator=(const Mesh& mesh) {
-
56  set(mesh);
-
57  return *this;
-
58  }
-
59 
-
60  ~Mesh() {
-
61  Unload();
-
62  }
-
63 
-
64  inline Mesh& Export(const std::string& fileName) {
-
65  ExportMesh(*this, fileName.c_str());
-
66  return *this;
-
67  }
-
68 
-
69  inline void Unload() {
-
70  ::UnloadMesh(*this);
-
71  }
-
72 
-
73  inline raylib::BoundingBox BoundingBox() {
-
74  return ::MeshBoundingBox(*this);
+
55  inline raylib::BoundingBox BoundingBox() {
+
56  return ::MeshBoundingBox(*this);
+
57  }
+
58  operator raylib::BoundingBox() {
+
59  return BoundingBox();
+
60  }
+
61 
+
62  inline Mesh& Tangents() {
+
63  ::MeshTangents(this);
+
64  return *this;
+
65  }
+
66 
+
67  inline Mesh& Binormals() {
+
68  ::MeshBinormals(this);
+
69  return *this;
+
70  }
+
71 
+
72  inline Mesh& NormalsSmooth() {
+
73  ::MeshNormalsSmooth(this);
+
74  return *this;
75  }
-
76  operator raylib::BoundingBox() {
-
77  return BoundingBox();
-
78  }
-
79 
-
80  inline Mesh& Tangents() {
-
81  ::MeshTangents(this);
-
82  return *this;
-
83  }
-
84 
-
85  inline Mesh& Binormals() {
-
86  ::MeshBinormals(this);
-
87  return *this;
-
88  }
-
89 
-
90  inline Mesh& NormalsSmooth() {
-
91  ::MeshNormalsSmooth(this);
-
92  return *this;
-
93  }
-
94 
-
95  inline raylib::Model LoadModelFrom() {
-
96  return ::LoadModelFromMesh(*this);
-
97  }
-
98  operator raylib::Model() {
-
99  return LoadModelFrom();
-
100  }
-
101  };
-
102 }
-
103 
-
104 #endif
+
76 
+
77  inline raylib::Model LoadModelFrom() {
+
78  return ::LoadModelFromMesh(*this);
+
79  }
+
80  operator raylib::Model() {
+
81  return LoadModelFrom();
+
82  }
+
83 
+
84  protected:
+
85  inline void set(::Mesh mesh) {
+
86  vertexCount = mesh.vertexCount;
+
87  triangleCount = mesh.triangleCount;
+
88  vertices = mesh.vertices;
+
89  texcoords = mesh.texcoords;
+
90  texcoords2 = mesh.texcoords2;
+
91  normals = mesh.normals;
+
92  tangents = mesh.tangents;
+
93  colors = mesh.colors;
+
94  indices = mesh.indices;
+
95  animVertices = mesh.animVertices;
+
96  animNormals = mesh.animNormals;
+
97  boneIds = mesh.boneIds;
+
98  boneWeights = mesh.boneWeights;
+
99  vaoId = mesh.vaoId;
+
100  vboId = mesh.vboId;
+
101  }
+
102  };
+
103 }
+
104 
+
105 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
void set(::Mesh mesh)
Definition: Mesh.hpp:29
-
Mesh & NormalsSmooth()
Definition: Mesh.hpp:90
-
Mesh & Tangents()
Definition: Mesh.hpp:80
-
~Mesh()
Definition: Mesh.hpp:60
-
raylib::Model LoadModelFrom()
Definition: Mesh.hpp:95
-
raylib::BoundingBox BoundingBox()
Definition: Mesh.hpp:73
-
Mesh & Binormals()
Definition: Mesh.hpp:85
-
void Unload()
Definition: Mesh.hpp:69
+
void set(::Mesh mesh)
Definition: Mesh.hpp:85
+
Mesh & NormalsSmooth()
Definition: Mesh.hpp:72
+
Mesh & Tangents()
Definition: Mesh.hpp:62
+
~Mesh()
Definition: Mesh.hpp:42
+
raylib::Model LoadModelFrom()
Definition: Mesh.hpp:77
+
raylib::BoundingBox BoundingBox()
Definition: Mesh.hpp:55
+
Mesh & Binormals()
Definition: Mesh.hpp:67
+
void Unload()
Definition: Mesh.hpp:51
Definition: Mesh.hpp:18
-
Mesh & operator=(const Mesh &mesh)
Definition: Mesh.hpp:55
+
Mesh & operator=(const Mesh &mesh)
Definition: Mesh.hpp:37
Mesh(int VertexCount=0, int TriangleCount=0)
Definition: Mesh.hpp:24
Definition: Model.hpp:16
Definition: BoundingBox.hpp:15
Mesh(::Mesh mesh)
Definition: Mesh.hpp:20
-
Mesh & Export(const std::string &fileName)
Definition: Mesh.hpp:64
+
Mesh & Export(const std::string &fileName)
Definition: Mesh.hpp:46
diff --git a/docs/_model_8hpp_source.html b/docs/_model_8hpp_source.html index e89f1f4..ae62e84 100644 --- a/docs/_model_8hpp_source.html +++ b/docs/_model_8hpp_source.html @@ -104,81 +104,82 @@ $(function() {
31  Unload();
32  }
33 
-
34  inline void set(::Model model) {
-
35  transform = model.transform;
-
36 
-
37  meshCount = model.meshCount;
-
38  meshes = model.meshes;
-
39 
-
40  materialCount = model.materialCount;
-
41  materials = model.materials;
-
42  meshMaterial = model.meshMaterial;
-
43  boneCount = model.boneCount;
-
44  bones = model.bones;
-
45  bindPose = model.bindPose;
+
34  GETTERSETTER(::Matrix,Transform,transform)
+
35  GETTERSETTER(int,MeshCount,meshCount)
+
36  GETTERSETTER(int,MaterialCount,materialCount)
+
37 
+
38  Model& operator=(const ::Model& model) {
+
39  set(model);
+
40  return *this;
+
41  }
+
42 
+
43  Model& operator=(const Model& model) {
+
44  set(model);
+
45  return *this;
46  }
47 
-
48  GETTERSETTER(::Matrix,Transform,transform)
-
49  GETTERSETTER(int,MeshCount,meshCount)
-
50  GETTERSETTER(int,MaterialCount,materialCount)
+
48  inline void Unload() {
+
49  ::UnloadModel(*this);
+
50  }
51 
-
52  Model& operator=(const ::Model& model) {
-
53  set(model);
+
52  inline Model& SetMeshMaterial(int meshId, int materialId) {
+
53  ::SetModelMeshMaterial(this, meshId, materialId);
54  return *this;
55  }
56 
-
57  Model& operator=(const Model& model) {
-
58  set(model);
-
59  return *this;
-
60  }
-
61 
-
62  inline void Unload() {
-
63  ::UnloadModel(*this);
+
57  inline RayHitInfo GetCollision(::Ray ray) const {
+
58  return ::GetCollisionRayModel(ray, *this);
+
59  }
+
60 
+
61  inline Model& UpdateModelAnimation(::ModelAnimation anim, int frame) {
+
62  ::UpdateModelAnimation(*this, anim, frame);
+
63  return *this;
64  }
65 
-
66  inline Model& SetMeshMaterial(int meshId, int materialId) {
-
67  ::SetModelMeshMaterial(this, meshId, materialId);
-
68  return *this;
-
69  }
-
70 
-
71  inline RayHitInfo GetCollision(::Ray ray) {
-
72  return ::GetCollisionRayModel(ray, *this);
-
73  }
-
74 
-
75  inline Model& UpdateModelAnimation(::ModelAnimation anim, int frame) {
-
76  ::UpdateModelAnimation(*this, anim, frame);
-
77  return *this;
-
78  }
-
79 
-
80  inline bool IsModelAnimationValid(::ModelAnimation anim) {
-
81  return ::IsModelAnimationValid(*this, anim);
-
82  }
-
83  };
-
84 }
-
85 
-
86 #endif
+
66  inline bool IsModelAnimationValid(::ModelAnimation anim) const {
+
67  return ::IsModelAnimationValid(*this, anim);
+
68  }
+
69 
+
70  protected:
+
71  inline void set(::Model model) {
+
72  transform = model.transform;
+
73 
+
74  meshCount = model.meshCount;
+
75  meshes = model.meshes;
+
76 
+
77  materialCount = model.materialCount;
+
78  materials = model.materials;
+
79  meshMaterial = model.meshMaterial;
+
80  boneCount = model.boneCount;
+
81  bones = model.bones;
+
82  bindPose = model.bindPose;
+
83  }
+
84  };
+
85 }
+
86 
+
87 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
Definition: Matrix.hpp:21
-
Model & SetMeshMaterial(int meshId, int materialId)
Definition: Model.hpp:66
+
RayHitInfo GetCollision(::Ray ray) const
Definition: Model.hpp:57
+
Model & SetMeshMaterial(int meshId, int materialId)
Definition: Model.hpp:52
Definition: Ray.hpp:17
Model(const std::string &fileName)
Definition: Model.hpp:22
-
Model & UpdateModelAnimation(::ModelAnimation anim, int frame)
Definition: Model.hpp:75
+
Model & UpdateModelAnimation(::ModelAnimation anim, int frame)
Definition: Model.hpp:61
Definition: Mesh.hpp:18
-
bool IsModelAnimationValid(::ModelAnimation anim)
Definition: Model.hpp:80
-
Model & operator=(const Model &model)
Definition: Model.hpp:57
+
Model & operator=(const Model &model)
Definition: Model.hpp:43
Definition: Model.hpp:16
Model(::Model model)
Definition: Model.hpp:18
-
RayHitInfo GetCollision(::Ray ray)
Definition: Model.hpp:71
+
bool IsModelAnimationValid(::ModelAnimation anim) const
Definition: Model.hpp:66
Definition: RayHitInfo.hpp:15
~Model()
Definition: Model.hpp:30
-
void set(::Model model)
Definition: Model.hpp:34
+
void set(::Model model)
Definition: Model.hpp:71
Model(::Mesh mesh)
Definition: Model.hpp:26
-
void Unload()
Definition: Model.hpp:62
+
void Unload()
Definition: Model.hpp:48
diff --git a/docs/_model_animation_8hpp_source.html b/docs/_model_animation_8hpp_source.html index 40be876..61e3953 100644 --- a/docs/_model_animation_8hpp_source.html +++ b/docs/_model_animation_8hpp_source.html @@ -96,63 +96,64 @@ $(function() {
23  Unload();
24  }
25 
-
26  inline void set(::ModelAnimation model) {
-
27  boneCount = model.boneCount;
-
28  bones = model.bones;
-
29  frameCount = model.frameCount;
-
30  framePoses = model.framePoses;
-
31  }
-
32 
-
33  GETTERSETTER(int,BoneCount,boneCount)
-
34  GETTERSETTER(::BoneInfo*,Bones,bones)
-
35  GETTERSETTER(int,FrameCount,frameCount)
-
36  GETTERSETTER(Transform**,FramePoses,framePoses)
-
37 
-
38  ModelAnimation& operator=(const ::ModelAnimation& model) {
-
39  set(model);
-
40  return *this;
-
41  }
-
42 
-
43  ModelAnimation& operator=(const ModelAnimation& model) {
-
44  set(model);
-
45  return *this;
-
46  }
-
47 
-
48  inline void Unload() {
-
49  ::UnloadModelAnimation(*this);
-
50  }
-
51 
-
52  inline ModelAnimation& UpdateAnimation(::Model model, int frame) {
-
53  ::UpdateModelAnimation(model, *this, frame);
-
54  return *this;
-
55  }
-
56 
-
57  inline bool IsValid(::Model model) {
-
58  return ::IsModelAnimationValid(model, *this);
-
59  }
-
60 
-
61  inline bool IsModelAnimationValid(::Model model) {
-
62  return ::IsModelAnimationValid(model, *this);
-
63  }
-
64  };
-
65 }
-
66 
-
67 #endif
+
26  GETTERSETTER(int,BoneCount,boneCount)
+
27  GETTERSETTER(::BoneInfo*,Bones,bones)
+
28  GETTERSETTER(int,FrameCount,frameCount)
+
29  GETTERSETTER(Transform**,FramePoses,framePoses)
+
30 
+
31  ModelAnimation& operator=(const ::ModelAnimation& model) {
+
32  set(model);
+
33  return *this;
+
34  }
+
35 
+
36  ModelAnimation& operator=(const ModelAnimation& model) {
+
37  set(model);
+
38  return *this;
+
39  }
+
40 
+
41  inline void Unload() {
+
42  ::UnloadModelAnimation(*this);
+
43  }
+
44 
+
45  inline ModelAnimation& UpdateAnimation(::Model model, int frame) {
+
46  ::UpdateModelAnimation(model, *this, frame);
+
47  return *this;
+
48  }
+
49 
+
50  inline bool IsValid(::Model model) const {
+
51  return ::IsModelAnimationValid(model, *this);
+
52  }
+
53 
+
54  inline bool IsModelAnimationValid(::Model model) const {
+
55  return ::IsModelAnimationValid(model, *this);
+
56  }
+
57 
+
58  protected:
+
59  inline void set(::ModelAnimation model) {
+
60  boneCount = model.boneCount;
+
61  bones = model.bones;
+
62  frameCount = model.frameCount;
+
63  framePoses = model.framePoses;
+
64  }
+
65  };
+
66 }
+
67 
+
68 #endif
-
ModelAnimation & UpdateAnimation(::Model model, int frame)
+
ModelAnimation & UpdateAnimation(::Model model, int frame)
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
bool IsModelAnimationValid(::Model model)
~ModelAnimation()
-
bool IsValid(::Model model)
-
void set(::ModelAnimation model)
-
ModelAnimation & operator=(const ModelAnimation &model)
-
void Unload()
+
void set(::ModelAnimation model)
+
ModelAnimation & operator=(const ModelAnimation &model)
+
void Unload()
ModelAnimation(::ModelAnimation model)
Definition: Model.hpp:16
+
bool IsModelAnimationValid(::Model model) const
+
bool IsValid(::Model model) const
diff --git a/docs/_mouse_8hpp_source.html b/docs/_mouse_8hpp_source.html index 07aacbb..332ffb6 100644 --- a/docs/_mouse_8hpp_source.html +++ b/docs/_mouse_8hpp_source.html @@ -87,33 +87,33 @@ $(function() {
14 namespace raylib {
15  class Mouse {
16  public:
-
17  inline bool IsButtonPressed(int button) {
+
17  inline bool IsButtonPressed(int button) const {
18  return ::IsMouseButtonPressed(button);
19  }
-
20  inline bool IsButtonDown(int button) {
+
20  inline bool IsButtonDown(int button) const {
21  return ::IsMouseButtonDown(button);
22  }
-
23  inline bool IsButtonReleased(int button) {
+
23  inline bool IsButtonReleased(int button) const {
24  return ::IsMouseButtonReleased(button);
25  }
-
26  inline bool IsButtonUp(int button) {
+
26  inline bool IsButtonUp(int button) const {
27  return ::IsMouseButtonUp(button);
28  }
-
29  inline int GetX() {
+
29  inline int GetX() const {
30  return ::GetMouseX();
31  }
-
32  inline int GetY() {
+
32  inline int GetY() const {
33  return ::GetMouseY();
34  }
35  inline Mouse& SetX(int x) {
-
36  ::SetMouseOffset(x, GetY());
+
36  ::SetMouseOffset(x, GetY());
37  return *this;
38  }
39  inline Mouse& SetY(int y) {
-
40  ::SetMouseOffset(GetX(), y);
+
40  ::SetMouseOffset(GetX(), y);
41  return *this;
42  }
-
43  inline Vector2 GetPosition() {
+
43  inline Vector2 GetPosition() const {
44  return ::GetMousePosition();
45  }
46  inline Mouse& SetPosition(int x, int y) {
@@ -128,45 +128,56 @@ $(function() {
55  ::SetMouseScale(scaleX, scaleY);
56  return *this;
57  }
-
58  inline int GetWheelMove() {
+
58  inline float GetWheelMove() const {
59  return ::GetMouseWheelMove();
60  }
-
61  inline int GetTouchX() {
-
62  return ::GetTouchX();
-
63  }
-
64  inline int GetTouchY() {
-
65  return ::GetTouchY();
-
66  }
-
67  inline Vector2 GetTouchPosition(int index) {
-
68  return ::GetTouchPosition(index);
-
69  }
-
70  };
-
71 }
-
72 
-
73 #endif
+
61 
+
62  inline int GetCursor() const {
+
63  return ::GetMouseCursor();
+
64  }
+
65  inline Mouse& SetCursor(int cursor) {
+
66  ::SetMouseCursor(cursor);
+
67  return *this;
+
68  }
+
69 
+
70  inline int GetTouchX() const {
+
71  return ::GetTouchX();
+
72  }
+
73  inline int GetTouchY() const {
+
74  return ::GetTouchY();
+
75  }
+
76  inline Vector2 GetTouchPosition(int index) const {
+
77  return ::GetTouchPosition(index);
+
78  }
+
79  };
+
80 }
+
81 
+
82 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
Vector2 GetTouchPosition(int index)
Definition: Mouse.hpp:67
+
int GetY() const
Definition: Mouse.hpp:32
Definition: Mouse.hpp:15
-
int GetTouchY()
Definition: Mouse.hpp:64
+
int GetTouchY() const
Definition: Mouse.hpp:73
Mouse & SetPosition(int x, int y)
Definition: Mouse.hpp:46
Mouse & SetOffset(int offsetX, int offsetY)
Definition: Mouse.hpp:50
+
int GetTouchX() const
Definition: Mouse.hpp:70
Mouse & SetX(int x)
Definition: Mouse.hpp:35
-
int GetWheelMove()
Definition: Mouse.hpp:58
-
bool IsButtonUp(int button)
Definition: Mouse.hpp:26
+
float GetWheelMove() const
Definition: Mouse.hpp:58
+
bool IsButtonUp(int button) const
Definition: Mouse.hpp:26
Mouse & SetScale(float scaleX, float scaleY)
Definition: Mouse.hpp:54
-
int GetTouchX()
Definition: Mouse.hpp:61
Definition: Vector2.hpp:22
-
Vector2 GetPosition()
Definition: Mouse.hpp:43
-
bool IsButtonReleased(int button)
Definition: Mouse.hpp:23
+
bool IsButtonReleased(int button) const
Definition: Mouse.hpp:23
+
bool IsButtonPressed(int button) const
Definition: Mouse.hpp:17
Mouse & SetY(int y)
Definition: Mouse.hpp:39
-
int GetY()
Definition: Mouse.hpp:32
-
bool IsButtonDown(int button)
Definition: Mouse.hpp:20
-
bool IsButtonPressed(int button)
Definition: Mouse.hpp:17
-
int GetX()
Definition: Mouse.hpp:29
+
bool IsButtonDown(int button) const
Definition: Mouse.hpp:20
+
int GetX() const
Definition: Mouse.hpp:29
+
Vector2 GetPosition() const
Definition: Mouse.hpp:43
+
Vector2 GetTouchPosition(int index) const
Definition: Mouse.hpp:76
+
int GetCursor() const
Definition: Mouse.hpp:62
+
Mouse & SetCursor(int cursor)
Definition: Mouse.hpp:65
diff --git a/docs/_music_8hpp_source.html b/docs/_music_8hpp_source.html index ecec83e..d89760f 100644 --- a/docs/_music_8hpp_source.html +++ b/docs/_music_8hpp_source.html @@ -99,100 +99,99 @@ $(function() {
26  Unload();
27  }
28 
-
29  inline void set(::Music music) {
-
30  ctxType = music.ctxType;
-
31  ctxData = music.ctxData;
-
32  looping = music.looping;
-
33  sampleCount = music.sampleCount;
-
34  stream = music.stream;
-
35  }
-
36 
-
37  GETTERSETTER(int,CtxType,ctxType)
-
38  GETTERSETTER(bool,Looping,looping)
-
39  GETTERSETTER(unsigned int,SampleCount,sampleCount)
-
40 
-
41  Music& operator=(const ::Music& music) {
-
42  set(music);
-
43  return *this;
-
44  }
-
45 
-
46  Music& operator=(const Music& music) {
-
47  set(music);
-
48  return *this;
-
49  }
-
50 
-
51  inline void Unload() {
-
52  ::UnloadMusicStream(*this);
-
53  }
-
54 
-
55  inline Music& Play() {
-
56  ::PlayMusicStream(*this);
-
57  return *this;
-
58  }
-
59 
-
60  inline Music& Update() {
-
61  ::UpdateMusicStream(*this);
-
62  return *this;
-
63  }
-
64 
-
65  inline Music& Stop() {
-
66  ::StopMusicStream(*this);
-
67  return *this;
-
68  }
-
69 
-
70  inline Music& Pause() {
-
71  ::PauseMusicStream(*this);
-
72  return *this;
-
73  }
-
74  inline Music& Resume() {
-
75  ::ResumeMusicStream(*this);
-
76  return *this;
-
77  }
-
78  inline bool IsPlaying() {
-
79  return ::IsMusicPlaying(*this);
+
29  GETTERSETTER(int,CtxType,ctxType)
+
30  GETTERSETTER(bool,Looping,looping)
+
31  GETTERSETTER(unsigned int,SampleCount,sampleCount)
+
32 
+
33  Music& operator=(const ::Music& music) {
+
34  set(music);
+
35  return *this;
+
36  }
+
37 
+
38  Music& operator=(const Music& music) {
+
39  set(music);
+
40  return *this;
+
41  }
+
42 
+
43  inline void Unload() {
+
44  ::UnloadMusicStream(*this);
+
45  }
+
46 
+
47  inline Music& Play() {
+
48  ::PlayMusicStream(*this);
+
49  return *this;
+
50  }
+
51 
+
52  inline Music& Update() {
+
53  ::UpdateMusicStream(*this);
+
54  return *this;
+
55  }
+
56 
+
57  inline Music& Stop() {
+
58  ::StopMusicStream(*this);
+
59  return *this;
+
60  }
+
61 
+
62  inline Music& Pause() {
+
63  ::PauseMusicStream(*this);
+
64  return *this;
+
65  }
+
66  inline Music& Resume() {
+
67  ::ResumeMusicStream(*this);
+
68  return *this;
+
69  }
+
70  inline bool IsPlaying() const {
+
71  return ::IsMusicPlaying(*this);
+
72  }
+
73  inline Music& SetVolume(float volume) {
+
74  ::SetMusicVolume(*this, volume);
+
75  return *this;
+
76  }
+
77  inline Music& SetPitch(float pitch) {
+
78  ::SetMusicPitch(*this, pitch);
+
79  return *this;
80  }
-
81  inline Music& SetVolume(float volume) {
-
82  ::SetMusicVolume(*this, volume);
-
83  return *this;
-
84  }
-
85  inline Music& SetPitch(float pitch) {
-
86  ::SetMusicPitch(*this, pitch);
-
87  return *this;
-
88  }
-
89  inline float GetTimeLength() {
-
90  return ::GetMusicTimeLength(*this);
-
91  }
-
92  inline float GetTimePlayed() {
-
93  return ::GetMusicTimePlayed(*this);
-
94  }
-
95 
-
96 
-
97  };
-
98 }
-
99 
-
100 #endif
+
81  inline float GetTimeLength() const {
+
82  return ::GetMusicTimeLength(*this);
+
83  }
+
84  inline float GetTimePlayed() const {
+
85  return ::GetMusicTimePlayed(*this);
+
86  }
+
87 
+
88  protected:
+
89  inline void set(::Music music) {
+
90  ctxType = music.ctxType;
+
91  ctxData = music.ctxData;
+
92  looping = music.looping;
+
93  sampleCount = music.sampleCount;
+
94  stream = music.stream;
+
95  }
+
96  };
+
97 }
+
98 
+
99 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
Music & SetPitch(float pitch)
Definition: Music.hpp:85
-
Music & Stop()
Definition: Music.hpp:65
-
Music & SetVolume(float volume)
Definition: Music.hpp:81
-
float GetTimePlayed()
Definition: Music.hpp:92
-
Music & Resume()
Definition: Music.hpp:74
-
Music & Play()
Definition: Music.hpp:55
-
Music & Pause()
Definition: Music.hpp:70
-
Music & operator=(const Music &music)
Definition: Music.hpp:46
-
void set(::Music music)
Definition: Music.hpp:29
+
Music & SetPitch(float pitch)
Definition: Music.hpp:77
+
Music & Stop()
Definition: Music.hpp:57
+
Music & SetVolume(float volume)
Definition: Music.hpp:73
+
Music & Resume()
Definition: Music.hpp:66
+
Music & Play()
Definition: Music.hpp:47
+
Music & Pause()
Definition: Music.hpp:62
+
Music & operator=(const Music &music)
Definition: Music.hpp:38
+
bool IsPlaying() const
Definition: Music.hpp:70
+
void set(::Music music)
Definition: Music.hpp:89
Music(::Music music)
Definition: Music.hpp:17
-
bool IsPlaying()
Definition: Music.hpp:78
~Music()
Definition: Music.hpp:25
Music(const std::string &fileName)
Definition: Music.hpp:21
-
void Unload()
Definition: Music.hpp:51
+
void Unload()
Definition: Music.hpp:43
Definition: Music.hpp:15
-
Music & Update()
Definition: Music.hpp:60
-
float GetTimeLength()
Definition: Music.hpp:89
+
Music & Update()
Definition: Music.hpp:52
+
float GetTimeLength() const
Definition: Music.hpp:81
+
float GetTimePlayed() const
Definition: Music.hpp:84
diff --git a/docs/_physics_8hpp_source.html b/docs/_physics_8hpp_source.html index fe52298..40a3e3c 100644 --- a/docs/_physics_8hpp_source.html +++ b/docs/_physics_8hpp_source.html @@ -150,19 +150,19 @@ $(function() {
77  ::PhysicsShatter(body, position, force);
78  return *this;
79  }
-
80  inline int GetBodiesCount() {
+
80  inline int GetBodiesCount() const {
81  return ::GetPhysicsBodiesCount();
82  }
-
83  inline PhysicsBody GetBody(int index) {
+
83  inline PhysicsBody GetBody(int index) const {
84  return ::GetPhysicsBody(index);
85  }
-
86  inline int GetShapeType(int index) {
+
86  inline int GetShapeType(int index) const {
87  return ::GetPhysicsShapeType(index);
88  }
-
89  inline int GetShapeVerticesCount(int index) {
+
89  inline int GetShapeVerticesCount(int index) const {
90  return ::GetPhysicsShapeVerticesCount(index);
91  }
-
92  inline Vector2 GetShapeVertex(PhysicsBody body, int vertex) {
+
92  inline Vector2 GetShapeVertex(PhysicsBody body, int vertex) const {
93  return ::GetPhysicsShapeVertex(body, vertex);
94  }
95  inline Physics& SetBodyRotation(PhysicsBody body, float radians) {
@@ -189,28 +189,28 @@ $(function() {
Definition: Physics.hpp:16
Physics & SetBodyRotation(PhysicsBody body, float radians)
Definition: Physics.hpp:95
Physics()
Definition: Physics.hpp:18
-
int GetBodiesCount()
Definition: Physics.hpp:80
PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density)
Definition: Physics.hpp:65
Physics & SetGravity(float x, float y)
Definition: Physics.hpp:54
+
int GetShapeVerticesCount(int index) const
Definition: Physics.hpp:89
+
PhysicsBody GetBody(int index) const
Definition: Physics.hpp:83
~Physics()
Definition: Physics.hpp:26
bool IsEnabled()
Definition: Physics.hpp:50
-
Vector2 GetShapeVertex(PhysicsBody body, int vertex)
Definition: Physics.hpp:92
PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density)
Definition: Physics.hpp:62
-
int GetShapeType(int index)
Definition: Physics.hpp:86
Physics & Shatter(PhysicsBody body, Vector2 position, float force)
Definition: Physics.hpp:76
+
int GetShapeType(int index) const
Definition: Physics.hpp:86
Physics & Close()
Definition: Physics.hpp:35
Physics(float gravityX, float gravityY)
Definition: Physics.hpp:21
Physics & SetTimeStep(double delta)
Definition: Physics.hpp:45
Definition: Vector2.hpp:22
Physics & AddForce(PhysicsBody body, Vector2 force)
Definition: Physics.hpp:68
+
int GetBodiesCount() const
Definition: Physics.hpp:80
Physics & Init()
Definition: Physics.hpp:30
Physics & Reset()
Definition: Physics.hpp:103
Physics & AddTorque(PhysicsBody body, float amount)
Definition: Physics.hpp:72
-
PhysicsBody GetBody(int index)
Definition: Physics.hpp:83
-
int GetShapeVerticesCount(int index)
Definition: Physics.hpp:89
+
Vector2 GetShapeVertex(PhysicsBody body, int vertex) const
Definition: Physics.hpp:92
diff --git a/docs/_ray_8hpp_source.html b/docs/_ray_8hpp_source.html index 61e14a7..d4acb57 100644 --- a/docs/_ray_8hpp_source.html +++ b/docs/_ray_8hpp_source.html @@ -102,82 +102,83 @@ $(function() {
29  set(GetMouseRay(mousePosition, camera));
30  }
31 
-
32  inline void set(::Ray ray) {
-
33  position = ray.position;
-
34  direction = ray.direction;
+
32  Ray& operator=(const ::Ray& ray) {
+
33  set(ray);
+
34  return *this;
35  }
36 
-
37  Ray& operator=(const ::Ray& ray) {
+
37  Ray& operator=(const Ray& ray) {
38  set(ray);
39  return *this;
40  }
41 
-
42  Ray& operator=(const Ray& ray) {
-
43  set(ray);
-
44  return *this;
-
45  }
-
46 
-
47  GETTERSETTER(::Vector3,Position,position)
-
48  GETTERSETTER(::Vector3,Direction,direction)
+
42  GETTERSETTER(::Vector3,Position,position)
+
43  GETTERSETTER(::Vector3,Direction,direction)
+
44 
+
45  inline Ray& Draw(::Color color) {
+
46  DrawRay(*this, color);
+
47  return *this;
+
48  }
49 
-
50  inline Ray& Draw(::Color color) {
-
51  DrawRay(*this, color);
-
52  return *this;
-
53  }
-
54 
-
55  inline bool CheckCollisionSphere(::Vector3 center, float radius) {
-
56  return CheckCollisionRaySphere(*this, center, radius);
-
57  }
-
58 
-
59  inline bool CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint) {
-
60  return CheckCollisionRaySphereEx(*this, center, radius, collisionPoint);
-
61  }
-
62 
-
63  inline bool CheckCollisionBox(::BoundingBox box) {
-
64  return CheckCollisionRayBox(*this, box);
-
65  }
-
66 
-
67  inline RayHitInfo GetCollisionModel(::Model model) {
-
68  return GetCollisionRayModel(*this, model);
-
69  }
-
70 
-
71  inline RayHitInfo GetCollisionTriangle(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) {
-
72  return GetCollisionRayTriangle(*this, p1, p2, p3);
-
73  }
-
74 
-
75  inline RayHitInfo GetCollisionGround(float groundHeight) {
-
76  return GetCollisionRayGround(*this, groundHeight);
-
77  }
-
78  };
-
79 }
-
80 
-
81 #endif
+
50  inline bool CheckCollisionSphere(::Vector3 center, float radius) const {
+
51  return CheckCollisionRaySphere(*this, center, radius);
+
52  }
+
53 
+
54  inline bool CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint) const {
+
55  return CheckCollisionRaySphereEx(*this, center, radius, collisionPoint);
+
56  }
+
57 
+
58  inline bool CheckCollisionBox(::BoundingBox box) const {
+
59  return CheckCollisionRayBox(*this, box);
+
60  }
+
61 
+
62  inline RayHitInfo GetCollisionModel(::Model model) {
+
63  return GetCollisionRayModel(*this, model);
+
64  }
+
65 
+
66  inline RayHitInfo GetCollisionTriangle(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) {
+
67  return GetCollisionRayTriangle(*this, p1, p2, p3);
+
68  }
+
69 
+
70  inline RayHitInfo GetCollisionGround(float groundHeight) {
+
71  return GetCollisionRayGround(*this, groundHeight);
+
72  }
+
73 
+
74  protected:
+
75  inline void set(::Ray ray) {
+
76  position = ray.position;
+
77  direction = ray.direction;
+
78  }
+
79  };
+
80 }
+
81 
+
82 #endif
-
Ray & Draw(::Color color)
Definition: Ray.hpp:50
+
Ray & Draw(::Color color)
Definition: Ray.hpp:45
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
Definition: Ray.hpp:17
-
Ray & operator=(const Ray &ray)
Definition: Ray.hpp:42
+
bool CheckCollisionSphere(::Vector3 center, float radius) const
Definition: Ray.hpp:50
+
Ray & operator=(const Ray &ray)
Definition: Ray.hpp:37
Ray(::Vector3 Position, ::Vector3 Direction)
Definition: Ray.hpp:23
Definition: Vector3.hpp:21
-
bool CheckCollisionSphere(::Vector3 center, float radius)
Definition: Ray.hpp:55
Definition: Camera3D.hpp:16
Ray(::Vector2 mousePosition, ::Camera camera)
Definition: Ray.hpp:28
-
RayHitInfo GetCollisionModel(::Model model)
Definition: Ray.hpp:67
-
RayHitInfo GetCollisionTriangle(::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
Definition: Ray.hpp:71
-
bool CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint)
Definition: Ray.hpp:59
+
RayHitInfo GetCollisionModel(::Model model)
Definition: Ray.hpp:62
+
RayHitInfo GetCollisionTriangle(::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
Definition: Ray.hpp:66
Definition: Vector2.hpp:22
Ray(::Ray ray)
Definition: Ray.hpp:19
Definition: Color.hpp:18
Definition: Model.hpp:16
-
RayHitInfo GetCollisionGround(float groundHeight)
Definition: Ray.hpp:75
+
RayHitInfo GetCollisionGround(float groundHeight)
Definition: Ray.hpp:70
+
bool CheckCollisionBox(::BoundingBox box) const
Definition: Ray.hpp:58
Definition: BoundingBox.hpp:15
-
void set(::Ray ray)
Definition: Ray.hpp:32
+
void set(::Ray ray)
Definition: Ray.hpp:75
Definition: RayHitInfo.hpp:15
-
Ray & operator=(const ::Ray &ray)
Definition: Ray.hpp:37
-
bool CheckCollisionBox(::BoundingBox box)
Definition: Ray.hpp:63
+
Ray & operator=(const ::Ray &ray)
Definition: Ray.hpp:32
+
bool CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint) const
Definition: Ray.hpp:54
diff --git a/docs/_ray_hit_info_8hpp_source.html b/docs/_ray_hit_info_8hpp_source.html index 0c64cd9..0288e56 100644 --- a/docs/_ray_hit_info_8hpp_source.html +++ b/docs/_ray_hit_info_8hpp_source.html @@ -108,24 +108,25 @@ $(function() {
35  return *this;
36  }
37 
-
38  inline void set(::RayHitInfo ray) {
-
39  hit = ray.hit;
-
40  distance = ray.distance;
-
41  position = ray.position;
-
42  normal = ray.normal;
-
43  }
-
44 
-
45  GETTERSETTER(bool,Hit,hit)
-
46  GETTERSETTER(float,Distance,distance)
-
47  GETTERSETTER(::Vector3,Position,position)
-
48  GETTERSETTER(::Vector3,Normal,normal)
-
49  };
-
50 }
-
51 
-
52 #endif
+
38  GETTERSETTER(bool,Hit,hit)
+
39  GETTERSETTER(float,Distance,distance)
+
40  GETTERSETTER(::Vector3,Position,position)
+
41  GETTERSETTER(::Vector3,Normal,normal)
+
42 
+
43  protected:
+
44  inline void set(::RayHitInfo ray) {
+
45  hit = ray.hit;
+
46  distance = ray.distance;
+
47  position = ray.position;
+
48  normal = ray.normal;
+
49  }
+
50  };
+
51 }
+
52 
+
53 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
void set(::RayHitInfo ray)
Definition: RayHitInfo.hpp:38
+
void set(::RayHitInfo ray)
Definition: RayHitInfo.hpp:44
RayHitInfo(::RayHitInfo ray)
Definition: RayHitInfo.hpp:17
Definition: Vector3.hpp:21
RayHitInfo & operator=(const ::RayHitInfo &ray)
Definition: RayHitInfo.hpp:28
@@ -134,7 +135,7 @@ $(function() {
RayHitInfo(bool Hit, float Distance, ::Vector3 Position, ::Vector3 Normal)
Definition: RayHitInfo.hpp:21
diff --git a/docs/_rectangle_8hpp_source.html b/docs/_rectangle_8hpp_source.html index 5b9d1a6..e36a5a5 100644 --- a/docs/_rectangle_8hpp_source.html +++ b/docs/_rectangle_8hpp_source.html @@ -98,110 +98,111 @@ $(function() {
25  height = Height;
26  };
27 
-
28  inline void set(::Rectangle rect) {
-
29  x = rect.x;
-
30  y = rect.y;
-
31  width = rect.width;
-
32  height = rect.height;
-
33  }
-
34 
-
35  GETTERSETTER(float,X,x)
-
36  GETTERSETTER(float,Y,y)
-
37  GETTERSETTER(float,Width,width)
-
38  GETTERSETTER(float,Height,height)
-
39 
-
40  Rectangle& operator=(const ::Rectangle& rect) {
-
41  set(rect);
-
42  return *this;
-
43  }
-
44 
-
45  Rectangle& operator=(const Rectangle& rect) {
-
46  set(rect);
-
47  return *this;
-
48  }
-
49 
-
50  inline Rectangle& Draw(::Color color) {
-
51  ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
-
52  return *this;
-
53  }
-
54  inline Rectangle& Draw(::Vector2 origin, float rotation, ::Color color) {
-
55  ::DrawRectanglePro(*this, origin, rotation, color);
-
56  return *this;
-
57  }
-
58 
-
59  inline Rectangle& DrawGradientV(::Color color1, ::Color color2){
-
60  ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
-
61  return *this;
-
62  }
-
63 
-
64  inline Rectangle& DrawGradientH(::Color color1, ::Color color2) {
-
65  ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
-
66  return *this;
-
67  }
-
68 
-
69  inline Rectangle& DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) {
-
70  ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
-
71  return *this;
-
72  }
-
73 
-
74  inline Rectangle& DrawLines(::Color color){
-
75  ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
-
76  return *this;
-
77  }
-
78  inline Rectangle& DrawLinesEx(int lineThick, ::Color color){
-
79  ::DrawRectangleLinesEx(*this, lineThick, color);
-
80  return *this;
-
81  }
-
82 
-
83  inline Rectangle& DrawRounded(float roundness, int segments, ::Color color){
-
84  ::DrawRectangleRounded(*this, roundness, segments, color);
-
85  return *this;
-
86  }
-
87 
-
88  inline Rectangle& DrawRoundedLines(float roundness, int segments, int lineThick, ::Color color) {
-
89  ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
-
90  return *this;
-
91  }
-
92 
-
93  inline bool CheckCollision(::Rectangle rec2) {
-
94  return ::CheckCollisionRecs(*this, rec2);
-
95  }
-
96 
-
97  inline Rectangle GetCollision(::Rectangle rec2) {
-
98  return ::GetCollisionRec(*this, rec2);
-
99  }
-
100 
-
101  inline bool CheckCollision(::Vector2 point) {
-
102  return ::CheckCollisionPointRec(point, *this);
-
103  }
-
104  };
-
105 }
-
106 
-
107 #endif
+
28  GETTERSETTER(float,X,x)
+
29  GETTERSETTER(float,Y,y)
+
30  GETTERSETTER(float,Width,width)
+
31  GETTERSETTER(float,Height,height)
+
32 
+
33  Rectangle& operator=(const ::Rectangle& rect) {
+
34  set(rect);
+
35  return *this;
+
36  }
+
37 
+
38  Rectangle& operator=(const Rectangle& rect) {
+
39  set(rect);
+
40  return *this;
+
41  }
+
42 
+
43  inline Rectangle& Draw(::Color color) {
+
44  ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
+
45  return *this;
+
46  }
+
47  inline Rectangle& Draw(::Vector2 origin, float rotation, ::Color color) {
+
48  ::DrawRectanglePro(*this, origin, rotation, color);
+
49  return *this;
+
50  }
+
51 
+
52  inline Rectangle& DrawGradientV(::Color color1, ::Color color2){
+
53  ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
+
54  return *this;
+
55  }
+
56 
+
57  inline Rectangle& DrawGradientH(::Color color1, ::Color color2) {
+
58  ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color1, color2);
+
59  return *this;
+
60  }
+
61 
+
62  inline Rectangle& DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) {
+
63  ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
+
64  return *this;
+
65  }
+
66 
+
67  inline Rectangle& DrawLines(::Color color){
+
68  ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width), static_cast<int>(height), color);
+
69  return *this;
+
70  }
+
71  inline Rectangle& DrawLinesEx(int lineThick, ::Color color){
+
72  ::DrawRectangleLinesEx(*this, lineThick, color);
+
73  return *this;
+
74  }
+
75 
+
76  inline Rectangle& DrawRounded(float roundness, int segments, ::Color color){
+
77  ::DrawRectangleRounded(*this, roundness, segments, color);
+
78  return *this;
+
79  }
+
80 
+
81  inline Rectangle& DrawRoundedLines(float roundness, int segments, int lineThick, ::Color color) {
+
82  ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
+
83  return *this;
+
84  }
+
85 
+
86  inline bool CheckCollision(::Rectangle rec2) const {
+
87  return ::CheckCollisionRecs(*this, rec2);
+
88  }
+
89 
+
90  inline Rectangle GetCollision(::Rectangle rec2) const {
+
91  return ::GetCollisionRec(*this, rec2);
+
92  }
+
93 
+
94  inline bool CheckCollision(::Vector2 point) const {
+
95  return ::CheckCollisionPointRec(point, *this);
+
96  }
+
97 
+
98  protected:
+
99  inline void set(::Rectangle rect) {
+
100  x = rect.x;
+
101  y = rect.y;
+
102  width = rect.width;
+
103  height = rect.height;
+
104  }
+
105  };
+
106 }
+
107 
+
108 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
bool CheckCollision(::Rectangle rec2)
Definition: Rectangle.hpp:93
-
bool CheckCollision(::Vector2 point)
Definition: Rectangle.hpp:101
-
Rectangle & DrawRounded(float roundness, int segments, ::Color color)
Definition: Rectangle.hpp:83
-
void set(::Rectangle rect)
Definition: Rectangle.hpp:28
-
Rectangle & DrawGradientH(::Color color1, ::Color color2)
Definition: Rectangle.hpp:64
-
Rectangle & Draw(::Vector2 origin, float rotation, ::Color color)
Definition: Rectangle.hpp:54
-
Rectangle & DrawLinesEx(int lineThick, ::Color color)
Definition: Rectangle.hpp:78
-
Rectangle & DrawGradientV(::Color color1, ::Color color2)
Definition: Rectangle.hpp:59
-
Rectangle & DrawLines(::Color color)
Definition: Rectangle.hpp:74
+
Rectangle & DrawRounded(float roundness, int segments, ::Color color)
Definition: Rectangle.hpp:76
+
void set(::Rectangle rect)
Definition: Rectangle.hpp:99
+
Rectangle & DrawGradientH(::Color color1, ::Color color2)
Definition: Rectangle.hpp:57
+
Rectangle & Draw(::Vector2 origin, float rotation, ::Color color)
Definition: Rectangle.hpp:47
+
Rectangle & DrawLinesEx(int lineThick, ::Color color)
Definition: Rectangle.hpp:71
+
Rectangle & DrawGradientV(::Color color1, ::Color color2)
Definition: Rectangle.hpp:52
+
Rectangle & DrawLines(::Color color)
Definition: Rectangle.hpp:67
+
bool CheckCollision(::Vector2 point) const
Definition: Rectangle.hpp:94
Definition: Rectangle.hpp:16
Definition: Vector2.hpp:22
Rectangle(float X=0, float Y=0, float Width=0, float Height=0)
Definition: Rectangle.hpp:21
Rectangle(::Rectangle vec)
Definition: Rectangle.hpp:18
Definition: Color.hpp:18
-
Rectangle & DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4)
Definition: Rectangle.hpp:69
-
Rectangle & Draw(::Color color)
Definition: Rectangle.hpp:50
-
Rectangle GetCollision(::Rectangle rec2)
Definition: Rectangle.hpp:97
-
Rectangle & DrawRoundedLines(float roundness, int segments, int lineThick, ::Color color)
Definition: Rectangle.hpp:88
-
Rectangle & operator=(const Rectangle &rect)
Definition: Rectangle.hpp:45
+
Rectangle GetCollision(::Rectangle rec2) const
Definition: Rectangle.hpp:90
+
Rectangle & DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4)
Definition: Rectangle.hpp:62
+
bool CheckCollision(::Rectangle rec2) const
Definition: Rectangle.hpp:86
+
Rectangle & Draw(::Color color)
Definition: Rectangle.hpp:43
+
Rectangle & DrawRoundedLines(float roundness, int segments, int lineThick, ::Color color)
Definition: Rectangle.hpp:81
+
Rectangle & operator=(const Rectangle &rect)
Definition: Rectangle.hpp:38
diff --git a/docs/_render_texture_8hpp_source.html b/docs/_render_texture_8hpp_source.html new file mode 100644 index 0000000..93e7807 --- /dev/null +++ b/docs/_render_texture_8hpp_source.html @@ -0,0 +1,164 @@ + + + + + + + +raylib-cpp: RenderTexture.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
RenderTexture.hpp
+
+
+
1 #ifndef RAYLIB_CPP_RenderTexture_HPP_
+
2 #define RAYLIB_CPP_RenderTexture_HPP_
+
3 
+
4 #ifdef __cplusplus
+
5 extern "C"{
+
6 #endif
+
7 #include "raylib.h"
+
8 #ifdef __cplusplus
+
9 }
+
10 #endif
+
11 
+
12 #include "./raylib-cpp-utils.hpp"
+
13 
+
14 namespace raylib {
+
15  class RenderTexture : public ::RenderTexture {
+
16  public:
+
17  RenderTexture(::RenderTexture renderTexture) {
+
18  set(renderTexture);
+
19  };
+
20  RenderTexture(unsigned int Id) {
+
21  id = Id;
+
22  };
+
23  RenderTexture(int width, int height) {
+
24  set(LoadRenderTexture(width, height));
+
25  }
+
26 
+
27  GETTERSETTER(unsigned int,Id,id)
+
28  GETTERSETTER(Texture2D,Texture,texture)
+
29  GETTERSETTER(Texture2D,Depth,depth)
+
30 
+
31  RenderTexture& operator=(const ::RenderTexture& texture) {
+
32  set(texture);
+
33  return *this;
+
34  }
+
35 
+ +
37  set(texture);
+
38  return *this;
+
39  }
+
40 
+ +
42  Unload();
+
43  };
+
44 
+
45  inline void Unload() {
+
46  UnloadRenderTexture(*this);
+
47  }
+
48 
+ +
50  ::BeginTextureMode(*this);
+
51  return *this;
+
52  }
+
53 
+ + +
56  return *this;
+
57  }
+
58 
+
59  protected:
+
60  inline void set(::RenderTexture renderTexture) {
+
61  id = renderTexture.id;
+
62  texture = renderTexture.texture;
+
63  depth = renderTexture.depth;
+
64  }
+
65  };
+ +
67 }
+
68 
+
69 #endif
+
+
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
+
~RenderTexture()
+
RenderTexture(int width, int height)
+
void set(::RenderTexture renderTexture)
+
RenderTexture & operator=(const RenderTexture &texture)
+
RenderTexture(::RenderTexture renderTexture)
+
RenderTexture & BeginTextureMode()
+
RenderTexture(unsigned int Id)
+
void Unload()
+
RenderTexture RenderTexture2D
+
+
Definition: Texture.hpp:19
+
RenderTexture & EndTextureMode()
+ + + + diff --git a/docs/_shader_8hpp_source.html b/docs/_shader_8hpp_source.html index 6b60d91..cb4792c 100644 --- a/docs/_shader_8hpp_source.html +++ b/docs/_shader_8hpp_source.html @@ -83,93 +83,146 @@ $(function() {
10 #endif
11 
12 #include "./raylib-cpp-utils.hpp"
-
13 
-
14 namespace raylib {
-
15  class Shader : public ::Shader {
-
16  public:
-
17  Shader(::Shader shader) {
-
18  set(shader);
-
19  };
-
20 
-
21  Shader(unsigned int Id, int* Locs) {
-
22  id = Id;
-
23  locs = Locs;
-
24  };
-
25 
-
26  Shader() {
-
27  set(GetShaderDefault());
-
28  }
-
29 
-
30  inline void set(::Shader shader) {
-
31  id = shader.id;
-
32  locs = shader.locs;
-
33  }
-
34 
-
35  GETTERSETTER(unsigned int,Id,id)
-
36  GETTERSETTER(int*,Locs,locs)
-
37 
-
38  Shader& operator=(const ::Shader& shader) {
-
39  set(shader);
-
40  return *this;
-
41  }
-
42 
-
43  Shader& operator=(const Shader& shader) {
-
44  set(shader);
-
45  return *this;
+
13 #include "Texture.hpp"
+
14 
+
15 namespace raylib {
+
16  class Shader : public ::Shader {
+
17  public:
+
18  Shader(::Shader shader) {
+
19  set(shader);
+
20  };
+
21 
+
22  Shader(unsigned int Id, int* Locs) {
+
23  id = Id;
+
24  locs = Locs;
+
25  };
+
26 
+
27  Shader() {
+
28  set(GetShaderDefault());
+
29  }
+
30 
+
31  GETTERSETTER(unsigned int,Id,id)
+
32  GETTERSETTER(int*,Locs,locs)
+
33 
+
34  Shader& operator=(const ::Shader& shader) {
+
35  set(shader);
+
36  return *this;
+
37  }
+
38 
+
39  Shader& operator=(const Shader& shader) {
+
40  set(shader);
+
41  return *this;
+
42  }
+
43 
+
44  ~Shader() {
+
45  Unload();
46  }
47 
-
48  ~Shader() {
-
49  Unload();
+
48  void Unload() {
+
49  ::UnloadShader(*this);
50  }
51 
-
52  void Unload() {
-
53  ::UnloadShader(*this);
+
52  static Shader Load(const std::string& vsFileName, const std::string& fsFileName) {
+
53  return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
54  }
-
55 
-
56  static Shader Load(const std::string& vsFileName, const std::string& fsFileName) {
-
57  return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
-
58  }
-
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);
-
63  }
-
64 
-
65  inline Shader& BeginShaderMode() {
-
66  ::BeginShaderMode(*this);
-
67  return *this;
-
68  }
-
69 
-
70  inline Shader& EndShaderMode() {
-
71  ::EndShaderMode();
-
72  return *this;
+
55  static Shader LoadCode(const std::string& vsCode, const std::string& fsCode) {
+
56  char* param1 = (char*)vsCode.c_str();
+
57  char* param2 = (char*)fsCode.c_str();
+
58  return ::LoadShaderCode(param1, param2);
+
59  }
+
60 
+
61  inline Shader& BeginShaderMode() {
+
62  ::BeginShaderMode(*this);
+
63  return *this;
+
64  }
+
65 
+
66  inline Shader& EndShaderMode() {
+
67  ::EndShaderMode();
+
68  return *this;
+
69  }
+
70 
+
71  inline int GetLocation(const std::string& uniformName) const {
+
72  return ::GetShaderLocation(*this, uniformName.c_str());
73  }
74 
-
75  inline int GetLocation(const std::string& uniformName) {
-
76  return ::GetShaderLocation(*this, uniformName.c_str());
+
75  inline int GetLocationAttrib(const std::string& attribName) const {
+
76  return ::GetShaderLocationAttrib(*this, attribName.c_str());
77  }
-
78  };
-
79 }
-
80 
-
81 #endif
+
78 
+
79  inline Shader& SetValue(int uniformLoc, const std::string& value, int uniformType) {
+
80  ::SetShaderValue(*this, uniformLoc, value.c_str(), uniformType);
+
81  return *this;
+
82  }
+
83 
+
87  inline Shader& SetValue(int uniformLoc, const std::string& value, int uniformType, int count) {
+
88  ::SetShaderValueV(*this, uniformLoc, value.c_str(), uniformType, count);
+
89  return *this;
+
90  }
+
91 
+
95  inline Shader& SetValue(int uniformLoc, Matrix mat) {
+
96  ::SetShaderValueMatrix(*this, uniformLoc, mat);
+
97  return *this;
+
98  }
+
99 
+
103  inline Shader& SetValue(int uniformLoc, Texture2D texture) {
+
104  ::SetShaderValueTexture(*this, uniformLoc, texture);
+
105  return *this;
+
106  }
+
107 
+
108  ::TextureCubemap GenTextureCubemap(Texture2D panorama, int size, int format) {
+
109  return ::GenTextureCubemap(*this, panorama, size, format);
+
110  }
+
111 
+
112  ::TextureCubemap GenTextureIrradiance(Texture2D panorama, int size) {
+
113  return ::GenTextureIrradiance(*this, panorama, size);
+
114  }
+
115 
+
116  ::TextureCubemap GenTexturePrefilter(Texture2D panorama, int size) {
+
117  return ::GenTexturePrefilter(*this, panorama, size);
+
118  }
+
119 
+
120  ::Texture2D GenTextureBRDF(int size) {
+
121  return ::GenTextureBRDF(*this, size);
+
122  }
+
123 
+
124  protected:
+
125  inline void set(::Shader shader) {
+
126  id = shader.id;
+
127  locs = shader.locs;
+
128  }
+
129  };
+
130 }
+
131 
+
132 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
static Shader LoadCode(const std::string &vsCode, const std::string &fsCode)
Definition: Shader.hpp:59
-
Shader & BeginShaderMode()
Definition: Shader.hpp:65
-
~Shader()
Definition: Shader.hpp:48
-
Shader & EndShaderMode()
Definition: Shader.hpp:70
-
Shader(::Shader shader)
Definition: Shader.hpp:17
-
static Shader Load(const std::string &vsFileName, const std::string &fsFileName)
Definition: Shader.hpp:56
-
Shader()
Definition: Shader.hpp:26
-
Shader & operator=(const Shader &shader)
Definition: Shader.hpp:43
-
Definition: Shader.hpp:15
-
Shader(unsigned int Id, int *Locs)
Definition: Shader.hpp:21
-
void Unload()
Definition: Shader.hpp:52
-
int GetLocation(const std::string &uniformName)
Definition: Shader.hpp:75
-
void set(::Shader shader)
Definition: Shader.hpp:30
+
Shader & SetValue(int uniformLoc, const std::string &value, int uniformType)
Definition: Shader.hpp:79
+
Definition: Matrix.hpp:21
+
static Shader LoadCode(const std::string &vsCode, const std::string &fsCode)
Definition: Shader.hpp:55
+
Shader & BeginShaderMode()
Definition: Shader.hpp:61
+
::Texture2D GenTextureBRDF(int size)
Definition: Shader.hpp:120
+
~Shader()
Definition: Shader.hpp:44
+
Shader & EndShaderMode()
Definition: Shader.hpp:66
+
Shader & SetValue(int uniformLoc, Texture2D texture)
Definition: Shader.hpp:103
+
::TextureCubemap GenTextureCubemap(Texture2D panorama, int size, int format)
Definition: Shader.hpp:108
+
Shader(::Shader shader)
Definition: Shader.hpp:18
+
int GetLocation(const std::string &uniformName) const
Definition: Shader.hpp:71
+
static Shader Load(const std::string &vsFileName, const std::string &fsFileName)
Definition: Shader.hpp:52
+
Shader()
Definition: Shader.hpp:27
+
Shader & operator=(const Shader &shader)
Definition: Shader.hpp:39
+
Shader & SetValue(int uniformLoc, const std::string &value, int uniformType, int count)
Definition: Shader.hpp:87
+
Definition: Shader.hpp:16
+
Shader(unsigned int Id, int *Locs)
Definition: Shader.hpp:22
+
void Unload()
Definition: Shader.hpp:48
+
int GetLocationAttrib(const std::string &attribName) const
Definition: Shader.hpp:75
+
Definition: Texture.hpp:19
+
::TextureCubemap GenTextureIrradiance(Texture2D panorama, int size)
Definition: Shader.hpp:112
+
::TextureCubemap GenTexturePrefilter(Texture2D panorama, int size)
Definition: Shader.hpp:116
+
Shader & SetValue(int uniformLoc, Matrix mat)
Definition: Shader.hpp:95
+
void set(::Shader shader)
Definition: Shader.hpp:125
diff --git a/docs/_sound_8hpp_source.html b/docs/_sound_8hpp_source.html index 12a901a..329da2c 100644 --- a/docs/_sound_8hpp_source.html +++ b/docs/_sound_8hpp_source.html @@ -105,102 +105,102 @@ $(function() {
32  Unload();
33  }
34 
-
35  inline void set(::Sound sound) {
-
36  sampleCount = sound.sampleCount;
-
37  stream = sound.stream;
-
38  }
-
39 
-
40  GETTERSETTER(unsigned int,SampleCount,sampleCount)
-
41  GETTERSETTER(::AudioStream,Stream,stream)
+
35  GETTERSETTER(unsigned int,SampleCount,sampleCount)
+
36  GETTERSETTER(::AudioStream,Stream,stream)
+
37 
+
38  Sound& operator=(const ::Sound& sound) {
+
39  set(sound);
+
40  return *this;
+
41  }
42 
-
43  Sound& operator=(const ::Sound& sound) {
+
43  Sound& operator=(const Sound& sound) {
44  set(sound);
45  return *this;
46  }
47 
-
48  Sound& operator=(const Sound& sound) {
-
49  set(sound);
+
48  inline Sound& Update(const void *data, int sampleCount) {
+
49  ::UpdateSound(*this, data, sampleCount);
50  return *this;
51  }
52 
-
53  inline Sound& Update(const void *data, int sampleCount) {
-
54  ::UpdateSound(*this, data, sampleCount);
-
55  return *this;
-
56  }
-
57 
-
58  inline void Unload() {
-
59  ::UnloadSound(*this);
+
53  inline void Unload() {
+
54  ::UnloadSound(*this);
+
55  }
+
56 
+
57  inline Sound& Play() {
+
58  ::PlaySound(*this);
+
59  return *this;
60  }
61 
-
62  inline Sound& Play() {
-
63  ::PlaySound(*this);
+
62  inline Sound& Stop() {
+
63  ::StopSound(*this);
64  return *this;
65  }
-
66 
-
67  inline Sound& Stop() {
-
68  ::StopSound(*this);
-
69  return *this;
-
70  }
-
71  inline Sound& Pause() {
-
72  ::PauseSound(*this);
-
73  return *this;
-
74  }
-
75  inline Sound& Resume() {
-
76  ::ResumeSound(*this);
+
66  inline Sound& Pause() {
+
67  ::PauseSound(*this);
+
68  return *this;
+
69  }
+
70  inline Sound& Resume() {
+
71  ::ResumeSound(*this);
+
72  return *this;
+
73  }
+
74 
+
75  inline Sound& PlayMulti() {
+
76  ::PlaySoundMulti(*this);
77  return *this;
78  }
79 
-
80  inline Sound& PlayMulti() {
-
81  ::PlaySoundMulti(*this);
+
80  inline Sound& StopMulti() {
+
81  ::StopSoundMulti();
82  return *this;
83  }
84 
-
85  inline Sound& StopMulti() {
-
86  ::StopSoundMulti();
-
87  return *this;
-
88  }
-
89 
-
90  inline bool IsPlaying() {
-
91  return ::IsSoundPlaying(*this);
-
92  }
-
93  inline Sound& SetVolume(float volume) {
-
94  ::SetSoundVolume(*this, volume);
-
95  return *this;
-
96  }
-
97  inline Sound& SetPitch(float pitch) {
-
98  ::SetSoundPitch(*this, pitch);
-
99  return *this;
-
100  }
-
101 
+
85  inline bool IsPlaying() const {
+
86  return ::IsSoundPlaying(*this);
+
87  }
+
88  inline Sound& SetVolume(float volume) {
+
89  ::SetSoundVolume(*this, volume);
+
90  return *this;
+
91  }
+
92  inline Sound& SetPitch(float pitch) {
+
93  ::SetSoundPitch(*this, pitch);
+
94  return *this;
+
95  }
+
96 
+
97  protected:
+
98  inline void set(::Sound sound) {
+
99  sampleCount = sound.sampleCount;
+
100  stream = sound.stream;
+
101  }
102  };
103 }
104 
105 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
bool IsPlaying()
Definition: Sound.hpp:90
Definition: Wave.hpp:15
~Sound()
Definition: Sound.hpp:31
-
Sound & Update(const void *data, int sampleCount)
Definition: Sound.hpp:53
+
Sound & Update(const void *data, int sampleCount)
Definition: Sound.hpp:48
Sound(::Sound vec)
Definition: Sound.hpp:19
-
Sound & StopMulti()
Definition: Sound.hpp:85
-
Sound & SetVolume(float volume)
Definition: Sound.hpp:93
+
Sound & StopMulti()
Definition: Sound.hpp:80
+
Sound & SetVolume(float volume)
Definition: Sound.hpp:88
Definition: Sound.hpp:17
-
Sound & Pause()
Definition: Sound.hpp:71
+
Sound & Pause()
Definition: Sound.hpp:66
Sound(::Wave wave)
Definition: Sound.hpp:27
-
Sound & operator=(const Sound &sound)
Definition: Sound.hpp:48
-
void set(::Sound sound)
Definition: Sound.hpp:35
-
Sound & Resume()
Definition: Sound.hpp:75
-
Sound & Stop()
Definition: Sound.hpp:67
-
void Unload()
Definition: Sound.hpp:58
+
Sound & operator=(const Sound &sound)
Definition: Sound.hpp:43
+
void set(::Sound sound)
Definition: Sound.hpp:98
+
Sound & Resume()
Definition: Sound.hpp:70
+
Sound & Stop()
Definition: Sound.hpp:62
+
bool IsPlaying() const
Definition: Sound.hpp:85
+
void Unload()
Definition: Sound.hpp:53
AudioStream management functions.
Definition: AudioStream.hpp:18
-
Sound & SetPitch(float pitch)
Definition: Sound.hpp:97
-
Sound & Play()
Definition: Sound.hpp:62
-
Sound & PlayMulti()
Definition: Sound.hpp:80
+
Sound & SetPitch(float pitch)
Definition: Sound.hpp:92
+
Sound & Play()
Definition: Sound.hpp:57
+
Sound & PlayMulti()
Definition: Sound.hpp:75
Sound(const std::string &fileName)
Definition: Sound.hpp:23
diff --git a/docs/_texture_8hpp_source.html b/docs/_texture_8hpp_source.html new file mode 100644 index 0000000..e56ac38 --- /dev/null +++ b/docs/_texture_8hpp_source.html @@ -0,0 +1,285 @@ + + + + + + + +raylib-cpp: Texture.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Texture.hpp
+
+
+
1 #ifndef RAYLIB_CPP_Texture_HPP_
+
2 #define RAYLIB_CPP_Texture_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #ifdef __cplusplus
+
7 extern "C"{
+
8 #endif
+
9 #include "raylib.h"
+
10 #ifdef __cplusplus
+
11 }
+
12 #endif
+
13 
+
14 #include "./raylib-cpp-utils.hpp"
+
15 #include "./Vector2.hpp"
+
16 #include "./Material.hpp"
+
17 
+
18 namespace raylib {
+
19  class Texture : public ::Texture {
+
20  public:
+
21  Texture() {
+
22  set(::GetTextureDefault());
+
23  };
+
24 
+
25  Texture(::Image& image) {
+
26  LoadFromImage(image);
+
27  }
+
28 
+
29  Texture(const std::string& fileName) {
+
30  Load(fileName);
+
31  }
+
32 
+ +
34  Unload();
+
35  };
+
36 
+
37  GETTERSETTER(unsigned int,Id,id)
+
38  GETTERSETTER(int,Width,width)
+
39  GETTERSETTER(int,Height,height)
+
40  GETTERSETTER(int,Mipmaps,mipmaps)
+
41  GETTERSETTER(int,Format,format)
+
42 
+
43  Texture& operator=(const ::Texture& texture) {
+
44  set(texture);
+
45  return *this;
+
46  }
+
47 
+
48  Texture& operator=(const Texture& texture) {
+
49  set(texture);
+
50  return *this;
+
51  }
+
52 
+
53  void LoadFromImage(::Image& image) {
+
54  set(::LoadTextureFromImage(image));
+
55  }
+
56 
+
57  void LoadTextureCubemap(::Image& image, int layoutType) {
+
58  set(::LoadTextureCubemap(image, layoutType));
+
59  }
+
60 
+
61  void Load(const std::string& fileName) {
+
62  set(::LoadTexture(fileName.c_str()));
+
63  }
+
64 
+
65  inline void Unload() {
+
66  ::UnloadTexture(*this);
+
67  }
+
68 
+
69  inline Texture& Update(const void *pixels) {
+
70  ::UpdateTexture(*this, pixels);
+
71  return *this;
+
72  }
+
73 
+
74  inline Texture& UpdateRec(Rectangle rec, const void *pixels) {
+
75  UpdateTextureRec(*this, rec, pixels);
+
76  return *this;
+
77  }
+
78 
+
79  inline Image GetTextureData() const {
+
80  return ::GetTextureData(*this);
+
81  }
+
82  inline operator raylib::Image() {
+
83  return GetTextureData();
+
84  }
+
85 
+
86  inline Texture& GenMipmaps() {
+
87  ::GenTextureMipmaps(this);
+
88  return *this;
+
89  }
+
90 
+
91  inline Texture& SetFilter(int filterMode) {
+
92  ::SetTextureFilter(*this, filterMode);
+
93  return *this;
+
94  }
+
95 
+
96  inline Texture& SetWrap(int wrapMode) {
+
97  ::SetTextureWrap(*this, wrapMode);
+
98  return *this;
+
99  }
+
100 
+
101  inline Texture& Draw(int posX, int posY, ::Color tint = WHITE) {
+
102  ::DrawTexture(*this, posX, posY, tint);
+
103  return *this;
+
104  }
+
105 
+
106  inline Texture& Draw(::Vector2 position, ::Color tint = WHITE) {
+
107  ::DrawTextureV(*this, position, tint);
+
108  return *this;
+
109  }
+
110  inline Texture& Draw(::Vector2 position, float rotation, float scale = 1.0f, ::Color tint = WHITE) {
+
111  ::DrawTextureEx(*this, position, rotation, scale, tint);
+
112  return *this;
+
113  }
+
114 
+
115  inline Texture& Draw(::Rectangle sourceRec, ::Vector2 position, ::Color tint = WHITE) {
+
116  ::DrawTextureRec(*this, sourceRec, position, tint);
+
117  return *this;
+
118  }
+
119  inline Texture& Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint = WHITE) {
+
120  ::DrawTextureQuad(*this, tiling, offset, quad, tint);
+
121  return *this;
+
122  }
+
123  inline Texture& Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation = 0, ::Color tint = WHITE) {
+
124  ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
+
125  return *this;
+
126  }
+
127  inline Texture& Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation = 0, ::Color tint = WHITE) {
+
128  ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
+
129  return *this;
+
130  }
+
131 
+
132  inline Texture& Draw(::Vector3 position, float width, float height, float length, ::Color color = WHITE) {
+
133  ::DrawCubeTexture(*this, position, width, height, length, color);
+
134  return *this;
+
135  }
+
136 
+
137  inline Texture& DrawTiled(Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint = WHITE) {
+
138  ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint);
+
139  return *this;
+
140  }
+
141 
+
142  inline Texture& SetMaterialTexture(Material *material, int mapType) {
+
143  ::SetMaterialTexture(material, mapType, *this);
+
144  return *this;
+
145  }
+
146 
+
147  static int GetPixelDataSize(int width, int height, int format) {
+
148  return ::GetPixelDataSize(width, height, format);
+
149  }
+
150 
+
151  protected:
+
152  inline void set(::Texture texture) {
+
153  id = texture.id;
+
154  width = texture.width;
+
155  height = texture.height;
+
156  mipmaps = texture.mipmaps;
+
157  format = texture.format;
+
158  }
+
159  };
+
160 
+
161  // Create the Texture aliases.
+ + +
164 }
+
165 
+
166 #endif
+
+
static int GetPixelDataSize(int width, int height, int format)
Definition: Texture.hpp:147
+
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
+
Texture & SetWrap(int wrapMode)
Definition: Texture.hpp:96
+
Texture & operator=(const Texture &texture)
Definition: Texture.hpp:48
+
void LoadTextureCubemap(::Image &image, int layoutType)
Definition: Texture.hpp:57
+
Texture & Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE)
Definition: Texture.hpp:119
+
Texture & Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
Definition: Texture.hpp:127
+
Texture & UpdateRec(Rectangle rec, const void *pixels)
Definition: Texture.hpp:74
+
void set(::Texture texture)
Definition: Texture.hpp:152
+
Texture & DrawTiled(Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE)
Definition: Texture.hpp:137
+
Definition: Image.hpp:16
+
Definition: Vector3.hpp:21
+
Texture & SetMaterialTexture(Material *material, int mapType)
Definition: Texture.hpp:142
+
Texture & Draw(::Vector3 position, float width, float height, float length, ::Color color=WHITE)
Definition: Texture.hpp:132
+
void Load(const std::string &fileName)
Definition: Texture.hpp:61
+
Definition: Rectangle.hpp:16
+
Definition: Vector2.hpp:22
+
Texture(const std::string &fileName)
Definition: Texture.hpp:29
+
Texture & SetFilter(int filterMode)
Definition: Texture.hpp:91
+
Definition: Color.hpp:18
+
~Texture()
Definition: Texture.hpp:33
+
Texture & Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
Definition: Texture.hpp:123
+
Texture & Draw(::Vector2 position, ::Color tint=WHITE)
Definition: Texture.hpp:106
+
Texture Texture2D
Definition: Texture.hpp:162
+
Texture(::Image &image)
Definition: Texture.hpp:25
+
void LoadFromImage(::Image &image)
Definition: Texture.hpp:53
+
Definition: Texture.hpp:19
+
Texture & Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE)
Definition: Texture.hpp:110
+
void Unload()
Definition: Texture.hpp:65
+
Texture TextureCubemap
Definition: Texture.hpp:163
+
Texture & GenMipmaps()
Definition: Texture.hpp:86
+
Definition: Material.hpp:15
+
Texture()
Definition: Texture.hpp:21
+
Texture & Update(const void *pixels)
Definition: Texture.hpp:69
+
Texture & Draw(::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE)
Definition: Texture.hpp:115
+
Image GetTextureData() const
Definition: Texture.hpp:79
+
Texture & Draw(int posX, int posY, ::Color tint=WHITE)
Definition: Texture.hpp:101
+ + + + diff --git a/docs/_vector2_8hpp_source.html b/docs/_vector2_8hpp_source.html index 8dacd0b..8c1a2b2 100644 --- a/docs/_vector2_8hpp_source.html +++ b/docs/_vector2_8hpp_source.html @@ -101,152 +101,152 @@ $(function() {
28  x = X;
29  y = Y;
30  };
-
31  inline void set(::Vector2 vec) {
-
32  x = vec.x;
-
33  y = vec.y;
-
34  }
-
35 
-
36  GETTERSETTER(float,X,x)
-
37  GETTERSETTER(float,Y,y)
-
38 
-
39  Vector2& operator=(const ::Vector2& vector2) {
-
40  set(vector2);
-
41  return *this;
-
42  }
-
43 
-
44  Vector2& operator=(const Vector2& vector2) {
-
45  set(vector2);
-
46  return *this;
-
47  }
-
48 
-
49  bool operator==(const Vector2& other) {
-
50  return x == other.x
-
51  && y == other.y;
-
52  }
-
53 
-
54 #ifndef RAYLIB_CPP_NO_MATH
-
55  Vector2 Add(const Vector2& vector2) {
+
31 
+
32  GETTERSETTER(float,X,x)
+
33  GETTERSETTER(float,Y,y)
+
34 
+
35  Vector2& operator=(const ::Vector2& vector2) {
+
36  set(vector2);
+
37  return *this;
+
38  }
+
39 
+
40  Vector2& operator=(const Vector2& vector2) {
+
41  set(vector2);
+
42  return *this;
+
43  }
+
44 
+
45  bool operator==(const Vector2& other) {
+
46  return x == other.x
+
47  && y == other.y;
+
48  }
+
49 
+
50 #ifndef RAYLIB_CPP_NO_MATH
+
51  Vector2 Add(const Vector2& vector2) {
+
52  return Vector2Add(*this, vector2);
+
53  }
+
54 
+
55  Vector2 operator+(const Vector2& vector2) {
56  return Vector2Add(*this, vector2);
57  }
58 
-
59  Vector2 operator+(const Vector2& vector2) {
-
60  return Vector2Add(*this, vector2);
+
59  Vector2 Subtract(const Vector2& vector2) {
+
60  return Vector2Subtract(*this, vector2);
61  }
62 
-
63  Vector2 Subtract(const Vector2& vector2) {
+
63  Vector2 operator-(const Vector2& vector2) {
64  return Vector2Subtract(*this, vector2);
65  }
66 
-
67  Vector2 operator-(const Vector2& vector2) {
-
68  return Vector2Subtract(*this, vector2);
+
67  Vector2 Negate() {
+
68  return Vector2Negate(*this);
69  }
70 
-
71  Vector2 Negate() {
+
71  Vector2 operator-() {
72  return Vector2Negate(*this);
73  }
74 
-
75  Vector2 operator-() {
-
76  return Vector2Negate(*this);
+
75  Vector2 Multiply(const Vector2& vector2) {
+
76  return Vector2Multiply(*this, vector2);
77  }
78 
-
79  Vector2 Multiply(const Vector2& vector2) {
+
79  Vector2 operator*(const Vector2& vector2) {
80  return Vector2Multiply(*this, vector2);
81  }
82 
-
83  Vector2 operator*(const Vector2& vector2) {
-
84  return Vector2Multiply(*this, vector2);
+
83  Vector2 Scale(const float scale) {
+
84  return Vector2Scale(*this, scale);
85  }
86 
-
87  Vector2 Scale(const float scale) {
+
87  Vector2 operator*(const float scale) {
88  return Vector2Scale(*this, scale);
89  }
90 
-
91  Vector2 operator*(const float scale) {
-
92  return Vector2Scale(*this, scale);
+
91  Vector2 Divide(const Vector2& vector2) {
+
92  return Vector2Divide(*this, vector2);
93  }
94 
-
95  Vector2 Divide(const Vector2& vector2) {
+
95  Vector2 operator/(const Vector2& vector2) {
96  return Vector2Divide(*this, vector2);
97  }
98 
-
99  Vector2 operator/(const Vector2& vector2) {
-
100  return Vector2Divide(*this, vector2);
-
101  }
+
99  Vector2& Divide(const float div) {
+
100  x /= div;
+
101  y /= div;
102 
-
103  Vector2& Divide(const float div) {
-
104  x /= div;
-
105  y /= div;
-
106 
-
107  return *this;
-
108  }
+
103  return *this;
+
104  }
+
105 
+
106  Vector2& operator/(const float div) {
+
107  x /= div;
+
108  y /= div;
109 
-
110  Vector2& operator/(const float div) {
-
111  x /= div;
-
112  y /= div;
-
113 
-
114  return *this;
-
115  }
-
116 
-
117  Vector2& operator+=(const Vector2& vector2) {
-
118  set(Vector2Add(*this, vector2));
-
119 
-
120  return *this;
-
121  }
-
122 
-
123  Vector2& operator-=(const Vector2& vector2) {
-
124  set(Vector2Subtract(*this, vector2));
+
110  return *this;
+
111  }
+
112 
+
113  Vector2& operator+=(const Vector2& vector2) {
+
114  set(Vector2Add(*this, vector2));
+
115 
+
116  return *this;
+
117  }
+
118 
+
119  Vector2& operator-=(const Vector2& vector2) {
+
120  set(Vector2Subtract(*this, vector2));
+
121 
+
122  return *this;
+
123  }
+
124 
125 
-
126  return *this;
-
127  }
+
126  Vector2& operator*=(const Vector2& vector2) {
+
127  set(Vector2Multiply(*this, vector2));
128 
-
129 
-
130  Vector2& operator*=(const Vector2& vector2) {
-
131  set(Vector2Multiply(*this, vector2));
-
132 
-
133  return *this;
-
134  }
-
135 
-
136  Vector2& operator*=(const float scale) {
-
137  set(Vector2Scale(*this, scale));
-
138 
-
139  return *this;
-
140  }
-
141 
-
142  Vector2& operator/=(const Vector2& vector2) {
-
143  set(Vector2Divide(*this, vector2));
-
144 
-
145  return *this;
-
146  }
+
129  return *this;
+
130  }
+
131 
+
132  Vector2& operator*=(const float scale) {
+
133  set(Vector2Scale(*this, scale));
+
134 
+
135  return *this;
+
136  }
+
137 
+
138  Vector2& operator/=(const Vector2& vector2) {
+
139  set(Vector2Divide(*this, vector2));
+
140 
+
141  return *this;
+
142  }
+
143 
+
144  Vector2& operator/=(const float div) {
+
145  this->x /= div;
+
146  this->y /= div;
147 
-
148  Vector2& operator/=(const float div) {
-
149  this->x /= div;
-
150  this->y /= div;
-
151 
-
152  return *this;
+
148  return *this;
+
149  }
+
150 
+
151  float Length() const {
+
152  return Vector2Length(*this);
153  }
154 
-
155  float Length() {
-
156  return Vector2Length(*this);
+
155  Vector2 Normalize() {
+
156  return Vector2Normalize(*this);
157  }
158 
-
159  Vector2 Normalize() {
-
160  return Vector2Normalize(*this);
+
159  float DotProduct(const Vector2& vector2) {
+
160  return Vector2DotProduct(*this, vector2);
161  }
162 
-
163  float DotProduct(const Vector2& vector2) {
-
164  return Vector2DotProduct(*this, vector2);
+
163  float Angle(const Vector2& vector2) {
+
164  return Vector2Angle(*this, vector2);
165  }
166 
-
167  float Angle(const Vector2& vector2) {
-
168  return Vector2Angle(*this, vector2);
+
167  float Distance(const Vector2& vector2) {
+
168  return Vector2Distance(*this, vector2);
169  }
170 
-
171  float Distance(const Vector2& vector2) {
-
172  return Vector2Distance(*this, vector2);
+
171  Vector2 Lerp(const Vector2& vector2, const float amount) {
+
172  return Vector2Lerp(*this, vector2, amount);
173  }
174 
-
175  Vector2 Lerp(const Vector2& vector2, const float amount) {
-
176  return Vector2Lerp(*this, vector2, amount);
+
175  Vector2 Reflect(const Vector2& normal) {
+
176  return Vector2Reflect(*this, normal);
177  }
178 
179  Vector2 Rotate(float degrees) {
@@ -296,58 +296,65 @@ $(function() {
223  ::DrawPoly(*this, sides, radius, rotation, color);
224  return *this;
225  }
-
226  };
-
227 }
-
228 
-
229 #endif
+
226 
+
227  protected:
+
228  inline void set(::Vector2 vec) {
+
229  x = vec.x;
+
230  y = vec.y;
+
231  }
+
232  };
+
233 }
+
234 
+
235 #endif
-
Vector2 Normalize()
Definition: Vector2.hpp:159
-
Vector2 operator-(const Vector2 &vector2)
Definition: Vector2.hpp:67
-
Vector2 & operator*=(const Vector2 &vector2)
Definition: Vector2.hpp:130
+
Vector2 Normalize()
Definition: Vector2.hpp:155
+
Vector2 operator-(const Vector2 &vector2)
Definition: Vector2.hpp:63
+
Vector2 & operator*=(const Vector2 &vector2)
Definition: Vector2.hpp:126
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
float Angle(const Vector2 &vector2)
Definition: Vector2.hpp:167
-
Vector2 Subtract(const Vector2 &vector2)
Definition: Vector2.hpp:63
-
Vector2 & operator+=(const Vector2 &vector2)
Definition: Vector2.hpp:117
-
Vector2 Scale(const float scale)
Definition: Vector2.hpp:87
+
float Angle(const Vector2 &vector2)
Definition: Vector2.hpp:163
+
float Length() const
Definition: Vector2.hpp:151
+
Vector2 Subtract(const Vector2 &vector2)
Definition: Vector2.hpp:59
+
Vector2 & operator+=(const Vector2 &vector2)
Definition: Vector2.hpp:113
+
Vector2 Scale(const float scale)
Definition: Vector2.hpp:83
Vector2 Rotate(float degrees)
Definition: Vector2.hpp:179
-
Vector2 operator+(const Vector2 &vector2)
Definition: Vector2.hpp:59
+
Vector2 operator+(const Vector2 &vector2)
Definition: Vector2.hpp:55
Vector2 & DrawPixel(::Color color)
Definition: Vector2.hpp:192
-
Vector2 & operator=(const Vector2 &vector2)
Definition: Vector2.hpp:44
-
Vector2 & operator/=(const float div)
Definition: Vector2.hpp:148
+
Vector2 & operator=(const Vector2 &vector2)
Definition: Vector2.hpp:40
+
Vector2 & operator/=(const float div)
Definition: Vector2.hpp:144
Vector2 & DrawLine(::Vector2 endPos, ::Color color)
Definition: Vector2.hpp:197
-
Vector2 operator/(const Vector2 &vector2)
Definition: Vector2.hpp:99
+
Vector2 operator/(const Vector2 &vector2)
Definition: Vector2.hpp:95
static Vector2 Zero()
Definition: Vector2.hpp:183
-
float Distance(const Vector2 &vector2)
Definition: Vector2.hpp:171
-
float DotProduct(const Vector2 &vector2)
Definition: Vector2.hpp:163
-
Vector2 & Divide(const float div)
Definition: Vector2.hpp:103
-
Vector2 operator*(const float scale)
Definition: Vector2.hpp:91
+
float Distance(const Vector2 &vector2)
Definition: Vector2.hpp:167
+
float DotProduct(const Vector2 &vector2)
Definition: Vector2.hpp:159
+
Vector2 Reflect(const Vector2 &normal)
Definition: Vector2.hpp:175
+
Vector2 & Divide(const float div)
Definition: Vector2.hpp:99
+
Vector2 operator*(const float scale)
Definition: Vector2.hpp:87
Vector2 & DrawPoly(int sides, float radius, float rotation, ::Color color)
Definition: Vector2.hpp:222
Vector2(::Vector2 vec)
Definition: Vector2.hpp:24
-
Vector2 & operator-=(const Vector2 &vector2)
Definition: Vector2.hpp:123
-
Vector2 operator-()
Definition: Vector2.hpp:75
-
void set(::Vector2 vec)
Definition: Vector2.hpp:31
+
Vector2 & operator-=(const Vector2 &vector2)
Definition: Vector2.hpp:119
+
Vector2 operator-()
Definition: Vector2.hpp:71
+
void set(::Vector2 vec)
Definition: Vector2.hpp:228
static Vector2 One()
Definition: Vector2.hpp:187
-
float Length()
Definition: Vector2.hpp:155
Definition: Vector2.hpp:22
-
Vector2 operator*(const Vector2 &vector2)
Definition: Vector2.hpp:83
+
Vector2 operator*(const Vector2 &vector2)
Definition: Vector2.hpp:79
Vector2(float X=0, float Y=0)
Definition: Vector2.hpp:27
-
Vector2 Negate()
Definition: Vector2.hpp:71
+
Vector2 Negate()
Definition: Vector2.hpp:67
Definition: Color.hpp:18
-
Vector2 Add(const Vector2 &vector2)
Definition: Vector2.hpp:55
+
Vector2 Add(const Vector2 &vector2)
Definition: Vector2.hpp:51
Vector2 & DrawRectangle(::Vector2 size, ::Color color)
Definition: Vector2.hpp:217
-
Vector2 & operator/=(const Vector2 &vector2)
Definition: Vector2.hpp:142
+
Vector2 & operator/=(const Vector2 &vector2)
Definition: Vector2.hpp:138
Vector2 & DrawLineBezier(::Vector2 endPos, float thick, ::Color color)
Definition: Vector2.hpp:207
-
Vector2 & operator*=(const float scale)
Definition: Vector2.hpp:136
-
Vector2 & operator/(const float div)
Definition: Vector2.hpp:110
+
Vector2 & operator*=(const float scale)
Definition: Vector2.hpp:132
+
Vector2 & operator/(const float div)
Definition: Vector2.hpp:106
Vector2 & DrawLine(::Vector2 endPos, float thick, ::Color color)
Definition: Vector2.hpp:202
-
bool operator==(const Vector2 &other)
Definition: Vector2.hpp:49
+
bool operator==(const Vector2 &other)
Definition: Vector2.hpp:45
Vector2 & DrawCircle(float radius, ::Color color)
Definition: Vector2.hpp:212
-
Vector2 Lerp(const Vector2 &vector2, const float amount)
Definition: Vector2.hpp:175
-
Vector2 Divide(const Vector2 &vector2)
Definition: Vector2.hpp:95
-
Vector2 Multiply(const Vector2 &vector2)
Definition: Vector2.hpp:79
+
Vector2 Lerp(const Vector2 &vector2, const float amount)
Definition: Vector2.hpp:171
+
Vector2 Divide(const Vector2 &vector2)
Definition: Vector2.hpp:91
+
Vector2 Multiply(const Vector2 &vector2)
Definition: Vector2.hpp:75
diff --git a/docs/_vector3_8hpp_source.html b/docs/_vector3_8hpp_source.html index ae8a027..40809ad 100644 --- a/docs/_vector3_8hpp_source.html +++ b/docs/_vector3_8hpp_source.html @@ -105,345 +105,347 @@ $(function() {
32  Vector3(::Color color) {
33  set(ColorToHSV(color));
34  }
-
35  inline void set(::Vector3 vec) {
-
36  x = vec.x;
-
37  y = vec.y;
-
38  z = vec.z;
-
39  }
-
40 
-
41  GETTERSETTER(float,X,x)
-
42  GETTERSETTER(float,Y,y)
-
43  GETTERSETTER(float,Z,z)
+
35 
+
36  GETTERSETTER(float,X,x)
+
37  GETTERSETTER(float,Y,y)
+
38  GETTERSETTER(float,Z,z)
+
39 
+
40  Vector3& operator=(const ::Vector3& vector3) {
+
41  set(vector3);
+
42  return *this;
+
43  }
44 
-
45  Vector3& operator=(const ::Vector3& vector3) {
+
45  Vector3& operator=(const Vector3& vector3) {
46  set(vector3);
47  return *this;
48  }
49 
-
50  Vector3& operator=(const Vector3& vector3) {
-
51  set(vector3);
-
52  return *this;
-
53  }
-
54 
-
55  bool operator==(const Vector3& other) {
-
56  return x == other.x
-
57  && y == other.y
-
58  && z == other.z;
+
50  bool operator==(const Vector3& other) {
+
51  return x == other.x
+
52  && y == other.y
+
53  && z == other.z;
+
54  }
+
55 
+
56 #ifndef RAYLIB_CPP_NO_MATH
+
57  Vector3 Add(const Vector3& vector3) {
+
58  return Vector3Add(*this, vector3);
59  }
60 
-
61 #ifndef RAYLIB_CPP_NO_MATH
-
62  Vector3 Add(const Vector3& vector3) {
-
63  return Vector3Add(*this, vector3);
-
64  }
-
65 
-
66  Vector3 operator+(const Vector3& vector3) {
-
67  return Vector3Add(*this, vector3);
-
68  }
-
69 
-
70  Vector3 Subtract(const Vector3& vector3) {
-
71  return Vector3Subtract(*this, vector3);
-
72  }
-
73 
-
74  Vector3 operator-(const Vector3& vector3) {
-
75  return Vector3Subtract(*this, vector3);
-
76  }
-
77 
-
78  Vector3 Negate() {
-
79  return Vector3Negate(*this);
-
80  }
-
81 
-
82  Vector3 operator-() {
-
83  return Vector3Negate(*this);
-
84  }
-
85 
-
86  Vector3 Multiply(const Vector3& vector3) {
-
87  return Vector3Multiply(*this, vector3);
-
88  }
-
89 
-
90  Vector3 operator*(const Vector3& vector3) {
-
91  return Vector3Multiply(*this, vector3);
-
92  }
-
93 
-
94  Vector3 Scale(const float scale) {
-
95  return Vector3Scale(*this, scale);
-
96  }
-
97 
-
98  Vector3 operator*(const float scale) {
-
99  return Vector3Scale(*this, scale);
-
100  }
-
101 
-
102  Vector3 Divide(const Vector3& vector3) {
-
103  return Vector3Divide(*this, vector3);
-
104  }
-
105 
-
106  Vector3 operator/(const Vector3& vector3) {
-
107  return Vector3Divide(*this, vector3);
-
108  }
+
61  Vector3 operator+(const Vector3& vector3) {
+
62  return Vector3Add(*this, vector3);
+
63  }
+
64 
+
65  Vector3 Subtract(const Vector3& vector3) {
+
66  return Vector3Subtract(*this, vector3);
+
67  }
+
68 
+
69  Vector3 operator-(const Vector3& vector3) {
+
70  return Vector3Subtract(*this, vector3);
+
71  }
+
72 
+
73  Vector3 Negate() {
+
74  return Vector3Negate(*this);
+
75  }
+
76 
+
77  Vector3 operator-() {
+
78  return Vector3Negate(*this);
+
79  }
+
80 
+
81  Vector3 Multiply(const Vector3& vector3) {
+
82  return Vector3Multiply(*this, vector3);
+
83  }
+
84 
+
85  Vector3 operator*(const Vector3& vector3) {
+
86  return Vector3Multiply(*this, vector3);
+
87  }
+
88 
+
89  Vector3 Scale(const float scale) {
+
90  return Vector3Scale(*this, scale);
+
91  }
+
92 
+
93  Vector3 operator*(const float scale) {
+
94  return Vector3Scale(*this, scale);
+
95  }
+
96 
+
97  Vector3 Divide(const Vector3& vector3) {
+
98  return Vector3Divide(*this, vector3);
+
99  }
+
100 
+
101  Vector3 operator/(const Vector3& vector3) {
+
102  return Vector3Divide(*this, vector3);
+
103  }
+
104 
+
105  Vector3& Divide(const float div) {
+
106  x /= div;
+
107  y /= div;
+
108  z /= div;
109 
-
110  Vector3& Divide(const float div) {
-
111  x /= div;
-
112  y /= div;
-
113  z /= div;
-
114 
-
115  return *this;
-
116  }
-
117 
-
118  Vector3 operator/(const float div) {
-
119  return Divide(div);
-
120  }
-
121 
-
122  Vector3& operator+=(const Vector3& vector3) {
-
123  set(Vector3Add(*this, vector3));
-
124 
-
125  return *this;
-
126  }
-
127 
-
128  Vector3& operator-=(const Vector3& vector3) {
-
129  set(Vector3Subtract(*this, vector3));
-
130 
-
131  return *this;
-
132  }
-
133 
-
134 
-
135  Vector3& operator*=(const Vector3& vector3) {
-
136  set(Vector3Multiply(*this, vector3));
-
137 
-
138  return *this;
-
139  }
-
140 
-
141  Vector3& operator*=(const float scale) {
-
142  set(Vector3Scale(*this, scale));
-
143 
-
144  return *this;
-
145  }
+
110  return *this;
+
111  }
+
112 
+
113  Vector3 operator/(const float div) {
+
114  return Divide(div);
+
115  }
+
116 
+
117  Vector3& operator+=(const Vector3& vector3) {
+
118  set(Vector3Add(*this, vector3));
+
119 
+
120  return *this;
+
121  }
+
122 
+
123  Vector3& operator-=(const Vector3& vector3) {
+
124  set(Vector3Subtract(*this, vector3));
+
125 
+
126  return *this;
+
127  }
+
128 
+
129 
+
130  Vector3& operator*=(const Vector3& vector3) {
+
131  set(Vector3Multiply(*this, vector3));
+
132 
+
133  return *this;
+
134  }
+
135 
+
136  Vector3& operator*=(const float scale) {
+
137  set(Vector3Scale(*this, scale));
+
138 
+
139  return *this;
+
140  }
+
141 
+
142  Vector3& operator/=(const Vector3& vector3) {
+
143  x /= vector3.x;
+
144  y /= vector3.y;
+
145  z /= vector3.z;
146 
-
147  Vector3& operator/=(const Vector3& vector3) {
-
148  x /= vector3.x;
-
149  y /= vector3.y;
-
150  z /= vector3.z;
-
151 
-
152  return *this;
-
153  }
+
147  return *this;
+
148  }
+
149 
+
150  Vector3& operator/=(const float div) {
+
151  x /= div;
+
152  y /= div;
+
153  z /= div;
154 
-
155  Vector3& operator/=(const float div) {
-
156  x /= div;
-
157  y /= div;
-
158  z /= div;
-
159 
-
160  return *this;
-
161  }
-
162 
-
163  float Length() {
-
164  return Vector3Length(*this);
-
165  }
-
166 
-
167  Vector3 Normalize() {
-
168  return Vector3Normalize(*this);
-
169  }
-
170 
-
171  float DotProduct(const Vector3& vector3) {
-
172  return Vector3DotProduct(*this, vector3);
-
173  }
-
174 
-
175  float Distance(const Vector3& vector3) {
-
176  return Vector3Distance(*this, vector3);
-
177  }
-
178 
-
179  Vector3 Lerp(const Vector3& vector3, const float amount) {
-
180  return Vector3Lerp(*this, vector3, amount);
-
181  }
-
182 
-
183  Vector3 CrossProduct(const Vector3& vector3) {
-
184  return Vector3CrossProduct(*this, vector3);
-
185  }
-
186 
-
187  Vector3 Perpendicular() {
-
188  return Vector3Perpendicular(*this);
-
189  }
-
190 
-
191  void OrthoNormalize(Vector3* vector3) {
-
192  return Vector3OrthoNormalize(this, vector3);
-
193  }
-
194 
-
195  Vector3 Transform(const ::Matrix& matrix) {
-
196  return Vector3Transform(*this, matrix);
-
197  }
-
198 
-
199  Vector3 RotateByQuaternion(Quaternion quaternion) {
-
200  return Vector3RotateByQuaternion(*this, quaternion);
-
201  }
-
202 
-
203  Vector3 Reflect(const Vector3& normal) {
-
204  return Vector3Reflect(*this, normal);
-
205  }
-
206 
-
207  Vector3 Min(const Vector3& vector3) {
-
208  return Vector3Min(*this, vector3);
-
209  }
-
210 
-
211  Vector3 Max(const Vector3& vector3) {
-
212  return Vector3Max(*this, vector3);
-
213  }
-
214 
-
215  Vector3 Barycenter(const Vector3& a, const Vector3& b, const Vector3& c) {
-
216  return Vector3Barycenter(*this, a, b, c);
-
217  }
-
218 
-
219  static Vector3 Zero() {
-
220  return Vector3Zero();
-
221  }
+
155  return *this;
+
156  }
+
157 
+
158  float Length() const {
+
159  return Vector3Length(*this);
+
160  }
+
161 
+
162  Vector3 Normalize() {
+
163  return Vector3Normalize(*this);
+
164  }
+
165 
+
166  float DotProduct(const Vector3& vector3) {
+
167  return Vector3DotProduct(*this, vector3);
+
168  }
+
169 
+
170  float Distance(const Vector3& vector3) {
+
171  return Vector3Distance(*this, vector3);
+
172  }
+
173 
+
174  Vector3 Lerp(const Vector3& vector3, const float amount) {
+
175  return Vector3Lerp(*this, vector3, amount);
+
176  }
+
177 
+
178  Vector3 CrossProduct(const Vector3& vector3) {
+
179  return Vector3CrossProduct(*this, vector3);
+
180  }
+
181 
+
182  Vector3 Perpendicular() {
+
183  return Vector3Perpendicular(*this);
+
184  }
+
185 
+
186  void OrthoNormalize(Vector3* vector3) {
+
187  return Vector3OrthoNormalize(this, vector3);
+
188  }
+
189 
+
190  Vector3 Transform(const ::Matrix& matrix) {
+
191  return Vector3Transform(*this, matrix);
+
192  }
+
193 
+
194  Vector3 RotateByQuaternion(Quaternion quaternion) {
+
195  return Vector3RotateByQuaternion(*this, quaternion);
+
196  }
+
197 
+
198  Vector3 Reflect(const Vector3& normal) {
+
199  return Vector3Reflect(*this, normal);
+
200  }
+
201 
+
202  Vector3 Min(const Vector3& vector3) {
+
203  return Vector3Min(*this, vector3);
+
204  }
+
205 
+
206  Vector3 Max(const Vector3& vector3) {
+
207  return Vector3Max(*this, vector3);
+
208  }
+
209 
+
210  Vector3 Barycenter(const Vector3& a, const Vector3& b, const Vector3& c) {
+
211  return Vector3Barycenter(*this, a, b, c);
+
212  }
+
213 
+
214  static Vector3 Zero() {
+
215  return Vector3Zero();
+
216  }
+
217 
+
218  static Vector3 One() {
+
219  return Vector3One();
+
220  }
+
221 #endif
222 
-
223  static Vector3 One() {
-
224  return Vector3One();
-
225  }
-
226 #endif
-
227 
-
228  inline Vector3& DrawLine3D(::Vector3 endPos, ::Color color) {
-
229  ::DrawLine3D(*this, endPos, color);
-
230  return *this;
-
231  }
-
232  inline Vector3& DrawPoint3D(::Color color) {
-
233  ::DrawPoint3D(*this, color);
-
234  return *this;
-
235  }
-
236  inline Vector3& DrawCircle3D(float radius, Vector3 rotationAxis, float rotationAngle, Color color) {
-
237  ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
+
223  inline Vector3& DrawLine3D(::Vector3 endPos, ::Color color) {
+
224  ::DrawLine3D(*this, endPos, color);
+
225  return *this;
+
226  }
+
227  inline Vector3& DrawPoint3D(::Color color) {
+
228  ::DrawPoint3D(*this, color);
+
229  return *this;
+
230  }
+
231  inline Vector3& DrawCircle3D(float radius, Vector3 rotationAxis, float rotationAngle, Color color) {
+
232  ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
+
233  return *this;
+
234  }
+
235 
+
236  inline Vector3& DrawCube(float width, float height, float length, ::Color color) {
+
237  ::DrawCube(*this, width, height, length, color);
238  return *this;
239  }
-
240 
-
241  inline Vector3& DrawCube(float width, float height, float length, ::Color color) {
-
242  ::DrawCube(*this, width, height, length, color);
-
243  return *this;
-
244  }
-
245  inline Vector3& DrawCube(::Vector3 size, ::Color color) {
-
246  ::DrawCubeV(*this, size, color);
+
240  inline Vector3& DrawCube(::Vector3 size, ::Color color) {
+
241  ::DrawCubeV(*this, size, color);
+
242  return *this;
+
243  }
+
244 
+
245  inline Vector3& DrawCubeWires(float width, float height, float length, ::Color color) {
+
246  ::DrawCubeWires(*this, width, height, length, color);
247  return *this;
248  }
-
249 
-
250  inline Vector3& DrawCubeWires(float width, float height, float length, ::Color color) {
-
251  ::DrawCubeWires(*this, width, height, length, color);
-
252  return *this;
-
253  }
-
254  inline Vector3& DrawCubeWires(::Vector3 size, ::Color color) {
-
255  ::DrawCubeWiresV(*this, size, color);
+
249  inline Vector3& DrawCubeWires(::Vector3 size, ::Color color) {
+
250  ::DrawCubeWiresV(*this, size, color);
+
251  return *this;
+
252  }
+
253 
+
254  inline Vector3& DrawCubeTexture(::Texture2D texture, float width, float height, float length, ::Color color) {
+
255  ::DrawCubeTexture(texture, *this, width, height, length, color);
256  return *this;
257  }
258 
-
259  inline Vector3& DrawCubeTexture(::Texture2D texture, float width, float height, float length, ::Color color) {
-
260  ::DrawCubeTexture(texture, *this, width, height, length, color);
+
259  inline Vector3& DrawSphere(float radius, Color color) {
+
260  ::DrawSphere(*this, radius, color);
261  return *this;
262  }
263 
-
264  inline Vector3& DrawSphere(float radius, Color color) {
-
265  ::DrawSphere(*this, radius, color);
+
264  inline Vector3& DrawSphere(float radius, int rings, int slices, Color color) {
+
265  ::DrawSphereEx(*this, radius, rings, slices, color);
266  return *this;
267  }
268 
-
269  inline Vector3& DrawSphere(float radius, int rings, int slices, Color color) {
-
270  ::DrawSphereEx(*this, radius, rings, slices, color);
+
269  inline Vector3& DrawSphereWires(float radius, int rings, int slices, Color color) {
+
270  ::DrawSphereWires(*this, radius, rings, slices, color);
271  return *this;
272  }
273 
-
274  inline Vector3& DrawSphereWires(float radius, int rings, int slices, Color color) {
-
275  ::DrawSphereWires(*this, radius, rings, slices, color);
+
274  inline Vector3& DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color) {
+
275  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
276  return *this;
277  }
278 
-
279  inline Vector3& DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color) {
-
280  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
+
279  inline Vector3& DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color) {
+
280  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
281  return *this;
282  }
283 
-
284  inline Vector3& DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color) {
-
285  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
+
284  inline Vector3& DrawPlane(::Vector2 size, ::Color color) {
+
285  ::DrawPlane(*this, size, color);
286  return *this;
287  }
288 
-
289  inline Vector3& DrawPlane(::Vector2 size, ::Color color) {
-
290  ::DrawPlane(*this, size, color);
+
289  inline Vector3& DrawGizmo() {
+
290  ::DrawGizmo(*this);
291  return *this;
292  }
293 
-
294  inline Vector3& DrawGizmo() {
-
295  ::DrawGizmo(*this);
-
296  return *this;
-
297  }
-
298 
-
299  inline bool CheckCollision(float radiusA, Vector3 centerB, float radiusB) {
-
300  return CheckCollisionSpheres(*this, radiusA, centerB, radiusB);
-
301  }
-
302  };
-
303 }
-
304 
-
305 #endif
+
294  inline bool CheckCollision(float radiusA, Vector3 centerB, float radiusB) {
+
295  return CheckCollisionSpheres(*this, radiusA, centerB, radiusB);
+
296  }
+
297 
+
298  protected:
+
299  inline void set(::Vector3 vec) {
+
300  x = vec.x;
+
301  y = vec.y;
+
302  z = vec.z;
+
303  }
+
304  };
+
305 }
+
306 
+
307 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
-
Vector3 CrossProduct(const Vector3 &vector3)
Definition: Vector3.hpp:183
-
Vector3 Perpendicular()
Definition: Vector3.hpp:187
-
Vector3 & operator-=(const Vector3 &vector3)
Definition: Vector3.hpp:128
-
float Distance(const Vector3 &vector3)
Definition: Vector3.hpp:175
-
Vector3 operator+(const Vector3 &vector3)
Definition: Vector3.hpp:66
-
Vector3 Barycenter(const Vector3 &a, const Vector3 &b, const Vector3 &c)
Definition: Vector3.hpp:215
-
Vector3 operator*(const float scale)
Definition: Vector3.hpp:98
+
Vector3 CrossProduct(const Vector3 &vector3)
Definition: Vector3.hpp:178
+
Vector3 Perpendicular()
Definition: Vector3.hpp:182
+
Vector3 & operator-=(const Vector3 &vector3)
Definition: Vector3.hpp:123
+
float Distance(const Vector3 &vector3)
Definition: Vector3.hpp:170
+
Vector3 operator+(const Vector3 &vector3)
Definition: Vector3.hpp:61
+
Vector3 Barycenter(const Vector3 &a, const Vector3 &b, const Vector3 &c)
Definition: Vector3.hpp:210
+
Vector3 operator*(const float scale)
Definition: Vector3.hpp:93
Vector3(::Vector3 vec)
Definition: Vector3.hpp:23
-
bool CheckCollision(float radiusA, Vector3 centerB, float radiusB)
Definition: Vector3.hpp:299
-
Vector3 & DrawCubeWires(::Vector3 size, ::Color color)
Definition: Vector3.hpp:254
+
bool CheckCollision(float radiusA, Vector3 centerB, float radiusB)
Definition: Vector3.hpp:294
+
Vector3 & DrawCubeWires(::Vector3 size, ::Color color)
Definition: Vector3.hpp:249
Definition: Vector4.hpp:21
-
Vector3 & DrawSphereWires(float radius, int rings, int slices, Color color)
Definition: Vector3.hpp:274
-
Vector3 operator*(const Vector3 &vector3)
Definition: Vector3.hpp:90
-
Vector3 operator-(const Vector3 &vector3)
Definition: Vector3.hpp:74
-
Vector3 Add(const Vector3 &vector3)
Definition: Vector3.hpp:62
-
Vector3 & operator=(const Vector3 &vector3)
Definition: Vector3.hpp:50
-
Vector3 & DrawSphere(float radius, int rings, int slices, Color color)
Definition: Vector3.hpp:269
+
Vector3 & DrawSphereWires(float radius, int rings, int slices, Color color)
Definition: Vector3.hpp:269
+
Vector3 operator*(const Vector3 &vector3)
Definition: Vector3.hpp:85
+
Vector3 operator-(const Vector3 &vector3)
Definition: Vector3.hpp:69
+
Vector3 Add(const Vector3 &vector3)
Definition: Vector3.hpp:57
+
Vector3 & operator=(const Vector3 &vector3)
Definition: Vector3.hpp:45
+
Vector3 & DrawSphere(float radius, int rings, int slices, Color color)
Definition: Vector3.hpp:264
Vector3(::Color color)
Definition: Vector3.hpp:32
-
Vector3 Normalize()
Definition: Vector3.hpp:167
-
void set(::Vector3 vec)
Definition: Vector3.hpp:35
-
float Length()
Definition: Vector3.hpp:163
-
Vector3 Max(const Vector3 &vector3)
Definition: Vector3.hpp:211
-
Vector3 & Divide(const float div)
Definition: Vector3.hpp:110
+
Vector3 Normalize()
Definition: Vector3.hpp:162
+
void set(::Vector3 vec)
Definition: Vector3.hpp:299
+
Vector3 Max(const Vector3 &vector3)
Definition: Vector3.hpp:206
+
Vector3 & Divide(const float div)
Definition: Vector3.hpp:105
Definition: Vector3.hpp:21
-
Vector3 Min(const Vector3 &vector3)
Definition: Vector3.hpp:207
-
Vector3 & DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)
Definition: Vector3.hpp:284
-
bool operator==(const Vector3 &other)
Definition: Vector3.hpp:55
-
Vector3 & DrawCircle3D(float radius, Vector3 rotationAxis, float rotationAngle, Color color)
Definition: Vector3.hpp:236
-
Vector3 & DrawCubeTexture(::Texture2D texture, float width, float height, float length, ::Color color)
Definition: Vector3.hpp:259
-
Vector3 operator/(const Vector3 &vector3)
Definition: Vector3.hpp:106
-
Vector3 Scale(const float scale)
Definition: Vector3.hpp:94
-
Vector3 & DrawCube(::Vector3 size, ::Color color)
Definition: Vector3.hpp:245
-
Vector3 & DrawGizmo()
Definition: Vector3.hpp:294
+
Vector3 Min(const Vector3 &vector3)
Definition: Vector3.hpp:202
+
Vector3 & DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)
Definition: Vector3.hpp:279
+
bool operator==(const Vector3 &other)
Definition: Vector3.hpp:50
+
Vector3 & DrawCircle3D(float radius, Vector3 rotationAxis, float rotationAngle, Color color)
Definition: Vector3.hpp:231
+
Vector3 & DrawCubeTexture(::Texture2D texture, float width, float height, float length, ::Color color)
Definition: Vector3.hpp:254
+
Vector3 operator/(const Vector3 &vector3)
Definition: Vector3.hpp:101
+
Vector3 Scale(const float scale)
Definition: Vector3.hpp:89
+
float Length() const
Definition: Vector3.hpp:158
+
Vector3 & DrawCube(::Vector3 size, ::Color color)
Definition: Vector3.hpp:240
+
Vector3 & DrawGizmo()
Definition: Vector3.hpp:289
Definition: Vector2.hpp:22
-
Vector3 & DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)
Definition: Vector3.hpp:279
-
Vector3 & operator*=(const float scale)
Definition: Vector3.hpp:141
+
Vector3 & DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)
Definition: Vector3.hpp:274
+
Vector3 & operator*=(const float scale)
Definition: Vector3.hpp:136
Vector3(float X=0, float Y=0, float Z=0)
Definition: Vector3.hpp:26
-
Vector3 & DrawLine3D(::Vector3 endPos, ::Color color)
Definition: Vector3.hpp:228
-
Vector3 & operator/=(const Vector3 &vector3)
Definition: Vector3.hpp:147
-
Vector3 & operator+=(const Vector3 &vector3)
Definition: Vector3.hpp:122
+
Vector3 & DrawLine3D(::Vector3 endPos, ::Color color)
Definition: Vector3.hpp:223
+
Vector3 & operator/=(const Vector3 &vector3)
Definition: Vector3.hpp:142
+
Vector3 & operator+=(const Vector3 &vector3)
Definition: Vector3.hpp:117
Definition: Color.hpp:18
-
Vector3 Lerp(const Vector3 &vector3, const float amount)
Definition: Vector3.hpp:179
-
Vector3 & DrawCubeWires(float width, float height, float length, ::Color color)
Definition: Vector3.hpp:250
-
Vector3 Transform(const ::Matrix &matrix)
Definition: Vector3.hpp:195
-
Vector3 Negate()
Definition: Vector3.hpp:78
-
Vector3 operator/(const float div)
Definition: Vector3.hpp:118
-
Vector3 & operator*=(const Vector3 &vector3)
Definition: Vector3.hpp:135
-
static Vector3 Zero()
Definition: Vector3.hpp:219
-
Vector3 & DrawPlane(::Vector2 size, ::Color color)
Definition: Vector3.hpp:289
-
Vector3 Multiply(const Vector3 &vector3)
Definition: Vector3.hpp:86
-
Vector3 Divide(const Vector3 &vector3)
Definition: Vector3.hpp:102
-
Vector3 & operator/=(const float div)
Definition: Vector3.hpp:155
-
Vector3 Subtract(const Vector3 &vector3)
Definition: Vector3.hpp:70
-
Vector3 Reflect(const Vector3 &normal)
Definition: Vector3.hpp:203
-
float DotProduct(const Vector3 &vector3)
Definition: Vector3.hpp:171
-
Vector3 & DrawSphere(float radius, Color color)
Definition: Vector3.hpp:264
-
void OrthoNormalize(Vector3 *vector3)
Definition: Vector3.hpp:191
-
Vector3 RotateByQuaternion(Quaternion quaternion)
Definition: Vector3.hpp:199
-
static Vector3 One()
Definition: Vector3.hpp:223
-
Vector3 operator-()
Definition: Vector3.hpp:82
-
Vector3 & DrawPoint3D(::Color color)
Definition: Vector3.hpp:232
-
Definition: Texture2D.hpp:19
-
Vector3 & DrawCube(float width, float height, float length, ::Color color)
Definition: Vector3.hpp:241
+
Vector3 Lerp(const Vector3 &vector3, const float amount)
Definition: Vector3.hpp:174
+
Vector3 & DrawCubeWires(float width, float height, float length, ::Color color)
Definition: Vector3.hpp:245
+
Vector3 Transform(const ::Matrix &matrix)
Definition: Vector3.hpp:190
+
Vector3 Negate()
Definition: Vector3.hpp:73
+
Vector3 operator/(const float div)
Definition: Vector3.hpp:113
+
Vector3 & operator*=(const Vector3 &vector3)
Definition: Vector3.hpp:130
+
static Vector3 Zero()
Definition: Vector3.hpp:214
+
Vector3 & DrawPlane(::Vector2 size, ::Color color)
Definition: Vector3.hpp:284
+
Definition: Texture.hpp:19
+
Vector3 Multiply(const Vector3 &vector3)
Definition: Vector3.hpp:81
+
Vector3 Divide(const Vector3 &vector3)
Definition: Vector3.hpp:97
+
Vector3 & operator/=(const float div)
Definition: Vector3.hpp:150
+
Vector3 Subtract(const Vector3 &vector3)
Definition: Vector3.hpp:65
+
Vector3 Reflect(const Vector3 &normal)
Definition: Vector3.hpp:198
+
float DotProduct(const Vector3 &vector3)
Definition: Vector3.hpp:166
+
Vector3 & DrawSphere(float radius, Color color)
Definition: Vector3.hpp:259
+
void OrthoNormalize(Vector3 *vector3)
Definition: Vector3.hpp:186
+
Vector3 RotateByQuaternion(Quaternion quaternion)
Definition: Vector3.hpp:194
+
static Vector3 One()
Definition: Vector3.hpp:218
+
Vector3 operator-()
Definition: Vector3.hpp:77
+
Vector3 & DrawPoint3D(::Color color)
Definition: Vector3.hpp:227
+
Vector3 & DrawCube(float width, float height, float length, ::Color color)
Definition: Vector3.hpp:236
diff --git a/docs/_vector4_8hpp_source.html b/docs/_vector4_8hpp_source.html index c7f2610..8eea3fb 100644 --- a/docs/_vector4_8hpp_source.html +++ b/docs/_vector4_8hpp_source.html @@ -108,166 +108,167 @@ $(function() {
35  set(ColorNormalize(color));
36  }
37 
-
38  inline void set(::Vector4 vec4) {
-
39  x = vec4.x;
-
40  y = vec4.y;
-
41  z = vec4.z;
-
42  w = vec4.w;
-
43  }
-
44 
-
45  GETTERSETTER(float,X,x)
-
46  GETTERSETTER(float,Y,y)
-
47  GETTERSETTER(float,Z,z)
-
48  GETTERSETTER(float,W,w)
-
49 
-
50  Vector4& operator=(const ::Vector4& vector4) {
-
51  set(vector4);
-
52  return *this;
-
53  }
-
54 
-
55  Vector4& operator=(const Vector4& vector4) {
-
56  set(vector4);
-
57  return *this;
+
38  GETTERSETTER(float,X,x)
+
39  GETTERSETTER(float,Y,y)
+
40  GETTERSETTER(float,Z,z)
+
41  GETTERSETTER(float,W,w)
+
42 
+
43  Vector4& operator=(const ::Vector4& vector4) {
+
44  set(vector4);
+
45  return *this;
+
46  }
+
47 
+
48  Vector4& operator=(const Vector4& vector4) {
+
49  set(vector4);
+
50  return *this;
+
51  }
+
52 
+
53  bool operator==(const Vector4& other) {
+
54  return x == other.x
+
55  && y == other.y
+
56  && z == other.z
+
57  && w == other.w;
58  }
59 
-
60  bool operator==(const Vector4& other) {
-
61  return x == other.x
-
62  && y == other.y
-
63  && z == other.z
-
64  && w == other.w;
-
65  }
-
66 
-
67 #ifndef RAYLIB_CPP_NO_MATH
-
68  Vector4 Multiply(const Vector4& vector4) {
-
69  return QuaternionMultiply(*this, vector4);
-
70  }
-
71 
-
72  Vector4 operator*(const Vector4& vector4) {
-
73  return QuaternionMultiply(*this, vector4);
-
74  }
-
75 
-
76  Vector4 Lerp(const Vector4& vector4, float amount) {
-
77  return QuaternionLerp(*this, vector4, amount);
-
78  }
-
79 
-
80  Vector4 Nlerp(const Vector4& vector4, float amount) {
-
81  return QuaternionNlerp(*this, vector4, amount);
-
82  }
-
83 
-
84  Vector4 Slerp(const Vector4& vector4, float amount) {
-
85  return QuaternionSlerp(*this, vector4, amount);
-
86  }
-
87 
-
88  Matrix ToMatrix() {
-
89  return QuaternionToMatrix(*this);
-
90  }
-
91 
-
92  float Length() {
-
93  return QuaternionLength(*this);
-
94  }
-
95 
-
96  Vector4 Normalize() {
-
97  return QuaternionNormalize(*this);
-
98  }
-
99 
-
100  Vector4 Invert() {
-
101  return QuaternionInvert(*this);
-
102  }
-
103 
-
104  void ToAxisAngle(Vector3 *outAxis, float *outAngle) {
-
105  return QuaternionToAxisAngle(*this, outAxis, outAngle);
-
106  }
-
107 
-
108  std::pair<Vector3, float> ToAxisAngle() {
-
109  Vector3 outAxis;
-
110  float outAngle;
+
60 #ifndef RAYLIB_CPP_NO_MATH
+
61  Vector4 Multiply(const Vector4& vector4) {
+
62  return QuaternionMultiply(*this, vector4);
+
63  }
+
64 
+
65  Vector4 operator*(const Vector4& vector4) {
+
66  return QuaternionMultiply(*this, vector4);
+
67  }
+
68 
+
69  Vector4 Lerp(const Vector4& vector4, float amount) {
+
70  return QuaternionLerp(*this, vector4, amount);
+
71  }
+
72 
+
73  Vector4 Nlerp(const Vector4& vector4, float amount) {
+
74  return QuaternionNlerp(*this, vector4, amount);
+
75  }
+
76 
+
77  Vector4 Slerp(const Vector4& vector4, float amount) {
+
78  return QuaternionSlerp(*this, vector4, amount);
+
79  }
+
80 
+
81  Matrix ToMatrix() {
+
82  return QuaternionToMatrix(*this);
+
83  }
+
84 
+
85  float Length() const {
+
86  return QuaternionLength(*this);
+
87  }
+
88 
+
89  Vector4 Normalize() {
+
90  return QuaternionNormalize(*this);
+
91  }
+
92 
+
93  Vector4 Invert() {
+
94  return QuaternionInvert(*this);
+
95  }
+
96 
+
97  void ToAxisAngle(Vector3 *outAxis, float *outAngle) {
+
98  return QuaternionToAxisAngle(*this, outAxis, outAngle);
+
99  }
+
100 
+
101  std::pair<Vector3, float> ToAxisAngle() {
+
102  Vector3 outAxis;
+
103  float outAngle;
+
104 
+
105  QuaternionToAxisAngle(*this, &outAxis, &outAngle);
+
106 
+
107  std::pair<Vector3, float> out(outAxis, outAngle);
+
108 
+
109  return out;
+
110  }
111 
-
112  QuaternionToAxisAngle(*this, &outAxis, &outAngle);
-
113 
-
114  std::pair<Vector3, float> out(outAxis, outAngle);
+
112  Vector4 Transform(const ::Matrix& matrix) {
+
113  return ::QuaternionTransform(*this, matrix);
+
114  }
115 
-
116  return out;
-
117  }
-
118 
-
119  Vector4 Transform(const ::Matrix& matrix) {
-
120  return ::QuaternionTransform(*this, matrix);
-
121  }
-
122 
-
123  static Vector4 Identity() {
-
124  return ::QuaternionIdentity();
-
125  }
-
126 
-
127  static Vector4 FromVector3ToVector3(const Vector3& from , const Vector3& to) {
-
128  return ::QuaternionFromVector3ToVector3(from , to);
-
129  }
-
130 
-
131  static Vector4 FromMatrix(const ::Matrix& matrix) {
-
132  return ::QuaternionFromMatrix(matrix);
-
133  }
-
134 
-
135  static Vector4 FromAxisAngle(const Vector3& axis, const float angle) {
-
136  return ::QuaternionFromAxisAngle(axis, angle);
-
137  }
-
138 
-
139  static Vector4 FromEuler(const float roll, const float pitch, const float yaw) {
-
140  return ::QuaternionFromEuler(roll, pitch, yaw);
-
141  }
-
142 
-
143  static Vector4 FromEuler(const Vector3& vector3) {
-
144  return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
-
145  }
-
146 
-
147  Vector3 ToEuler() {
-
148  return ::QuaternionToEuler(*this);
-
149  }
-
150 #endif
-
151 
-
152  inline Color ColorFromNormalized() {
-
153  return ::ColorFromNormalized(*this);
-
154  }
-
155  };
-
156 
-
157  // Alias the Vector4 as Quaternion.
-
158  typedef Vector4 Quaternion;
-
159 }
-
160 
-
161 #endif
+
116  static Vector4 Identity() {
+
117  return ::QuaternionIdentity();
+
118  }
+
119 
+
120  static Vector4 FromVector3ToVector3(const Vector3& from , const Vector3& to) {
+
121  return ::QuaternionFromVector3ToVector3(from , to);
+
122  }
+
123 
+
124  static Vector4 FromMatrix(const ::Matrix& matrix) {
+
125  return ::QuaternionFromMatrix(matrix);
+
126  }
+
127 
+
128  static Vector4 FromAxisAngle(const Vector3& axis, const float angle) {
+
129  return ::QuaternionFromAxisAngle(axis, angle);
+
130  }
+
131 
+
132  static Vector4 FromEuler(const float roll, const float pitch, const float yaw) {
+
133  return ::QuaternionFromEuler(roll, pitch, yaw);
+
134  }
+
135 
+
136  static Vector4 FromEuler(const Vector3& vector3) {
+
137  return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
+
138  }
+
139 
+
140  Vector3 ToEuler() {
+
141  return ::QuaternionToEuler(*this);
+
142  }
+
143 #endif
+
144 
+
145  inline Color ColorFromNormalized() {
+
146  return ::ColorFromNormalized(*this);
+
147  }
+
148 
+
149  protected:
+
150  inline void set(::Vector4 vec4) {
+
151  x = vec4.x;
+
152  y = vec4.y;
+
153  z = vec4.z;
+
154  w = vec4.w;
+
155  }
+
156  };
+
157 
+
158  // Alias the Vector4 as Quaternion.
+
159  typedef Vector4 Quaternion;
+
160 }
+
161 
+
162 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
Definition: Matrix.hpp:21
-
void ToAxisAngle(Vector3 *outAxis, float *outAngle)
Definition: Vector4.hpp:104
-
Vector4 Slerp(const Vector4 &vector4, float amount)
Definition: Vector4.hpp:84
-
Vector3 ToEuler()
Definition: Vector4.hpp:147
-
Color ColorFromNormalized()
Definition: Vector4.hpp:152
-
Vector4 & operator=(const Vector4 &vector4)
Definition: Vector4.hpp:55
-
std::pair< Vector3, float > ToAxisAngle()
Definition: Vector4.hpp:108
-
static Vector4 FromMatrix(const ::Matrix &matrix)
Definition: Vector4.hpp:131
+
void ToAxisAngle(Vector3 *outAxis, float *outAngle)
Definition: Vector4.hpp:97
+
Vector4 Slerp(const Vector4 &vector4, float amount)
Definition: Vector4.hpp:77
+
Vector3 ToEuler()
Definition: Vector4.hpp:140
+
Color ColorFromNormalized()
Definition: Vector4.hpp:145
+
Vector4 & operator=(const Vector4 &vector4)
Definition: Vector4.hpp:48
+
std::pair< Vector3, float > ToAxisAngle()
Definition: Vector4.hpp:101
+
static Vector4 FromMatrix(const ::Matrix &matrix)
Definition: Vector4.hpp:124
Definition: Vector4.hpp:21
-
static Vector4 Identity()
Definition: Vector4.hpp:123
-
static Vector4 FromEuler(const Vector3 &vector3)
Definition: Vector4.hpp:143
-
Vector4 Quaternion
Definition: Vector4.hpp:158
+
static Vector4 Identity()
Definition: Vector4.hpp:116
+
static Vector4 FromEuler(const Vector3 &vector3)
Definition: Vector4.hpp:136
+
Vector4 Quaternion
Definition: Vector4.hpp:159
Vector4(::Color color)
Definition: Vector4.hpp:34
-
Vector4 Nlerp(const Vector4 &vector4, float amount)
Definition: Vector4.hpp:80
-
static Vector4 FromVector3ToVector3(const Vector3 &from, const Vector3 &to)
Definition: Vector4.hpp:127
-
bool operator==(const Vector4 &other)
Definition: Vector4.hpp:60
-
static Vector4 FromAxisAngle(const Vector3 &axis, const float angle)
Definition: Vector4.hpp:135
+
Vector4 Nlerp(const Vector4 &vector4, float amount)
Definition: Vector4.hpp:73
+
static Vector4 FromVector3ToVector3(const Vector3 &from, const Vector3 &to)
Definition: Vector4.hpp:120
+
bool operator==(const Vector4 &other)
Definition: Vector4.hpp:53
+
static Vector4 FromAxisAngle(const Vector3 &axis, const float angle)
Definition: Vector4.hpp:128
Definition: Vector3.hpp:21
-
Vector4 Lerp(const Vector4 &vector4, float amount)
Definition: Vector4.hpp:76
-
Vector4 Invert()
Definition: Vector4.hpp:100
-
Vector4 Multiply(const Vector4 &vector4)
Definition: Vector4.hpp:68
+
Vector4 Lerp(const Vector4 &vector4, float amount)
Definition: Vector4.hpp:69
+
Vector4 Invert()
Definition: Vector4.hpp:93
+
Vector4 Multiply(const Vector4 &vector4)
Definition: Vector4.hpp:61
Vector4(::Vector4 vec)
Definition: Vector4.hpp:23
-
Vector4 operator*(const Vector4 &vector4)
Definition: Vector4.hpp:72
+
Vector4 operator*(const Vector4 &vector4)
Definition: Vector4.hpp:65
Definition: Color.hpp:18
-
Matrix ToMatrix()
Definition: Vector4.hpp:88
-
void set(::Vector4 vec4)
Definition: Vector4.hpp:38
-
float Length()
Definition: Vector4.hpp:92
-
Vector4 Transform(const ::Matrix &matrix)
Definition: Vector4.hpp:119
-
Vector4 Normalize()
Definition: Vector4.hpp:96
-
static Vector4 FromEuler(const float roll, const float pitch, const float yaw)
Definition: Vector4.hpp:139
+
Matrix ToMatrix()
Definition: Vector4.hpp:81
+
void set(::Vector4 vec4)
Definition: Vector4.hpp:150
+
Vector4 Transform(const ::Matrix &matrix)
Definition: Vector4.hpp:112
+
Vector4 Normalize()
Definition: Vector4.hpp:89
+
static Vector4 FromEuler(const float roll, const float pitch, const float yaw)
Definition: Vector4.hpp:132
+
float Length() const
Definition: Vector4.hpp:85
Vector4(float X=0, float Y=0, float Z=0, float W=0)
Definition: Vector4.hpp:27
diff --git a/docs/_vr_simulator_8hpp_source.html b/docs/_vr_simulator_8hpp_source.html index 0f92ad8..6a0d57f 100644 --- a/docs/_vr_simulator_8hpp_source.html +++ b/docs/_vr_simulator_8hpp_source.html @@ -103,7 +103,7 @@ $(function() {
30  Close();
31  }
32 
-
33  inline bool IsReady() {
+
33  inline bool IsReady() const {
34  return ::IsVrSimulatorReady();
35  }
36 
@@ -144,15 +144,15 @@ $(function() {
VrSimulator & Begin()
Definition: VrSimulator.hpp:49
Definition: Camera3D.hpp:16
void Init()
Definition: VrSimulator.hpp:25
-
Definition: Shader.hpp:15
+
Definition: Shader.hpp:16
void Close()
Definition: VrSimulator.hpp:57
-
bool IsReady()
Definition: VrSimulator.hpp:33
+
bool IsReady() const
Definition: VrSimulator.hpp:33
Definition: VrSimulator.hpp:15
VrSimulator()
Definition: VrSimulator.hpp:17
VrSimulator & Set(::VrDeviceInfo info, ::Shader distortion)
Definition: VrSimulator.hpp:41
diff --git a/docs/_wave_8hpp_source.html b/docs/_wave_8hpp_source.html index c94d2cc..a35f102 100644 --- a/docs/_wave_8hpp_source.html +++ b/docs/_wave_8hpp_source.html @@ -106,92 +106,93 @@ $(function() {
33  Unload();
34  }
35 
-
36  inline void set(::Wave wave) {
-
37  sampleCount = wave.sampleCount;
-
38  sampleRate = wave.sampleRate;
-
39  sampleSize = wave.sampleSize;
-
40  channels = wave.channels;
-
41  data = wave.data;
-
42  }
-
43 
-
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)
-
49 
-
50  Wave& operator=(const ::Wave& wave) {
-
51  set(wave);
-
52  return *this;
-
53  }
-
54 
-
55  Wave& operator=(const Wave& wave) {
-
56  set(wave);
-
57  return *this;
-
58  }
-
59 
-
60  inline Wave& Format(int SampleRate = 0, int SampleSize = 0, int Channels = 2) {
-
61  ::WaveFormat(this, SampleRate, SampleSize, Channels);
-
62  return *this;
-
63  }
-
64 
-
65  inline Wave Copy() {
-
66  return ::WaveCopy(*this);
-
67  }
-
68 
-
69  inline Wave& Crop(int initSample, int finalSample) {
-
70  ::WaveCrop(this, initSample, finalSample);
-
71  return *this;
-
72  }
-
73 
-
74  inline Wave& Export(const std::string& fileName) {
-
75  ::ExportWave(*this, fileName.c_str());
-
76  return *this;
-
77  }
-
78  inline Wave& ExportAsCode(const std::string& fileName) {
-
79  ::ExportWaveAsCode(*this, fileName.c_str());
-
80  return *this;
-
81  }
-
82 
-
83  void Unload() {
-
84  if (data != NULL) {
-
85  ::UnloadWave(*this);
-
86  data = NULL;
-
87  }
+
36  GETTERSETTER(unsigned int, SampleCount, sampleCount)
+
37  GETTERSETTER(unsigned int, SampleRate, sampleRate)
+
38  GETTERSETTER(unsigned int, SampleSize, sampleSize)
+
39  GETTERSETTER(unsigned int, Channels, channels)
+
40  GETTERSETTER(void *, Data, data)
+
41 
+
42  Wave& operator=(const ::Wave& wave) {
+
43  set(wave);
+
44  return *this;
+
45  }
+
46 
+
47  Wave& operator=(const Wave& wave) {
+
48  set(wave);
+
49  return *this;
+
50  }
+
51 
+
52  inline Wave& Format(int SampleRate = 0, int SampleSize = 0, int Channels = 2) {
+
53  ::WaveFormat(this, SampleRate, SampleSize, Channels);
+
54  return *this;
+
55  }
+
56 
+
57  inline Wave Copy() {
+
58  return ::WaveCopy(*this);
+
59  }
+
60 
+
61  inline Wave& Crop(int initSample, int finalSample) {
+
62  ::WaveCrop(this, initSample, finalSample);
+
63  return *this;
+
64  }
+
65 
+
66  inline Wave& Export(const std::string& fileName) {
+
67  ::ExportWave(*this, fileName.c_str());
+
68  return *this;
+
69  }
+
70  inline Wave& ExportAsCode(const std::string& fileName) {
+
71  ::ExportWaveAsCode(*this, fileName.c_str());
+
72  return *this;
+
73  }
+
74 
+
75  void Unload() {
+
76  if (data != NULL) {
+
77  ::UnloadWave(*this);
+
78  data = NULL;
+
79  }
+
80  }
+
81 
+
82  inline Sound LoadSound() {
+
83  return ::LoadSoundFromWave(*this);
+
84  }
+
85 
+
86  inline float* GetWaveData() {
+
87  return ::GetWaveData(*this);
88  }
89 
-
90  inline Sound LoadSound() {
-
91  return ::LoadSoundFromWave(*this);
-
92  }
-
93 
-
94  inline float* GetWaveData() {
-
95  return ::GetWaveData(*this);
-
96  }
-
97  };
-
98 }
-
99 
-
100 #endif
+
90  protected:
+
91  inline void set(::Wave wave) {
+
92  sampleCount = wave.sampleCount;
+
93  sampleRate = wave.sampleRate;
+
94  sampleSize = wave.sampleSize;
+
95  channels = wave.channels;
+
96  data = wave.data;
+
97  }
+
98  };
+
99 }
+
100 
+
101 #endif
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
Definition: Wave.hpp:15
-
Wave & Crop(int initSample, int finalSample)
Definition: Wave.hpp:69
-
Wave & operator=(const Wave &wave)
Definition: Wave.hpp:55
-
void Unload()
Definition: Wave.hpp:83
+
Wave & Crop(int initSample, int finalSample)
Definition: Wave.hpp:61
+
Wave & operator=(const Wave &wave)
Definition: Wave.hpp:47
+
void Unload()
Definition: Wave.hpp:75
Definition: Sound.hpp:17
-
Wave Copy()
Definition: Wave.hpp:65
-
Wave & Export(const std::string &fileName)
Definition: Wave.hpp:74
+
Wave Copy()
Definition: Wave.hpp:57
+
Wave & Export(const std::string &fileName)
Definition: Wave.hpp:66
Wave(unsigned int SampleCount=0, unsigned int SampleRate=0, unsigned int SampleSize=0, unsigned int Channels=0)
Definition: Wave.hpp:21
~Wave()
Definition: Wave.hpp:32
-
float * GetWaveData()
Definition: Wave.hpp:94
-
Sound LoadSound()
Definition: Wave.hpp:90
+
float * GetWaveData()
Definition: Wave.hpp:86
+
Sound LoadSound()
Definition: Wave.hpp:82
Wave(::Wave wave)
Definition: Wave.hpp:17
Wave(const std::string &fileName)
Definition: Wave.hpp:28
-
void set(::Wave wave)
Definition: Wave.hpp:36
-
Wave & ExportAsCode(const std::string &fileName)
Definition: Wave.hpp:78
-
Wave & Format(int SampleRate=0, int SampleSize=0, int Channels=2)
Definition: Wave.hpp:60
+
void set(::Wave wave)
Definition: Wave.hpp:91
+
Wave & ExportAsCode(const std::string &fileName)
Definition: Wave.hpp:70
+
Wave & Format(int SampleRate=0, int SampleSize=0, int Channels=2)
Definition: Wave.hpp:52
diff --git a/docs/_window_8hpp_source.html b/docs/_window_8hpp_source.html index 7793a54..c89cd49 100644 --- a/docs/_window_8hpp_source.html +++ b/docs/_window_8hpp_source.html @@ -116,20 +116,20 @@ $(function() {
66  inline static bool IsReady() {
67  return ::IsWindowReady();
68  };
-
69  inline bool IsMinimized() {
+
69  inline bool IsMinimized() const {
70  return ::IsWindowMinimized();
71  }
-
72  inline bool IsFocused() {
+
72  inline bool IsFocused() const {
73  return ::IsWindowFocused();
74  }
-
75  inline bool IsResized() {
+
75  inline bool IsResized() const {
76  return ::IsWindowResized();
77  }
-
78  inline bool IsHidden() {
+
78  inline bool IsHidden() const {
79  return ::IsWindowHidden();
80  }
81 
-
82  inline bool IsFullscreen() {
+
82  inline bool IsFullscreen() const {
83  return ::IsWindowFullscreen();
84  }
85  inline Window& ToggleFullscreen() {
@@ -168,7 +168,7 @@ $(function() {
118  ::SetWindowSize(width, height);
119  return *this;
120  }
-
121  inline void* GetHandle() {
+
121  inline void* GetHandle() const {
122  return ::GetWindowHandle();
123  }
124 
@@ -181,28 +181,28 @@ $(function() {
131  return *this;
132  }
133 
-
134  inline int GetScreenWidth() {
+
134  inline int GetScreenWidth() const {
135  return ::GetScreenWidth();
136  }
137 
-
138  inline int GetScreenHeight() {
+
138  inline int GetScreenHeight() const {
139  return ::GetScreenHeight();
140  }
141 
-
142  inline Vector2 GetPosition() {
+
142  inline Vector2 GetPosition() const {
143  return ::GetWindowPosition();
144  }
145 
-
146  inline Vector2 GetScaleDPI() {
+
146  inline Vector2 GetScaleDPI() const {
147  return ::GetWindowScaleDPI();
148  }
149 
-
150  std::string GetMonitorName(int monitor) {
-
151  return std::string(::GetMonitorName(monitor));
+
150  std::string GetMonitorName(int monitor) const {
+
151  return std::string(::GetMonitorName(monitor));
152  }
153 
-
154  std::string GetClipboardText() {
-
155  return std::string(::GetClipboardText());
+
154  std::string GetClipboardText() const {
+
155  return std::string(::GetClipboardText());
156  }
157 
158  inline Window& SetClipboardText(const std::string& text) {
@@ -214,13 +214,13 @@ $(function() {
164  ::SetTargetFPS(fps);
165  return *this;
166  }
-
167  inline int GetFPS() {
+
167  inline int GetFPS() const {
168  return ::GetFPS();
169  }
-
170  inline float GetFrameTime() {
+
170  inline float GetFrameTime() const {
171  return ::GetFrameTime();
172  }
-
173  inline double GetTime() {
+
173  inline double GetTime() const {
174  return ::GetTime();
175  }
176  };
@@ -228,48 +228,48 @@ $(function() {
178 
179 #endif
+
void * GetHandle() const
Definition: Window.hpp:121
Provides all the classes associated with raylib-cpp.
Definition: AudioDevice.hpp:14
Window & Unhide()
Definition: Window.hpp:89
Window & Hide()
Definition: Window.hpp:93
Window & SetMonitor(int monitor)
Definition: Window.hpp:109
-
bool IsHidden()
Definition: Window.hpp:78
+
double GetTime() const
Definition: Window.hpp:173
~Window()
Definition: Window.hpp:37
+
bool IsHidden() const
Definition: Window.hpp:78
void Close()
Close window and unload OpenGL context.
Definition: Window.hpp:55
Definition: Image.hpp:16
bool IsCursorOnScreen()
Definition: Window.hpp:59
-
bool IsResized()
Definition: Window.hpp:75
-
double GetTime()
Definition: Window.hpp:173
-
float GetFrameTime()
Definition: Window.hpp:170
Window & SetMinSize(int width, int height)
Definition: Window.hpp:113
-
bool IsMinimized()
Definition: Window.hpp:69
+
float GetFrameTime() const
Definition: Window.hpp:170
void Init(int width, int height, const std::string &title)
Definition: Window.hpp:41
+
std::string GetMonitorName(int monitor) const
Definition: Window.hpp:150
Window & SetPosition(int x, int y)
Definition: Window.hpp:105
+
Vector2 GetScaleDPI() const
Definition: Window.hpp:146
Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
Initialize window and OpenGL context.
Definition: Window.hpp:31
-
std::string GetClipboardText()
Definition: Window.hpp:154
+
bool IsFocused() const
Definition: Window.hpp:72
+
bool IsResized() const
Definition: Window.hpp:75
Window & EndDrawing()
Definition: Window.hpp:129
Window & SetSize(int width, int height)
Definition: Window.hpp:117
Definition: Vector2.hpp:22
+
int GetFPS() const
Definition: Window.hpp:167
+
int GetScreenHeight() const
Definition: Window.hpp:138
Window & ToggleFullscreen()
Definition: Window.hpp:85
Window & SetTitle(const std::string &title)
Definition: Window.hpp:101
-
Vector2 GetPosition()
Definition: Window.hpp:142
-
int GetScreenWidth()
Definition: Window.hpp:134
+
bool IsFullscreen() const
Definition: Window.hpp:82
static bool IsReady()
Check if window has been initialized successfully.
Definition: Window.hpp:66
+
int GetScreenWidth() const
Definition: Window.hpp:134
+
std::string GetClipboardText() const
Definition: Window.hpp:154
Window & BeginDrawing()
Definition: Window.hpp:125
Window & SetClipboardText(const std::string &text)
Definition: Window.hpp:158
-
void * GetHandle()
Definition: Window.hpp:121
-
std::string GetMonitorName(int monitor)
Definition: Window.hpp:150
-
int GetScreenHeight()
Definition: Window.hpp:138
Window & SetIcon(Image image)
Definition: Window.hpp:97
bool ShouldClose()
Check if KEY_ESCAPE pressed or Close icon pressed.
Definition: Window.hpp:48
-
Vector2 GetScaleDPI()
Definition: Window.hpp:146
-
bool IsFocused()
Definition: Window.hpp:72
-
bool IsFullscreen()
Definition: Window.hpp:82
Window & SetTargetFPS(int fps)
Definition: Window.hpp:163
-
int GetFPS()
Definition: Window.hpp:167
+
bool IsMinimized() const
Definition: Window.hpp:69
+
Vector2 GetPosition() const
Definition: Window.hpp:142
Window and Graphics Device Functions.
Definition: Window.hpp:26
diff --git a/docs/annotated.html b/docs/annotated.html index 2bcf289..8160465 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -91,10 +91,10 @@ $(function() {  CRay  CRayHitInfo  CRectangle - CRenderTexture2D + CRenderTexture  CShader  CSound - CTexture2D + CTexture  CVector2  CVector3  CVector4 @@ -117,10 +117,10 @@ $(function() {  CRay  CRayHitInfo  CRectangle - CRenderTexture2D + CRenderTexture  CShader  CSound - CTexture2D + CTexture  CVector2  CVector3  CVector4 @@ -130,7 +130,7 @@ $(function() { diff --git a/docs/class_audio_stream.html b/docs/class_audio_stream.html index 31725d9..d2f6171 100644 --- a/docs/class_audio_stream.html +++ b/docs/class_audio_stream.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_bounding_box.html b/docs/class_bounding_box.html index 510c9c7..310b5f1 100644 --- a/docs/class_bounding_box.html +++ b/docs/class_bounding_box.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_camera2_d.html b/docs/class_camera2_d.html index c58b1a2..75374fa 100644 --- a/docs/class_camera2_d.html +++ b/docs/class_camera2_d.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_camera3_d.html b/docs/class_camera3_d.html index e7f717a..7eeb5dd 100644 --- a/docs/class_camera3_d.html +++ b/docs/class_camera3_d.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_color.html b/docs/class_color.html index 763d0a9..52e1d21 100644 --- a/docs/class_color.html +++ b/docs/class_color.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_font.html b/docs/class_font.html index 0f643b0..0ebef16 100644 --- a/docs/class_font.html +++ b/docs/class_font.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_image.html b/docs/class_image.html index 09a0964..1d1ddb9 100644 --- a/docs/class_image.html +++ b/docs/class_image.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_material.html b/docs/class_material.html index 125725e..2c776cf 100644 --- a/docs/class_material.html +++ b/docs/class_material.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_matrix.html b/docs/class_matrix.html index dd78231..ae483ce 100644 --- a/docs/class_matrix.html +++ b/docs/class_matrix.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_mesh.html b/docs/class_mesh.html index b9ef677..d73df4e 100644 --- a/docs/class_mesh.html +++ b/docs/class_mesh.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_model.html b/docs/class_model.html index 35c7288..8eea1bf 100644 --- a/docs/class_model.html +++ b/docs/class_model.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_model_animation.html b/docs/class_model_animation.html index ec63579..e2aa7b6 100644 --- a/docs/class_model_animation.html +++ b/docs/class_model_animation.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_music.html b/docs/class_music.html index a331f4d..c2c6045 100644 --- a/docs/class_music.html +++ b/docs/class_music.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_ray.html b/docs/class_ray.html index 2e7f372..f3c1427 100644 --- a/docs/class_ray.html +++ b/docs/class_ray.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_ray_hit_info.html b/docs/class_ray_hit_info.html index 3d301f7..7146547 100644 --- a/docs/class_ray_hit_info.html +++ b/docs/class_ray_hit_info.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_rectangle.html b/docs/class_rectangle.html index f4aa96d..3fb0533 100644 --- a/docs/class_rectangle.html +++ b/docs/class_rectangle.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_render_texture.html b/docs/class_render_texture.html new file mode 100644 index 0000000..c81b42f --- /dev/null +++ b/docs/class_render_texture.html @@ -0,0 +1,78 @@ + + + + + + + +raylib-cpp: RenderTexture Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
RenderTexture Class Reference
+
+
+
+ + + + diff --git a/docs/class_shader.html b/docs/class_shader.html index 5917c59..904e062 100644 --- a/docs/class_shader.html +++ b/docs/class_shader.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_sound.html b/docs/class_sound.html index 0e016c4..8f273c8 100644 --- a/docs/class_sound.html +++ b/docs/class_sound.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_texture.html b/docs/class_texture.html new file mode 100644 index 0000000..737771c --- /dev/null +++ b/docs/class_texture.html @@ -0,0 +1,78 @@ + + + + + + + +raylib-cpp: Texture Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Texture Class Reference
+
+
+
+ + + + diff --git a/docs/class_vector2.html b/docs/class_vector2.html index 617ede1..c57ad6d 100644 --- a/docs/class_vector2.html +++ b/docs/class_vector2.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_vector3.html b/docs/class_vector3.html index 8d1e6ab..4ab4d2a 100644 --- a/docs/class_vector3.html +++ b/docs/class_vector3.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_vector4.html b/docs/class_vector4.html index c11b30f..ef64e29 100644 --- a/docs/class_vector4.html +++ b/docs/class_vector4.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/class_wave.html b/docs/class_wave.html index 89c4475..b0df695 100644 --- a/docs/class_wave.html +++ b/docs/class_wave.html @@ -70,7 +70,7 @@ $(function() { diff --git a/docs/classes.html b/docs/classes.html index 311b4aa..7d583cf 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -97,18 +97,18 @@ $(function() { AudioStream (raylib)    Mesh    Rectangle (raylib)    -Vector3    +Vector3 (raylib)   
  b  
Font    Model (raylib)    -RenderTexture2D    -Vector3 (raylib)    +RenderTexture    +Vector3    Font (raylib)    Model    -RenderTexture2D (raylib)    +RenderTexture (raylib)    Vector4 (raylib)    BoundingBox    @@ -127,26 +127,26 @@ $(function() { Gamepad (raylib)    Mouse (raylib)    -Shader (raylib)    +Shader   
  w  
  i  
-Music    -Shader    +Music (raylib)    +Shader (raylib)    Camera2D    -Music (raylib)    +Music    Sound (raylib)    -Wave (raylib)    +Wave    Camera2D (raylib)    Image   
  p  
Sound    -Wave    +Wave (raylib)    Camera3D    Image (raylib)    @@ -162,11 +162,11 @@ $(function() { Color   
  r  
-Texture2D    +Texture (raylib)    Color (raylib)    Material    -Texture2D (raylib)    +Texture    Ray (raylib)    @@ -176,7 +176,7 @@ $(function() { diff --git a/docs/classraylib_1_1_audio_device-members.html b/docs/classraylib_1_1_audio_device-members.html index ffe00c5..ec4950a 100644 --- a/docs/classraylib_1_1_audio_device-members.html +++ b/docs/classraylib_1_1_audio_device-members.html @@ -77,13 +77,13 @@ $(function() { AudioDevice(bool lateInit=false)raylib::AudioDeviceinline Close()raylib::AudioDeviceinline Init()raylib::AudioDeviceinline - IsReady()raylib::AudioDeviceinline + IsReady() constraylib::AudioDeviceinline SetVolume(float volume)raylib::AudioDeviceinline ~AudioDevice()raylib::AudioDeviceinline diff --git a/docs/classraylib_1_1_audio_device.html b/docs/classraylib_1_1_audio_device.html index e53ddd9..85246eb 100644 --- a/docs/classraylib_1_1_audio_device.html +++ b/docs/classraylib_1_1_audio_device.html @@ -91,9 +91,9 @@ Public Member Functions AudioDevice & Init ()  Initialize audio device and context. More...
  -bool IsReady () - Check if audio device has been initialized successfully. More...
-  +bool IsReady () const + Check if audio device has been initialized successfully. More...
+  AudioDevice & SetVolume (float volume)  Set master volume (listener). More...
  @@ -233,8 +233,8 @@ Public Member Functions - -

◆ IsReady()

+ +

◆ IsReady()

@@ -246,7 +246,7 @@ Public Member Functions bool raylib::AudioDevice::IsReady ( ) - + const @@ -295,7 +295,7 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_audio_stream-members.html b/docs/classraylib_1_1_audio_stream-members.html index fea985c..111a516 100644 --- a/docs/classraylib_1_1_audio_stream-members.html +++ b/docs/classraylib_1_1_audio_stream-members.html @@ -77,17 +77,17 @@ $(function() { AudioStream(::AudioStream music)raylib::AudioStreaminline AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels)raylib::AudioStreaminline Close()raylib::AudioStreaminline - GetChannels()raylib::AudioStreaminline - GetSampleRate()raylib::AudioStreaminline - GetSampleSize()raylib::AudioStreaminline - IsPlaying()raylib::AudioStreaminline - IsProcessed()raylib::AudioStreaminline + GetChannels() constraylib::AudioStreaminline + GetSampleRate() constraylib::AudioStreaminline + GetSampleSize() constraylib::AudioStreaminline + IsPlaying() constraylib::AudioStreaminline + IsProcessed() constraylib::AudioStreaminline operator=(const ::AudioStream &stream)raylib::AudioStreaminline operator=(const AudioStream &stream)raylib::AudioStreaminline Pause()raylib::AudioStreaminline Play()raylib::AudioStreaminline Resume()raylib::AudioStreaminline - set(::AudioStream stream)raylib::AudioStreaminline + set(::AudioStream stream)raylib::AudioStreaminlineprotected SetBufferSizeDefault(int size)raylib::AudioStreaminline SetChannels(unsigned int value)raylib::AudioStreaminline SetPitch(float pitch)raylib::AudioStreaminline @@ -100,7 +100,7 @@ $(function() {
diff --git a/docs/classraylib_1_1_audio_stream.html b/docs/classraylib_1_1_audio_stream.html index 64d0327..2d8ba35 100644 --- a/docs/classraylib_1_1_audio_stream.html +++ b/docs/classraylib_1_1_audio_stream.html @@ -69,6 +69,7 @@ $(function() {
raylib::AudioStream Class Reference
@@ -90,18 +91,18 @@ Public Member Functions AudioStream & Close ()  Close audio stream and free memory. More...
  -unsigned int GetChannels () -  -unsigned int GetSampleRate () -  -unsigned int GetSampleSize () -  -bool IsPlaying () - Check if audio stream is playing. More...
-  -bool IsProcessed () - Check if any audio stream buffers requires refill. More...
-  +unsigned int GetChannels () const +  +unsigned int GetSampleRate () const +  +unsigned int GetSampleSize () const +  +bool IsPlaying () const + Check if audio stream is playing. More...
+  +bool IsProcessed () const + Check if any audio stream buffers requires refill. More...
+  AudioStream & operator= (const ::AudioStream &stream)   AudioStream & operator= (const AudioStream &stream) @@ -115,8 +116,6 @@ Public Member Functions AudioStream & Resume ()  Resume audio stream. More...
  -void set (::AudioStream stream) -  AudioStream & SetBufferSizeDefault (int size)  Default size for new audio streams. More...
  @@ -138,6 +137,11 @@ Public Member Functions AudioStream & Update (const void *data, int samplesCount)  Update audio stream buffers with data. More...
  + + + +

+Protected Member Functions

void set (::AudioStream stream)
 

Detailed Description

AudioStream management functions.

@@ -170,7 +174,7 @@ Public Member Functions

Definition at line 20 of file AudioStream.hpp.

-

References set().

+

References set().

@@ -218,7 +222,7 @@ Public Member Functions

Definition at line 27 of file AudioStream.hpp.

-

References set().

+

References set().

@@ -247,7 +251,7 @@ Public Member Functions

Definition at line 31 of file AudioStream.hpp.

-

References Close().

+

References Close().

@@ -277,14 +281,14 @@ Public Member Functions

Close audio stream and free memory.

-

Definition at line 67 of file AudioStream.hpp.

+

Definition at line 60 of file AudioStream.hpp.

Referenced by ~AudioStream().

- -

◆ GetChannels()

+ +

◆ GetChannels()

@@ -296,7 +300,7 @@ Public Member Functions unsigned int raylib::AudioStream::GetChannels ( ) - + const @@ -306,12 +310,12 @@ Public Member Functions
-

Definition at line 44 of file AudioStream.hpp.

+

Definition at line 37 of file AudioStream.hpp.

- -

◆ GetSampleRate()

+ +

◆ GetSampleRate()

@@ -323,7 +327,7 @@ Public Member Functions unsigned int raylib::AudioStream::GetSampleRate ( ) - + const @@ -333,12 +337,12 @@ Public Member Functions
-

Definition at line 42 of file AudioStream.hpp.

+

Definition at line 35 of file AudioStream.hpp.

- -

◆ GetSampleSize()

+ +

◆ GetSampleSize()

@@ -350,7 +354,7 @@ Public Member Functions unsigned int raylib::AudioStream::GetSampleSize ( ) - + const @@ -360,12 +364,12 @@ Public Member Functions
-

Definition at line 43 of file AudioStream.hpp.

+

Definition at line 36 of file AudioStream.hpp.

- -

◆ IsPlaying()

+ +

◆ IsPlaying()

@@ -377,7 +381,7 @@ Public Member Functions bool raylib::AudioStream::IsPlaying ( ) - + const @@ -389,12 +393,12 @@ Public Member Functions

Check if audio stream is playing.

-

Definition at line 106 of file AudioStream.hpp.

+

Definition at line 99 of file AudioStream.hpp.

- -

◆ IsProcessed()

+ +

◆ IsProcessed()

@@ -406,7 +410,7 @@ Public Member Functions bool raylib::AudioStream::IsProcessed ( ) - + const @@ -418,7 +422,7 @@ Public Member Functions

Check if any audio stream buffers requires refill.

-

Definition at line 75 of file AudioStream.hpp.

+

Definition at line 68 of file AudioStream.hpp.

@@ -446,9 +450,9 @@ Public Member Functions
-

Definition at line 46 of file AudioStream.hpp.

+

Definition at line 39 of file AudioStream.hpp.

-

References set().

+

References set().

@@ -476,9 +480,9 @@ Public Member Functions
-

Definition at line 51 of file AudioStream.hpp.

+

Definition at line 44 of file AudioStream.hpp.

-

References set().

+

References set().

@@ -507,7 +511,7 @@ Public Member Functions

Pause audio stream.

-

Definition at line 90 of file AudioStream.hpp.

+

Definition at line 83 of file AudioStream.hpp.

@@ -536,7 +540,7 @@ Public Member Functions

Play audio stream.

-

Definition at line 82 of file AudioStream.hpp.

+

Definition at line 75 of file AudioStream.hpp.

@@ -565,7 +569,7 @@ Public Member Functions

Resume audio stream.

-

Definition at line 98 of file AudioStream.hpp.

+

Definition at line 91 of file AudioStream.hpp.

@@ -588,14 +592,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 35 of file AudioStream.hpp.

+

Definition at line 136 of file AudioStream.hpp.

-

Referenced by AudioStream(), and operator=().

+

Referenced by AudioStream(), and operator=().

@@ -625,7 +629,7 @@ Public Member Functions

Default size for new audio streams.

-

Definition at line 137 of file AudioStream.hpp.

+

Definition at line 130 of file AudioStream.hpp.

@@ -653,7 +657,7 @@ Public Member Functions
-

Definition at line 44 of file AudioStream.hpp.

+

Definition at line 37 of file AudioStream.hpp.

@@ -683,7 +687,7 @@ Public Member Functions

Set pitch for audio stream (1.0 is base level)

-

Definition at line 129 of file AudioStream.hpp.

+

Definition at line 122 of file AudioStream.hpp.

@@ -711,7 +715,7 @@ Public Member Functions
-

Definition at line 42 of file AudioStream.hpp.

+

Definition at line 35 of file AudioStream.hpp.

@@ -739,7 +743,7 @@ Public Member Functions
-

Definition at line 43 of file AudioStream.hpp.

+

Definition at line 36 of file AudioStream.hpp.

@@ -769,7 +773,7 @@ Public Member Functions

Set volume for audio stream (1.0 is max level)

-

Definition at line 121 of file AudioStream.hpp.

+

Definition at line 114 of file AudioStream.hpp.

@@ -798,7 +802,7 @@ Public Member Functions

Stop audio stream.

-

Definition at line 113 of file AudioStream.hpp.

+

Definition at line 106 of file AudioStream.hpp.

@@ -838,14 +842,14 @@ Public Member Functions

Update audio stream buffers with data.

-

Definition at line 59 of file AudioStream.hpp.

+

Definition at line 52 of file AudioStream.hpp.

diff --git a/docs/classraylib_1_1_bounding_box-members.html b/docs/classraylib_1_1_bounding_box-members.html index 9f5a600..bc6b919 100644 --- a/docs/classraylib_1_1_bounding_box-members.html +++ b/docs/classraylib_1_1_bounding_box-members.html @@ -77,21 +77,21 @@ $(function() { BoundingBox(::BoundingBox box)raylib::BoundingBoxinline BoundingBox(::Mesh mesh)raylib::BoundingBoxinline BoundingBox(::Vector3 Min, ::Vector3 Max)raylib::BoundingBoxinline - CheckCollision(::BoundingBox box2)raylib::BoundingBoxinline - CheckCollision(::Vector3 center, float radius)raylib::BoundingBoxinline - CheckCollision(::Ray ray)raylib::BoundingBoxinline + CheckCollision(::BoundingBox box2) constraylib::BoundingBoxinline + CheckCollision(::Vector3 center, float radius) constraylib::BoundingBoxinline + CheckCollision(::Ray ray) constraylib::BoundingBoxinline Draw(::Color color=WHITE)raylib::BoundingBoxinline - GetMax()raylib::BoundingBoxinline - GetMin()raylib::BoundingBoxinline + GetMax() constraylib::BoundingBoxinline + GetMin() constraylib::BoundingBoxinline operator=(const ::BoundingBox &box)raylib::BoundingBoxinline operator=(const BoundingBox &box)raylib::BoundingBoxinline - set(::BoundingBox box)raylib::BoundingBoxinline + set(::BoundingBox box)raylib::BoundingBoxinlineprotected SetMax(::Vector3 value)raylib::BoundingBoxinline SetMin(::Vector3 value)raylib::BoundingBoxinline diff --git a/docs/classraylib_1_1_bounding_box.html b/docs/classraylib_1_1_bounding_box.html index 92f3ddf..afde4e1 100644 --- a/docs/classraylib_1_1_bounding_box.html +++ b/docs/classraylib_1_1_bounding_box.html @@ -69,6 +69,7 @@ $(function() {
raylib::BoundingBox Class Reference
@@ -83,28 +84,31 @@ Public Member Functions    BoundingBox (::Vector3 Min, ::Vector3 Max)   -bool CheckCollision (::BoundingBox box2) -  -bool CheckCollision (::Ray ray) -  -bool CheckCollision (::Vector3 center, float radius) -  +bool CheckCollision (::BoundingBox box2) const +  +bool CheckCollision (::Ray ray) const +  +bool CheckCollision (::Vector3 center, float radius) const +  BoundingBox & Draw (::Color color=WHITE)   -inline ::Vector3 GetMax () -  -inline ::Vector3 GetMin () -  +inline ::Vector3 GetMax () const +  +inline ::Vector3 GetMin () const +  BoundingBox & operator= (const ::BoundingBox &box)   BoundingBox & operator= (const BoundingBox &box)   -void set (::BoundingBox box) -  void SetMax (::Vector3 value)   void SetMin (::Vector3 value)   + + + +

+Protected Member Functions

void set (::BoundingBox box)
 

Detailed Description

@@ -136,7 +140,7 @@ Public Member Functions

Definition at line 17 of file BoundingBox.hpp.

-

References set().

+

References set().

@@ -166,7 +170,7 @@ Public Member Functions

Definition at line 20 of file BoundingBox.hpp.

-

References set().

+

References set().

@@ -209,8 +213,8 @@ Public Member Functions

Member Function Documentation

- -

◆ CheckCollision() [1/3]

+ +

◆ CheckCollision() [1/3]

@@ -223,7 +227,7 @@ Public Member Functions ( ::BoundingBox  box2) - + const @@ -233,12 +237,12 @@ Public Member Functions
-

Definition at line 50 of file BoundingBox.hpp.

+

Definition at line 46 of file BoundingBox.hpp.

- -

◆ CheckCollision() [2/3]

+ +

◆ CheckCollision() [2/3]

@@ -251,7 +255,7 @@ Public Member Functions ( ::Ray  ray) - + const @@ -261,12 +265,12 @@ Public Member Functions
-

Definition at line 58 of file BoundingBox.hpp.

+

Definition at line 54 of file BoundingBox.hpp.

- -

◆ CheckCollision() [3/3]

+ +

◆ CheckCollision() [3/3]

@@ -289,7 +293,7 @@ Public Member Functions ) - + const @@ -299,7 +303,7 @@ Public Member Functions
-

Definition at line 54 of file BoundingBox.hpp.

+

Definition at line 50 of file BoundingBox.hpp.

@@ -327,12 +331,12 @@ Public Member Functions
-

Definition at line 45 of file BoundingBox.hpp.

+

Definition at line 41 of file BoundingBox.hpp.

- -

◆ GetMax()

+ +

◆ GetMax()

@@ -344,7 +348,7 @@ Public Member Functions inline ::Vector3 raylib::BoundingBox::GetMax ( ) - + const @@ -354,12 +358,12 @@ Public Member Functions
-

Definition at line 33 of file BoundingBox.hpp.

+

Definition at line 29 of file BoundingBox.hpp.

- -

◆ GetMin()

+ +

◆ GetMin()

@@ -371,7 +375,7 @@ Public Member Functions inline ::Vector3 raylib::BoundingBox::GetMin ( ) - + const @@ -381,7 +385,7 @@ Public Member Functions
-

Definition at line 32 of file BoundingBox.hpp.

+

Definition at line 28 of file BoundingBox.hpp.

@@ -409,9 +413,9 @@ Public Member Functions
-

Definition at line 35 of file BoundingBox.hpp.

+

Definition at line 31 of file BoundingBox.hpp.

-

References set().

+

References set().

@@ -439,9 +443,9 @@ Public Member Functions
-

Definition at line 40 of file BoundingBox.hpp.

+

Definition at line 36 of file BoundingBox.hpp.

-

References set().

+

References set().

@@ -464,14 +468,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 27 of file BoundingBox.hpp.

+

Definition at line 59 of file BoundingBox.hpp.

-

Referenced by BoundingBox(), and operator=().

+

Referenced by BoundingBox(), and operator=().

@@ -499,7 +503,7 @@ Public Member Functions
-

Definition at line 33 of file BoundingBox.hpp.

+

Definition at line 29 of file BoundingBox.hpp.

@@ -527,14 +531,14 @@ Public Member Functions
-

Definition at line 32 of file BoundingBox.hpp.

+

Definition at line 28 of file BoundingBox.hpp.

diff --git a/docs/classraylib_1_1_camera2_d-members.html b/docs/classraylib_1_1_camera2_d-members.html index a85fcde..95e71c0 100644 --- a/docs/classraylib_1_1_camera2_d-members.html +++ b/docs/classraylib_1_1_camera2_d-members.html @@ -77,17 +77,17 @@ $(function() { BeginMode2D()raylib::Camera2Dinline Camera2D(::Vector2 offsetValue, ::Vector2 targetValue, float rotationValue=0, float zoomValue=1)raylib::Camera2Dinline EndMode2D()raylib::Camera2Dinline - GetMatrix()raylib::Camera2Dinline - GetOffset()raylib::Camera2Dinline - GetRotation()raylib::Camera2Dinline - GetScreenToWorld2D(Vector2 position)raylib::Camera2Dinline - GetTarget()raylib::Camera2Dinline - GetWorldToScreen2D(Vector2 position)raylib::Camera2Dinline - GetZoom()raylib::Camera2Dinline + GetMatrix() constraylib::Camera2Dinline + GetOffset() constraylib::Camera2Dinline + GetRotation() constraylib::Camera2Dinline + GetScreenToWorld2D(Vector2 position) constraylib::Camera2Dinline + GetTarget() constraylib::Camera2Dinline + GetWorldToScreen2D(Vector2 position) constraylib::Camera2Dinline + GetZoom() constraylib::Camera2Dinline operator=(const ::Camera2D &camera)raylib::Camera2Dinline operator=(const Camera2D &camera)raylib::Camera2Dinline - set(const ::Camera2D &camera)raylib::Camera2Dinline - set(const Camera2D &camera)raylib::Camera2Dinline + set(const ::Camera2D &camera)raylib::Camera2Dinlineprotected + set(const Camera2D &camera)raylib::Camera2Dinlineprotected SetOffset(Vector2 value)raylib::Camera2Dinline SetRotation(float value)raylib::Camera2Dinline SetTarget(Vector2 value)raylib::Camera2Dinline @@ -95,7 +95,7 @@ $(function() { diff --git a/docs/classraylib_1_1_camera2_d.html b/docs/classraylib_1_1_camera2_d.html index d3bbb76..5ffa87c 100644 --- a/docs/classraylib_1_1_camera2_d.html +++ b/docs/classraylib_1_1_camera2_d.html @@ -69,6 +69,7 @@ $(function() {
raylib::Camera2D Class Reference
@@ -83,28 +84,24 @@ Public Member Functions   Camera2D & EndMode2D ()   -Matrix GetMatrix () -  -Vector2 GetOffset () -  -float GetRotation () -  -Vector2 GetScreenToWorld2D (Vector2 position) -  -Vector2 GetTarget () -  -Vector2 GetWorldToScreen2D (Vector2 position) -  -float GetZoom () -  +Matrix GetMatrix () const +  +Vector2 GetOffset () const +  +float GetRotation () const +  +Vector2 GetScreenToWorld2D (Vector2 position) const +  +Vector2 GetTarget () const +  +Vector2 GetWorldToScreen2D (Vector2 position) const +  +float GetZoom () const +  Camera2D & operator= (const ::Camera2D &camera)   Camera2D & operator= (const Camera2D &camera)   -void set (const ::Camera2D &camera) -  -void set (const Camera2D &camera) -  void SetOffset (Vector2 value)   void SetRotation (float value) @@ -113,6 +110,13 @@ Public Member Functions   void SetZoom (float value)   + + + + + +

+Protected Member Functions

void set (const ::Camera2D &camera)
 
void set (const Camera2D &camera)
 

Detailed Description

@@ -192,7 +196,7 @@ Public Member Functions
-

Definition at line 39 of file Camera2D.hpp.

+

Definition at line 25 of file Camera2D.hpp.

@@ -219,12 +223,12 @@ Public Member Functions
-

Definition at line 43 of file Camera2D.hpp.

+

Definition at line 29 of file Camera2D.hpp.

- -

◆ GetMatrix()

+ +

◆ GetMatrix()

@@ -236,116 +240,7 @@ Public Member Functions Matrix raylib::Camera2D::GetMatrix ( ) - - - - - -inline - - -
- -

Definition at line 63 of file Camera2D.hpp.

- -
-
- -

◆ GetOffset()

- -
-
- - - - - -
- - - - - - - -
Vector2 raylib::Camera2D::GetOffset ()
-
-inline
-
- -

Definition at line 48 of file Camera2D.hpp.

- -
-
- -

◆ GetRotation()

- -
-
- - - - - -
- - - - - - - -
float raylib::Camera2D::GetRotation ()
-
-inline
-
- -

Definition at line 50 of file Camera2D.hpp.

- -
-
- -

◆ GetScreenToWorld2D()

- -
-
- - - - - -
- - - - - - - - -
Vector2 raylib::Camera2D::GetScreenToWorld2D (Vector2 position)
-
-inline
-
- -

Definition at line 69 of file Camera2D.hpp.

- -
-
- -

◆ GetTarget()

- -
-
- - - @@ -359,8 +254,117 @@ Public Member Functions - -

◆ GetWorldToScreen2D()

+ +

◆ GetOffset()

+ +
+
+
- - - - - - +
Vector2 raylib::Camera2D::GetTarget () const
+ + + + +
+ + + + + + + +
Vector2 raylib::Camera2D::GetOffset () const
+
+inline
+
+ +

Definition at line 34 of file Camera2D.hpp.

+ +
+
+ +

◆ GetRotation()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Camera2D::GetRotation () const
+
+inline
+
+ +

Definition at line 36 of file Camera2D.hpp.

+ +
+
+ +

◆ GetScreenToWorld2D()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Camera2D::GetScreenToWorld2D (Vector2 position) const
+
+inline
+
+ +

Definition at line 55 of file Camera2D.hpp.

+ +
+
+ +

◆ GetTarget()

+ +
+
+ + + + + +
+ + + + + + + +
Vector2 raylib::Camera2D::GetTarget () const
+
+inline
+
+ +

Definition at line 35 of file Camera2D.hpp.

+ +
+
+ +

◆ GetWorldToScreen2D()

@@ -373,7 +377,7 @@ Public Member Functions ( Vector2  position) - + const @@ -383,12 +387,12 @@ Public Member Functions
-

Definition at line 66 of file Camera2D.hpp.

+

Definition at line 52 of file Camera2D.hpp.

- -

◆ GetZoom()

+ +

◆ GetZoom()

@@ -400,7 +404,7 @@ Public Member Functions float raylib::Camera2D::GetZoom ( ) - + const @@ -410,7 +414,7 @@ Public Member Functions
-

Definition at line 51 of file Camera2D.hpp.

+

Definition at line 37 of file Camera2D.hpp.

@@ -438,9 +442,9 @@ Public Member Functions
-

Definition at line 53 of file Camera2D.hpp.

+

Definition at line 39 of file Camera2D.hpp.

-

References set().

+

References set().

@@ -468,9 +472,9 @@ Public Member Functions
-

Definition at line 58 of file Camera2D.hpp.

+

Definition at line 44 of file Camera2D.hpp.

-

References set().

+

References set().

@@ -493,14 +497,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 25 of file Camera2D.hpp.

+

Definition at line 59 of file Camera2D.hpp.

-

Referenced by operator=().

+

Referenced by operator=().

@@ -523,12 +527,12 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 32 of file Camera2D.hpp.

+

Definition at line 66 of file Camera2D.hpp.

@@ -556,7 +560,7 @@ Public Member Functions
-

Definition at line 48 of file Camera2D.hpp.

+

Definition at line 34 of file Camera2D.hpp.

@@ -584,7 +588,7 @@ Public Member Functions
-

Definition at line 50 of file Camera2D.hpp.

+

Definition at line 36 of file Camera2D.hpp.

@@ -612,7 +616,7 @@ Public Member Functions
-

Definition at line 49 of file Camera2D.hpp.

+

Definition at line 35 of file Camera2D.hpp.

@@ -640,14 +644,14 @@ Public Member Functions
-

Definition at line 51 of file Camera2D.hpp.

+

Definition at line 37 of file Camera2D.hpp.

diff --git a/docs/classraylib_1_1_camera3_d-members.html b/docs/classraylib_1_1_camera3_d-members.html index e1c4a92..0bbf620 100644 --- a/docs/classraylib_1_1_camera3_d-members.html +++ b/docs/classraylib_1_1_camera3_d-members.html @@ -80,18 +80,18 @@ $(function() { DrawBillboard(::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)raylib::Camera3Dinline DrawBillboard(Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint=WHITE)raylib::Camera3Dinline EndMode3D()raylib::Camera3Dinline - GetFovy()raylib::Camera3Dinline - GetMatrix()raylib::Camera3Dinline - GetMouseRay(::Vector2 mousePosition)raylib::Camera3Dinline - GetPosition()raylib::Camera3Dinline - GetTarget()raylib::Camera3Dinline - GetType()raylib::Camera3Dinline - GetUp()raylib::Camera3Dinline - GetWorldToScreen(::Vector3 position)raylib::Camera3Dinline + GetFovy() constraylib::Camera3Dinline + GetMatrix() constraylib::Camera3Dinline + GetMouseRay(::Vector2 mousePosition) constraylib::Camera3Dinline + GetPosition() constraylib::Camera3Dinline + GetTarget() constraylib::Camera3Dinline + GetType() constraylib::Camera3Dinline + GetUp() constraylib::Camera3Dinline + GetWorldToScreen(::Vector3 position) constraylib::Camera3Dinline operator=(const ::Camera3D &camera)raylib::Camera3Dinline operator=(const Camera3D &camera)raylib::Camera3Dinline - set(const ::Camera3D &camera)raylib::Camera3Dinline - set(const Camera3D &camera)raylib::Camera3Dinline + set(const ::Camera3D &camera)raylib::Camera3Dinlineprotected + set(const Camera3D &camera)raylib::Camera3Dinlineprotected SetAltControl(int altKey)raylib::Camera3Dinline SetFovy(float value)raylib::Camera3Dinline SetMode(int mode)raylib::Camera3Dinline @@ -106,7 +106,7 @@ $(function() { diff --git a/docs/classraylib_1_1_camera3_d.html b/docs/classraylib_1_1_camera3_d.html index 296a6d9..938bd15 100644 --- a/docs/classraylib_1_1_camera3_d.html +++ b/docs/classraylib_1_1_camera3_d.html @@ -69,6 +69,7 @@ $(function() {
raylib::Camera3D Class Reference
@@ -83,36 +84,32 @@ Public Member Functions   Camera3D & BeginMode3D ()   -Camera3D & DrawBillboard (::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE) +Camera3D & DrawBillboard (::Texture2D texture, ::Vector3 center, float size, ::Color tint=WHITE)   -Camera3D & DrawBillboard (Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint=WHITE) +Camera3D & DrawBillboard (Texture2D texture, Rectangle sourceRec, Vector3 center, float size, ::Color tint=WHITE)   Camera3D & EndMode3D ()   -float GetFovy () -  -Matrix GetMatrix () -  -Ray GetMouseRay (::Vector2 mousePosition) -  -Vector3 GetPosition () -  -Vector3 GetTarget () -  -int GetType () -  -Vector3 GetUp () -  -Vector2 GetWorldToScreen (::Vector3 position) -  +float GetFovy () const +  +Matrix GetMatrix () const +  +Ray GetMouseRay (::Vector2 mousePosition) const +  +Vector3 GetPosition () const +  +Vector3 GetTarget () const +  +int GetType () const +  +Vector3 GetUp () const +  +Vector2 GetWorldToScreen (::Vector3 position) const +  Camera3D & operator= (const ::Camera3D &camera)   Camera3D & operator= (const Camera3D &camera)   -void set (const ::Camera3D &camera) -  -void set (const Camera3D &camera) -  Camera3D & SetAltControl (int altKey)   void SetFovy (float value) @@ -135,6 +132,13 @@ Public Member Functions   Camera3D & UpdateVrTracking ()   + + + + + +

+Protected Member Functions

void set (const ::Camera3D &camera)
 
void set (const Camera3D &camera)
 

Detailed Description

@@ -247,7 +251,7 @@ Public Member Functions
-

Definition at line 60 of file Camera3D.hpp.

+

Definition at line 44 of file Camera3D.hpp.

@@ -263,7 +267,7 @@ Public Member Functions Camera3D& raylib::Camera3D::DrawBillboard ( - ::Texture2D  + ::Texture2D  texture, @@ -297,7 +301,7 @@ Public Member Functions
-

Definition at line 111 of file Camera3D.hpp.

+

Definition at line 95 of file Camera3D.hpp.

@@ -313,7 +317,7 @@ Public Member Functions Camera3D& raylib::Camera3D::DrawBillboard ( - Texture2D  + Texture2D  texture, @@ -353,7 +357,7 @@ Public Member Functions
-

Definition at line 116 of file Camera3D.hpp.

+

Definition at line 100 of file Camera3D.hpp.

@@ -380,12 +384,12 @@ Public Member Functions
-

Definition at line 64 of file Camera3D.hpp.

+

Definition at line 48 of file Camera3D.hpp.

- -

◆ GetFovy()

+ +

◆ GetFovy()

@@ -397,7 +401,7 @@ Public Member Functions float raylib::Camera3D::GetFovy ( ) - + const @@ -411,8 +415,8 @@ Public Member Functions
- -

◆ GetMatrix()

+ +

◆ GetMatrix()

@@ -424,7 +428,7 @@ Public Member Functions Matrix raylib::Camera3D::GetMatrix ( ) - + const @@ -434,12 +438,12 @@ Public Member Functions
-

Definition at line 69 of file Camera3D.hpp.

+

Definition at line 53 of file Camera3D.hpp.

- -

◆ GetMouseRay()

+ +

◆ GetMouseRay()

@@ -452,7 +456,7 @@ Public Member Functions ( ::Vector2  mousePosition) - + const @@ -462,12 +466,12 @@ Public Member Functions
-

Definition at line 103 of file Camera3D.hpp.

+

Definition at line 87 of file Camera3D.hpp.

- -

◆ GetPosition()

+ +

◆ GetPosition()

@@ -479,7 +483,7 @@ Public Member Functions Vector3 raylib::Camera3D::GetPosition ( ) - + const @@ -493,8 +497,8 @@ Public Member Functions
- -

◆ GetTarget()

+ +

◆ GetTarget()

@@ -506,7 +510,7 @@ Public Member Functions Vector3 raylib::Camera3D::GetTarget ( ) - + const @@ -520,8 +524,8 @@ Public Member Functions
- -

◆ GetType()

+ +

◆ GetType()

@@ -533,7 +537,7 @@ Public Member Functions int raylib::Camera3D::GetType ( ) - + const @@ -547,8 +551,8 @@ Public Member Functions
- -

◆ GetUp()

+ +

◆ GetUp()

@@ -560,7 +564,7 @@ Public Member Functions Vector3 raylib::Camera3D::GetUp ( ) - + const @@ -574,8 +578,8 @@ Public Member Functions
- -

◆ GetWorldToScreen()

+ +

◆ GetWorldToScreen()

@@ -588,7 +592,7 @@ Public Member Functions ( ::Vector3  position) - + const @@ -598,7 +602,7 @@ Public Member Functions
-

Definition at line 107 of file Camera3D.hpp.

+

Definition at line 91 of file Camera3D.hpp.

@@ -628,7 +632,7 @@ Public Member Functions

Definition at line 34 of file Camera3D.hpp.

-

References set().

+

References set().

@@ -658,7 +662,7 @@ Public Member Functions

Definition at line 39 of file Camera3D.hpp.

-

References set().

+

References set().

@@ -681,12 +685,12 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 44 of file Camera3D.hpp.

+

Definition at line 106 of file Camera3D.hpp.

Referenced by operator=().

@@ -711,12 +715,12 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 52 of file Camera3D.hpp.

+

Definition at line 114 of file Camera3D.hpp.

@@ -744,7 +748,7 @@ Public Member Functions
-

Definition at line 78 of file Camera3D.hpp.

+

Definition at line 62 of file Camera3D.hpp.

@@ -800,7 +804,7 @@ Public Member Functions
-

Definition at line 73 of file Camera3D.hpp.

+

Definition at line 57 of file Camera3D.hpp.

@@ -862,7 +866,7 @@ Public Member Functions
-

Definition at line 88 of file Camera3D.hpp.

+

Definition at line 72 of file Camera3D.hpp.

@@ -918,7 +922,7 @@ Public Member Functions
-

Definition at line 83 of file Camera3D.hpp.

+

Definition at line 67 of file Camera3D.hpp.

@@ -1029,7 +1033,7 @@ Public Member Functions
-

Definition at line 93 of file Camera3D.hpp.

+

Definition at line 77 of file Camera3D.hpp.

@@ -1056,14 +1060,14 @@ Public Member Functions
-

Definition at line 98 of file Camera3D.hpp.

+

Definition at line 82 of file Camera3D.hpp.

diff --git a/docs/classraylib_1_1_color-members.html b/docs/classraylib_1_1_color-members.html index 221681f..db7c17f 100644 --- a/docs/classraylib_1_1_color-members.html +++ b/docs/classraylib_1_1_color-members.html @@ -107,12 +107,12 @@ $(function() { DrawText(const std::string &text, int posX, int posY, int fontSize)raylib::Colorinline DrawText(::Font font, const std::string &text, ::Vector2 position, float fontSize, float spacing)raylib::Colorinline DrawText(::Font font, const std::string &text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap=false)raylib::Colorinline - Fade(float alpha)raylib::Colorinline + Fade(float alpha) constraylib::Colorinline FromHSV(float hue, float saturation, float value)raylib::Colorinlinestatic - GetA()raylib::Colorinline - GetB()raylib::Colorinline - GetG()raylib::Colorinline - GetR()raylib::Colorinline + GetA() constraylib::Colorinline + GetB() constraylib::Colorinline + GetG() constraylib::Colorinline + GetR() constraylib::Colorinline Goldraylib::Colorinlinestatic Grayraylib::Colorinlinestatic Greenraylib::Colorinlinestatic @@ -120,7 +120,7 @@ $(function() { Limeraylib::Colorinlinestatic Magentaraylib::Colorinlinestatic Maroonraylib::Colorinlinestatic - Normalize()raylib::Colorinline + Normalize() constraylib::Colorinline operator int() constraylib::Colorinline operator=(const ::Color &color)raylib::Colorinline operator=(const Color &color)raylib::Colorinline @@ -129,22 +129,22 @@ $(function() { Purpleraylib::Colorinlinestatic RayWhiteraylib::Colorinlinestatic Redraylib::Colorinlinestatic - set(const ::Color &color)raylib::Colorinline - set(const Color &color)raylib::Colorinline + set(const ::Color &color)raylib::Colorinlineprotected + set(const Color &color)raylib::Colorinlineprotected SetA(unsigned char value)raylib::Colorinline SetB(unsigned char value)raylib::Colorinline SetG(unsigned char value)raylib::Colorinline SetR(unsigned char value)raylib::Colorinline SkyBlueraylib::Colorinlinestatic - ToHSV()raylib::Colorinline - ToInt()raylib::Colorinline + ToHSV() constraylib::Colorinline + ToInt() constraylib::Colorinline Violetraylib::Colorinlinestatic Whiteraylib::Colorinlinestatic Yellowraylib::Colorinlinestatic diff --git a/docs/classraylib_1_1_color.html b/docs/classraylib_1_1_color.html index 16bd0e2..94767a7 100644 --- a/docs/classraylib_1_1_color.html +++ b/docs/classraylib_1_1_color.html @@ -71,6 +71,7 @@ $(function() { Public Member Functions | Static Public Member Functions | Static Public Attributes | +Protected Member Functions | List of all members
raylib::Color Class Reference
@@ -125,28 +126,24 @@ Public Member Functions   Color & DrawText (const std::string &text, int posX, int posY, int fontSize)   -Color Fade (float alpha) -  -unsigned char GetA () -  -unsigned char GetB () -  -unsigned char GetG () -  -unsigned char GetR () -  -Vector4 Normalize () -  +Color Fade (float alpha) const +  +unsigned char GetA () const +  +unsigned char GetB () const +  +unsigned char GetG () const +  +unsigned char GetR () const +  +Vector4 Normalize () const +   operator int () const   Color & operator= (const ::Color &color)   Color & operator= (const Color &color)   -void set (const ::Color &color) -  -void set (const Color &color) -  void SetA (unsigned char value)   void SetB (unsigned char value) @@ -155,10 +152,10 @@ Public Member Functions   void SetR (unsigned char value)   -Vector3 ToHSV () -  -int ToInt () -  +Vector3 ToHSV () const +  +int ToInt () const +  @@ -219,6 +216,13 @@ Static Public Attributes +

Static Public Member Functions

 
static Color Yellow = ::YELLOW
 
+ + + + +

+Protected Member Functions

void set (const ::Color &color)
 
void set (const Color &color)
 

Detailed Description

@@ -355,7 +359,7 @@ Static Public Attributes

Definition at line 38 of file Color.hpp.

-

References set().

+

References set().

@@ -385,7 +389,7 @@ Static Public Attributes

Definition at line 45 of file Color.hpp.

-

References set().

+

References set().

@@ -415,7 +419,7 @@ Static Public Attributes

Definition at line 48 of file Color.hpp.

-

References set().

+

References set().

@@ -443,7 +447,7 @@ Static Public Attributes
-

Definition at line 128 of file Color.hpp.

+

Definition at line 112 of file Color.hpp.

@@ -481,7 +485,7 @@ Static Public Attributes
-

Definition at line 147 of file Color.hpp.

+

Definition at line 131 of file Color.hpp.

@@ -525,7 +529,7 @@ Static Public Attributes
-

Definition at line 151 of file Color.hpp.

+

Definition at line 135 of file Color.hpp.

@@ -575,7 +579,7 @@ Static Public Attributes
-

Definition at line 143 of file Color.hpp.

+

Definition at line 127 of file Color.hpp.

@@ -619,7 +623,7 @@ Static Public Attributes
-

Definition at line 155 of file Color.hpp.

+

Definition at line 139 of file Color.hpp.

@@ -657,7 +661,7 @@ Static Public Attributes
-

Definition at line 159 of file Color.hpp.

+

Definition at line 143 of file Color.hpp.

@@ -685,7 +689,7 @@ Static Public Attributes
-

Definition at line 138 of file Color.hpp.

+

Definition at line 122 of file Color.hpp.

@@ -723,7 +727,7 @@ Static Public Attributes
-

Definition at line 133 of file Color.hpp.

+

Definition at line 117 of file Color.hpp.

@@ -773,7 +777,7 @@ Static Public Attributes
-

Definition at line 178 of file Color.hpp.

+

Definition at line 162 of file Color.hpp.

@@ -801,7 +805,7 @@ Static Public Attributes
-

Definition at line 188 of file Color.hpp.

+

Definition at line 172 of file Color.hpp.

@@ -845,7 +849,7 @@ Static Public Attributes
-

Definition at line 193 of file Color.hpp.

+

Definition at line 177 of file Color.hpp.

@@ -883,7 +887,7 @@ Static Public Attributes
-

Definition at line 183 of file Color.hpp.

+

Definition at line 167 of file Color.hpp.

@@ -933,7 +937,7 @@ Static Public Attributes
-

Definition at line 198 of file Color.hpp.

+

Definition at line 182 of file Color.hpp.

@@ -971,7 +975,7 @@ Static Public Attributes
-

Definition at line 203 of file Color.hpp.

+

Definition at line 187 of file Color.hpp.

@@ -1033,7 +1037,7 @@ Static Public Attributes
-

Definition at line 173 of file Color.hpp.

+

Definition at line 157 of file Color.hpp.

@@ -1089,7 +1093,7 @@ Static Public Attributes
-

Definition at line 168 of file Color.hpp.

+

Definition at line 152 of file Color.hpp.

@@ -1139,12 +1143,12 @@ Static Public Attributes
-

Definition at line 164 of file Color.hpp.

+

Definition at line 148 of file Color.hpp.

- -

◆ Fade()

+ +

◆ Fade()

@@ -1157,7 +1161,7 @@ Static Public Attributes ( float  alpha) - + const @@ -1167,9 +1171,7 @@ Static Public Attributes
-

Definition at line 99 of file Color.hpp.

- -

References set().

+

Definition at line 85 of file Color.hpp.

@@ -1217,8 +1219,8 @@ Static Public Attributes - -

◆ GetA()

+ +

◆ GetA()

@@ -1230,7 +1232,7 @@ Static Public Attributes unsigned char raylib::Color::GetA ( ) - + const @@ -1240,12 +1242,12 @@ Static Public Attributes
-

Definition at line 116 of file Color.hpp.

+

Definition at line 100 of file Color.hpp.

- -

◆ GetB()

+ +

◆ GetB()

@@ -1257,7 +1259,7 @@ Static Public Attributes unsigned char raylib::Color::GetB ( ) - + const @@ -1267,12 +1269,12 @@ Static Public Attributes
-

Definition at line 115 of file Color.hpp.

+

Definition at line 99 of file Color.hpp.

- -

◆ GetG()

+ +

◆ GetG()

@@ -1284,7 +1286,7 @@ Static Public Attributes unsigned char raylib::Color::GetG ( ) - + const @@ -1294,12 +1296,12 @@ Static Public Attributes
-

Definition at line 114 of file Color.hpp.

+

Definition at line 98 of file Color.hpp.

- -

◆ GetR()

+ +

◆ GetR()

@@ -1311,7 +1313,7 @@ Static Public Attributes unsigned char raylib::Color::GetR ( ) - + const @@ -1321,12 +1323,12 @@ Static Public Attributes
-

Definition at line 113 of file Color.hpp.

+

Definition at line 97 of file Color.hpp.

- -

◆ Normalize()

+ +

◆ Normalize()

@@ -1338,7 +1340,7 @@ Static Public Attributes Vector4 raylib::Color::Normalize ( ) - + const @@ -1348,7 +1350,7 @@ Static Public Attributes
-

Definition at line 105 of file Color.hpp.

+

Definition at line 89 of file Color.hpp.

@@ -1375,7 +1377,7 @@ Static Public Attributes
-

Definition at line 97 of file Color.hpp.

+

Definition at line 83 of file Color.hpp.

@@ -1403,9 +1405,9 @@ Static Public Attributes
-

Definition at line 118 of file Color.hpp.

+

Definition at line 102 of file Color.hpp.

-

References set().

+

References set().

@@ -1433,9 +1435,9 @@ Static Public Attributes
-

Definition at line 123 of file Color.hpp.

+

Definition at line 107 of file Color.hpp.

-

References set().

+

References set().

@@ -1458,14 +1460,14 @@ Static Public Attributes -inline +inlineprotected
-

Definition at line 52 of file Color.hpp.

+

Definition at line 193 of file Color.hpp.

-

Referenced by Color(), Fade(), and operator=().

+

Referenced by Color(), and operator=().

@@ -1488,12 +1490,12 @@ Static Public Attributes -inline +inlineprotected
-

Definition at line 59 of file Color.hpp.

+

Definition at line 200 of file Color.hpp.

@@ -1521,7 +1523,7 @@ Static Public Attributes
-

Definition at line 116 of file Color.hpp.

+

Definition at line 100 of file Color.hpp.

@@ -1549,7 +1551,7 @@ Static Public Attributes
-

Definition at line 115 of file Color.hpp.

+

Definition at line 99 of file Color.hpp.

@@ -1577,7 +1579,7 @@ Static Public Attributes
-

Definition at line 114 of file Color.hpp.

+

Definition at line 98 of file Color.hpp.

@@ -1605,12 +1607,12 @@ Static Public Attributes
-

Definition at line 113 of file Color.hpp.

+

Definition at line 97 of file Color.hpp.

- -

◆ ToHSV()

+ +

◆ ToHSV()

@@ -1622,7 +1624,7 @@ Static Public Attributes Vector3 raylib::Color::ToHSV ( ) - + const @@ -1632,12 +1634,12 @@ Static Public Attributes
-

Definition at line 109 of file Color.hpp.

+

Definition at line 93 of file Color.hpp.

- -

◆ ToInt()

+ +

◆ ToInt()

@@ -1649,7 +1651,7 @@ Static Public Attributes int raylib::Color::ToInt ( ) - + const @@ -1659,7 +1661,7 @@ Static Public Attributes
-

Definition at line 93 of file Color.hpp.

+

Definition at line 79 of file Color.hpp.

@@ -1684,7 +1686,7 @@ Static Public Attributes
-

Definition at line 84 of file Color.hpp.

+

Definition at line 70 of file Color.hpp.

@@ -1708,7 +1710,7 @@ Static Public Attributes
-

Definition at line 88 of file Color.hpp.

+

Definition at line 74 of file Color.hpp.

@@ -1732,7 +1734,7 @@ Static Public Attributes
-

Definition at line 89 of file Color.hpp.

+

Definition at line 75 of file Color.hpp.

@@ -1756,7 +1758,7 @@ Static Public Attributes
-

Definition at line 79 of file Color.hpp.

+

Definition at line 65 of file Color.hpp.

@@ -1780,7 +1782,7 @@ Static Public Attributes
-

Definition at line 85 of file Color.hpp.

+

Definition at line 71 of file Color.hpp.

@@ -1804,7 +1806,7 @@ Static Public Attributes
-

Definition at line 80 of file Color.hpp.

+

Definition at line 66 of file Color.hpp.

@@ -1828,7 +1830,7 @@ Static Public Attributes
-

Definition at line 86 of file Color.hpp.

+

Definition at line 72 of file Color.hpp.

@@ -1852,7 +1854,7 @@ Static Public Attributes
-

Definition at line 68 of file Color.hpp.

+

Definition at line 54 of file Color.hpp.

@@ -1876,7 +1878,7 @@ Static Public Attributes
-

Definition at line 77 of file Color.hpp.

+

Definition at line 63 of file Color.hpp.

@@ -1900,7 +1902,7 @@ Static Public Attributes
-

Definition at line 83 of file Color.hpp.

+

Definition at line 69 of file Color.hpp.

@@ -1924,7 +1926,7 @@ Static Public Attributes
-

Definition at line 70 of file Color.hpp.

+

Definition at line 56 of file Color.hpp.

@@ -1948,7 +1950,7 @@ Static Public Attributes
-

Definition at line 67 of file Color.hpp.

+

Definition at line 53 of file Color.hpp.

@@ -1972,7 +1974,7 @@ Static Public Attributes
-

Definition at line 75 of file Color.hpp.

+

Definition at line 61 of file Color.hpp.

@@ -1996,7 +1998,7 @@ Static Public Attributes
-

Definition at line 66 of file Color.hpp.

+

Definition at line 52 of file Color.hpp.

@@ -2020,7 +2022,7 @@ Static Public Attributes
-

Definition at line 76 of file Color.hpp.

+

Definition at line 62 of file Color.hpp.

@@ -2044,7 +2046,7 @@ Static Public Attributes
-

Definition at line 90 of file Color.hpp.

+

Definition at line 76 of file Color.hpp.

@@ -2068,7 +2070,7 @@ Static Public Attributes
-

Definition at line 74 of file Color.hpp.

+

Definition at line 60 of file Color.hpp.

@@ -2092,7 +2094,7 @@ Static Public Attributes
-

Definition at line 71 of file Color.hpp.

+

Definition at line 57 of file Color.hpp.

@@ -2116,7 +2118,7 @@ Static Public Attributes
-

Definition at line 72 of file Color.hpp.

+

Definition at line 58 of file Color.hpp.

@@ -2140,7 +2142,7 @@ Static Public Attributes
-

Definition at line 81 of file Color.hpp.

+

Definition at line 67 of file Color.hpp.

@@ -2164,7 +2166,7 @@ Static Public Attributes
-

Definition at line 91 of file Color.hpp.

+

Definition at line 77 of file Color.hpp.

@@ -2188,7 +2190,7 @@ Static Public Attributes
-

Definition at line 73 of file Color.hpp.

+

Definition at line 59 of file Color.hpp.

@@ -2212,7 +2214,7 @@ Static Public Attributes
-

Definition at line 78 of file Color.hpp.

+

Definition at line 64 of file Color.hpp.

@@ -2236,7 +2238,7 @@ Static Public Attributes
-

Definition at line 82 of file Color.hpp.

+

Definition at line 68 of file Color.hpp.

@@ -2260,7 +2262,7 @@ Static Public Attributes
-

Definition at line 87 of file Color.hpp.

+

Definition at line 73 of file Color.hpp.

@@ -2284,14 +2286,14 @@ Static Public Attributes
-

Definition at line 69 of file Color.hpp.

+

Definition at line 55 of file Color.hpp.

diff --git a/docs/classraylib_1_1_dropped_files-members.html b/docs/classraylib_1_1_dropped_files-members.html index 1160a84..2dee64e 100644 --- a/docs/classraylib_1_1_dropped_files-members.html +++ b/docs/classraylib_1_1_dropped_files-members.html @@ -74,25 +74,25 @@ $(function() {

This is the complete list of members for raylib::DroppedFiles, including all inherited members.

- - + + - + - - + + - + - +
at(int pos)raylib::DroppedFilesinline
back()raylib::DroppedFilesinline
at(int pos) constraylib::DroppedFilesinline
back() constraylib::DroppedFilesinline
clear()raylib::DroppedFilesinline
Clear()raylib::DroppedFilesinline
Count()raylib::DroppedFilesinline
Count() constraylib::DroppedFilesinline
DroppedFiles()raylib::DroppedFilesinline
empty()raylib::DroppedFilesinline
front()raylib::DroppedFilesinline
empty() constraylib::DroppedFilesinline
front() constraylib::DroppedFilesinline
Get()raylib::DroppedFilesinline
IsFileDropped()raylib::DroppedFilesinline
IsFileDropped() constraylib::DroppedFilesinline
m_countraylib::DroppedFilesprotected
m_filesraylib::DroppedFilesprotected
operator[](int pos)raylib::DroppedFilesinline
size()raylib::DroppedFilesinline
size() constraylib::DroppedFilesinline
~DroppedFiles()raylib::DroppedFilesinline
diff --git a/docs/classraylib_1_1_dropped_files.html b/docs/classraylib_1_1_dropped_files.html index f67d27d..b94bdd5 100644 --- a/docs/classraylib_1_1_dropped_files.html +++ b/docs/classraylib_1_1_dropped_files.html @@ -82,31 +82,31 @@ Public Member Functions    ~DroppedFiles ()   -std::string at (int pos) -  -std::string back () -  +std::string at (int pos) const +  +std::string back () const +  DroppedFiles & Clear ()  Clear dropped files paths buffer. More...
  void clear ()   -int Count () -  -bool empty () -  -std::string front () -  +int Count () const +  +bool empty () const +  +std::string front () const +  DroppedFiles & Get ()  Get the dropped files names. More...
  -bool IsFileDropped () - Check if a file has been dropped into window. More...
-  +bool IsFileDropped () const + Check if a file has been dropped into window. More...
+  std::string operator[] (int pos)   -int size () -  +int size () const +  @@ -178,8 +178,8 @@ Protected Attributes

Member Function Documentation

- -

◆ at()

+ +

◆ at()

@@ -192,7 +192,7 @@ Protected Attributes
- +

Protected Attributes

( int  pos) const
@@ -210,8 +210,8 @@ Protected Attributes - -

◆ back()

+ +

◆ back()

@@ -223,7 +223,7 @@ Protected Attributes std::string raylib::DroppedFiles::back ( ) - + const @@ -299,8 +299,8 @@ Protected Attributes
- -

◆ Count()

+ +

◆ Count()

@@ -312,7 +312,7 @@ Protected Attributes int raylib::DroppedFiles::Count ( ) - + const @@ -328,8 +328,8 @@ Protected Attributes
- -

◆ empty()

+ +

◆ empty()

@@ -341,7 +341,7 @@ Protected Attributes bool raylib::DroppedFiles::empty ( ) - + const @@ -357,8 +357,8 @@ Protected Attributes
- -

◆ front()

+ +

◆ front()

@@ -370,7 +370,7 @@ Protected Attributes std::string raylib::DroppedFiles::front ( ) - + const @@ -419,8 +419,8 @@ Protected Attributes
- -

◆ IsFileDropped()

+ +

◆ IsFileDropped()

@@ -432,7 +432,7 @@ Protected Attributes bool raylib::DroppedFiles::IsFileDropped ( ) - + const @@ -478,8 +478,8 @@ Protected Attributes
- -

◆ size()

+ +

◆ size()

@@ -491,7 +491,7 @@ Protected Attributes int raylib::DroppedFiles::size ( ) - + const @@ -563,7 +563,7 @@ Protected Attributes
diff --git a/docs/classraylib_1_1_font-members.html b/docs/classraylib_1_1_font-members.html index b6cf831..25c212d 100644 --- a/docs/classraylib_1_1_font-members.html +++ b/docs/classraylib_1_1_font-members.html @@ -82,17 +82,17 @@ $(function() { Font(const std::string &fileName, int fontSize, int *fontChars, int charCount)raylib::Fontinline Font(::Image &image, ::Color key, int firstChar)raylib::Fontinline Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline - GetBaseSize()raylib::Fontinline - GetChars()raylib::Fontinline - GetCharsCount()raylib::Fontinline - GetGlyphIndex(int character)raylib::Fontinline - GetRecs()raylib::Fontinline - GetTexture()raylib::Fontinline + GetBaseSize() constraylib::Fontinline + GetChars() constraylib::Fontinline + GetCharsCount() constraylib::Fontinline + GetGlyphIndex(int character) constraylib::Fontinline + GetRecs() constraylib::Fontinline + GetTexture() constraylib::Fontinline MeasureText(const std::string &text, float fontSize, float spacing)raylib::Fontinline operator=(const ::Font &font)raylib::Fontinline operator=(const Font &font)raylib::Fontinline - set(const ::Font font)raylib::Fontinline - set(const Font &font)raylib::Fontinline + set(const ::Font font)raylib::Fontinlineprotected + set(const Font &font)raylib::Fontinlineprotected SetBaseSize(int value)raylib::Fontinline SetChars(CharInfo *value)raylib::Fontinline SetCharsCount(int value)raylib::Fontinline @@ -103,7 +103,7 @@ $(function() {
diff --git a/docs/classraylib_1_1_font.html b/docs/classraylib_1_1_font.html index 45dd135..5e0c0db 100644 --- a/docs/classraylib_1_1_font.html +++ b/docs/classraylib_1_1_font.html @@ -69,6 +69,7 @@ $(function() {
raylib::Font Class Reference
@@ -95,28 +96,24 @@ Public Member Functions   Font & DrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)   -int GetBaseSize () -  -CharInfo * GetChars () -  -int GetCharsCount () -  -int GetGlyphIndex (int character) -  -Rectangle * GetRecs () -  -Texture2D GetTexture () -  +int GetBaseSize () const +  +CharInfo * GetChars () const +  +int GetCharsCount () const +  +int GetGlyphIndex (int character) const +  +Rectangle * GetRecs () const +  +Texture2D GetTexture () const +  Vector2 MeasureText (const std::string &text, float fontSize, float spacing)   Font & operator= (const ::Font &font)   Font & operator= (const Font &font)   -void set (const ::Font font) -  -void set (const Font &font) -  void SetBaseSize (int value)   void SetChars (CharInfo *value) @@ -125,10 +122,17 @@ Public Member Functions   void SetRecs (Rectangle *value)   -void SetTexture (Texture2D value) +void SetTexture (Texture2D value)   void Unload ()   + + + + + +

+Protected Member Functions

void set (const ::Font font)
 
void set (const Font &font)
 

Detailed Description

@@ -159,7 +163,7 @@ Public Member Functions

Definition at line 19 of file Font.hpp.

-

References set().

+

References set().

@@ -189,7 +193,7 @@ Public Member Functions

Definition at line 23 of file Font.hpp.

-

References set().

+

References set().

@@ -241,7 +245,7 @@ Public Member Functions

Definition at line 27 of file Font.hpp.

-

References set().

+

References set().

@@ -287,7 +291,7 @@ Public Member Functions

Definition at line 31 of file Font.hpp.

-

References set().

+

References set().

@@ -351,7 +355,7 @@ Public Member Functions

Definition at line 35 of file Font.hpp.

-

References set().

+

References set().

@@ -443,7 +447,7 @@ Public Member Functions
-

Definition at line 83 of file Font.hpp.

+

Definition at line 67 of file Font.hpp.

@@ -529,7 +533,7 @@ Public Member Functions
-

Definition at line 87 of file Font.hpp.

+

Definition at line 71 of file Font.hpp.

@@ -585,12 +589,12 @@ Public Member Functions
-

Definition at line 79 of file Font.hpp.

+

Definition at line 63 of file Font.hpp.

- -

◆ GetBaseSize()

+ +

◆ GetBaseSize()

@@ -602,7 +606,7 @@ Public Member Functions int raylib::Font::GetBaseSize ( ) - + const @@ -612,12 +616,12 @@ Public Member Functions
-

Definition at line 63 of file Font.hpp.

+

Definition at line 47 of file Font.hpp.

- -

◆ GetChars()

+ +

◆ GetChars()

@@ -629,7 +633,7 @@ Public Member Functions CharInfo* raylib::Font::GetChars ( ) - + const @@ -639,12 +643,12 @@ Public Member Functions
-

Definition at line 67 of file Font.hpp.

+

Definition at line 51 of file Font.hpp.

- -

◆ GetCharsCount()

+ +

◆ GetCharsCount()

@@ -656,7 +660,7 @@ Public Member Functions int raylib::Font::GetCharsCount ( ) - + const @@ -666,12 +670,12 @@ Public Member Functions
-

Definition at line 64 of file Font.hpp.

+

Definition at line 48 of file Font.hpp.

- -

◆ GetGlyphIndex()

+ +

◆ GetGlyphIndex()

@@ -684,7 +688,7 @@ Public Member Functions ( int  character) - + const @@ -694,12 +698,12 @@ Public Member Functions
-

Definition at line 96 of file Font.hpp.

+

Definition at line 80 of file Font.hpp.

- -

◆ GetRecs()

+ +

◆ GetRecs()

@@ -711,7 +715,7 @@ Public Member Functions Rectangle* raylib::Font::GetRecs ( ) - + const @@ -721,12 +725,12 @@ Public Member Functions
-

Definition at line 66 of file Font.hpp.

+

Definition at line 50 of file Font.hpp.

- -

◆ GetTexture()

+ +

◆ GetTexture()

@@ -735,10 +739,10 @@ Public Member Functions - + - +
Texture2D raylib::Font::GetTexture Texture2D raylib::Font::GetTexture ( ) const
@@ -748,7 +752,7 @@ Public Member Functions
-

Definition at line 65 of file Font.hpp.

+

Definition at line 49 of file Font.hpp.

@@ -792,7 +796,7 @@ Public Member Functions
-

Definition at line 92 of file Font.hpp.

+

Definition at line 76 of file Font.hpp.

@@ -820,9 +824,9 @@ Public Member Functions
-

Definition at line 69 of file Font.hpp.

+

Definition at line 53 of file Font.hpp.

-

References set().

+

References set().

@@ -850,9 +854,9 @@ Public Member Functions
-

Definition at line 74 of file Font.hpp.

+

Definition at line 58 of file Font.hpp.

-

References set().

+

References set().

@@ -875,14 +879,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 47 of file Font.hpp.

+

Definition at line 85 of file Font.hpp.

-

Referenced by Font(), and operator=().

+

Referenced by Font(), and operator=().

@@ -905,12 +909,12 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 55 of file Font.hpp.

+

Definition at line 93 of file Font.hpp.

@@ -938,7 +942,7 @@ Public Member Functions
-

Definition at line 63 of file Font.hpp.

+

Definition at line 47 of file Font.hpp.

@@ -966,7 +970,7 @@ Public Member Functions
-

Definition at line 67 of file Font.hpp.

+

Definition at line 51 of file Font.hpp.

@@ -994,7 +998,7 @@ Public Member Functions
-

Definition at line 64 of file Font.hpp.

+

Definition at line 48 of file Font.hpp.

@@ -1022,7 +1026,7 @@ Public Member Functions
-

Definition at line 66 of file Font.hpp.

+

Definition at line 50 of file Font.hpp.

@@ -1038,7 +1042,7 @@ Public Member Functions void raylib::Font::SetTexture ( - Texture2D  + Texture2D  value) @@ -1050,7 +1054,7 @@ Public Member Functions
-

Definition at line 65 of file Font.hpp.

+

Definition at line 49 of file Font.hpp.

@@ -1086,7 +1090,7 @@ Public Member Functions diff --git a/docs/classraylib_1_1_gamepad-members.html b/docs/classraylib_1_1_gamepad-members.html index 3c53208..2584fe4 100644 --- a/docs/classraylib_1_1_gamepad-members.html +++ b/docs/classraylib_1_1_gamepad-members.html @@ -75,26 +75,27 @@ $(function() {

This is the complete list of members for raylib::Gamepad, including all inherited members.

- - - - - - - - - - - + + + + + + + + + + + - - + + +
Gamepad(int gamepadNumber=0)raylib::Gamepadinline
GetAxisCount()raylib::Gamepadinline
GetAxisMovement(int axis)raylib::Gamepadinline
GetButtonPressed()raylib::Gamepadinline
GetName()raylib::Gamepadinline
GetNumber()raylib::Gamepadinline
IsAvailable()raylib::Gamepadinline
IsButtonDown(int button)raylib::Gamepadinline
IsButtonPressed(int button)raylib::Gamepadinline
IsButtonReleased(int button)raylib::Gamepadinline
IsButtonUp(int button)raylib::Gamepadinline
IsName(const std::string &name)raylib::Gamepadinline
GetAxisCount() constraylib::Gamepadinline
GetAxisMovement(int axis) constraylib::Gamepadinline
GetButtonPressed() constraylib::Gamepadinline
GetName() constraylib::Gamepadinline
GetNumber() constraylib::Gamepadinline
IsAvailable() constraylib::Gamepadinline
IsButtonDown(int button) constraylib::Gamepadinline
IsButtonPressed(int button) constraylib::Gamepadinline
IsButtonReleased(int button) constraylib::Gamepadinline
IsButtonUp(int button) constraylib::Gamepadinline
IsName(const std::string &name) constraylib::Gamepadinline
numberraylib::Gamepad
operator int() constraylib::Gamepadinline
operator=(const Gamepad &gamepad)raylib::Gamepadinline
set(int gamepadNumber)raylib::Gamepadinline
SetNumber(int value)raylib::Gamepadinline
operator=(int gamepadNumber)raylib::Gamepadinline
set(int gamepadNumber)raylib::Gamepadinlineprotected
SetNumber(int value)raylib::Gamepadinline
diff --git a/docs/classraylib_1_1_gamepad.html b/docs/classraylib_1_1_gamepad.html index e3ca7a8..41bf44b 100644 --- a/docs/classraylib_1_1_gamepad.html +++ b/docs/classraylib_1_1_gamepad.html @@ -70,6 +70,7 @@ $(function() {
Public Member Functions | Public Attributes | +Protected Member Functions | List of all members
raylib::Gamepad Class Reference
@@ -80,34 +81,34 @@ $(function() { Public Member Functions  Gamepad (int gamepadNumber=0)   -int GetAxisCount () -  -float GetAxisMovement (int axis) -  -int GetButtonPressed () -  -std::string GetName () -  -int GetNumber () -  -bool IsAvailable () -  -bool IsButtonDown (int button) -  -bool IsButtonPressed (int button) -  -bool IsButtonReleased (int button) -  -bool IsButtonUp (int button) -  -bool IsName (const std::string &name) -  +int GetAxisCount () const +  +float GetAxisMovement (int axis) const +  +int GetButtonPressed () const +  +std::string GetName () const +  +int GetNumber () const +  +bool IsAvailable () const +  +bool IsButtonDown (int button) const +  +bool IsButtonPressed (int button) const +  +bool IsButtonReleased (int button) const +  +bool IsButtonUp (int button) const +  +bool IsName (const std::string &name) const +   operator int () const   Gamepad & operator= (const Gamepad &gamepad)   -void set (int gamepadNumber) -  +Gamepad & operator= (int gamepadNumber) +  void SetNumber (int value)   @@ -115,6 +116,11 @@ Public Member Functions Public Attributes +
int number
 
+ + +

+Protected Member Functions

void set (int gamepadNumber)
 

Detailed Description

@@ -146,13 +152,13 @@ Public Attributes

Definition at line 19 of file Gamepad.hpp.

-

References set().

+

References set().

Member Function Documentation

- -

◆ GetAxisCount()

+ +

◆ GetAxisCount()

@@ -164,7 +170,7 @@ Public Attributes int raylib::Gamepad::GetAxisCount ( ) - + const @@ -174,14 +180,14 @@ Public Attributes
-

Definition at line 65 of file Gamepad.hpp.

+

Definition at line 66 of file Gamepad.hpp.

References number.

- -

◆ GetAxisMovement()

+ +

◆ GetAxisMovement()

@@ -194,7 +200,7 @@ Public Attributes ( int  axis) - + const @@ -204,14 +210,14 @@ Public Attributes
-

Definition at line 69 of file Gamepad.hpp.

+

Definition at line 70 of file Gamepad.hpp.

References number.

- -

◆ GetButtonPressed()

+ +

◆ GetButtonPressed()

@@ -223,7 +229,7 @@ Public Attributes int raylib::Gamepad::GetButtonPressed ( ) - + const @@ -233,12 +239,12 @@ Public Attributes
-

Definition at line 61 of file Gamepad.hpp.

+

Definition at line 62 of file Gamepad.hpp.

- -

◆ GetName()

+ +

◆ GetName()

@@ -250,7 +256,7 @@ Public Attributes std::string raylib::Gamepad::GetName ( ) - + const @@ -260,14 +266,14 @@ Public Attributes
-

Definition at line 43 of file Gamepad.hpp.

+

Definition at line 44 of file Gamepad.hpp.

References number.

- -

◆ GetNumber()

+ +

◆ GetNumber()

@@ -279,7 +285,7 @@ Public Attributes int raylib::Gamepad::GetNumber ( ) - + const @@ -289,12 +295,12 @@ Public Attributes
-

Definition at line 28 of file Gamepad.hpp.

+

Definition at line 24 of file Gamepad.hpp.

- -

◆ IsAvailable()

+ +

◆ IsAvailable()

@@ -306,7 +312,7 @@ Public Attributes bool raylib::Gamepad::IsAvailable ( ) - + const @@ -316,14 +322,14 @@ Public Attributes
-

Definition at line 37 of file Gamepad.hpp.

+

Definition at line 38 of file Gamepad.hpp.

References number.

- -

◆ IsButtonDown()

+ +

◆ IsButtonDown()

@@ -336,7 +342,7 @@ Public Attributes ( int  button) - + const @@ -346,14 +352,14 @@ Public Attributes
-

Definition at line 50 of file Gamepad.hpp.

+

Definition at line 51 of file Gamepad.hpp.

References number.

- -

◆ IsButtonPressed()

+ +

◆ IsButtonPressed()

@@ -366,7 +372,7 @@ Public Attributes ( int  button) - + const @@ -376,14 +382,14 @@ Public Attributes
-

Definition at line 46 of file Gamepad.hpp.

+

Definition at line 47 of file Gamepad.hpp.

References number.

- -

◆ IsButtonReleased()

+ +

◆ IsButtonReleased()

@@ -396,7 +402,7 @@ Public Attributes ( int  button) - + const @@ -406,14 +412,14 @@ Public Attributes
-

Definition at line 54 of file Gamepad.hpp.

+

Definition at line 55 of file Gamepad.hpp.

References number.

- -

◆ IsButtonUp()

+ +

◆ IsButtonUp()

@@ -426,7 +432,7 @@ Public Attributes ( int  button) - + const @@ -436,14 +442,14 @@ Public Attributes
-

Definition at line 57 of file Gamepad.hpp.

+

Definition at line 58 of file Gamepad.hpp.

References number.

- -

◆ IsName()

+ +

◆ IsName()

@@ -456,7 +462,7 @@ Public Attributes ( const std::string &  name) - + const @@ -466,7 +472,7 @@ Public Attributes
-

Definition at line 40 of file Gamepad.hpp.

+

Definition at line 41 of file Gamepad.hpp.

References number.

@@ -495,14 +501,14 @@ Public Attributes
-

Definition at line 35 of file Gamepad.hpp.

+

Definition at line 36 of file Gamepad.hpp.

References number.

-

◆ operator=()

+

◆ operator=() [1/2]

@@ -525,9 +531,39 @@ Public Attributes
-

Definition at line 30 of file Gamepad.hpp.

+

Definition at line 26 of file Gamepad.hpp.

-

References set().

+

References set().

+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Gamepad& raylib::Gamepad::operator= (int gamepadNumber)
+
+inline
+
+ +

Definition at line 31 of file Gamepad.hpp.

+ +

References set().

@@ -550,16 +586,16 @@ Public Attributes -inline +inlineprotected
-

Definition at line 24 of file Gamepad.hpp.

+

Definition at line 75 of file Gamepad.hpp.

References number.

-

Referenced by Gamepad(), and operator=().

+

Referenced by Gamepad(), and operator=().

@@ -587,7 +623,7 @@ Public Attributes
-

Definition at line 28 of file Gamepad.hpp.

+

Definition at line 24 of file Gamepad.hpp.

@@ -606,14 +642,14 @@ Public Attributes

Definition at line 22 of file Gamepad.hpp.

-

Referenced by GetAxisCount(), GetAxisMovement(), GetName(), IsAvailable(), IsButtonDown(), IsButtonPressed(), IsButtonReleased(), IsButtonUp(), IsName(), operator int(), and set().

+

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 dbc2c05..9e60cbf 100644 --- a/docs/classraylib_1_1_image-members.html +++ b/docs/classraylib_1_1_image-members.html @@ -116,16 +116,16 @@ $(function() { GenGradientV(int width, int height, Color top, Color bottom)raylib::Imageinlinestatic GenPerlinNoise(int width, int height, int offsetX, int offsetY, float scale)raylib::Imageinlinestatic GenWhiteNoise(int width, int height, float factor)raylib::Imageinlinestatic - GetAlphaBorder(float threshold)raylib::Imageinline - GetData()raylib::Imageinline - GetFormat()raylib::Imageinline - GetHeight()raylib::Imageinline + GetAlphaBorder(float threshold) constraylib::Imageinline + GetData() constraylib::Imageinline + GetFormat() constraylib::Imageinline + GetHeight() constraylib::Imageinline GetImageData()raylib::Imageinline GetImageDataNormalized()raylib::Imageinline - GetMipmaps()raylib::Imageinline + GetMipmaps() constraylib::Imageinline GetPalette(int maxPaletteSize, int *extractCount)raylib::Imageinline GetScreenData()raylib::Imageinlinestatic - GetWidth()raylib::Imageinline + GetWidth() constraylib::Imageinline Image()raylib::Imageinline Image(::Image image)raylib::Imageinline Image(const std::string &fileName)raylib::Imageinline @@ -145,7 +145,7 @@ $(function() { ResizeNN(int newWidth, int newHeight)raylib::Imageinline RotateCCW()raylib::Imageinline RotateCW()raylib::Imageinline - set(::Image image)raylib::Imageinline + set(::Image image)raylib::Imageinlineprotected SetData(void *value)raylib::Imageinline SetFormat(int value)raylib::Imageinline SetHeight(int value)raylib::Imageinline @@ -159,7 +159,7 @@ $(function() { diff --git a/docs/classraylib_1_1_image.html b/docs/classraylib_1_1_image.html index 4f090a2..47d8a95 100644 --- a/docs/classraylib_1_1_image.html +++ b/docs/classraylib_1_1_image.html @@ -70,6 +70,7 @@ $(function() {
Public Member Functions | Static Public Member Functions | +Protected Member Functions | List of all members
raylib::Image Class Reference
@@ -82,7 +83,7 @@ Public Member Functions    Image (::Image image)   - Image (::Texture2D texture) + Image (::Texture2D texture)    Image (const std::string &fileName)   @@ -162,24 +163,24 @@ Public Member Functions   Image FromImage (::Rectangle rec)   -Rectangle GetAlphaBorder (float threshold) -  -void * GetData () -  -int GetFormat () -  -int GetHeight () -  +Rectangle GetAlphaBorder (float threshold) const +  +void * GetData () const +  +int GetFormat () const +  +int GetHeight () const +  inline ::Color * GetImageData ()   inline ::Vector4 * GetImageDataNormalized ()   -int GetMipmaps () -  +int GetMipmaps () const +  inline ::Color * GetPalette (int maxPaletteSize, int *extractCount)   -int GetWidth () -  +int GetWidth () const +  void Load (const std::string &fileName)   void LoadAnim (const std::string &fileName, int *frames) @@ -204,8 +205,6 @@ Public Member Functions   Image & RotateCW ()   -void set (::Image image) -  void SetData (void *value)   void SetFormat (int value) @@ -245,6 +244,11 @@ Static Public Member Functions   static Image Text (std::string text, int fontSize, Color color)   + + + +

+Protected Member Functions

void set (::Image image)
 

Detailed Description

@@ -305,7 +309,7 @@ Static Public Member Functions

Definition at line 19 of file Image.hpp.

-

References set().

+

References set().

@@ -335,7 +339,7 @@ Static Public Member Functions

Definition at line 22 of file Image.hpp.

-

References Load().

+

References Load().

@@ -393,7 +397,7 @@ Static Public Member Functions

Definition at line 25 of file Image.hpp.

-

References LoadRaw().

+

References LoadRaw().

@@ -433,7 +437,7 @@ Static Public Member Functions

Definition at line 28 of file Image.hpp.

-

References LoadAnim().

+

References LoadAnim().

@@ -449,7 +453,7 @@ Static Public Member Functions raylib::Image::Image ( - ::Texture2D  + ::Texture2D  texture) @@ -463,7 +467,7 @@ Static Public Member Functions

Definition at line 31 of file Image.hpp.

-

References set().

+

References set().

@@ -509,7 +513,7 @@ Static Public Member Functions

Definition at line 34 of file Image.hpp.

-

References set().

+

References set().

@@ -538,7 +542,7 @@ Static Public Member Functions

Definition at line 82 of file Image.hpp.

-

References Unload().

+

References Unload().

@@ -567,7 +571,7 @@ Static Public Member Functions
-

Definition at line 157 of file Image.hpp.

+

Definition at line 149 of file Image.hpp.

@@ -595,7 +599,7 @@ Static Public Member Functions
-

Definition at line 152 of file Image.hpp.

+

Definition at line 144 of file Image.hpp.

@@ -622,7 +626,7 @@ Static Public Member Functions
-

Definition at line 162 of file Image.hpp.

+

Definition at line 154 of file Image.hpp.

@@ -650,7 +654,7 @@ Static Public Member Functions
-

Definition at line 254 of file Image.hpp.

+

Definition at line 246 of file Image.hpp.

@@ -678,7 +682,7 @@ Static Public Member Functions
-

Definition at line 237 of file Image.hpp.

+

Definition at line 229 of file Image.hpp.

@@ -706,7 +710,7 @@ Static Public Member Functions
-

Definition at line 233 of file Image.hpp.

+

Definition at line 225 of file Image.hpp.

@@ -733,7 +737,7 @@ Static Public Member Functions
-

Definition at line 229 of file Image.hpp.

+

Definition at line 221 of file Image.hpp.

@@ -760,7 +764,7 @@ Static Public Member Functions
-

Definition at line 224 of file Image.hpp.

+

Definition at line 216 of file Image.hpp.

@@ -798,7 +802,7 @@ Static Public Member Functions
-

Definition at line 241 of file Image.hpp.

+

Definition at line 233 of file Image.hpp.

@@ -826,7 +830,7 @@ Static Public Member Functions
-

Definition at line 219 of file Image.hpp.

+

Definition at line 211 of file Image.hpp.

@@ -853,7 +857,7 @@ Static Public Member Functions
-

Definition at line 135 of file Image.hpp.

+

Definition at line 127 of file Image.hpp.

@@ -881,7 +885,7 @@ Static Public Member Functions
-

Definition at line 167 of file Image.hpp.

+

Definition at line 159 of file Image.hpp.

@@ -931,7 +935,7 @@ Static Public Member Functions
-

Definition at line 171 of file Image.hpp.

+

Definition at line 163 of file Image.hpp.

@@ -981,7 +985,7 @@ Static Public Member Functions
-

Definition at line 195 of file Image.hpp.

+

Definition at line 187 of file Image.hpp.

@@ -1031,7 +1035,7 @@ Static Public Member Functions
-

Definition at line 304 of file Image.hpp.

+

Definition at line 296 of file Image.hpp.

@@ -1075,7 +1079,7 @@ Static Public Member Functions
-

Definition at line 284 of file Image.hpp.

+

Definition at line 276 of file Image.hpp.

@@ -1125,7 +1129,7 @@ Static Public Member Functions
-

Definition at line 279 of file Image.hpp.

+

Definition at line 271 of file Image.hpp.

@@ -1169,7 +1173,7 @@ Static Public Member Functions
-

Definition at line 274 of file Image.hpp.

+

Definition at line 266 of file Image.hpp.

@@ -1225,7 +1229,7 @@ Static Public Member Functions
-

Definition at line 269 of file Image.hpp.

+

Definition at line 261 of file Image.hpp.

@@ -1263,7 +1267,7 @@ Static Public Member Functions
-

Definition at line 264 of file Image.hpp.

+

Definition at line 256 of file Image.hpp.

@@ -1307,7 +1311,7 @@ Static Public Member Functions
-

Definition at line 259 of file Image.hpp.

+

Definition at line 251 of file Image.hpp.

@@ -1345,7 +1349,7 @@ Static Public Member Functions
-

Definition at line 296 of file Image.hpp.

+

Definition at line 288 of file Image.hpp.

@@ -1401,7 +1405,7 @@ Static Public Member Functions
-

Definition at line 288 of file Image.hpp.

+

Definition at line 280 of file Image.hpp.

@@ -1445,7 +1449,7 @@ Static Public Member Functions
-

Definition at line 292 of file Image.hpp.

+

Definition at line 284 of file Image.hpp.

@@ -1489,7 +1493,7 @@ Static Public Member Functions
-

Definition at line 300 of file Image.hpp.

+

Definition at line 292 of file Image.hpp.

@@ -1551,7 +1555,7 @@ Static Public Member Functions
-

Definition at line 317 of file Image.hpp.

+

Definition at line 309 of file Image.hpp.

@@ -1601,7 +1605,7 @@ Static Public Member Functions
-

Definition at line 309 of file Image.hpp.

+

Definition at line 301 of file Image.hpp.

@@ -1657,7 +1661,7 @@ Static Public Member Functions
-

Definition at line 313 of file Image.hpp.

+

Definition at line 305 of file Image.hpp.

@@ -1685,7 +1689,7 @@ Static Public Member Functions
-

Definition at line 120 of file Image.hpp.

+

Definition at line 112 of file Image.hpp.

@@ -1713,7 +1717,7 @@ Static Public Member Functions
-

Definition at line 124 of file Image.hpp.

+

Definition at line 116 of file Image.hpp.

@@ -1740,7 +1744,7 @@ Static Public Member Functions
-

Definition at line 204 of file Image.hpp.

+

Definition at line 196 of file Image.hpp.

@@ -1767,7 +1771,7 @@ Static Public Member Functions
-

Definition at line 200 of file Image.hpp.

+

Definition at line 192 of file Image.hpp.

@@ -1795,7 +1799,7 @@ Static Public Member Functions
-

Definition at line 147 of file Image.hpp.

+

Definition at line 139 of file Image.hpp.

@@ -1823,7 +1827,7 @@ Static Public Member Functions
-

Definition at line 138 of file Image.hpp.

+

Definition at line 130 of file Image.hpp.

@@ -2233,8 +2237,8 @@ Static Public Member Functions - -

◆ GetAlphaBorder()

+ +

◆ GetAlphaBorder()

@@ -2247,7 +2251,7 @@ Static Public Member Functions ( float  threshold) - + const @@ -2257,12 +2261,12 @@ Static Public Member Functions
-

Definition at line 250 of file Image.hpp.

+

Definition at line 242 of file Image.hpp.

- -

◆ GetData()

+ +

◆ GetData()

@@ -2274,7 +2278,7 @@ Static Public Member Functions void* raylib::Image::GetData ( ) - + const @@ -2284,12 +2288,12 @@ Static Public Member Functions
-

Definition at line 129 of file Image.hpp.

+

Definition at line 121 of file Image.hpp.

- -

◆ GetFormat()

+ +

◆ GetFormat()

@@ -2301,7 +2305,7 @@ Static Public Member Functions int raylib::Image::GetFormat ( ) - + const @@ -2311,12 +2315,12 @@ Static Public Member Functions
-

Definition at line 133 of file Image.hpp.

+

Definition at line 125 of file Image.hpp.

- -

◆ GetHeight()

+ +

◆ GetHeight()

@@ -2328,7 +2332,7 @@ Static Public Member Functions int raylib::Image::GetHeight ( ) - + const @@ -2338,7 +2342,7 @@ Static Public Member Functions
-

Definition at line 131 of file Image.hpp.

+

Definition at line 123 of file Image.hpp.

@@ -2365,7 +2369,7 @@ Static Public Member Functions
-

Definition at line 322 of file Image.hpp.

+

Definition at line 314 of file Image.hpp.

@@ -2392,12 +2396,12 @@ Static Public Member Functions
-

Definition at line 326 of file Image.hpp.

+

Definition at line 318 of file Image.hpp.

- -

◆ GetMipmaps()

+ +

◆ GetMipmaps()

@@ -2409,7 +2413,7 @@ Static Public Member Functions int raylib::Image::GetMipmaps ( ) - + const @@ -2419,7 +2423,7 @@ Static Public Member Functions
-

Definition at line 132 of file Image.hpp.

+

Definition at line 124 of file Image.hpp.

@@ -2457,7 +2461,7 @@ Static Public Member Functions
-

Definition at line 246 of file Image.hpp.

+

Definition at line 238 of file Image.hpp.

@@ -2490,8 +2494,8 @@ Static Public Member Functions - -

◆ GetWidth()

+ +

◆ GetWidth()

@@ -2503,7 +2507,7 @@ Static Public Member Functions int raylib::Image::GetWidth ( ) - + const @@ -2513,7 +2517,7 @@ Static Public Member Functions
-

Definition at line 130 of file Image.hpp.

+

Definition at line 122 of file Image.hpp.

@@ -2541,9 +2545,9 @@ Static Public Member Functions
-

Definition at line 104 of file Image.hpp.

+

Definition at line 96 of file Image.hpp.

-

References set().

+

References set().

Referenced by Image().

@@ -2583,9 +2587,9 @@ Static Public Member Functions
-

Definition at line 112 of file Image.hpp.

+

Definition at line 104 of file Image.hpp.

-

References set().

+

References set().

Referenced by Image().

@@ -2643,9 +2647,9 @@ Static Public Member Functions
-

Definition at line 108 of file Image.hpp.

+

Definition at line 100 of file Image.hpp.

-

References set().

+

References set().

Referenced by Image().

@@ -2674,7 +2678,7 @@ Static Public Member Functions
-

Definition at line 190 of file Image.hpp.

+

Definition at line 182 of file Image.hpp.

@@ -2688,7 +2692,7 @@ Static Public Member Functions - + @@ -2701,7 +2705,7 @@ Static Public Member Functions
raylib::Image::operator Texture2D raylib::Image::operator Texture2D ( )
-

Definition at line 329 of file Image.hpp.

+

Definition at line 321 of file Image.hpp.

@@ -2731,7 +2735,7 @@ Static Public Member Functions

Definition at line 86 of file Image.hpp.

-

References set().

+

References set().

@@ -2761,7 +2765,7 @@ Static Public Member Functions

Definition at line 91 of file Image.hpp.

-

References set().

+

References set().

@@ -2799,7 +2803,7 @@ Static Public Member Functions
-

Definition at line 176 of file Image.hpp.

+

Definition at line 168 of file Image.hpp.

@@ -2855,7 +2859,7 @@ Static Public Member Functions
-

Definition at line 185 of file Image.hpp.

+

Definition at line 177 of file Image.hpp.

@@ -2893,7 +2897,7 @@ Static Public Member Functions
-

Definition at line 180 of file Image.hpp.

+

Definition at line 172 of file Image.hpp.

@@ -2920,7 +2924,7 @@ Static Public Member Functions
-

Definition at line 214 of file Image.hpp.

+

Definition at line 206 of file Image.hpp.

@@ -2947,7 +2951,7 @@ Static Public Member Functions
-

Definition at line 209 of file Image.hpp.

+

Definition at line 201 of file Image.hpp.

@@ -2970,14 +2974,14 @@ Static Public Member Functions -inline +inlineprotected
-

Definition at line 96 of file Image.hpp.

+

Definition at line 326 of file Image.hpp.

-

Referenced by Image(), Load(), LoadAnim(), LoadRaw(), and operator=().

+

Referenced by Image(), Load(), LoadAnim(), LoadRaw(), and operator=().

@@ -3005,7 +3009,7 @@ Static Public Member Functions
-

Definition at line 129 of file Image.hpp.

+

Definition at line 121 of file Image.hpp.

@@ -3033,7 +3037,7 @@ Static Public Member Functions
-

Definition at line 133 of file Image.hpp.

+

Definition at line 125 of file Image.hpp.

@@ -3061,7 +3065,7 @@ Static Public Member Functions
-

Definition at line 131 of file Image.hpp.

+

Definition at line 123 of file Image.hpp.

@@ -3089,7 +3093,7 @@ Static Public Member Functions
-

Definition at line 132 of file Image.hpp.

+

Definition at line 124 of file Image.hpp.

@@ -3117,7 +3121,7 @@ Static Public Member Functions
-

Definition at line 130 of file Image.hpp.

+

Definition at line 122 of file Image.hpp.

@@ -3245,7 +3249,7 @@ Static Public Member Functions
-

Definition at line 142 of file Image.hpp.

+

Definition at line 134 of file Image.hpp.

@@ -3272,7 +3276,7 @@ Static Public Member Functions
-

Definition at line 116 of file Image.hpp.

+

Definition at line 108 of file Image.hpp.

Referenced by ~Image().

@@ -3281,7 +3285,7 @@ Static Public Member Functions
diff --git a/docs/classraylib_1_1_material-members.html b/docs/classraylib_1_1_material-members.html index 36b1aee..f09ab4b 100644 --- a/docs/classraylib_1_1_material-members.html +++ b/docs/classraylib_1_1_material-members.html @@ -74,12 +74,12 @@ $(function() {

This is the complete list of members for raylib::Material, including all inherited members.

- + - + @@ -87,7 +87,7 @@ $(function() {
GetShader()raylib::Materialinline
GetShader() constraylib::Materialinline
Material(::Material material)raylib::Materialinline
Material()raylib::Materialinline
operator=(const ::Material &material)raylib::Materialinline
operator=(const Material &material)raylib::Materialinline
set(::Material material)raylib::Materialinline
set(::Material material)raylib::Materialinlineprotected
SetShader(::Shader value)raylib::Materialinline
SetTexture(int mapType, ::Texture2D texture)raylib::Materialinline
Unload()raylib::Materialinline
diff --git a/docs/classraylib_1_1_material.html b/docs/classraylib_1_1_material.html index 7fc6377..79a12dd 100644 --- a/docs/classraylib_1_1_material.html +++ b/docs/classraylib_1_1_material.html @@ -69,6 +69,7 @@ $(function() {
raylib::Material Class Reference
@@ -83,20 +84,23 @@ Public Member Functions    ~Material ()   -inline ::Shader GetShader () -  +inline ::Shader GetShader () const +  Material & operator= (const ::Material &material)   Material & operator= (const Material &material)   -void set (::Material material) -  void SetShader (::Shader value)   -Material & SetTexture (int mapType, ::Texture2D texture) +Material & SetTexture (int mapType, ::Texture2D texture)   void Unload ()   + + + +

+Protected Member Functions

void set (::Material material)
 

Detailed Description

@@ -128,7 +132,7 @@ Public Member Functions

Definition at line 17 of file Material.hpp.

-

References set().

+

References set().

@@ -157,7 +161,7 @@ Public Member Functions

Definition at line 21 of file Material.hpp.

-

References set().

+

References set().

@@ -186,13 +190,13 @@ Public Member Functions

Definition at line 25 of file Material.hpp.

-

References Unload().

+

References Unload().

Member Function Documentation

- -

◆ GetShader()

+ +

◆ GetShader()

@@ -204,7 +208,7 @@ Public Member Functions inline ::Shader raylib::Material::GetShader ( ) - + const @@ -214,7 +218,7 @@ Public Member Functions
-

Definition at line 35 of file Material.hpp.

+

Definition at line 29 of file Material.hpp.

@@ -242,9 +246,9 @@ Public Member Functions
-

Definition at line 37 of file Material.hpp.

+

Definition at line 31 of file Material.hpp.

-

References set().

+

References set().

@@ -272,9 +276,9 @@ Public Member Functions
-

Definition at line 42 of file Material.hpp.

+

Definition at line 36 of file Material.hpp.

-

References set().

+

References set().

@@ -297,14 +301,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 29 of file Material.hpp.

+

Definition at line 51 of file Material.hpp.

-

Referenced by Material(), and operator=().

+

Referenced by Material(), and operator=().

@@ -332,7 +336,7 @@ Public Member Functions
-

Definition at line 35 of file Material.hpp.

+

Definition at line 29 of file Material.hpp.

@@ -354,7 +358,7 @@ Public Member Functions - ::Texture2D  + ::Texture2D  texture  @@ -370,7 +374,7 @@ Public Member Functions
-

Definition at line 51 of file Material.hpp.

+

Definition at line 45 of file Material.hpp.

@@ -397,7 +401,7 @@ Public Member Functions
-

Definition at line 47 of file Material.hpp.

+

Definition at line 41 of file Material.hpp.

Referenced by ~Material().

@@ -406,7 +410,7 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_matrix-members.html b/docs/classraylib_1_1_matrix-members.html index 35f9871..7aa6436 100644 --- a/docs/classraylib_1_1_matrix-members.html +++ b/docs/classraylib_1_1_matrix-members.html @@ -76,22 +76,22 @@ $(function() { - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -116,7 +116,7 @@ $(function() { - + @@ -143,7 +143,7 @@ $(function() {
Add(::Matrix right)raylib::Matrixinline
Frustum(double left, double right, double bottom, double top, double near, double far)raylib::Matrixinlinestatic
GetM0()raylib::Matrixinline
GetM1()raylib::Matrixinline
GetM10()raylib::Matrixinline
GetM11()raylib::Matrixinline
GetM12()raylib::Matrixinline
GetM13()raylib::Matrixinline
GetM14()raylib::Matrixinline
GetM15()raylib::Matrixinline
GetM2()raylib::Matrixinline
GetM3()raylib::Matrixinline
GetM4()raylib::Matrixinline
GetM5()raylib::Matrixinline
GetM6()raylib::Matrixinline
GetM7()raylib::Matrixinline
GetM8()raylib::Matrixinline
GetM9()raylib::Matrixinline
GetM0() constraylib::Matrixinline
GetM1() constraylib::Matrixinline
GetM10() constraylib::Matrixinline
GetM11() constraylib::Matrixinline
GetM12() constraylib::Matrixinline
GetM13() constraylib::Matrixinline
GetM14() constraylib::Matrixinline
GetM15() constraylib::Matrixinline
GetM2() constraylib::Matrixinline
GetM3() constraylib::Matrixinline
GetM4() constraylib::Matrixinline
GetM5() constraylib::Matrixinline
GetM6() constraylib::Matrixinline
GetM7() constraylib::Matrixinline
GetM8() constraylib::Matrixinline
GetM9() constraylib::Matrixinline
GetModelview()raylib::Matrixinlinestatic
GetProjection()raylib::Matrixinlinestatic
Identity()raylib::Matrixinlinestatic
RotateY(float angle)raylib::Matrixinlinestatic
RotateZ(float angle)raylib::Matrixinlinestatic
Scale(float x, float y, float z)raylib::Matrixinlinestatic
set(::Matrix mat)raylib::Matrixinline
set(::Matrix mat)raylib::Matrixinlineprotected
SetM0(float value)raylib::Matrixinline
SetM1(float value)raylib::Matrixinline
SetM10(float value)raylib::Matrixinline
diff --git a/docs/classraylib_1_1_matrix.html b/docs/classraylib_1_1_matrix.html index 7471c75..86178fa 100644 --- a/docs/classraylib_1_1_matrix.html +++ b/docs/classraylib_1_1_matrix.html @@ -70,6 +70,7 @@ $(function() {
Public Member Functions | Static Public Member Functions | +Protected Member Functions | List of all members
raylib::Matrix Class Reference
@@ -84,38 +85,38 @@ Public Member Functions   Matrix Add (::Matrix right)   -float GetM0 () -  -float GetM1 () -  -float GetM10 () -  -float GetM11 () -  -float GetM12 () -  -float GetM13 () -  -float GetM14 () -  -float GetM15 () -  -float GetM2 () -  -float GetM3 () -  -float GetM4 () -  -float GetM5 () -  -float GetM6 () -  -float GetM7 () -  -float GetM8 () -  -float GetM9 () -  +float GetM0 () const +  +float GetM1 () const +  +float GetM10 () const +  +float GetM11 () const +  +float GetM12 () const +  +float GetM13 () const +  +float GetM14 () const +  +float GetM15 () const +  +float GetM2 () const +  +float GetM3 () const +  +float GetM4 () const +  +float GetM5 () const +  +float GetM6 () const +  +float GetM7 () const +  +float GetM8 () const +  +float GetM9 () const +  Matrix Invert ()   Matrix Multiply (Matrix right) @@ -136,8 +137,6 @@ Public Member Functions   bool operator== (const Matrix &other)   -void set (::Matrix mat) -  void SetM0 (float value)   void SetM1 (float value) @@ -213,6 +212,11 @@ Static Public Member Functions   static Matrix Translate (float x, float y, float z)   + + + +

+Protected Member Functions

void set (::Matrix mat)
 

Detailed Description

@@ -244,7 +248,7 @@ Static Public Member Functions

Definition at line 23 of file Matrix.hpp.

-

References set().

+

References set().

@@ -395,7 +399,7 @@ Static Public Member Functions
-

Definition at line 145 of file Matrix.hpp.

+

Definition at line 126 of file Matrix.hpp.

@@ -457,12 +461,12 @@ Static Public Member Functions
-

Definition at line 185 of file Matrix.hpp.

+

Definition at line 166 of file Matrix.hpp.

- -

◆ GetM0()

+ +

◆ GetM0()

@@ -474,7 +478,7 @@ Static Public Member Functions float raylib::Matrix::GetM0 ( ) - + const @@ -484,12 +488,12 @@ Static Public Member Functions
-

Definition at line 65 of file Matrix.hpp.

+

Definition at line 46 of file Matrix.hpp.

- -

◆ GetM1()

+ +

◆ GetM1()

@@ -501,7 +505,7 @@ Static Public Member Functions float raylib::Matrix::GetM1 ( ) - + const @@ -511,12 +515,12 @@ Static Public Member Functions
-

Definition at line 66 of file Matrix.hpp.

+

Definition at line 47 of file Matrix.hpp.

- -

◆ GetM10()

+ +

◆ GetM10()

@@ -528,7 +532,7 @@ Static Public Member Functions float raylib::Matrix::GetM10 ( ) - + const @@ -538,12 +542,12 @@ Static Public Member Functions
-

Definition at line 75 of file Matrix.hpp.

+

Definition at line 56 of file Matrix.hpp.

- -

◆ GetM11()

+ +

◆ GetM11()

@@ -555,7 +559,7 @@ Static Public Member Functions float raylib::Matrix::GetM11 ( ) - + const @@ -565,12 +569,12 @@ Static Public Member Functions
-

Definition at line 76 of file Matrix.hpp.

+

Definition at line 57 of file Matrix.hpp.

- -

◆ GetM12()

+ +

◆ GetM12()

@@ -582,7 +586,7 @@ Static Public Member Functions float raylib::Matrix::GetM12 ( ) - + const @@ -592,12 +596,12 @@ Static Public Member Functions
-

Definition at line 77 of file Matrix.hpp.

+

Definition at line 58 of file Matrix.hpp.

- -

◆ GetM13()

+ +

◆ GetM13()

@@ -609,7 +613,7 @@ Static Public Member Functions float raylib::Matrix::GetM13 ( ) - + const @@ -619,12 +623,12 @@ Static Public Member Functions
-

Definition at line 78 of file Matrix.hpp.

+

Definition at line 59 of file Matrix.hpp.

- -

◆ GetM14()

+ +

◆ GetM14()

@@ -636,7 +640,7 @@ Static Public Member Functions float raylib::Matrix::GetM14 ( ) - + const @@ -646,12 +650,12 @@ Static Public Member Functions
-

Definition at line 79 of file Matrix.hpp.

+

Definition at line 60 of file Matrix.hpp.

- -

◆ GetM15()

+ +

◆ GetM15()

@@ -663,7 +667,7 @@ Static Public Member Functions float raylib::Matrix::GetM15 ( ) - + const @@ -673,12 +677,12 @@ Static Public Member Functions
-

Definition at line 80 of file Matrix.hpp.

+

Definition at line 61 of file Matrix.hpp.

- -

◆ GetM2()

+ +

◆ GetM2()

@@ -690,7 +694,7 @@ Static Public Member Functions float raylib::Matrix::GetM2 ( ) - + const @@ -700,12 +704,12 @@ Static Public Member Functions
-

Definition at line 67 of file Matrix.hpp.

+

Definition at line 48 of file Matrix.hpp.

- -

◆ GetM3()

+ +

◆ GetM3()

@@ -717,7 +721,7 @@ Static Public Member Functions float raylib::Matrix::GetM3 ( ) - + const @@ -727,12 +731,12 @@ Static Public Member Functions
-

Definition at line 68 of file Matrix.hpp.

+

Definition at line 49 of file Matrix.hpp.

- -

◆ GetM4()

+ +

◆ GetM4()

@@ -744,7 +748,7 @@ Static Public Member Functions float raylib::Matrix::GetM4 ( ) - + const @@ -754,12 +758,12 @@ Static Public Member Functions
-

Definition at line 69 of file Matrix.hpp.

+

Definition at line 50 of file Matrix.hpp.

- -

◆ GetM5()

+ +

◆ GetM5()

@@ -771,7 +775,7 @@ Static Public Member Functions float raylib::Matrix::GetM5 ( ) - + const @@ -781,12 +785,12 @@ Static Public Member Functions
-

Definition at line 70 of file Matrix.hpp.

+

Definition at line 51 of file Matrix.hpp.

- -

◆ GetM6()

+ +

◆ GetM6()

@@ -798,7 +802,7 @@ Static Public Member Functions float raylib::Matrix::GetM6 ( ) - + const @@ -808,12 +812,12 @@ Static Public Member Functions
-

Definition at line 71 of file Matrix.hpp.

+

Definition at line 52 of file Matrix.hpp.

- -

◆ GetM7()

+ +

◆ GetM7()

@@ -825,7 +829,7 @@ Static Public Member Functions float raylib::Matrix::GetM7 ( ) - + const @@ -835,12 +839,12 @@ Static Public Member Functions
-

Definition at line 72 of file Matrix.hpp.

+

Definition at line 53 of file Matrix.hpp.

- -

◆ GetM8()

+ +

◆ GetM8()

@@ -852,7 +856,7 @@ Static Public Member Functions float raylib::Matrix::GetM8 ( ) - + const @@ -862,12 +866,12 @@ Static Public Member Functions
-

Definition at line 73 of file Matrix.hpp.

+

Definition at line 54 of file Matrix.hpp.

- -

◆ GetM9()

+ +

◆ GetM9()

@@ -879,7 +883,7 @@ Static Public Member Functions float raylib::Matrix::GetM9 ( ) - + const @@ -889,7 +893,7 @@ Static Public Member Functions
-

Definition at line 74 of file Matrix.hpp.

+

Definition at line 55 of file Matrix.hpp.

@@ -916,7 +920,7 @@ Static Public Member Functions
-

Definition at line 121 of file Matrix.hpp.

+

Definition at line 102 of file Matrix.hpp.

@@ -943,7 +947,7 @@ Static Public Member Functions
-

Definition at line 125 of file Matrix.hpp.

+

Definition at line 106 of file Matrix.hpp.

@@ -970,7 +974,7 @@ Static Public Member Functions
-

Definition at line 142 of file Matrix.hpp.

+

Definition at line 123 of file Matrix.hpp.

@@ -997,7 +1001,7 @@ Static Public Member Functions
-

Definition at line 136 of file Matrix.hpp.

+

Definition at line 117 of file Matrix.hpp.

@@ -1041,7 +1045,7 @@ Static Public Member Functions
-

Definition at line 197 of file Matrix.hpp.

+

Definition at line 178 of file Matrix.hpp.

@@ -1069,7 +1073,7 @@ Static Public Member Functions
-

Definition at line 178 of file Matrix.hpp.

+

Definition at line 159 of file Matrix.hpp.

@@ -1096,7 +1100,7 @@ Static Public Member Functions
-

Definition at line 139 of file Matrix.hpp.

+

Definition at line 120 of file Matrix.hpp.

@@ -1123,9 +1127,9 @@ Static Public Member Functions
-

Definition at line 204 of file Matrix.hpp.

+

Definition at line 185 of file Matrix.hpp.

-

References ToFloatV().

+

References ToFloatV().

@@ -1153,7 +1157,7 @@ Static Public Member Functions
-

Definition at line 181 of file Matrix.hpp.

+

Definition at line 162 of file Matrix.hpp.

@@ -1181,7 +1185,7 @@ Static Public Member Functions
-

Definition at line 148 of file Matrix.hpp.

+

Definition at line 129 of file Matrix.hpp.

@@ -1209,7 +1213,7 @@ Static Public Member Functions
-

Definition at line 154 of file Matrix.hpp.

+

Definition at line 135 of file Matrix.hpp.

@@ -1237,9 +1241,9 @@ Static Public Member Functions
-

Definition at line 82 of file Matrix.hpp.

+

Definition at line 63 of file Matrix.hpp.

-

References set().

+

References set().

@@ -1267,9 +1271,9 @@ Static Public Member Functions
-

Definition at line 87 of file Matrix.hpp.

+

Definition at line 68 of file Matrix.hpp.

-

References set().

+

References set().

@@ -1297,7 +1301,7 @@ Static Public Member Functions
-

Definition at line 92 of file Matrix.hpp.

+

Definition at line 73 of file Matrix.hpp.

@@ -1359,7 +1363,7 @@ Static Public Member Functions
-

Definition at line 193 of file Matrix.hpp.

+

Definition at line 174 of file Matrix.hpp.

@@ -1409,7 +1413,7 @@ Static Public Member Functions
-

Definition at line 189 of file Matrix.hpp.

+

Definition at line 170 of file Matrix.hpp.

@@ -1447,7 +1451,7 @@ Static Public Member Functions
-

Definition at line 160 of file Matrix.hpp.

+

Definition at line 141 of file Matrix.hpp.

@@ -1475,7 +1479,7 @@ Static Public Member Functions
-

Definition at line 166 of file Matrix.hpp.

+

Definition at line 147 of file Matrix.hpp.

@@ -1503,7 +1507,7 @@ Static Public Member Functions
-

Definition at line 163 of file Matrix.hpp.

+

Definition at line 144 of file Matrix.hpp.

@@ -1531,7 +1535,7 @@ Static Public Member Functions
-

Definition at line 169 of file Matrix.hpp.

+

Definition at line 150 of file Matrix.hpp.

@@ -1559,7 +1563,7 @@ Static Public Member Functions
-

Definition at line 172 of file Matrix.hpp.

+

Definition at line 153 of file Matrix.hpp.

@@ -1603,7 +1607,7 @@ Static Public Member Functions
-

Definition at line 175 of file Matrix.hpp.

+

Definition at line 156 of file Matrix.hpp.

@@ -1626,14 +1630,14 @@ Static Public Member Functions -inline +inlineprotected
-

Definition at line 46 of file Matrix.hpp.

+

Definition at line 192 of file Matrix.hpp.

-

Referenced by Matrix(), and operator=().

+

Referenced by Matrix(), and operator=().

@@ -1661,7 +1665,7 @@ Static Public Member Functions
-

Definition at line 65 of file Matrix.hpp.

+

Definition at line 46 of file Matrix.hpp.

@@ -1689,7 +1693,7 @@ Static Public Member Functions
-

Definition at line 66 of file Matrix.hpp.

+

Definition at line 47 of file Matrix.hpp.

@@ -1717,7 +1721,7 @@ Static Public Member Functions
-

Definition at line 75 of file Matrix.hpp.

+

Definition at line 56 of file Matrix.hpp.

@@ -1745,7 +1749,7 @@ Static Public Member Functions
-

Definition at line 76 of file Matrix.hpp.

+

Definition at line 57 of file Matrix.hpp.

@@ -1773,7 +1777,7 @@ Static Public Member Functions
-

Definition at line 77 of file Matrix.hpp.

+

Definition at line 58 of file Matrix.hpp.

@@ -1801,7 +1805,7 @@ Static Public Member Functions
-

Definition at line 78 of file Matrix.hpp.

+

Definition at line 59 of file Matrix.hpp.

@@ -1829,7 +1833,7 @@ Static Public Member Functions
-

Definition at line 79 of file Matrix.hpp.

+

Definition at line 60 of file Matrix.hpp.

@@ -1857,7 +1861,7 @@ Static Public Member Functions
-

Definition at line 80 of file Matrix.hpp.

+

Definition at line 61 of file Matrix.hpp.

@@ -1885,7 +1889,7 @@ Static Public Member Functions
-

Definition at line 67 of file Matrix.hpp.

+

Definition at line 48 of file Matrix.hpp.

@@ -1913,7 +1917,7 @@ Static Public Member Functions
-

Definition at line 68 of file Matrix.hpp.

+

Definition at line 49 of file Matrix.hpp.

@@ -1941,7 +1945,7 @@ Static Public Member Functions
-

Definition at line 69 of file Matrix.hpp.

+

Definition at line 50 of file Matrix.hpp.

@@ -1969,7 +1973,7 @@ Static Public Member Functions
-

Definition at line 70 of file Matrix.hpp.

+

Definition at line 51 of file Matrix.hpp.

@@ -1997,7 +2001,7 @@ Static Public Member Functions
-

Definition at line 71 of file Matrix.hpp.

+

Definition at line 52 of file Matrix.hpp.

@@ -2025,7 +2029,7 @@ Static Public Member Functions
-

Definition at line 72 of file Matrix.hpp.

+

Definition at line 53 of file Matrix.hpp.

@@ -2053,7 +2057,7 @@ Static Public Member Functions
-

Definition at line 73 of file Matrix.hpp.

+

Definition at line 54 of file Matrix.hpp.

@@ -2081,7 +2085,7 @@ Static Public Member Functions
-

Definition at line 74 of file Matrix.hpp.

+

Definition at line 55 of file Matrix.hpp.

@@ -2108,7 +2112,7 @@ Static Public Member Functions
-

Definition at line 116 of file Matrix.hpp.

+

Definition at line 97 of file Matrix.hpp.

@@ -2135,7 +2139,7 @@ Static Public Member Functions
-

Definition at line 111 of file Matrix.hpp.

+

Definition at line 92 of file Matrix.hpp.

@@ -2163,7 +2167,7 @@ Static Public Member Functions
-

Definition at line 151 of file Matrix.hpp.

+

Definition at line 132 of file Matrix.hpp.

@@ -2190,9 +2194,9 @@ Static Public Member Functions
-

Definition at line 201 of file Matrix.hpp.

+

Definition at line 182 of file Matrix.hpp.

-

Referenced by operator float16().

+

Referenced by operator float16().

@@ -2219,7 +2223,7 @@ Static Public Member Functions
-

Definition at line 130 of file Matrix.hpp.

+

Definition at line 111 of file Matrix.hpp.

@@ -2263,7 +2267,7 @@ Static Public Member Functions
-

Definition at line 157 of file Matrix.hpp.

+

Definition at line 138 of file Matrix.hpp.

@@ -2290,14 +2294,14 @@ Static Public Member Functions
-

Definition at line 133 of file Matrix.hpp.

+

Definition at line 114 of file Matrix.hpp.

diff --git a/docs/classraylib_1_1_mesh-members.html b/docs/classraylib_1_1_mesh-members.html index 46b2dcc..223d5a1 100644 --- a/docs/classraylib_1_1_mesh-members.html +++ b/docs/classraylib_1_1_mesh-members.html @@ -77,8 +77,8 @@ $(function() { Binormals()raylib::Meshinline BoundingBox()raylib::Meshinline Export(const std::string &fileName)raylib::Meshinline - GetTriangleCount()raylib::Meshinline - GetVertexCount()raylib::Meshinline + GetTriangleCount() constraylib::Meshinline + GetVertexCount() constraylib::Meshinline LoadModelFrom()raylib::Meshinline Mesh(::Mesh mesh)raylib::Meshinline Mesh(int VertexCount=0, int TriangleCount=0)raylib::Meshinline @@ -87,7 +87,7 @@ $(function() { operator raylib::Model()raylib::Meshinline operator=(const ::Mesh &mesh)raylib::Meshinline operator=(const Mesh &mesh)raylib::Meshinline - set(::Mesh mesh)raylib::Meshinline + set(::Mesh mesh)raylib::Meshinlineprotected SetTriangleCount(int value)raylib::Meshinline SetVertexCount(int value)raylib::Meshinline Tangents()raylib::Meshinline @@ -96,7 +96,7 @@ $(function() { diff --git a/docs/classraylib_1_1_mesh.html b/docs/classraylib_1_1_mesh.html index 81dd274..3498e75 100644 --- a/docs/classraylib_1_1_mesh.html +++ b/docs/classraylib_1_1_mesh.html @@ -69,6 +69,7 @@ $(function() {
raylib::Mesh Class Reference
@@ -89,10 +90,10 @@ Public Member Functions   Mesh & Export (const std::string &fileName)   -int GetTriangleCount () -  -int GetVertexCount () -  +int GetTriangleCount () const +  +int GetVertexCount () const +  raylib::Model LoadModelFrom ()   Mesh & NormalsSmooth () @@ -105,8 +106,6 @@ Public Member Functions   Mesh & operator= (const Mesh &mesh)   -void set (::Mesh mesh) -  void SetTriangleCount (int value)   void SetVertexCount (int value) @@ -115,6 +114,11 @@ Public Member Functions   void Unload ()   + + + +

+Protected Member Functions

void set (::Mesh mesh)
 

Detailed Description

@@ -146,7 +150,7 @@ Public Member Functions

Definition at line 20 of file Mesh.hpp.

-

References set().

+

References set().

@@ -211,9 +215,9 @@ Public Member Functions
-

Definition at line 60 of file Mesh.hpp.

+

Definition at line 42 of file Mesh.hpp.

-

References Unload().

+

References Unload().

@@ -241,7 +245,7 @@ Public Member Functions
-

Definition at line 85 of file Mesh.hpp.

+

Definition at line 67 of file Mesh.hpp.

@@ -268,9 +272,9 @@ Public Member Functions
-

Definition at line 73 of file Mesh.hpp.

+

Definition at line 55 of file Mesh.hpp.

-

Referenced by operator raylib::BoundingBox().

+

Referenced by operator raylib::BoundingBox().

@@ -298,12 +302,12 @@ Public Member Functions
-

Definition at line 64 of file Mesh.hpp.

+

Definition at line 46 of file Mesh.hpp.

- -

◆ GetTriangleCount()

+ +

◆ GetTriangleCount()

@@ -315,7 +319,7 @@ Public Member Functions int raylib::Mesh::GetTriangleCount ( ) - + const @@ -325,12 +329,12 @@ Public Member Functions
-

Definition at line 48 of file Mesh.hpp.

+

Definition at line 30 of file Mesh.hpp.

- -

◆ GetVertexCount()

+ +

◆ GetVertexCount()

@@ -342,7 +346,7 @@ Public Member Functions int raylib::Mesh::GetVertexCount ( ) - + const @@ -352,7 +356,7 @@ Public Member Functions
-

Definition at line 47 of file Mesh.hpp.

+

Definition at line 29 of file Mesh.hpp.

@@ -379,9 +383,9 @@ Public Member Functions
-

Definition at line 95 of file Mesh.hpp.

+

Definition at line 77 of file Mesh.hpp.

-

Referenced by operator raylib::Model().

+

Referenced by operator raylib::Model().

@@ -408,7 +412,7 @@ Public Member Functions
-

Definition at line 90 of file Mesh.hpp.

+

Definition at line 72 of file Mesh.hpp.

@@ -435,9 +439,9 @@ Public Member Functions
-

Definition at line 76 of file Mesh.hpp.

+

Definition at line 58 of file Mesh.hpp.

-

References BoundingBox().

+

References BoundingBox().

@@ -464,9 +468,9 @@ Public Member Functions
-

Definition at line 98 of file Mesh.hpp.

+

Definition at line 80 of file Mesh.hpp.

-

References LoadModelFrom().

+

References LoadModelFrom().

@@ -494,9 +498,9 @@ Public Member Functions
-

Definition at line 50 of file Mesh.hpp.

+

Definition at line 32 of file Mesh.hpp.

-

References set().

+

References set().

@@ -524,9 +528,9 @@ Public Member Functions
-

Definition at line 55 of file Mesh.hpp.

+

Definition at line 37 of file Mesh.hpp.

-

References set().

+

References set().

@@ -549,14 +553,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 29 of file Mesh.hpp.

+

Definition at line 85 of file Mesh.hpp.

-

Referenced by Mesh(), and operator=().

+

Referenced by Mesh(), and operator=().

@@ -584,7 +588,7 @@ Public Member Functions
-

Definition at line 48 of file Mesh.hpp.

+

Definition at line 30 of file Mesh.hpp.

@@ -612,7 +616,7 @@ Public Member Functions
-

Definition at line 47 of file Mesh.hpp.

+

Definition at line 29 of file Mesh.hpp.

@@ -639,7 +643,7 @@ Public Member Functions
-

Definition at line 80 of file Mesh.hpp.

+

Definition at line 62 of file Mesh.hpp.

@@ -666,16 +670,16 @@ Public Member Functions
-

Definition at line 69 of file Mesh.hpp.

+

Definition at line 51 of file Mesh.hpp.

-

Referenced by ~Mesh().

+

Referenced by ~Mesh().

diff --git a/docs/classraylib_1_1_model-members.html b/docs/classraylib_1_1_model-members.html index a71a076..f7e056c 100644 --- a/docs/classraylib_1_1_model-members.html +++ b/docs/classraylib_1_1_model-members.html @@ -74,17 +74,17 @@ $(function() {

This is the complete list of members for raylib::Model, including all inherited members.

- - - - - + + + + + - + @@ -95,7 +95,7 @@ $(function() {
GetCollision(::Ray ray)raylib::Modelinline
GetMaterialCount()raylib::Modelinline
GetMeshCount()raylib::Modelinline
GetTransform()raylib::Modelinline
IsModelAnimationValid(::ModelAnimation anim)raylib::Modelinline
GetCollision(::Ray ray) constraylib::Modelinline
GetMaterialCount() constraylib::Modelinline
GetMeshCount() constraylib::Modelinline
GetTransform() constraylib::Modelinline
IsModelAnimationValid(::ModelAnimation anim) constraylib::Modelinline
Model(::Model model)raylib::Modelinline
Model(const std::string &fileName)raylib::Modelinline
Model(::Mesh mesh)raylib::Modelinline
operator=(const ::Model &model)raylib::Modelinline
operator=(const Model &model)raylib::Modelinline
set(::Model model)raylib::Modelinline
set(::Model model)raylib::Modelinlineprotected
SetMaterialCount(int value)raylib::Modelinline
SetMeshCount(int value)raylib::Modelinline
SetMeshMaterial(int meshId, int materialId)raylib::Modelinline
diff --git a/docs/classraylib_1_1_model.html b/docs/classraylib_1_1_model.html index 49cba6b..7b46bff 100644 --- a/docs/classraylib_1_1_model.html +++ b/docs/classraylib_1_1_model.html @@ -69,6 +69,7 @@ $(function() {
raylib::Model Class Reference
@@ -85,22 +86,20 @@ Public Member Functions    ~Model ()   -RayHitInfo GetCollision (::Ray ray) -  -int GetMaterialCount () -  -int GetMeshCount () -  -inline ::Matrix GetTransform () -  -bool IsModelAnimationValid (::ModelAnimation anim) -  +RayHitInfo GetCollision (::Ray ray) const +  +int GetMaterialCount () const +  +int GetMeshCount () const +  +inline ::Matrix GetTransform () const +  +bool IsModelAnimationValid (::ModelAnimation anim) const +  Model & operator= (const ::Model &model)   Model & operator= (const Model &model)   -void set (::Model model) -  void SetMaterialCount (int value)   void SetMeshCount (int value) @@ -113,6 +112,11 @@ Public Member Functions   Model & UpdateModelAnimation (::ModelAnimation anim, int frame)   + + + +

+Protected Member Functions

void set (::Model model)
 

Detailed Description

@@ -144,7 +148,7 @@ Public Member Functions

Definition at line 18 of file Model.hpp.

-

References set().

+

References set().

@@ -174,7 +178,7 @@ Public Member Functions

Definition at line 22 of file Model.hpp.

-

References set().

+

References set().

@@ -204,7 +208,7 @@ Public Member Functions

Definition at line 26 of file Model.hpp.

-

References set().

+

References set().

@@ -233,13 +237,13 @@ Public Member Functions

Definition at line 30 of file Model.hpp.

-

References Unload().

+

References Unload().

Member Function Documentation

- -

◆ GetCollision()

+ +

◆ GetCollision()

@@ -252,7 +256,7 @@ Public Member Functions ( ::Ray  ray) - + const @@ -262,12 +266,12 @@ Public Member Functions
-

Definition at line 71 of file Model.hpp.

+

Definition at line 57 of file Model.hpp.

- -

◆ GetMaterialCount()

+ +

◆ GetMaterialCount()

@@ -279,7 +283,7 @@ Public Member Functions int raylib::Model::GetMaterialCount ( ) - + const @@ -289,12 +293,12 @@ Public Member Functions
-

Definition at line 50 of file Model.hpp.

+

Definition at line 36 of file Model.hpp.

- -

◆ GetMeshCount()

+ +

◆ GetMeshCount()

@@ -306,7 +310,7 @@ Public Member Functions int raylib::Model::GetMeshCount ( ) - + const @@ -316,12 +320,12 @@ Public Member Functions
-

Definition at line 49 of file Model.hpp.

+

Definition at line 35 of file Model.hpp.

- -

◆ GetTransform()

+ +

◆ GetTransform()

@@ -333,7 +337,7 @@ Public Member Functions inline ::Matrix raylib::Model::GetTransform ( ) - + const @@ -343,12 +347,12 @@ Public Member Functions
-

Definition at line 48 of file Model.hpp.

+

Definition at line 34 of file Model.hpp.

- -

◆ IsModelAnimationValid()

+ +

◆ IsModelAnimationValid()

@@ -361,7 +365,7 @@ Public Member Functions ( ::ModelAnimation  anim) - + const @@ -371,7 +375,7 @@ Public Member Functions
-

Definition at line 80 of file Model.hpp.

+

Definition at line 66 of file Model.hpp.

@@ -399,9 +403,9 @@ Public Member Functions
-

Definition at line 52 of file Model.hpp.

+

Definition at line 38 of file Model.hpp.

-

References set().

+

References set().

@@ -429,9 +433,9 @@ Public Member Functions
-

Definition at line 57 of file Model.hpp.

+

Definition at line 43 of file Model.hpp.

-

References set().

+

References set().

@@ -454,14 +458,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 34 of file Model.hpp.

+

Definition at line 71 of file Model.hpp.

-

Referenced by Model(), and operator=().

+

Referenced by Model(), and operator=().

@@ -489,7 +493,7 @@ Public Member Functions
-

Definition at line 50 of file Model.hpp.

+

Definition at line 36 of file Model.hpp.

@@ -517,7 +521,7 @@ Public Member Functions
-

Definition at line 49 of file Model.hpp.

+

Definition at line 35 of file Model.hpp.

@@ -555,7 +559,7 @@ Public Member Functions
-

Definition at line 66 of file Model.hpp.

+

Definition at line 52 of file Model.hpp.

@@ -583,7 +587,7 @@ Public Member Functions
-

Definition at line 48 of file Model.hpp.

+

Definition at line 34 of file Model.hpp.

@@ -610,7 +614,7 @@ Public Member Functions
-

Definition at line 62 of file Model.hpp.

+

Definition at line 48 of file Model.hpp.

Referenced by ~Model().

@@ -650,14 +654,14 @@ Public Member Functions
-

Definition at line 75 of file Model.hpp.

+

Definition at line 61 of file Model.hpp.

diff --git a/docs/classraylib_1_1_model_animation-members.html b/docs/classraylib_1_1_model_animation-members.html index 33a16af..928a937 100644 --- a/docs/classraylib_1_1_model_animation-members.html +++ b/docs/classraylib_1_1_model_animation-members.html @@ -74,16 +74,16 @@ $(function() {

This is the complete list of members for raylib::ModelAnimation, including all inherited members.

- - - - - - + + + + + + - + @@ -94,7 +94,7 @@ $(function() {
GetBoneCount()raylib::ModelAnimationinline
GetBones()raylib::ModelAnimationinline
GetFrameCount()raylib::ModelAnimationinline
GetFramePoses()raylib::ModelAnimationinline
IsModelAnimationValid(::Model model)raylib::ModelAnimationinline
IsValid(::Model model)raylib::ModelAnimationinline
GetBoneCount() constraylib::ModelAnimationinline
GetBones() constraylib::ModelAnimationinline
GetFrameCount() constraylib::ModelAnimationinline
GetFramePoses() constraylib::ModelAnimationinline
IsModelAnimationValid(::Model model) constraylib::ModelAnimationinline
IsValid(::Model model) constraylib::ModelAnimationinline
ModelAnimation(::ModelAnimation model)raylib::ModelAnimationinline
operator=(const ::ModelAnimation &model)raylib::ModelAnimationinline
operator=(const ModelAnimation &model)raylib::ModelAnimationinline
set(::ModelAnimation model)raylib::ModelAnimationinline
set(::ModelAnimation model)raylib::ModelAnimationinlineprotected
SetBoneCount(int value)raylib::ModelAnimationinline
SetBones(::BoneInfo *value)raylib::ModelAnimationinline
SetFrameCount(int value)raylib::ModelAnimationinline
diff --git a/docs/classraylib_1_1_model_animation.html b/docs/classraylib_1_1_model_animation.html index 1c5911c..bdfaa61 100644 --- a/docs/classraylib_1_1_model_animation.html +++ b/docs/classraylib_1_1_model_animation.html @@ -69,6 +69,7 @@ $(function() {
raylib::ModelAnimation Class Reference
@@ -81,24 +82,22 @@ Public Member Functions    ~ModelAnimation ()   -int GetBoneCount () -  -inline ::BoneInfo * GetBones () -  -int GetFrameCount () -  -Transform ** GetFramePoses () -  -bool IsModelAnimationValid (::Model model) -  -bool IsValid (::Model model) -  +int GetBoneCount () const +  +inline ::BoneInfo * GetBones () const +  +int GetFrameCount () const +  +Transform ** GetFramePoses () const +  +bool IsModelAnimationValid (::Model model) const +  +bool IsValid (::Model model) const +  ModelAnimation & operator= (const ::ModelAnimation &model)   ModelAnimation & operator= (const ModelAnimation &model)   -void set (::ModelAnimation model) -  void SetBoneCount (int value)   void SetBones (::BoneInfo *value) @@ -111,6 +110,11 @@ Public Member Functions   ModelAnimation & UpdateAnimation (::Model model, int frame)   + + + +

+Protected Member Functions

void set (::ModelAnimation model)
 

Detailed Description

@@ -142,7 +146,7 @@ Public Member Functions

Definition at line 18 of file ModelAnimation.hpp.

-

References set().

+

References set().

@@ -171,13 +175,13 @@ Public Member Functions

Definition at line 22 of file ModelAnimation.hpp.

-

References Unload().

+

References Unload().

Member Function Documentation

- -

◆ GetBoneCount()

+ +

◆ GetBoneCount()

@@ -189,7 +193,7 @@ Public Member Functions int raylib::ModelAnimation::GetBoneCount ( ) - + const @@ -199,12 +203,12 @@ Public Member Functions
-

Definition at line 33 of file ModelAnimation.hpp.

+

Definition at line 26 of file ModelAnimation.hpp.

- -

◆ GetBones()

+ +

◆ GetBones()

@@ -216,7 +220,7 @@ Public Member Functions inline ::BoneInfo* raylib::ModelAnimation::GetBones ( ) - + const @@ -226,12 +230,12 @@ Public Member Functions
-

Definition at line 34 of file ModelAnimation.hpp.

+

Definition at line 27 of file ModelAnimation.hpp.

- -

◆ GetFrameCount()

+ +

◆ GetFrameCount()

@@ -243,7 +247,7 @@ Public Member Functions int raylib::ModelAnimation::GetFrameCount ( ) - + const @@ -253,12 +257,12 @@ Public Member Functions
-

Definition at line 35 of file ModelAnimation.hpp.

+

Definition at line 28 of file ModelAnimation.hpp.

- -

◆ GetFramePoses()

+ +

◆ GetFramePoses()

@@ -270,7 +274,7 @@ Public Member Functions Transform** raylib::ModelAnimation::GetFramePoses ( ) - + const @@ -280,12 +284,12 @@ Public Member Functions
-

Definition at line 36 of file ModelAnimation.hpp.

+

Definition at line 29 of file ModelAnimation.hpp.

- -

◆ IsModelAnimationValid()

+ +

◆ IsModelAnimationValid()

@@ -298,7 +302,7 @@ Public Member Functions ( ::Model  model) - + const @@ -308,12 +312,12 @@ Public Member Functions
-

Definition at line 61 of file ModelAnimation.hpp.

+

Definition at line 54 of file ModelAnimation.hpp.

- -

◆ IsValid()

+ +

◆ IsValid()

@@ -326,7 +330,7 @@ Public Member Functions ( ::Model  model) - + const @@ -336,7 +340,7 @@ Public Member Functions
-

Definition at line 57 of file ModelAnimation.hpp.

+

Definition at line 50 of file ModelAnimation.hpp.

@@ -364,9 +368,9 @@ Public Member Functions
-

Definition at line 38 of file ModelAnimation.hpp.

+

Definition at line 31 of file ModelAnimation.hpp.

-

References set().

+

References set().

@@ -394,9 +398,9 @@ Public Member Functions
-

Definition at line 43 of file ModelAnimation.hpp.

+

Definition at line 36 of file ModelAnimation.hpp.

-

References set().

+

References set().

@@ -419,14 +423,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 26 of file ModelAnimation.hpp.

+

Definition at line 59 of file ModelAnimation.hpp.

-

Referenced by ModelAnimation(), and operator=().

+

Referenced by ModelAnimation(), and operator=().

@@ -454,7 +458,7 @@ Public Member Functions
-

Definition at line 33 of file ModelAnimation.hpp.

+

Definition at line 26 of file ModelAnimation.hpp.

@@ -482,7 +486,7 @@ Public Member Functions
-

Definition at line 34 of file ModelAnimation.hpp.

+

Definition at line 27 of file ModelAnimation.hpp.

@@ -510,7 +514,7 @@ Public Member Functions
-

Definition at line 35 of file ModelAnimation.hpp.

+

Definition at line 28 of file ModelAnimation.hpp.

@@ -538,7 +542,7 @@ Public Member Functions
-

Definition at line 36 of file ModelAnimation.hpp.

+

Definition at line 29 of file ModelAnimation.hpp.

@@ -565,7 +569,7 @@ Public Member Functions
-

Definition at line 48 of file ModelAnimation.hpp.

+

Definition at line 41 of file ModelAnimation.hpp.

Referenced by ~ModelAnimation().

@@ -605,14 +609,14 @@ Public Member Functions
-

Definition at line 52 of file ModelAnimation.hpp.

+

Definition at line 45 of file ModelAnimation.hpp.

diff --git a/docs/classraylib_1_1_mouse-members.html b/docs/classraylib_1_1_mouse-members.html index 2a43673..e95df01 100644 --- a/docs/classraylib_1_1_mouse-members.html +++ b/docs/classraylib_1_1_mouse-members.html @@ -74,17 +74,19 @@ $(function() {

This is the complete list of members for raylib::Mouse, including all inherited members.

- - - - - - - - - - - + + + + + + + + + + + + + @@ -93,7 +95,7 @@ $(function() {
GetPosition()raylib::Mouseinline
GetTouchPosition(int index)raylib::Mouseinline
GetTouchX()raylib::Mouseinline
GetTouchY()raylib::Mouseinline
GetWheelMove()raylib::Mouseinline
GetX()raylib::Mouseinline
GetY()raylib::Mouseinline
IsButtonDown(int button)raylib::Mouseinline
IsButtonPressed(int button)raylib::Mouseinline
IsButtonReleased(int button)raylib::Mouseinline
IsButtonUp(int button)raylib::Mouseinline
GetCursor() constraylib::Mouseinline
GetPosition() constraylib::Mouseinline
GetTouchPosition(int index) constraylib::Mouseinline
GetTouchX() constraylib::Mouseinline
GetTouchY() constraylib::Mouseinline
GetWheelMove() constraylib::Mouseinline
GetX() constraylib::Mouseinline
GetY() constraylib::Mouseinline
IsButtonDown(int button) constraylib::Mouseinline
IsButtonPressed(int button) constraylib::Mouseinline
IsButtonReleased(int button) constraylib::Mouseinline
IsButtonUp(int button) constraylib::Mouseinline
SetCursor(int cursor)raylib::Mouseinline
SetOffset(int offsetX, int offsetY)raylib::Mouseinline
SetPosition(int x, int y)raylib::Mouseinline
SetScale(float scaleX, float scaleY)raylib::Mouseinline
diff --git a/docs/classraylib_1_1_mouse.html b/docs/classraylib_1_1_mouse.html index 19e1de8..214beb3 100644 --- a/docs/classraylib_1_1_mouse.html +++ b/docs/classraylib_1_1_mouse.html @@ -77,28 +77,32 @@ $(function() { - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -114,8 +118,35 @@ Public Member Functions

Definition at line 15 of file Mouse.hpp.

Member Function Documentation

- -

◆ GetPosition()

+ +

◆ GetCursor()

+ +
+
+

Public Member Functions

Vector2 GetPosition ()
 
Vector2 GetTouchPosition (int index)
 
int GetTouchX ()
 
int GetTouchY ()
 
int GetWheelMove ()
 
int GetX ()
 
int GetY ()
 
bool IsButtonDown (int button)
 
bool IsButtonPressed (int button)
 
bool IsButtonReleased (int button)
 
bool IsButtonUp (int button)
 
int GetCursor () const
 
Vector2 GetPosition () const
 
Vector2 GetTouchPosition (int index) const
 
int GetTouchX () const
 
int GetTouchY () const
 
float GetWheelMove () const
 
int GetX () const
 
int GetY () const
 
bool IsButtonDown (int button) const
 
bool IsButtonPressed (int button) const
 
bool IsButtonReleased (int button) const
 
bool IsButtonUp (int button) const
 
Mouse & SetCursor (int cursor)
 
Mouse & SetOffset (int offsetX, int offsetY)
 
Mouse & SetPosition (int x, int y)
+ + + + +
+ + + + + + + +
int raylib::Mouse::GetCursor () const
+
+inline
+
+ +

Definition at line 62 of file Mouse.hpp.

+ +
+ + +

◆ GetPosition()

@@ -127,7 +158,7 @@ Public Member Functions Vector2 raylib::Mouse::GetPosition ( ) - + const @@ -141,8 +172,8 @@ Public Member Functions
- -

◆ GetTouchPosition()

+ +

◆ GetTouchPosition()

@@ -155,7 +186,7 @@ Public Member Functions ( int  index) - + const @@ -165,12 +196,12 @@ Public Member Functions
-

Definition at line 67 of file Mouse.hpp.

+

Definition at line 76 of file Mouse.hpp.

- -

◆ GetTouchX()

+ +

◆ GetTouchX()

@@ -182,7 +213,7 @@ Public Member Functions int raylib::Mouse::GetTouchX ( ) - + const @@ -192,12 +223,12 @@ Public Member Functions
-

Definition at line 61 of file Mouse.hpp.

+

Definition at line 70 of file Mouse.hpp.

- -

◆ GetTouchY()

+ +

◆ GetTouchY()

@@ -209,7 +240,7 @@ Public Member Functions int raylib::Mouse::GetTouchY ( ) - + const @@ -219,12 +250,12 @@ Public Member Functions
-

Definition at line 64 of file Mouse.hpp.

+

Definition at line 73 of file Mouse.hpp.

- -

◆ GetWheelMove()

+ +

◆ GetWheelMove()

@@ -233,10 +264,10 @@ Public Member Functions - + - +
int raylib::Mouse::GetWheelMove float raylib::Mouse::GetWheelMove ( ) const
@@ -250,8 +281,8 @@ Public Member Functions
- -

◆ GetX()

+ +

◆ GetX()

@@ -263,7 +294,7 @@ Public Member Functions int raylib::Mouse::GetX ( ) - + const @@ -279,8 +310,8 @@ Public Member Functions
- -

◆ GetY()

+ +

◆ GetY()

@@ -292,7 +323,7 @@ Public Member Functions int raylib::Mouse::GetY ( ) - + const @@ -308,8 +339,8 @@ Public Member Functions
- -

◆ IsButtonDown()

+ +

◆ IsButtonDown()

@@ -322,7 +353,7 @@ Public Member Functions ( int  button) - + const @@ -336,8 +367,8 @@ Public Member Functions
- -

◆ IsButtonPressed()

+ +

◆ IsButtonPressed()

@@ -350,7 +381,7 @@ Public Member Functions ( int  button) - + const @@ -364,8 +395,8 @@ Public Member Functions
- -

◆ IsButtonReleased()

+ +

◆ IsButtonReleased()

@@ -378,7 +409,7 @@ Public Member Functions ( int  button) - + const @@ -392,8 +423,8 @@ Public Member Functions
- -

◆ IsButtonUp()

+ +

◆ IsButtonUp()

@@ -406,7 +437,7 @@ Public Member Functions ( int  button) - + const @@ -418,6 +449,34 @@ Public Member Functions

Definition at line 26 of file Mouse.hpp.

+
+
+ +

◆ SetCursor()

+ +
+
+ + + + + +
+ + + + + + + + +
Mouse& raylib::Mouse::SetCursor (int cursor)
+
+inline
+
+ +

Definition at line 65 of file Mouse.hpp.

+
@@ -597,7 +656,7 @@ Public Member Functions diff --git a/docs/classraylib_1_1_music-members.html b/docs/classraylib_1_1_music-members.html index ae9e89e..7306e54 100644 --- a/docs/classraylib_1_1_music-members.html +++ b/docs/classraylib_1_1_music-members.html @@ -74,12 +74,12 @@ $(function() {

This is the complete list of members for raylib::Music, including all inherited members.

- - - - - - + + + + + + @@ -87,7 +87,7 @@ $(function() { - + @@ -100,7 +100,7 @@ $(function() {
GetCtxType()raylib::Musicinline
GetLooping()raylib::Musicinline
GetSampleCount()raylib::Musicinline
GetTimeLength()raylib::Musicinline
GetTimePlayed()raylib::Musicinline
IsPlaying()raylib::Musicinline
GetCtxType() constraylib::Musicinline
GetLooping() constraylib::Musicinline
GetSampleCount() constraylib::Musicinline
GetTimeLength() constraylib::Musicinline
GetTimePlayed() constraylib::Musicinline
IsPlaying() constraylib::Musicinline
Music(::Music music)raylib::Musicinline
Music(const std::string &fileName)raylib::Musicinline
operator=(const ::Music &music)raylib::Musicinline
Pause()raylib::Musicinline
Play()raylib::Musicinline
Resume()raylib::Musicinline
set(::Music music)raylib::Musicinline
set(::Music music)raylib::Musicinlineprotected
SetCtxType(int value)raylib::Musicinline
SetLooping(bool value)raylib::Musicinline
SetPitch(float pitch)raylib::Musicinline
diff --git a/docs/classraylib_1_1_music.html b/docs/classraylib_1_1_music.html index 64d474e..1f6054e 100644 --- a/docs/classraylib_1_1_music.html +++ b/docs/classraylib_1_1_music.html @@ -69,6 +69,7 @@ $(function() {
raylib::Music Class Reference
@@ -83,18 +84,18 @@ Public Member Functions    ~Music ()   -int GetCtxType () -  -bool GetLooping () -  -unsigned int GetSampleCount () -  -float GetTimeLength () -  -float GetTimePlayed () -  -bool IsPlaying () -  +int GetCtxType () const +  +bool GetLooping () const +  +unsigned int GetSampleCount () const +  +float GetTimeLength () const +  +float GetTimePlayed () const +  +bool IsPlaying () const +  Music & operator= (const ::Music &music)   Music & operator= (const Music &music) @@ -105,8 +106,6 @@ Public Member Functions   Music & Resume ()   -void set (::Music music) -  void SetCtxType (int value)   void SetLooping (bool value) @@ -123,6 +122,11 @@ Public Member Functions   Music & Update ()   + + + +

+Protected Member Functions

void set (::Music music)
 

Detailed Description

@@ -154,7 +158,7 @@ Public Member Functions

Definition at line 17 of file Music.hpp.

-

References set().

+

References set().

@@ -184,7 +188,7 @@ Public Member Functions

Definition at line 21 of file Music.hpp.

-

References set().

+

References set().

@@ -213,13 +217,13 @@ Public Member Functions

Definition at line 25 of file Music.hpp.

-

References Unload().

+

References Unload().

Member Function Documentation

- -

◆ GetCtxType()

+ +

◆ GetCtxType()

@@ -231,7 +235,7 @@ Public Member Functions int raylib::Music::GetCtxType ( ) - + const @@ -241,12 +245,12 @@ Public Member Functions
-

Definition at line 37 of file Music.hpp.

+

Definition at line 29 of file Music.hpp.

- -

◆ GetLooping()

+ +

◆ GetLooping()

@@ -258,7 +262,7 @@ Public Member Functions bool raylib::Music::GetLooping ( ) - + const @@ -268,12 +272,12 @@ Public Member Functions
-

Definition at line 38 of file Music.hpp.

+

Definition at line 30 of file Music.hpp.

- -

◆ GetSampleCount()

+ +

◆ GetSampleCount()

@@ -285,7 +289,7 @@ Public Member Functions unsigned int raylib::Music::GetSampleCount ( ) - + const @@ -295,12 +299,12 @@ Public Member Functions
-

Definition at line 39 of file Music.hpp.

+

Definition at line 31 of file Music.hpp.

- -

◆ GetTimeLength()

+ +

◆ GetTimeLength()

@@ -312,7 +316,7 @@ Public Member Functions float raylib::Music::GetTimeLength ( ) - + const @@ -322,12 +326,12 @@ Public Member Functions
-

Definition at line 89 of file Music.hpp.

+

Definition at line 81 of file Music.hpp.

- -

◆ GetTimePlayed()

+ +

◆ GetTimePlayed()

@@ -339,7 +343,7 @@ Public Member Functions float raylib::Music::GetTimePlayed ( ) - + const @@ -349,12 +353,12 @@ Public Member Functions
-

Definition at line 92 of file Music.hpp.

+

Definition at line 84 of file Music.hpp.

- -

◆ IsPlaying()

+ +

◆ IsPlaying()

@@ -366,7 +370,7 @@ Public Member Functions bool raylib::Music::IsPlaying ( ) - + const @@ -376,7 +380,7 @@ Public Member Functions
-

Definition at line 78 of file Music.hpp.

+

Definition at line 70 of file Music.hpp.

@@ -404,9 +408,9 @@ Public Member Functions
-

Definition at line 41 of file Music.hpp.

+

Definition at line 33 of file Music.hpp.

-

References set().

+

References set().

@@ -434,9 +438,9 @@ Public Member Functions
-

Definition at line 46 of file Music.hpp.

+

Definition at line 38 of file Music.hpp.

-

References set().

+

References set().

@@ -463,7 +467,7 @@ Public Member Functions
-

Definition at line 70 of file Music.hpp.

+

Definition at line 62 of file Music.hpp.

@@ -490,7 +494,7 @@ Public Member Functions
-

Definition at line 55 of file Music.hpp.

+

Definition at line 47 of file Music.hpp.

@@ -517,7 +521,7 @@ Public Member Functions
-

Definition at line 74 of file Music.hpp.

+

Definition at line 66 of file Music.hpp.

@@ -540,14 +544,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 29 of file Music.hpp.

+

Definition at line 89 of file Music.hpp.

-

Referenced by Music(), and operator=().

+

Referenced by Music(), and operator=().

@@ -575,7 +579,7 @@ Public Member Functions
-

Definition at line 37 of file Music.hpp.

+

Definition at line 29 of file Music.hpp.

@@ -603,7 +607,7 @@ Public Member Functions
-

Definition at line 38 of file Music.hpp.

+

Definition at line 30 of file Music.hpp.

@@ -631,7 +635,7 @@ Public Member Functions
-

Definition at line 85 of file Music.hpp.

+

Definition at line 77 of file Music.hpp.

@@ -659,7 +663,7 @@ Public Member Functions
-

Definition at line 39 of file Music.hpp.

+

Definition at line 31 of file Music.hpp.

@@ -687,7 +691,7 @@ Public Member Functions
-

Definition at line 81 of file Music.hpp.

+

Definition at line 73 of file Music.hpp.

@@ -714,7 +718,7 @@ Public Member Functions
-

Definition at line 65 of file Music.hpp.

+

Definition at line 57 of file Music.hpp.

@@ -741,7 +745,7 @@ Public Member Functions
-

Definition at line 51 of file Music.hpp.

+

Definition at line 43 of file Music.hpp.

Referenced by ~Music().

@@ -770,14 +774,14 @@ Public Member Functions
-

Definition at line 60 of file Music.hpp.

+

Definition at line 52 of file Music.hpp.

diff --git a/docs/classraylib_1_1_physics-members.html b/docs/classraylib_1_1_physics-members.html index 5354d5f..ac706fa 100644 --- a/docs/classraylib_1_1_physics-members.html +++ b/docs/classraylib_1_1_physics-members.html @@ -81,11 +81,11 @@ $(function() { CreateBodyPolygon(Vector2 pos, float radius, int sides, float density)raylib::Physicsinline CreateBodyRectangle(Vector2 pos, float width, float height, float density)raylib::Physicsinline DestroyBody(PhysicsBody body)raylib::Physicsinline - GetBodiesCount()raylib::Physicsinline - GetBody(int index)raylib::Physicsinline - GetShapeType(int index)raylib::Physicsinline - GetShapeVertex(PhysicsBody body, int vertex)raylib::Physicsinline - GetShapeVerticesCount(int index)raylib::Physicsinline + GetBodiesCount() constraylib::Physicsinline + GetBody(int index) constraylib::Physicsinline + GetShapeType(int index) constraylib::Physicsinline + GetShapeVertex(PhysicsBody body, int vertex) constraylib::Physicsinline + GetShapeVerticesCount(int index) constraylib::Physicsinline Init()raylib::Physicsinline IsEnabled()raylib::Physicsinline Physics()raylib::Physicsinline @@ -100,7 +100,7 @@ $(function() { diff --git a/docs/classraylib_1_1_physics.html b/docs/classraylib_1_1_physics.html index 5d07ef2..4ec4210 100644 --- a/docs/classraylib_1_1_physics.html +++ b/docs/classraylib_1_1_physics.html @@ -97,16 +97,16 @@ Public Member Functions   Physics & DestroyBody (PhysicsBody body)   -int GetBodiesCount () -  -PhysicsBody GetBody (int index) -  -int GetShapeType (int index) -  -Vector2 GetShapeVertex (PhysicsBody body, int vertex) -  -int GetShapeVerticesCount (int index) -  +int GetBodiesCount () const +  +PhysicsBody GetBody (int index) const +  +int GetShapeType (int index) const +  +Vector2 GetShapeVertex (PhysicsBody body, int vertex) const +  +int GetShapeVerticesCount (int index) const +  Physics & Init ()   bool IsEnabled () @@ -504,8 +504,8 @@ Public Member Functions - -

◆ GetBodiesCount()

+ +

◆ GetBodiesCount()

@@ -517,7 +517,7 @@ Public Member Functions int raylib::Physics::GetBodiesCount ( ) - + const @@ -531,8 +531,8 @@ Public Member Functions
- -

◆ GetBody()

+ +

◆ GetBody()

@@ -545,7 +545,7 @@ Public Member Functions ( int  index) - + const @@ -559,8 +559,8 @@ Public Member Functions
- -

◆ GetShapeType()

+ +

◆ GetShapeType()

@@ -573,7 +573,7 @@ Public Member Functions ( int  index) - + const @@ -587,8 +587,8 @@ Public Member Functions
- -

◆ GetShapeVertex()

+ +

◆ GetShapeVertex()

@@ -611,7 +611,7 @@ Public Member Functions ) - + const @@ -625,8 +625,8 @@ Public Member Functions
- -

◆ GetShapeVerticesCount()

+ +

◆ GetShapeVerticesCount()

@@ -639,7 +639,7 @@ Public Member Functions ( int  index) - + const @@ -916,7 +916,7 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_ray-members.html b/docs/classraylib_1_1_ray-members.html index 98026c4..a1d5a13 100644 --- a/docs/classraylib_1_1_ray-members.html +++ b/docs/classraylib_1_1_ray-members.html @@ -74,27 +74,27 @@ $(function() {

This is the complete list of members for raylib::Ray, including all inherited members.

- - - + + + - - + + - +
CheckCollisionBox(::BoundingBox box)raylib::Rayinline
CheckCollisionSphere(::Vector3 center, float radius)raylib::Rayinline
CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint)raylib::Rayinline
CheckCollisionBox(::BoundingBox box) constraylib::Rayinline
CheckCollisionSphere(::Vector3 center, float radius) constraylib::Rayinline
CheckCollisionSphereEx(::Vector3 center, float radius, ::Vector3 *collisionPoint) constraylib::Rayinline
Draw(::Color color)raylib::Rayinline
GetCollisionGround(float groundHeight)raylib::Rayinline
GetCollisionModel(::Model model)raylib::Rayinline
GetCollisionTriangle(::Vector3 p1, ::Vector3 p2, ::Vector3 p3)raylib::Rayinline
GetDirection()raylib::Rayinline
GetPosition()raylib::Rayinline
GetDirection() constraylib::Rayinline
GetPosition() constraylib::Rayinline
operator=(const ::Ray &ray)raylib::Rayinline
operator=(const Ray &ray)raylib::Rayinline
Ray(::Ray ray)raylib::Rayinline
Ray(::Vector3 Position, ::Vector3 Direction)raylib::Rayinline
Ray(::Vector2 mousePosition, ::Camera camera)raylib::Rayinline
set(::Ray ray)raylib::Rayinline
set(::Ray ray)raylib::Rayinlineprotected
SetDirection(::Vector3 value)raylib::Rayinline
SetPosition(::Vector3 value)raylib::Rayinline
diff --git a/docs/classraylib_1_1_ray.html b/docs/classraylib_1_1_ray.html index 02382be..3ee2f07 100644 --- a/docs/classraylib_1_1_ray.html +++ b/docs/classraylib_1_1_ray.html @@ -69,6 +69,7 @@ $(function() {
raylib::Ray Class Reference
@@ -83,12 +84,12 @@ Public Member Functions    Ray (::Vector3 Position, ::Vector3 Direction)   -bool CheckCollisionBox (::BoundingBox box) -  -bool CheckCollisionSphere (::Vector3 center, float radius) -  -bool CheckCollisionSphereEx (::Vector3 center, float radius, ::Vector3 *collisionPoint) -  +bool CheckCollisionBox (::BoundingBox box) const +  +bool CheckCollisionSphere (::Vector3 center, float radius) const +  +bool CheckCollisionSphereEx (::Vector3 center, float radius, ::Vector3 *collisionPoint) const +  Ray & Draw (::Color color)   RayHitInfo GetCollisionGround (float groundHeight) @@ -97,20 +98,23 @@ Public Member Functions   RayHitInfo GetCollisionTriangle (::Vector3 p1, ::Vector3 p2, ::Vector3 p3)   -inline ::Vector3 GetDirection () -  -inline ::Vector3 GetPosition () -  +inline ::Vector3 GetDirection () const +  +inline ::Vector3 GetPosition () const +  Ray & operator= (const ::Ray &ray)   Ray & operator= (const Ray &ray)   -void set (::Ray ray) -  void SetDirection (::Vector3 value)   void SetPosition (::Vector3 value)   + + + +

+Protected Member Functions

void set (::Ray ray)
 

Detailed Description

@@ -142,7 +146,7 @@ Public Member Functions

Definition at line 19 of file Ray.hpp.

-

References set().

+

References set().

@@ -220,13 +224,13 @@ Public Member Functions

Definition at line 28 of file Ray.hpp.

-

References set().

+

References set().

Member Function Documentation

- -

◆ CheckCollisionBox()

+ +

◆ CheckCollisionBox()

@@ -239,7 +243,7 @@ Public Member Functions ( ::BoundingBox  box) - + const @@ -249,12 +253,12 @@ Public Member Functions
-

Definition at line 63 of file Ray.hpp.

+

Definition at line 58 of file Ray.hpp.

- -

◆ CheckCollisionSphere()

+ +

◆ CheckCollisionSphere()

@@ -277,7 +281,7 @@ Public Member Functions ) - + const @@ -287,12 +291,12 @@ Public Member Functions
-

Definition at line 55 of file Ray.hpp.

+

Definition at line 50 of file Ray.hpp.

- -

◆ CheckCollisionSphereEx()

+ +

◆ CheckCollisionSphereEx()

@@ -321,7 +325,7 @@ Public Member Functions ) - + const @@ -331,7 +335,7 @@ Public Member Functions
-

Definition at line 59 of file Ray.hpp.

+

Definition at line 54 of file Ray.hpp.

@@ -359,7 +363,7 @@ Public Member Functions
-

Definition at line 50 of file Ray.hpp.

+

Definition at line 45 of file Ray.hpp.

@@ -387,7 +391,7 @@ Public Member Functions
-

Definition at line 75 of file Ray.hpp.

+

Definition at line 70 of file Ray.hpp.

@@ -415,7 +419,7 @@ Public Member Functions
-

Definition at line 67 of file Ray.hpp.

+

Definition at line 62 of file Ray.hpp.

@@ -459,12 +463,12 @@ Public Member Functions
-

Definition at line 71 of file Ray.hpp.

+

Definition at line 66 of file Ray.hpp.

- -

◆ GetDirection()

+ +

◆ GetDirection()

@@ -476,7 +480,7 @@ Public Member Functions inline ::Vector3 raylib::Ray::GetDirection ( ) - + const @@ -486,12 +490,12 @@ Public Member Functions
-

Definition at line 48 of file Ray.hpp.

+

Definition at line 43 of file Ray.hpp.

- -

◆ GetPosition()

+ +

◆ GetPosition()

@@ -503,7 +507,7 @@ Public Member Functions inline ::Vector3 raylib::Ray::GetPosition ( ) - + const @@ -513,7 +517,7 @@ Public Member Functions
-

Definition at line 47 of file Ray.hpp.

+

Definition at line 42 of file Ray.hpp.

@@ -541,9 +545,9 @@ Public Member Functions
-

Definition at line 37 of file Ray.hpp.

+

Definition at line 32 of file Ray.hpp.

-

References set().

+

References set().

@@ -571,9 +575,9 @@ Public Member Functions
-

Definition at line 42 of file Ray.hpp.

+

Definition at line 37 of file Ray.hpp.

-

References set().

+

References set().

@@ -596,14 +600,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 32 of file Ray.hpp.

+

Definition at line 75 of file Ray.hpp.

-

Referenced by operator=(), and Ray().

+

Referenced by operator=(), and Ray().

@@ -631,7 +635,7 @@ Public Member Functions
-

Definition at line 48 of file Ray.hpp.

+

Definition at line 43 of file Ray.hpp.

@@ -659,14 +663,14 @@ Public Member Functions
-

Definition at line 47 of file Ray.hpp.

+

Definition at line 42 of file Ray.hpp.

diff --git a/docs/classraylib_1_1_ray_hit_info-members.html b/docs/classraylib_1_1_ray_hit_info-members.html index 6bb8671..a5ea2d3 100644 --- a/docs/classraylib_1_1_ray_hit_info-members.html +++ b/docs/classraylib_1_1_ray_hit_info-members.html @@ -74,15 +74,15 @@ $(function() {

This is the complete list of members for raylib::RayHitInfo, including all inherited members.

- - - - + + + + - + @@ -90,7 +90,7 @@ $(function() {
GetDistance()raylib::RayHitInfoinline
GetHit()raylib::RayHitInfoinline
GetNormal()raylib::RayHitInfoinline
GetPosition()raylib::RayHitInfoinline
GetDistance() constraylib::RayHitInfoinline
GetHit() constraylib::RayHitInfoinline
GetNormal() constraylib::RayHitInfoinline
GetPosition() constraylib::RayHitInfoinline
operator=(const ::RayHitInfo &ray)raylib::RayHitInfoinline
operator=(const RayHitInfo &ray)raylib::RayHitInfoinline
RayHitInfo(::RayHitInfo ray)raylib::RayHitInfoinline
RayHitInfo(bool Hit, float Distance, ::Vector3 Position, ::Vector3 Normal)raylib::RayHitInfoinline
set(::RayHitInfo ray)raylib::RayHitInfoinline
set(::RayHitInfo ray)raylib::RayHitInfoinlineprotected
SetDistance(float value)raylib::RayHitInfoinline
SetHit(bool value)raylib::RayHitInfoinline
SetNormal(::Vector3 value)raylib::RayHitInfoinline
diff --git a/docs/classraylib_1_1_ray_hit_info.html b/docs/classraylib_1_1_ray_hit_info.html index 34584bc..7eeb538 100644 --- a/docs/classraylib_1_1_ray_hit_info.html +++ b/docs/classraylib_1_1_ray_hit_info.html @@ -69,6 +69,7 @@ $(function() {
raylib::RayHitInfo Class Reference
@@ -81,20 +82,18 @@ Public Member Functions    RayHitInfo (bool Hit, float Distance, ::Vector3 Position, ::Vector3 Normal)   -float GetDistance () -  -bool GetHit () -  -inline ::Vector3 GetNormal () -  -inline ::Vector3 GetPosition () -  +float GetDistance () const +  +bool GetHit () const +  +inline ::Vector3 GetNormal () const +  +inline ::Vector3 GetPosition () const +  RayHitInfo & operator= (const ::RayHitInfo &ray)   RayHitInfo & operator= (const RayHitInfo &ray)   -void set (::RayHitInfo ray) -  void SetDistance (float value)   void SetHit (bool value) @@ -103,6 +102,11 @@ Public Member Functions   void SetPosition (::Vector3 value)   + + + +

+Protected Member Functions

void set (::RayHitInfo ray)
 

Detailed Description

@@ -134,7 +138,7 @@ Public Member Functions

Definition at line 17 of file RayHitInfo.hpp.

-

References set().

+

References set().

@@ -189,8 +193,8 @@ Public Member Functions

Member Function Documentation

- -

◆ GetDistance()

+ +

◆ GetDistance()

@@ -202,7 +206,7 @@ Public Member Functions float raylib::RayHitInfo::GetDistance ( ) - + const @@ -212,12 +216,12 @@ Public Member Functions
-

Definition at line 46 of file RayHitInfo.hpp.

+

Definition at line 39 of file RayHitInfo.hpp.

- -

◆ GetHit()

+ +

◆ GetHit()

@@ -229,7 +233,7 @@ Public Member Functions bool raylib::RayHitInfo::GetHit ( ) - + const @@ -239,12 +243,12 @@ Public Member Functions
-

Definition at line 45 of file RayHitInfo.hpp.

+

Definition at line 38 of file RayHitInfo.hpp.

- -

◆ GetNormal()

+ +

◆ GetNormal()

@@ -256,7 +260,7 @@ Public Member Functions inline ::Vector3 raylib::RayHitInfo::GetNormal ( ) - + const @@ -266,12 +270,12 @@ Public Member Functions
-

Definition at line 48 of file RayHitInfo.hpp.

+

Definition at line 41 of file RayHitInfo.hpp.

- -

◆ GetPosition()

+ +

◆ GetPosition()

@@ -283,7 +287,7 @@ Public Member Functions inline ::Vector3 raylib::RayHitInfo::GetPosition ( ) - + const @@ -293,7 +297,7 @@ Public Member Functions
-

Definition at line 47 of file RayHitInfo.hpp.

+

Definition at line 40 of file RayHitInfo.hpp.

@@ -323,7 +327,7 @@ Public Member Functions

Definition at line 28 of file RayHitInfo.hpp.

-

References set().

+

References set().

@@ -353,7 +357,7 @@ Public Member Functions

Definition at line 33 of file RayHitInfo.hpp.

-

References set().

+

References set().

@@ -376,12 +380,12 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 38 of file RayHitInfo.hpp.

+

Definition at line 44 of file RayHitInfo.hpp.

Referenced by operator=(), and RayHitInfo().

@@ -411,7 +415,7 @@ Public Member Functions
-

Definition at line 46 of file RayHitInfo.hpp.

+

Definition at line 39 of file RayHitInfo.hpp.

@@ -439,7 +443,7 @@ Public Member Functions
-

Definition at line 45 of file RayHitInfo.hpp.

+

Definition at line 38 of file RayHitInfo.hpp.

@@ -467,7 +471,7 @@ Public Member Functions
-

Definition at line 48 of file RayHitInfo.hpp.

+

Definition at line 41 of file RayHitInfo.hpp.

@@ -495,14 +499,14 @@ Public Member Functions
-

Definition at line 47 of file RayHitInfo.hpp.

+

Definition at line 40 of file RayHitInfo.hpp.

diff --git a/docs/classraylib_1_1_rectangle-members.html b/docs/classraylib_1_1_rectangle-members.html index a692ccd..0d55dae 100644 --- a/docs/classraylib_1_1_rectangle-members.html +++ b/docs/classraylib_1_1_rectangle-members.html @@ -74,8 +74,8 @@ $(function() {

This is the complete list of members for raylib::Rectangle, including all inherited members.

- - + + @@ -85,16 +85,16 @@ $(function() { - - - - - + + + + + - + @@ -102,7 +102,7 @@ $(function() {
CheckCollision(::Rectangle rec2)raylib::Rectangleinline
CheckCollision(::Vector2 point)raylib::Rectangleinline
CheckCollision(::Rectangle rec2) constraylib::Rectangleinline
CheckCollision(::Vector2 point) constraylib::Rectangleinline
Draw(::Color color)raylib::Rectangleinline
Draw(::Vector2 origin, float rotation, ::Color color)raylib::Rectangleinline
DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4)raylib::Rectangleinline
DrawLinesEx(int lineThick, ::Color color)raylib::Rectangleinline
DrawRounded(float roundness, int segments, ::Color color)raylib::Rectangleinline
DrawRoundedLines(float roundness, int segments, int lineThick, ::Color color)raylib::Rectangleinline
GetCollision(::Rectangle rec2)raylib::Rectangleinline
GetHeight()raylib::Rectangleinline
GetWidth()raylib::Rectangleinline
GetX()raylib::Rectangleinline
GetY()raylib::Rectangleinline
GetCollision(::Rectangle rec2) constraylib::Rectangleinline
GetHeight() constraylib::Rectangleinline
GetWidth() constraylib::Rectangleinline
GetX() constraylib::Rectangleinline
GetY() constraylib::Rectangleinline
operator=(const ::Rectangle &rect)raylib::Rectangleinline
operator=(const Rectangle &rect)raylib::Rectangleinline
Rectangle(::Rectangle vec)raylib::Rectangleinline
Rectangle(float X=0, float Y=0, float Width=0, float Height=0)raylib::Rectangleinline
set(::Rectangle rect)raylib::Rectangleinline
set(::Rectangle rect)raylib::Rectangleinlineprotected
SetHeight(float value)raylib::Rectangleinline
SetWidth(float value)raylib::Rectangleinline
SetX(float value)raylib::Rectangleinline
diff --git a/docs/classraylib_1_1_rectangle.html b/docs/classraylib_1_1_rectangle.html index 635e889..204772f 100644 --- a/docs/classraylib_1_1_rectangle.html +++ b/docs/classraylib_1_1_rectangle.html @@ -69,6 +69,7 @@ $(function() {
raylib::Rectangle Class Reference
@@ -81,10 +82,10 @@ Public Member Functions    Rectangle (float X=0, float Y=0, float Width=0, float Height=0)   -bool CheckCollision (::Rectangle rec2) -  -bool CheckCollision (::Vector2 point) -  +bool CheckCollision (::Rectangle rec2) const +  +bool CheckCollision (::Vector2 point) const +  Rectangle & Draw (::Color color)   Rectangle & Draw (::Vector2 origin, float rotation, ::Color color) @@ -103,22 +104,20 @@ Public Member Functions   Rectangle & DrawRoundedLines (float roundness, int segments, int lineThick, ::Color color)   -Rectangle GetCollision (::Rectangle rec2) -  -float GetHeight () -  -float GetWidth () -  -float GetX () -  -float GetY () -  +Rectangle GetCollision (::Rectangle rec2) const +  +float GetHeight () const +  +float GetWidth () const +  +float GetX () const +  +float GetY () const +  Rectangle & operator= (const ::Rectangle &rect)   Rectangle & operator= (const Rectangle &rect)   -void set (::Rectangle rect) -  void SetHeight (float value)   void SetWidth (float value) @@ -127,6 +126,11 @@ Public Member Functions   void SetY (float value)   + + + +

+Protected Member Functions

void set (::Rectangle rect)
 

Detailed Description

@@ -158,7 +162,7 @@ Public Member Functions

Definition at line 18 of file Rectangle.hpp.

-

References set().

+

References set().

@@ -213,8 +217,8 @@ Public Member Functions

Member Function Documentation

- -

◆ CheckCollision() [1/2]

+ +

◆ CheckCollision() [1/2]

@@ -227,7 +231,7 @@ Public Member Functions ( ::Rectangle  rec2) - + const @@ -237,12 +241,12 @@ Public Member Functions
-

Definition at line 93 of file Rectangle.hpp.

+

Definition at line 86 of file Rectangle.hpp.

- -

◆ CheckCollision() [2/2]

+ +

◆ CheckCollision() [2/2]

@@ -255,7 +259,7 @@ Public Member Functions ( ::Vector2  point) - + const @@ -265,7 +269,7 @@ Public Member Functions
-

Definition at line 101 of file Rectangle.hpp.

+

Definition at line 94 of file Rectangle.hpp.

@@ -293,7 +297,7 @@ Public Member Functions
-

Definition at line 50 of file Rectangle.hpp.

+

Definition at line 43 of file Rectangle.hpp.

@@ -337,7 +341,7 @@ Public Member Functions
-

Definition at line 54 of file Rectangle.hpp.

+

Definition at line 47 of file Rectangle.hpp.

@@ -387,7 +391,7 @@ Public Member Functions
-

Definition at line 69 of file Rectangle.hpp.

+

Definition at line 62 of file Rectangle.hpp.

@@ -425,7 +429,7 @@ Public Member Functions
-

Definition at line 64 of file Rectangle.hpp.

+

Definition at line 57 of file Rectangle.hpp.

@@ -463,7 +467,7 @@ Public Member Functions
-

Definition at line 59 of file Rectangle.hpp.

+

Definition at line 52 of file Rectangle.hpp.

@@ -491,7 +495,7 @@ Public Member Functions
-

Definition at line 74 of file Rectangle.hpp.

+

Definition at line 67 of file Rectangle.hpp.

@@ -529,7 +533,7 @@ Public Member Functions
-

Definition at line 78 of file Rectangle.hpp.

+

Definition at line 71 of file Rectangle.hpp.

@@ -573,7 +577,7 @@ Public Member Functions
-

Definition at line 83 of file Rectangle.hpp.

+

Definition at line 76 of file Rectangle.hpp.

@@ -623,12 +627,12 @@ Public Member Functions
-

Definition at line 88 of file Rectangle.hpp.

+

Definition at line 81 of file Rectangle.hpp.

- -

◆ GetCollision()

+ +

◆ GetCollision()

@@ -641,7 +645,7 @@ Public Member Functions ( ::Rectangle  rec2) - + const @@ -651,12 +655,12 @@ Public Member Functions
-

Definition at line 97 of file Rectangle.hpp.

+

Definition at line 90 of file Rectangle.hpp.

- -

◆ GetHeight()

+ +

◆ GetHeight()

@@ -668,7 +672,7 @@ Public Member Functions float raylib::Rectangle::GetHeight ( ) - + const @@ -678,12 +682,12 @@ Public Member Functions
-

Definition at line 38 of file Rectangle.hpp.

+

Definition at line 31 of file Rectangle.hpp.

- -

◆ GetWidth()

+ +

◆ GetWidth()

@@ -695,7 +699,7 @@ Public Member Functions float raylib::Rectangle::GetWidth ( ) - + const @@ -705,12 +709,12 @@ Public Member Functions
-

Definition at line 37 of file Rectangle.hpp.

+

Definition at line 30 of file Rectangle.hpp.

- -

◆ GetX()

+ +

◆ GetX()

@@ -722,7 +726,7 @@ Public Member Functions float raylib::Rectangle::GetX ( ) - + const @@ -732,12 +736,12 @@ Public Member Functions
-

Definition at line 35 of file Rectangle.hpp.

+

Definition at line 28 of file Rectangle.hpp.

- -

◆ GetY()

+ +

◆ GetY()

@@ -749,7 +753,7 @@ Public Member Functions float raylib::Rectangle::GetY ( ) - + const @@ -759,7 +763,7 @@ Public Member Functions
-

Definition at line 36 of file Rectangle.hpp.

+

Definition at line 29 of file Rectangle.hpp.

@@ -787,9 +791,9 @@ Public Member Functions
-

Definition at line 40 of file Rectangle.hpp.

+

Definition at line 33 of file Rectangle.hpp.

-

References set().

+

References set().

@@ -817,9 +821,9 @@ Public Member Functions
-

Definition at line 45 of file Rectangle.hpp.

+

Definition at line 38 of file Rectangle.hpp.

-

References set().

+

References set().

@@ -842,14 +846,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 28 of file Rectangle.hpp.

+

Definition at line 99 of file Rectangle.hpp.

-

Referenced by operator=(), and Rectangle().

+

Referenced by operator=(), and Rectangle().

@@ -877,7 +881,7 @@ Public Member Functions
-

Definition at line 38 of file Rectangle.hpp.

+

Definition at line 31 of file Rectangle.hpp.

@@ -905,7 +909,7 @@ Public Member Functions
-

Definition at line 37 of file Rectangle.hpp.

+

Definition at line 30 of file Rectangle.hpp.

@@ -933,7 +937,7 @@ Public Member Functions
-

Definition at line 35 of file Rectangle.hpp.

+

Definition at line 28 of file Rectangle.hpp.

@@ -961,14 +965,14 @@ Public Member Functions
-

Definition at line 36 of file Rectangle.hpp.

+

Definition at line 29 of file Rectangle.hpp.

diff --git a/docs/classraylib_1_1_render_texture-members.html b/docs/classraylib_1_1_render_texture-members.html new file mode 100644 index 0000000..69fe3c7 --- /dev/null +++ b/docs/classraylib_1_1_render_texture-members.html @@ -0,0 +1,101 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::RenderTexture Member List
+
+
+ +

This is the complete list of members for raylib::RenderTexture, including all inherited members.

+ + + + + + + + + + + + + + + + + +
BeginTextureMode()raylib::RenderTextureinline
EndTextureMode()raylib::RenderTextureinline
GetDepth() constraylib::RenderTextureinline
GetId() constraylib::RenderTextureinline
GetTexture() constraylib::RenderTextureinline
operator=(const ::RenderTexture &texture)raylib::RenderTextureinline
operator=(const RenderTexture &texture)raylib::RenderTextureinline
RenderTexture(::RenderTexture renderTexture)raylib::RenderTextureinline
RenderTexture(unsigned int Id)raylib::RenderTextureinline
RenderTexture(int width, int height)raylib::RenderTextureinline
set(::RenderTexture renderTexture)raylib::RenderTextureinlineprotected
SetDepth(Texture2D value)raylib::RenderTextureinline
SetId(unsigned int value)raylib::RenderTextureinline
SetTexture(Texture2D value)raylib::RenderTextureinline
Unload()raylib::RenderTextureinline
~RenderTexture()raylib::RenderTextureinline
+ + + + diff --git a/docs/classraylib_1_1_render_texture.html b/docs/classraylib_1_1_render_texture.html new file mode 100644 index 0000000..93ac185 --- /dev/null +++ b/docs/classraylib_1_1_render_texture.html @@ -0,0 +1,595 @@ + + + + + + + +raylib-cpp: raylib::RenderTexture Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::RenderTexture Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 RenderTexture (::RenderTexture renderTexture)
 
 RenderTexture (int width, int height)
 
 RenderTexture (unsigned int Id)
 
 ~RenderTexture ()
 
RenderTexture & BeginTextureMode ()
 
RenderTexture & EndTextureMode ()
 
Texture2D GetDepth () const
 
unsigned int GetId () const
 
Texture2D GetTexture () const
 
RenderTexture & operator= (const ::RenderTexture &texture)
 
RenderTexture & operator= (const RenderTexture &texture)
 
void SetDepth (Texture2D value)
 
void SetId (unsigned int value)
 
void SetTexture (Texture2D value)
 
void Unload ()
 
+ + + +

+Protected Member Functions

void set (::RenderTexture renderTexture)
 
+

Detailed Description

+
+

Definition at line 15 of file RenderTexture.hpp.

+

Constructor & Destructor Documentation

+ +

◆ RenderTexture() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::RenderTexture::RenderTexture (::RenderTexture renderTexture)
+
+inline
+
+ +

Definition at line 17 of file RenderTexture.hpp.

+ +

References set().

+ +
+
+ +

◆ RenderTexture() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::RenderTexture::RenderTexture (unsigned int Id)
+
+inline
+
+ +

Definition at line 20 of file RenderTexture.hpp.

+ +
+
+ +

◆ RenderTexture() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::RenderTexture::RenderTexture (int width,
int height 
)
+
+inline
+
+ +

Definition at line 23 of file RenderTexture.hpp.

+ +

References set().

+ +
+
+ +

◆ ~RenderTexture()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::RenderTexture::~RenderTexture ()
+
+inline
+
+ +

Definition at line 41 of file RenderTexture.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+ +

◆ BeginTextureMode()

+ +
+
+ + + + + +
+ + + + + + + +
RenderTexture& raylib::RenderTexture::BeginTextureMode ()
+
+inline
+
+ +

Definition at line 49 of file RenderTexture.hpp.

+ +
+
+ +

◆ EndTextureMode()

+ +
+
+ + + + + +
+ + + + + + + +
RenderTexture& raylib::RenderTexture::EndTextureMode ()
+
+inline
+
+ +

Definition at line 54 of file RenderTexture.hpp.

+ +
+
+ +

◆ GetDepth()

+ +
+
+ + + + + +
+ + + + + + + +
Texture2D raylib::RenderTexture::GetDepth () const
+
+inline
+
+ +

Definition at line 29 of file RenderTexture.hpp.

+ +
+
+ +

◆ GetId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::RenderTexture::GetId () const
+
+inline
+
+ +

Definition at line 27 of file RenderTexture.hpp.

+ +
+
+ +

◆ GetTexture()

+ +
+
+ + + + + +
+ + + + + + + +
Texture2D raylib::RenderTexture::GetTexture () const
+
+inline
+
+ +

Definition at line 28 of file RenderTexture.hpp.

+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
RenderTexture& raylib::RenderTexture::operator= (const ::RenderTexture & texture)
+
+inline
+
+ +

Definition at line 31 of file RenderTexture.hpp.

+ +

References set().

+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
RenderTexture& raylib::RenderTexture::operator= (const RenderTexture & texture)
+
+inline
+
+ +

Definition at line 36 of file RenderTexture.hpp.

+ +

References set().

+ +
+
+ +

◆ set()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RenderTexture::set (::RenderTexture renderTexture)
+
+inlineprotected
+
+ +

Definition at line 60 of file RenderTexture.hpp.

+ +

Referenced by operator=(), and RenderTexture().

+ +
+
+ +

◆ SetDepth()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RenderTexture::SetDepth (Texture2D value)
+
+inline
+
+ +

Definition at line 29 of file RenderTexture.hpp.

+ +
+
+ +

◆ SetId()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RenderTexture::SetId (unsigned int value)
+
+inline
+
+ +

Definition at line 27 of file RenderTexture.hpp.

+ +
+
+ +

◆ SetTexture()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RenderTexture::SetTexture (Texture2D value)
+
+inline
+
+ +

Definition at line 28 of file RenderTexture.hpp.

+ +
+
+ +

◆ Unload()

+ +
+
+ + + + + +
+ + + + + + + +
void raylib::RenderTexture::Unload ()
+
+inline
+
+ +

Definition at line 45 of file RenderTexture.hpp.

+ +

Referenced by ~RenderTexture().

+ +
+
+
+ + + + diff --git a/docs/classraylib_1_1_shader-members.html b/docs/classraylib_1_1_shader-members.html index 22071c3..24297a3 100644 --- a/docs/classraylib_1_1_shader-members.html +++ b/docs/classraylib_1_1_shader-members.html @@ -76,25 +76,34 @@ $(function() { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
BeginShaderMode()raylib::Shaderinline
EndShaderMode()raylib::Shaderinline
GetId()raylib::Shaderinline
GetLocation(const std::string &uniformName)raylib::Shaderinline
GetLocs()raylib::Shaderinline
Load(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinlinestatic
LoadCode(const std::string &vsCode, const std::string &fsCode)raylib::Shaderinlinestatic
operator=(const ::Shader &shader)raylib::Shaderinline
operator=(const Shader &shader)raylib::Shaderinline
set(::Shader shader)raylib::Shaderinline
SetId(unsigned int value)raylib::Shaderinline
SetLocs(int *value)raylib::Shaderinline
Shader(::Shader shader)raylib::Shaderinline
Shader(unsigned int Id, int *Locs)raylib::Shaderinline
Shader()raylib::Shaderinline
Unload()raylib::Shaderinline
~Shader()raylib::Shaderinline
GenTextureBRDF(int size)raylib::Shaderinline
GenTextureCubemap(Texture2D panorama, int size, int format)raylib::Shaderinline
GenTextureIrradiance(Texture2D panorama, int size)raylib::Shaderinline
GenTexturePrefilter(Texture2D panorama, int size)raylib::Shaderinline
GetId() constraylib::Shaderinline
GetLocation(const std::string &uniformName) constraylib::Shaderinline
GetLocationAttrib(const std::string &attribName) constraylib::Shaderinline
GetLocs() constraylib::Shaderinline
Load(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinlinestatic
LoadCode(const std::string &vsCode, const std::string &fsCode)raylib::Shaderinlinestatic
operator=(const ::Shader &shader)raylib::Shaderinline
operator=(const Shader &shader)raylib::Shaderinline
set(::Shader shader)raylib::Shaderinlineprotected
SetId(unsigned int value)raylib::Shaderinline
SetLocs(int *value)raylib::Shaderinline
SetValue(int uniformLoc, const std::string &value, int uniformType)raylib::Shaderinline
SetValue(int uniformLoc, const std::string &value, int uniformType, int count)raylib::Shaderinline
SetValue(int uniformLoc, Matrix mat)raylib::Shaderinline
SetValue(int uniformLoc, Texture2D texture)raylib::Shaderinline
Shader(::Shader shader)raylib::Shaderinline
Shader(unsigned int Id, int *Locs)raylib::Shaderinline
Shader()raylib::Shaderinline
Unload()raylib::Shaderinline
~Shader()raylib::Shaderinline
diff --git a/docs/classraylib_1_1_shader.html b/docs/classraylib_1_1_shader.html index 7ceffb1..0550dcf 100644 --- a/docs/classraylib_1_1_shader.html +++ b/docs/classraylib_1_1_shader.html @@ -70,6 +70,7 @@ $(function() {
Public Member Functions | Static Public Member Functions | +Protected Member Functions | List of all members
raylib::Shader Class Reference
@@ -90,22 +91,38 @@ Public Member Functions   Shader & EndShaderMode ()   -unsigned int GetId () -  -int GetLocation (const std::string &uniformName) -  -int * GetLocs () -  +::Texture2D GenTextureBRDF (int size) +  +::TextureCubemap GenTextureCubemap (Texture2D panorama, int size, int format) +  +::TextureCubemap GenTextureIrradiance (Texture2D panorama, int size) +  +::TextureCubemap GenTexturePrefilter (Texture2D panorama, int size) +  +unsigned int GetId () const +  +int GetLocation (const std::string &uniformName) const +  +int GetLocationAttrib (const std::string &attribName) const +  +int * GetLocs () const +  Shader & operator= (const ::Shader &shader)   Shader & operator= (const Shader &shader)   -void set (::Shader shader) -  void SetId (unsigned int value)   void SetLocs (int *value)   +Shader & SetValue (int uniformLoc, const std::string &value, int uniformType) +  +Shader & SetValue (int uniformLoc, const std::string &value, int uniformType, int count) +  +Shader & SetValue (int uniformLoc, Matrix mat) +  +Shader & SetValue (int uniformLoc, Texture2D texture) +  void Unload ()   @@ -115,10 +132,15 @@ Static Public Member Functions +
 
static Shader LoadCode (const std::string &vsCode, const std::string &fsCode)
 
+ + +

+Protected Member Functions

void set (::Shader shader)
 

Detailed Description

-

Definition at line 15 of file Shader.hpp.

+

Definition at line 16 of file Shader.hpp.

Constructor & Destructor Documentation

◆ Shader() [1/3]

@@ -144,9 +166,9 @@ Static Public Member Functions
-

Definition at line 17 of file Shader.hpp.

+

Definition at line 18 of file Shader.hpp.

-

References set().

+

References set().

@@ -184,7 +206,7 @@ Static Public Member Functions
-

Definition at line 21 of file Shader.hpp.

+

Definition at line 22 of file Shader.hpp.

@@ -211,9 +233,9 @@ Static Public Member Functions
-

Definition at line 26 of file Shader.hpp.

+

Definition at line 27 of file Shader.hpp.

-

References set().

+

References set().

@@ -240,9 +262,9 @@ Static Public Member Functions
-

Definition at line 48 of file Shader.hpp.

+

Definition at line 44 of file Shader.hpp.

-

References Unload().

+

References Unload().

@@ -270,7 +292,7 @@ Static Public Member Functions
-

Definition at line 65 of file Shader.hpp.

+

Definition at line 61 of file Shader.hpp.

@@ -297,12 +319,160 @@ Static Public Member Functions
-

Definition at line 70 of file Shader.hpp.

+

Definition at line 66 of file Shader.hpp.

- -

◆ GetId()

+ +

◆ GenTextureBRDF()

+ +
+
+ + + + + +
+ + + + + + + + +
::Texture2D raylib::Shader::GenTextureBRDF (int size)
+
+inline
+
+ +

Definition at line 120 of file Shader.hpp.

+ +
+
+ +

◆ GenTextureCubemap()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
::TextureCubemap raylib::Shader::GenTextureCubemap (Texture2D panorama,
int size,
int format 
)
+
+inline
+
+ +

Definition at line 108 of file Shader.hpp.

+ +
+
+ +

◆ GenTextureIrradiance()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
::TextureCubemap raylib::Shader::GenTextureIrradiance (Texture2D panorama,
int size 
)
+
+inline
+
+ +

Definition at line 112 of file Shader.hpp.

+ +
+
+ +

◆ GenTexturePrefilter()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
::TextureCubemap raylib::Shader::GenTexturePrefilter (Texture2D panorama,
int size 
)
+
+inline
+
+ +

Definition at line 116 of file Shader.hpp.

+ +
+
+ +

◆ GetId()

@@ -314,7 +484,7 @@ Static Public Member Functions unsigned int raylib::Shader::GetId ( ) - + const @@ -324,12 +494,12 @@ Static Public Member Functions
-

Definition at line 35 of file Shader.hpp.

+

Definition at line 31 of file Shader.hpp.

- -

◆ GetLocation()

+ +

◆ GetLocation()

@@ -342,7 +512,35 @@ Static Public Member Functions ( const std::string &  uniformName) - + const + + + + +inline + + +
+ +

Definition at line 71 of file Shader.hpp.

+ +
+
+ +

◆ GetLocationAttrib()

+ +
+
+ + + @@ -356,8 +554,8 @@ Static Public Member Functions - -

◆ GetLocs()

+ +

◆ GetLocs()

@@ -369,7 +567,7 @@ Static Public Member Functions
- +
+ + + + + + +
int raylib::Shader::GetLocationAttrib (const std::string & attribName) const
int* raylib::Shader::GetLocs ( ) const
@@ -379,7 +577,7 @@ Static Public Member Functions
-

Definition at line 36 of file Shader.hpp.

+

Definition at line 32 of file Shader.hpp.

@@ -417,7 +615,7 @@ Static Public Member Functions
-

Definition at line 56 of file Shader.hpp.

+

Definition at line 52 of file Shader.hpp.

@@ -455,7 +653,7 @@ Static Public Member Functions
-

Definition at line 59 of file Shader.hpp.

+

Definition at line 55 of file Shader.hpp.

@@ -483,9 +681,9 @@ Static Public Member Functions
-

Definition at line 38 of file Shader.hpp.

+

Definition at line 34 of file Shader.hpp.

-

References set().

+

References set().

@@ -513,9 +711,9 @@ Static Public Member Functions
-

Definition at line 43 of file Shader.hpp.

+

Definition at line 39 of file Shader.hpp.

-

References set().

+

References set().

@@ -538,14 +736,14 @@ Static Public Member Functions -inline +inlineprotected
-

Definition at line 30 of file Shader.hpp.

+

Definition at line 125 of file Shader.hpp.

-

Referenced by operator=(), and Shader().

+

Referenced by operator=(), and Shader().

@@ -573,7 +771,7 @@ Static Public Member Functions
-

Definition at line 35 of file Shader.hpp.

+

Definition at line 31 of file Shader.hpp.

@@ -601,7 +799,180 @@ Static Public Member Functions
-

Definition at line 36 of file Shader.hpp.

+

Definition at line 32 of file Shader.hpp.

+ +
+ + +

◆ SetValue() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
const std::string & value,
int uniformType 
)
+
+inline
+
+ +

Definition at line 79 of file Shader.hpp.

+ +
+
+ +

◆ SetValue() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
const std::string & value,
int uniformType,
int count 
)
+
+inline
+
+
See also
SetShaderValueV
+ +

Definition at line 87 of file Shader.hpp.

+ +
+
+ +

◆ SetValue() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
Matrix mat 
)
+
+inline
+
+
See also
::SetShaderValueMatrix
+ +

Definition at line 95 of file Shader.hpp.

+ +
+
+ +

◆ SetValue() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
Texture2D texture 
)
+
+inline
+
+
See also
::SetShaderValueTexture
+ +

Definition at line 103 of file Shader.hpp.

@@ -628,16 +999,16 @@ Static Public Member Functions
-

Definition at line 52 of file Shader.hpp.

+

Definition at line 48 of file Shader.hpp.

-

Referenced by ~Shader().

+

Referenced by ~Shader().

diff --git a/docs/classraylib_1_1_sound-members.html b/docs/classraylib_1_1_sound-members.html index ee7cc8d..47c34c0 100644 --- a/docs/classraylib_1_1_sound-members.html +++ b/docs/classraylib_1_1_sound-members.html @@ -74,16 +74,16 @@ $(function() {

This is the complete list of members for raylib::Sound, including all inherited members.

- - - + + + - + @@ -99,7 +99,7 @@ $(function() {
GetSampleCount()raylib::Soundinline
GetStream()raylib::Soundinline
IsPlaying()raylib::Soundinline
GetSampleCount() constraylib::Soundinline
GetStream() constraylib::Soundinline
IsPlaying() constraylib::Soundinline
operator=(const ::Sound &sound)raylib::Soundinline
operator=(const Sound &sound)raylib::Soundinline
Pause()raylib::Soundinline
Play()raylib::Soundinline
PlayMulti()raylib::Soundinline
Resume()raylib::Soundinline
set(::Sound sound)raylib::Soundinline
set(::Sound sound)raylib::Soundinlineprotected
SetPitch(float pitch)raylib::Soundinline
SetSampleCount(unsigned int value)raylib::Soundinline
SetStream(::AudioStream value)raylib::Soundinline
diff --git a/docs/classraylib_1_1_sound.html b/docs/classraylib_1_1_sound.html index 72c903c..6895f8e 100644 --- a/docs/classraylib_1_1_sound.html +++ b/docs/classraylib_1_1_sound.html @@ -69,6 +69,7 @@ $(function() {
raylib::Sound Class Reference
@@ -85,12 +86,12 @@ Public Member Functions    ~Sound ()   -unsigned int GetSampleCount () -  -inline ::AudioStream GetStream () -  -bool IsPlaying () -  +unsigned int GetSampleCount () const +  +inline ::AudioStream GetStream () const +  +bool IsPlaying () const +  Sound & operator= (const ::Sound &sound)   Sound & operator= (const Sound &sound) @@ -103,8 +104,6 @@ Public Member Functions   Sound & Resume ()   -void set (::Sound sound) -  Sound & SetPitch (float pitch)   void SetSampleCount (unsigned int value) @@ -121,6 +120,11 @@ Public Member Functions   Sound & Update (const void *data, int sampleCount)   + + + +

+Protected Member Functions

void set (::Sound sound)
 

Detailed Description

@@ -152,7 +156,7 @@ Public Member Functions

Definition at line 19 of file Sound.hpp.

-

References set().

+

References set().

@@ -182,7 +186,7 @@ Public Member Functions

Definition at line 23 of file Sound.hpp.

-

References set().

+

References set().

@@ -212,7 +216,7 @@ Public Member Functions

Definition at line 27 of file Sound.hpp.

-

References set().

+

References set().

@@ -241,13 +245,13 @@ Public Member Functions

Definition at line 31 of file Sound.hpp.

-

References Unload().

+

References Unload().

Member Function Documentation

- -

◆ GetSampleCount()

+ +

◆ GetSampleCount()

@@ -259,7 +263,7 @@ Public Member Functions unsigned int raylib::Sound::GetSampleCount ( ) - + const @@ -269,12 +273,12 @@ Public Member Functions
-

Definition at line 40 of file Sound.hpp.

+

Definition at line 35 of file Sound.hpp.

- -

◆ GetStream()

+ +

◆ GetStream()

@@ -286,7 +290,7 @@ Public Member Functions inline ::AudioStream raylib::Sound::GetStream ( ) - + const @@ -296,12 +300,12 @@ Public Member Functions
-

Definition at line 41 of file Sound.hpp.

+

Definition at line 36 of file Sound.hpp.

- -

◆ IsPlaying()

+ +

◆ IsPlaying()

@@ -313,7 +317,7 @@ Public Member Functions bool raylib::Sound::IsPlaying ( ) - + const @@ -323,7 +327,7 @@ Public Member Functions
-

Definition at line 90 of file Sound.hpp.

+

Definition at line 85 of file Sound.hpp.

@@ -351,9 +355,9 @@ Public Member Functions
-

Definition at line 43 of file Sound.hpp.

+

Definition at line 38 of file Sound.hpp.

-

References set().

+

References set().

@@ -381,9 +385,9 @@ Public Member Functions
-

Definition at line 48 of file Sound.hpp.

+

Definition at line 43 of file Sound.hpp.

-

References set().

+

References set().

@@ -410,7 +414,7 @@ Public Member Functions
-

Definition at line 71 of file Sound.hpp.

+

Definition at line 66 of file Sound.hpp.

@@ -437,7 +441,7 @@ Public Member Functions
-

Definition at line 62 of file Sound.hpp.

+

Definition at line 57 of file Sound.hpp.

@@ -464,7 +468,7 @@ Public Member Functions
-

Definition at line 80 of file Sound.hpp.

+

Definition at line 75 of file Sound.hpp.

@@ -491,7 +495,7 @@ Public Member Functions
-

Definition at line 75 of file Sound.hpp.

+

Definition at line 70 of file Sound.hpp.

@@ -514,14 +518,14 @@ Public Member Functions -inline +inlineprotected
-

Definition at line 35 of file Sound.hpp.

+

Definition at line 98 of file Sound.hpp.

-

Referenced by operator=(), and Sound().

+

Referenced by operator=(), and Sound().

@@ -549,7 +553,7 @@ Public Member Functions
-

Definition at line 97 of file Sound.hpp.

+

Definition at line 92 of file Sound.hpp.

@@ -577,7 +581,7 @@ Public Member Functions
-

Definition at line 40 of file Sound.hpp.

+

Definition at line 35 of file Sound.hpp.

@@ -605,7 +609,7 @@ Public Member Functions
-

Definition at line 41 of file Sound.hpp.

+

Definition at line 36 of file Sound.hpp.

@@ -633,7 +637,7 @@ Public Member Functions
-

Definition at line 93 of file Sound.hpp.

+

Definition at line 88 of file Sound.hpp.

@@ -660,7 +664,7 @@ Public Member Functions
-

Definition at line 67 of file Sound.hpp.

+

Definition at line 62 of file Sound.hpp.

@@ -687,7 +691,7 @@ Public Member Functions
-

Definition at line 85 of file Sound.hpp.

+

Definition at line 80 of file Sound.hpp.

@@ -714,7 +718,7 @@ Public Member Functions
-

Definition at line 58 of file Sound.hpp.

+

Definition at line 53 of file Sound.hpp.

Referenced by ~Sound().

@@ -754,14 +758,14 @@ Public Member Functions
-

Definition at line 53 of file Sound.hpp.

+

Definition at line 48 of file Sound.hpp.

diff --git a/docs/classraylib_1_1_texture-members.html b/docs/classraylib_1_1_texture-members.html new file mode 100644 index 0000000..8a4667b --- /dev/null +++ b/docs/classraylib_1_1_texture-members.html @@ -0,0 +1,124 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Texture Member List
+
+
+ +

This is the complete list of members for raylib::Texture, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Draw(int posX, int posY, ::Color tint=WHITE)raylib::Textureinline
Draw(::Vector2 position, ::Color tint=WHITE)raylib::Textureinline
Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE)raylib::Textureinline
Draw(::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE)raylib::Textureinline
Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE)raylib::Textureinline
Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)raylib::Textureinline
Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)raylib::Textureinline
Draw(::Vector3 position, float width, float height, float length, ::Color color=WHITE)raylib::Textureinline
DrawTiled(Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE)raylib::Textureinline
GenMipmaps()raylib::Textureinline
GetFormat() constraylib::Textureinline
GetHeight() constraylib::Textureinline
GetId() constraylib::Textureinline
GetMipmaps() constraylib::Textureinline
GetPixelDataSize(int width, int height, int format)raylib::Textureinlinestatic
GetTextureData() constraylib::Textureinline
GetWidth() constraylib::Textureinline
Load(const std::string &fileName)raylib::Textureinline
LoadFromImage(::Image &image)raylib::Textureinline
LoadTextureCubemap(::Image &image, int layoutType)raylib::Textureinline
operator raylib::Image()raylib::Textureinline
operator=(const ::Texture &texture)raylib::Textureinline
operator=(const Texture &texture)raylib::Textureinline
set(::Texture texture)raylib::Textureinlineprotected
SetFilter(int filterMode)raylib::Textureinline
SetFormat(int value)raylib::Textureinline
SetHeight(int value)raylib::Textureinline
SetId(unsigned int value)raylib::Textureinline
SetMaterialTexture(Material *material, int mapType)raylib::Textureinline
SetMipmaps(int value)raylib::Textureinline
SetWidth(int value)raylib::Textureinline
SetWrap(int wrapMode)raylib::Textureinline
Texture()raylib::Textureinline
Texture(::Image &image)raylib::Textureinline
Texture(const std::string &fileName)raylib::Textureinline
Unload()raylib::Textureinline
Update(const void *pixels)raylib::Textureinline
UpdateRec(Rectangle rec, const void *pixels)raylib::Textureinline
~Texture()raylib::Textureinline
+ + + + diff --git a/docs/classraylib_1_1_texture.html b/docs/classraylib_1_1_texture.html new file mode 100644 index 0000000..e239d4b --- /dev/null +++ b/docs/classraylib_1_1_texture.html @@ -0,0 +1,1541 @@ + + + + + + + +raylib-cpp: raylib::Texture Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Texture Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Texture ()
 
 Texture (::Image &image)
 
 Texture (const std::string &fileName)
 
 ~Texture ()
 
Texture & Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
 
Texture & Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE)
 
Texture & Draw (::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE)
 
Texture & Draw (::Vector2 position, ::Color tint=WHITE)
 
Texture & Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE)
 
Texture & Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE)
 
Texture & Draw (::Vector3 position, float width, float height, float length, ::Color color=WHITE)
 
Texture & Draw (int posX, int posY, ::Color tint=WHITE)
 
Texture & DrawTiled (Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE)
 
Texture & GenMipmaps ()
 
int GetFormat () const
 
int GetHeight () const
 
unsigned int GetId () const
 
int GetMipmaps () const
 
Image GetTextureData () const
 
int GetWidth () const
 
void Load (const std::string &fileName)
 
void LoadFromImage (::Image &image)
 
void LoadTextureCubemap (::Image &image, int layoutType)
 
 operator raylib::Image ()
 
Texture & operator= (const ::Texture &texture)
 
Texture & operator= (const Texture &texture)
 
Texture & SetFilter (int filterMode)
 
void SetFormat (int value)
 
void SetHeight (int value)
 
void SetId (unsigned int value)
 
Texture & SetMaterialTexture (Material *material, int mapType)
 
void SetMipmaps (int value)
 
void SetWidth (int value)
 
Texture & SetWrap (int wrapMode)
 
void Unload ()
 
Texture & Update (const void *pixels)
 
Texture & UpdateRec (Rectangle rec, const void *pixels)
 
+ + + +

+Static Public Member Functions

static int GetPixelDataSize (int width, int height, int format)
 
+ + + +

+Protected Member Functions

void set (::Texture texture)
 
+

Detailed Description

+
+

Definition at line 19 of file Texture.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Texture() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Texture::Texture ()
+
+inline
+
+ +

Definition at line 21 of file Texture.hpp.

+ +

References set().

+ +
+
+ +

◆ Texture() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Texture::Texture (::Image & image)
+
+inline
+
+ +

Definition at line 25 of file Texture.hpp.

+ +

References LoadFromImage().

+ +
+
+ +

◆ Texture() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Texture::Texture (const std::string & fileName)
+
+inline
+
+ +

Definition at line 29 of file Texture.hpp.

+ +

References Load().

+ +
+
+ +

◆ ~Texture()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Texture::~Texture ()
+
+inline
+
+ +

Definition at line 33 of file Texture.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+ +

◆ Draw() [1/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (::NPatchInfo nPatchInfo,
::Rectangle destRec,
::Vector2 origin,
float rotation = 0,
::Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 127 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [2/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (::Rectangle sourceRec,
::Rectangle destRec,
::Vector2 origin,
float rotation = 0,
::Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 123 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [3/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (::Rectangle sourceRec,
::Vector2 position,
::Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 115 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [4/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (::Vector2 position,
::Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 106 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [5/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (::Vector2 position,
float rotation,
float scale = 1.0f,
::Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 110 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [6/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (::Vector2 tiling,
::Vector2 offset,
::Rectangle quad,
::Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 119 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [7/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (::Vector3 position,
float width,
float height,
float length,
::Color color = WHITE 
)
+
+inline
+
+ +

Definition at line 132 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [8/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::Draw (int posX,
int posY,
::Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 101 of file Texture.hpp.

+ +
+
+ +

◆ DrawTiled()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::DrawTiled (Rectangle sourceRec,
Rectangle destRec,
Vector2 origin,
float rotation,
float scale,
Color tint = WHITE 
)
+
+inline
+
+ +

Definition at line 137 of file Texture.hpp.

+ +
+
+ +

◆ GenMipmaps()

+ +
+
+ + + + + +
+ + + + + + + +
Texture& raylib::Texture::GenMipmaps ()
+
+inline
+
+ +

Definition at line 86 of file Texture.hpp.

+ +
+
+ +

◆ GetFormat()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Texture::GetFormat () const
+
+inline
+
+ +

Definition at line 41 of file Texture.hpp.

+ +
+
+ +

◆ GetHeight()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Texture::GetHeight () const
+
+inline
+
+ +

Definition at line 39 of file Texture.hpp.

+ +
+
+ +

◆ GetId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Texture::GetId () const
+
+inline
+
+ +

Definition at line 37 of file Texture.hpp.

+ +
+
+ +

◆ GetMipmaps()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Texture::GetMipmaps () const
+
+inline
+
+ +

Definition at line 40 of file Texture.hpp.

+ +
+
+ +

◆ GetPixelDataSize()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static int raylib::Texture::GetPixelDataSize (int width,
int height,
int format 
)
+
+inlinestatic
+
+ +

Definition at line 147 of file Texture.hpp.

+ +
+
+ +

◆ GetTextureData()

+ +
+
+ + + + + +
+ + + + + + + +
Image raylib::Texture::GetTextureData () const
+
+inline
+
+ +

Definition at line 79 of file Texture.hpp.

+ +

Referenced by operator raylib::Image().

+ +
+
+ +

◆ GetWidth()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Texture::GetWidth () const
+
+inline
+
+ +

Definition at line 38 of file Texture.hpp.

+ +
+
+ +

◆ Load()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::Load (const std::string & fileName)
+
+inline
+
+ +

Definition at line 61 of file Texture.hpp.

+ +

References set().

+ +

Referenced by Texture().

+ +
+
+ +

◆ LoadFromImage()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::LoadFromImage (::Image & image)
+
+inline
+
+ +

Definition at line 53 of file Texture.hpp.

+ +

References set().

+ +

Referenced by Texture().

+ +
+
+ +

◆ LoadTextureCubemap()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void raylib::Texture::LoadTextureCubemap (::Image & image,
int layoutType 
)
+
+inline
+
+ +

Definition at line 57 of file Texture.hpp.

+ +

References set().

+ +
+
+ +

◆ operator raylib::Image()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Texture::operator raylib::Image ()
+
+inline
+
+ +

Definition at line 82 of file Texture.hpp.

+ +

References GetTextureData().

+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Texture& raylib::Texture::operator= (const ::Texture & texture)
+
+inline
+
+ +

Definition at line 43 of file Texture.hpp.

+ +

References set().

+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Texture& raylib::Texture::operator= (const Texture & texture)
+
+inline
+
+ +

Definition at line 48 of file Texture.hpp.

+ +

References set().

+ +
+
+ +

◆ set()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::set (::Texture texture)
+
+inlineprotected
+
+ +

Definition at line 152 of file Texture.hpp.

+ +

Referenced by Load(), LoadFromImage(), LoadTextureCubemap(), operator=(), and Texture().

+ +
+
+ +

◆ SetFilter()

+ +
+
+ + + + + +
+ + + + + + + + +
Texture& raylib::Texture::SetFilter (int filterMode)
+
+inline
+
+ +

Definition at line 91 of file Texture.hpp.

+ +
+
+ +

◆ SetFormat()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::SetFormat (int value)
+
+inline
+
+ +

Definition at line 41 of file Texture.hpp.

+ +
+
+ +

◆ SetHeight()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::SetHeight (int value)
+
+inline
+
+ +

Definition at line 39 of file Texture.hpp.

+ +
+
+ +

◆ SetId()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::SetId (unsigned int value)
+
+inline
+
+ +

Definition at line 37 of file Texture.hpp.

+ +
+
+ +

◆ SetMaterialTexture()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::SetMaterialTexture (Material * material,
int mapType 
)
+
+inline
+
+ +

Definition at line 142 of file Texture.hpp.

+ +
+
+ +

◆ SetMipmaps()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::SetMipmaps (int value)
+
+inline
+
+ +

Definition at line 40 of file Texture.hpp.

+ +
+
+ +

◆ SetWidth()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Texture::SetWidth (int value)
+
+inline
+
+ +

Definition at line 38 of file Texture.hpp.

+ +
+
+ +

◆ SetWrap()

+ +
+
+ + + + + +
+ + + + + + + + +
Texture& raylib::Texture::SetWrap (int wrapMode)
+
+inline
+
+ +

Definition at line 96 of file Texture.hpp.

+ +
+
+ +

◆ Unload()

+ +
+
+ + + + + +
+ + + + + + + +
void raylib::Texture::Unload ()
+
+inline
+
+ +

Definition at line 65 of file Texture.hpp.

+ +

Referenced by ~Texture().

+ +
+
+ +

◆ Update()

+ +
+
+ + + + + +
+ + + + + + + + +
Texture& raylib::Texture::Update (const void * pixels)
+
+inline
+
+ +

Definition at line 69 of file Texture.hpp.

+ +
+
+ +

◆ UpdateRec()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Texture& raylib::Texture::UpdateRec (Rectangle rec,
const void * pixels 
)
+
+inline
+
+ +

Definition at line 74 of file Texture.hpp.

+ +
+
+
+ + + + diff --git a/docs/classraylib_1_1_vector2-members.html b/docs/classraylib_1_1_vector2-members.html index 32843b9..6879124 100644 --- a/docs/classraylib_1_1_vector2-members.html +++ b/docs/classraylib_1_1_vector2-members.html @@ -87,9 +87,9 @@ $(function() { DrawPixel(::Color color)raylib::Vector2inline DrawPoly(int sides, float radius, float rotation, ::Color color)raylib::Vector2inline DrawRectangle(::Vector2 size, ::Color color)raylib::Vector2inline - GetX()raylib::Vector2inline - GetY()raylib::Vector2inline - Length()raylib::Vector2inline + GetX() constraylib::Vector2inline + GetY() constraylib::Vector2inline + Length() constraylib::Vector2inline Lerp(const Vector2 &vector2, const float amount)raylib::Vector2inline Multiply(const Vector2 &vector2)raylib::Vector2inline Negate()raylib::Vector2inline @@ -111,19 +111,20 @@ $(function() { operator=(const ::Vector2 &vector2)raylib::Vector2inline operator=(const Vector2 &vector2)raylib::Vector2inline operator==(const Vector2 &other)raylib::Vector2inline - Rotate(float degrees)raylib::Vector2inline - Scale(const float scale)raylib::Vector2inline - set(::Vector2 vec)raylib::Vector2inline - SetX(float value)raylib::Vector2inline - SetY(float value)raylib::Vector2inline - Subtract(const Vector2 &vector2)raylib::Vector2inline - Vector2(::Vector2 vec)raylib::Vector2inline - Vector2(float X=0, float Y=0)raylib::Vector2inline - Zero()raylib::Vector2inlinestatic + Reflect(const Vector2 &normal)raylib::Vector2inline + Rotate(float degrees)raylib::Vector2inline + Scale(const float scale)raylib::Vector2inline + set(::Vector2 vec)raylib::Vector2inlineprotected + SetX(float value)raylib::Vector2inline + SetY(float value)raylib::Vector2inline + Subtract(const Vector2 &vector2)raylib::Vector2inline + Vector2(::Vector2 vec)raylib::Vector2inline + Vector2(float X=0, float Y=0)raylib::Vector2inline + Zero()raylib::Vector2inlinestatic diff --git a/docs/classraylib_1_1_vector2.html b/docs/classraylib_1_1_vector2.html index b27f030..5ff0197 100644 --- a/docs/classraylib_1_1_vector2.html +++ b/docs/classraylib_1_1_vector2.html @@ -70,6 +70,7 @@ $(function() {
Public Member Functions | Static Public Member Functions | +Protected Member Functions | List of all members
raylib::Vector2 Class Reference
@@ -108,12 +109,12 @@ Public Member Functions   Vector2 & DrawRectangle (::Vector2 size, ::Color color)   -float GetX () -  -float GetY () -  -float Length () -  +float GetX () const +  +float GetY () const +  +float Length () const +  Vector2 Lerp (const Vector2 &vector2, const float amount)   Vector2 Multiply (const Vector2 &vector2) @@ -154,12 +155,12 @@ Public Member Functions   bool operator== (const Vector2 &other)   +Vector2 Reflect (const Vector2 &normal) +  Vector2 Rotate (float degrees)   Vector2 Scale (const float scale)   -void set (::Vector2 vec) -  void SetX (float value)   void SetY (float value) @@ -173,6 +174,11 @@ Static Public Member Functions   static Vector2 Zero ()   + + + +

+Protected Member Functions

void set (::Vector2 vec)
 

Detailed Description

@@ -204,7 +210,7 @@ Static Public Member Functions

Definition at line 24 of file Vector2.hpp.

-

References set().

+

References set().

@@ -271,7 +277,7 @@ Static Public Member Functions
-

Definition at line 55 of file Vector2.hpp.

+

Definition at line 51 of file Vector2.hpp.

@@ -299,7 +305,7 @@ Static Public Member Functions
-

Definition at line 167 of file Vector2.hpp.

+

Definition at line 163 of file Vector2.hpp.

@@ -327,7 +333,7 @@ Static Public Member Functions
-

Definition at line 171 of file Vector2.hpp.

+

Definition at line 167 of file Vector2.hpp.

@@ -355,7 +361,7 @@ Static Public Member Functions
-

Definition at line 103 of file Vector2.hpp.

+

Definition at line 99 of file Vector2.hpp.

@@ -383,7 +389,7 @@ Static Public Member Functions
-

Definition at line 95 of file Vector2.hpp.

+

Definition at line 91 of file Vector2.hpp.

@@ -411,7 +417,7 @@ Static Public Member Functions
-

Definition at line 163 of file Vector2.hpp.

+

Definition at line 159 of file Vector2.hpp.

@@ -695,8 +701,8 @@ Static Public Member Functions - -

◆ GetX()

+ +

◆ GetX()

@@ -708,7 +714,7 @@ Static Public Member Functions float raylib::Vector2::GetX ( ) - + const @@ -718,12 +724,12 @@ Static Public Member Functions
-

Definition at line 36 of file Vector2.hpp.

+

Definition at line 32 of file Vector2.hpp.

- -

◆ GetY()

+ +

◆ GetY()

@@ -735,7 +741,7 @@ Static Public Member Functions float raylib::Vector2::GetY ( ) - + const @@ -745,12 +751,12 @@ Static Public Member Functions
-

Definition at line 37 of file Vector2.hpp.

+

Definition at line 33 of file Vector2.hpp.

- -

◆ Length()

+ +

◆ Length()

@@ -762,7 +768,7 @@ Static Public Member Functions float raylib::Vector2::Length ( ) - + const @@ -772,7 +778,7 @@ Static Public Member Functions
-

Definition at line 155 of file Vector2.hpp.

+

Definition at line 151 of file Vector2.hpp.

@@ -810,7 +816,7 @@ Static Public Member Functions
-

Definition at line 175 of file Vector2.hpp.

+

Definition at line 171 of file Vector2.hpp.

@@ -838,7 +844,7 @@ Static Public Member Functions
-

Definition at line 79 of file Vector2.hpp.

+

Definition at line 75 of file Vector2.hpp.

@@ -865,7 +871,7 @@ Static Public Member Functions
-

Definition at line 71 of file Vector2.hpp.

+

Definition at line 67 of file Vector2.hpp.

@@ -892,7 +898,7 @@ Static Public Member Functions
-

Definition at line 159 of file Vector2.hpp.

+

Definition at line 155 of file Vector2.hpp.

@@ -947,7 +953,7 @@ Static Public Member Functions
-

Definition at line 91 of file Vector2.hpp.

+

Definition at line 87 of file Vector2.hpp.

@@ -975,7 +981,7 @@ Static Public Member Functions
-

Definition at line 83 of file Vector2.hpp.

+

Definition at line 79 of file Vector2.hpp.

@@ -1003,9 +1009,9 @@ Static Public Member Functions
-

Definition at line 136 of file Vector2.hpp.

+

Definition at line 132 of file Vector2.hpp.

-

References set().

+

References set().

@@ -1033,9 +1039,9 @@ Static Public Member Functions
-

Definition at line 130 of file Vector2.hpp.

+

Definition at line 126 of file Vector2.hpp.

-

References set().

+

References set().

@@ -1063,7 +1069,7 @@ Static Public Member Functions
-

Definition at line 59 of file Vector2.hpp.

+

Definition at line 55 of file Vector2.hpp.

@@ -1091,9 +1097,9 @@ Static Public Member Functions
-

Definition at line 117 of file Vector2.hpp.

+

Definition at line 113 of file Vector2.hpp.

-

References set().

+

References set().

@@ -1120,7 +1126,7 @@ Static Public Member Functions
-

Definition at line 75 of file Vector2.hpp.

+

Definition at line 71 of file Vector2.hpp.

@@ -1148,7 +1154,7 @@ Static Public Member Functions
-

Definition at line 67 of file Vector2.hpp.

+

Definition at line 63 of file Vector2.hpp.

@@ -1176,9 +1182,9 @@ Static Public Member Functions
-

Definition at line 123 of file Vector2.hpp.

+

Definition at line 119 of file Vector2.hpp.

-

References set().

+

References set().

@@ -1206,7 +1212,7 @@ Static Public Member Functions
-

Definition at line 110 of file Vector2.hpp.

+

Definition at line 106 of file Vector2.hpp.

@@ -1234,7 +1240,7 @@ Static Public Member Functions
-

Definition at line 99 of file Vector2.hpp.

+

Definition at line 95 of file Vector2.hpp.

@@ -1262,7 +1268,7 @@ Static Public Member Functions
-

Definition at line 148 of file Vector2.hpp.

+

Definition at line 144 of file Vector2.hpp.

@@ -1290,9 +1296,9 @@ Static Public Member Functions
-

Definition at line 142 of file Vector2.hpp.

+

Definition at line 138 of file Vector2.hpp.

-

References set().

+

References set().

@@ -1320,9 +1326,9 @@ Static Public Member Functions
-

Definition at line 39 of file Vector2.hpp.

+

Definition at line 35 of file Vector2.hpp.

-

References set().

+

References set().

@@ -1350,9 +1356,9 @@ Static Public Member Functions
-

Definition at line 44 of file Vector2.hpp.

+

Definition at line 40 of file Vector2.hpp.

-

References set().

+

References set().

@@ -1380,7 +1386,35 @@ Static Public Member Functions
-

Definition at line 49 of file Vector2.hpp.

+

Definition at line 45 of file Vector2.hpp.

+ +
+ + +

◆ Reflect()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Reflect (const Vector2 & normal)
+
+inline
+
+ +

Definition at line 175 of file Vector2.hpp.

@@ -1436,7 +1470,7 @@ Static Public Member Functions
-

Definition at line 87 of file Vector2.hpp.

+

Definition at line 83 of file Vector2.hpp.

@@ -1459,14 +1493,14 @@ Static Public Member Functions -inline +inlineprotected
-

Definition at line 31 of file Vector2.hpp.

+

Definition at line 228 of file Vector2.hpp.

-

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and Vector2().

+

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and Vector2().

@@ -1494,7 +1528,7 @@ Static Public Member Functions
-

Definition at line 36 of file Vector2.hpp.

+

Definition at line 32 of file Vector2.hpp.

@@ -1522,7 +1556,7 @@ Static Public Member Functions
-

Definition at line 37 of file Vector2.hpp.

+

Definition at line 33 of file Vector2.hpp.

@@ -1550,7 +1584,7 @@ Static Public Member Functions
-

Definition at line 63 of file Vector2.hpp.

+

Definition at line 59 of file Vector2.hpp.

@@ -1584,7 +1618,7 @@ Static Public Member Functions diff --git a/docs/classraylib_1_1_vector3-members.html b/docs/classraylib_1_1_vector3-members.html index 79a2802..cdcb353 100644 --- a/docs/classraylib_1_1_vector3-members.html +++ b/docs/classraylib_1_1_vector3-members.html @@ -97,10 +97,10 @@ $(function() { DrawSphere(float radius, Color color)raylib::Vector3inline DrawSphere(float radius, int rings, int slices, Color color)raylib::Vector3inline DrawSphereWires(float radius, int rings, int slices, Color color)raylib::Vector3inline - GetX()raylib::Vector3inline - GetY()raylib::Vector3inline - GetZ()raylib::Vector3inline - Length()raylib::Vector3inline + GetX() constraylib::Vector3inline + GetY() constraylib::Vector3inline + GetZ() constraylib::Vector3inline + Length() constraylib::Vector3inline Lerp(const Vector3 &vector3, const float amount)raylib::Vector3inline Max(const Vector3 &vector3)raylib::Vector3inline Min(const Vector3 &vector3)raylib::Vector3inline @@ -129,7 +129,7 @@ $(function() { Reflect(const Vector3 &normal)raylib::Vector3inline RotateByQuaternion(Quaternion quaternion)raylib::Vector3inline Scale(const float scale)raylib::Vector3inline - set(::Vector3 vec)raylib::Vector3inline + set(::Vector3 vec)raylib::Vector3inlineprotected SetX(float value)raylib::Vector3inline SetY(float value)raylib::Vector3inline SetZ(float value)raylib::Vector3inline @@ -142,7 +142,7 @@ $(function() { diff --git a/docs/classraylib_1_1_vector3.html b/docs/classraylib_1_1_vector3.html index e980621..fcd9f77 100644 --- a/docs/classraylib_1_1_vector3.html +++ b/docs/classraylib_1_1_vector3.html @@ -70,6 +70,7 @@ $(function() {
Public Member Functions | Static Public Member Functions | +Protected Member Functions | List of all members
raylib::Vector3 Class Reference
@@ -106,7 +107,7 @@ Public Member Functions   Vector3 & DrawCube (float width, float height, float length, ::Color color)   -Vector3 & DrawCubeTexture (::Texture2D texture, float width, float height, float length, ::Color color) +Vector3 & DrawCubeTexture (::Texture2D texture, float width, float height, float length, ::Color color)   Vector3 & DrawCubeWires (::Vector3 size, ::Color color)   @@ -130,14 +131,14 @@ Public Member Functions   Vector3 & DrawSphereWires (float radius, int rings, int slices, Color color)   -float GetX () -  -float GetY () -  -float GetZ () -  -float Length () -  +float GetX () const +  +float GetY () const +  +float GetZ () const +  +float Length () const +  Vector3 Lerp (const Vector3 &vector3, const float amount)   Vector3 Max (const Vector3 &vector3) @@ -192,8 +193,6 @@ Public Member Functions   Vector3 Scale (const float scale)   -void set (::Vector3 vec) -  void SetX (float value)   void SetY (float value) @@ -211,6 +210,11 @@ Static Public Member Functions   static Vector3 Zero ()   + + + +

+Protected Member Functions

void set (::Vector3 vec)
 

Detailed Description

@@ -242,7 +246,7 @@ Static Public Member Functions

Definition at line 23 of file Vector3.hpp.

-

References set().

+

References set().

@@ -316,7 +320,7 @@ Static Public Member Functions

Definition at line 32 of file Vector3.hpp.

-

References set().

+

References set().

@@ -345,7 +349,7 @@ Static Public Member Functions
-

Definition at line 62 of file Vector3.hpp.

+

Definition at line 57 of file Vector3.hpp.

@@ -389,7 +393,7 @@ Static Public Member Functions
-

Definition at line 215 of file Vector3.hpp.

+

Definition at line 210 of file Vector3.hpp.

@@ -433,7 +437,7 @@ Static Public Member Functions
-

Definition at line 299 of file Vector3.hpp.

+

Definition at line 294 of file Vector3.hpp.

@@ -461,7 +465,7 @@ Static Public Member Functions
-

Definition at line 183 of file Vector3.hpp.

+

Definition at line 178 of file Vector3.hpp.

@@ -489,7 +493,7 @@ Static Public Member Functions
-

Definition at line 175 of file Vector3.hpp.

+

Definition at line 170 of file Vector3.hpp.

@@ -517,7 +521,7 @@ Static Public Member Functions
-

Definition at line 110 of file Vector3.hpp.

+

Definition at line 105 of file Vector3.hpp.

@@ -545,9 +549,9 @@ Static Public Member Functions
-

Definition at line 102 of file Vector3.hpp.

+

Definition at line 97 of file Vector3.hpp.

-

Referenced by operator/().

+

Referenced by operator/().

@@ -575,7 +579,7 @@ Static Public Member Functions
-

Definition at line 171 of file Vector3.hpp.

+

Definition at line 166 of file Vector3.hpp.

@@ -625,7 +629,7 @@ Static Public Member Functions
-

Definition at line 236 of file Vector3.hpp.

+

Definition at line 231 of file Vector3.hpp.

@@ -663,7 +667,7 @@ Static Public Member Functions
-

Definition at line 245 of file Vector3.hpp.

+

Definition at line 240 of file Vector3.hpp.

@@ -713,7 +717,7 @@ Static Public Member Functions
-

Definition at line 241 of file Vector3.hpp.

+

Definition at line 236 of file Vector3.hpp.

@@ -729,7 +733,7 @@ Static Public Member Functions Vector3& raylib::Vector3::DrawCubeTexture ( - ::Texture2D  + ::Texture2D  texture, @@ -769,7 +773,7 @@ Static Public Member Functions
-

Definition at line 259 of file Vector3.hpp.

+

Definition at line 254 of file Vector3.hpp.

@@ -807,7 +811,7 @@ Static Public Member Functions
-

Definition at line 254 of file Vector3.hpp.

+

Definition at line 249 of file Vector3.hpp.

@@ -857,7 +861,7 @@ Static Public Member Functions
-

Definition at line 250 of file Vector3.hpp.

+

Definition at line 245 of file Vector3.hpp.

@@ -913,7 +917,7 @@ Static Public Member Functions
-

Definition at line 279 of file Vector3.hpp.

+

Definition at line 274 of file Vector3.hpp.

@@ -969,7 +973,7 @@ Static Public Member Functions
-

Definition at line 284 of file Vector3.hpp.

+

Definition at line 279 of file Vector3.hpp.

@@ -996,7 +1000,7 @@ Static Public Member Functions
-

Definition at line 294 of file Vector3.hpp.

+

Definition at line 289 of file Vector3.hpp.

@@ -1034,7 +1038,7 @@ Static Public Member Functions
-

Definition at line 228 of file Vector3.hpp.

+

Definition at line 223 of file Vector3.hpp.

@@ -1072,7 +1076,7 @@ Static Public Member Functions
-

Definition at line 289 of file Vector3.hpp.

+

Definition at line 284 of file Vector3.hpp.

@@ -1100,7 +1104,7 @@ Static Public Member Functions
-

Definition at line 232 of file Vector3.hpp.

+

Definition at line 227 of file Vector3.hpp.

@@ -1138,7 +1142,7 @@ Static Public Member Functions
-

Definition at line 264 of file Vector3.hpp.

+

Definition at line 259 of file Vector3.hpp.

@@ -1188,7 +1192,7 @@ Static Public Member Functions
-

Definition at line 269 of file Vector3.hpp.

+

Definition at line 264 of file Vector3.hpp.

@@ -1238,12 +1242,12 @@ Static Public Member Functions
-

Definition at line 274 of file Vector3.hpp.

+

Definition at line 269 of file Vector3.hpp.

- -

◆ GetX()

+ +

◆ GetX()

@@ -1255,7 +1259,7 @@ Static Public Member Functions float raylib::Vector3::GetX ( ) - + const @@ -1265,12 +1269,12 @@ Static Public Member Functions
-

Definition at line 41 of file Vector3.hpp.

+

Definition at line 36 of file Vector3.hpp.

- -

◆ GetY()

+ +

◆ GetY()

@@ -1282,7 +1286,7 @@ Static Public Member Functions float raylib::Vector3::GetY ( ) - + const @@ -1292,12 +1296,12 @@ Static Public Member Functions
-

Definition at line 42 of file Vector3.hpp.

+

Definition at line 37 of file Vector3.hpp.

- -

◆ GetZ()

+ +

◆ GetZ()

@@ -1309,7 +1313,7 @@ Static Public Member Functions float raylib::Vector3::GetZ ( ) - + const @@ -1319,12 +1323,12 @@ Static Public Member Functions
-

Definition at line 43 of file Vector3.hpp.

+

Definition at line 38 of file Vector3.hpp.

- -

◆ Length()

+ +

◆ Length()

@@ -1336,7 +1340,7 @@ Static Public Member Functions float raylib::Vector3::Length ( ) - + const @@ -1346,7 +1350,7 @@ Static Public Member Functions
-

Definition at line 163 of file Vector3.hpp.

+

Definition at line 158 of file Vector3.hpp.

@@ -1384,7 +1388,7 @@ Static Public Member Functions
-

Definition at line 179 of file Vector3.hpp.

+

Definition at line 174 of file Vector3.hpp.

@@ -1412,7 +1416,7 @@ Static Public Member Functions
-

Definition at line 211 of file Vector3.hpp.

+

Definition at line 206 of file Vector3.hpp.

@@ -1440,7 +1444,7 @@ Static Public Member Functions
-

Definition at line 207 of file Vector3.hpp.

+

Definition at line 202 of file Vector3.hpp.

@@ -1468,7 +1472,7 @@ Static Public Member Functions
-

Definition at line 86 of file Vector3.hpp.

+

Definition at line 81 of file Vector3.hpp.

@@ -1495,7 +1499,7 @@ Static Public Member Functions
-

Definition at line 78 of file Vector3.hpp.

+

Definition at line 73 of file Vector3.hpp.

@@ -1522,7 +1526,7 @@ Static Public Member Functions
-

Definition at line 167 of file Vector3.hpp.

+

Definition at line 162 of file Vector3.hpp.

@@ -1549,7 +1553,7 @@ Static Public Member Functions
-

Definition at line 223 of file Vector3.hpp.

+

Definition at line 218 of file Vector3.hpp.

@@ -1577,7 +1581,7 @@ Static Public Member Functions
-

Definition at line 98 of file Vector3.hpp.

+

Definition at line 93 of file Vector3.hpp.

@@ -1605,7 +1609,7 @@ Static Public Member Functions
-

Definition at line 90 of file Vector3.hpp.

+

Definition at line 85 of file Vector3.hpp.

@@ -1633,9 +1637,9 @@ Static Public Member Functions
-

Definition at line 141 of file Vector3.hpp.

+

Definition at line 136 of file Vector3.hpp.

-

References set().

+

References set().

@@ -1663,9 +1667,9 @@ Static Public Member Functions
-

Definition at line 135 of file Vector3.hpp.

+

Definition at line 130 of file Vector3.hpp.

-

References set().

+

References set().

@@ -1693,7 +1697,7 @@ Static Public Member Functions
-

Definition at line 66 of file Vector3.hpp.

+

Definition at line 61 of file Vector3.hpp.

@@ -1721,9 +1725,9 @@ Static Public Member Functions
-

Definition at line 122 of file Vector3.hpp.

+

Definition at line 117 of file Vector3.hpp.

-

References set().

+

References set().

@@ -1750,7 +1754,7 @@ Static Public Member Functions
-

Definition at line 82 of file Vector3.hpp.

+

Definition at line 77 of file Vector3.hpp.

@@ -1778,7 +1782,7 @@ Static Public Member Functions
-

Definition at line 74 of file Vector3.hpp.

+

Definition at line 69 of file Vector3.hpp.

@@ -1806,9 +1810,9 @@ Static Public Member Functions
-

Definition at line 128 of file Vector3.hpp.

+

Definition at line 123 of file Vector3.hpp.

-

References set().

+

References set().

@@ -1836,9 +1840,9 @@ Static Public Member Functions
-

Definition at line 118 of file Vector3.hpp.

+

Definition at line 113 of file Vector3.hpp.

-

References Divide().

+

References Divide().

@@ -1866,7 +1870,7 @@ Static Public Member Functions
-

Definition at line 106 of file Vector3.hpp.

+

Definition at line 101 of file Vector3.hpp.

@@ -1894,7 +1898,7 @@ Static Public Member Functions
-

Definition at line 155 of file Vector3.hpp.

+

Definition at line 150 of file Vector3.hpp.

@@ -1922,7 +1926,7 @@ Static Public Member Functions
-

Definition at line 147 of file Vector3.hpp.

+

Definition at line 142 of file Vector3.hpp.

@@ -1950,9 +1954,9 @@ Static Public Member Functions
-

Definition at line 45 of file Vector3.hpp.

+

Definition at line 40 of file Vector3.hpp.

-

References set().

+

References set().

@@ -1980,9 +1984,9 @@ Static Public Member Functions
-

Definition at line 50 of file Vector3.hpp.

+

Definition at line 45 of file Vector3.hpp.

-

References set().

+

References set().

@@ -2010,7 +2014,7 @@ Static Public Member Functions
-

Definition at line 55 of file Vector3.hpp.

+

Definition at line 50 of file Vector3.hpp.

@@ -2038,7 +2042,7 @@ Static Public Member Functions
-

Definition at line 191 of file Vector3.hpp.

+

Definition at line 186 of file Vector3.hpp.

@@ -2065,7 +2069,7 @@ Static Public Member Functions
-

Definition at line 187 of file Vector3.hpp.

+

Definition at line 182 of file Vector3.hpp.

@@ -2093,7 +2097,7 @@ Static Public Member Functions
-

Definition at line 203 of file Vector3.hpp.

+

Definition at line 198 of file Vector3.hpp.

@@ -2121,7 +2125,7 @@ Static Public Member Functions
-

Definition at line 199 of file Vector3.hpp.

+

Definition at line 194 of file Vector3.hpp.

@@ -2149,7 +2153,7 @@ Static Public Member Functions
-

Definition at line 94 of file Vector3.hpp.

+

Definition at line 89 of file Vector3.hpp.

@@ -2172,14 +2176,14 @@ Static Public Member Functions -inline +inlineprotected
-

Definition at line 35 of file Vector3.hpp.

+

Definition at line 299 of file Vector3.hpp.

-

Referenced by operator*=(), operator+=(), operator-=(), operator=(), and Vector3().

+

Referenced by operator*=(), operator+=(), operator-=(), operator=(), and Vector3().

@@ -2207,7 +2211,7 @@ Static Public Member Functions
-

Definition at line 41 of file Vector3.hpp.

+

Definition at line 36 of file Vector3.hpp.

@@ -2235,7 +2239,7 @@ Static Public Member Functions
-

Definition at line 42 of file Vector3.hpp.

+

Definition at line 37 of file Vector3.hpp.

@@ -2263,7 +2267,7 @@ Static Public Member Functions
-

Definition at line 43 of file Vector3.hpp.

+

Definition at line 38 of file Vector3.hpp.

@@ -2291,7 +2295,7 @@ Static Public Member Functions
-

Definition at line 70 of file Vector3.hpp.

+

Definition at line 65 of file Vector3.hpp.

@@ -2319,7 +2323,7 @@ Static Public Member Functions
-

Definition at line 195 of file Vector3.hpp.

+

Definition at line 190 of file Vector3.hpp.

@@ -2346,14 +2350,14 @@ Static Public Member Functions
-

Definition at line 219 of file Vector3.hpp.

+

Definition at line 214 of file Vector3.hpp.

diff --git a/docs/classraylib_1_1_vector4-members.html b/docs/classraylib_1_1_vector4-members.html index 6ee21e3..5334c40 100644 --- a/docs/classraylib_1_1_vector4-members.html +++ b/docs/classraylib_1_1_vector4-members.html @@ -80,13 +80,13 @@ $(function() { FromEuler(const Vector3 &vector3)raylib::Vector4inlinestatic FromMatrix(const ::Matrix &matrix)raylib::Vector4inlinestatic FromVector3ToVector3(const Vector3 &from, const Vector3 &to)raylib::Vector4inlinestatic - GetW()raylib::Vector4inline - GetX()raylib::Vector4inline - GetY()raylib::Vector4inline - GetZ()raylib::Vector4inline + GetW() constraylib::Vector4inline + GetX() constraylib::Vector4inline + GetY() constraylib::Vector4inline + GetZ() constraylib::Vector4inline Identity()raylib::Vector4inlinestatic Invert()raylib::Vector4inline - Length()raylib::Vector4inline + Length() constraylib::Vector4inline Lerp(const Vector4 &vector4, float amount)raylib::Vector4inline Multiply(const Vector4 &vector4)raylib::Vector4inline Nlerp(const Vector4 &vector4, float amount)raylib::Vector4inline @@ -95,7 +95,7 @@ $(function() { operator=(const ::Vector4 &vector4)raylib::Vector4inline operator=(const Vector4 &vector4)raylib::Vector4inline operator==(const Vector4 &other)raylib::Vector4inline - set(::Vector4 vec4)raylib::Vector4inline + set(::Vector4 vec4)raylib::Vector4inlineprotected SetW(float value)raylib::Vector4inline SetX(float value)raylib::Vector4inline SetY(float value)raylib::Vector4inline @@ -112,7 +112,7 @@ $(function() { diff --git a/docs/classraylib_1_1_vector4.html b/docs/classraylib_1_1_vector4.html index a48e38a..fef1460 100644 --- a/docs/classraylib_1_1_vector4.html +++ b/docs/classraylib_1_1_vector4.html @@ -70,6 +70,7 @@ $(function() {
Public Member Functions | Static Public Member Functions | +Protected Member Functions | List of all members
raylib::Vector4 Class Reference
@@ -86,18 +87,18 @@ Public Member Functions   Color ColorFromNormalized ()   -float GetW () -  -float GetX () -  -float GetY () -  -float GetZ () -  +float GetW () const +  +float GetX () const +  +float GetY () const +  +float GetZ () const +  Vector4 Invert ()   -float Length () -  +float Length () const +  Vector4 Lerp (const Vector4 &vector4, float amount)   Vector4 Multiply (const Vector4 &vector4) @@ -114,8 +115,6 @@ Public Member Functions   bool operator== (const Vector4 &other)   -void set (::Vector4 vec4) -  void SetW (float value)   void SetX (float value) @@ -151,6 +150,11 @@ Static Public Member Functions   static Vector4 Identity ()   + + + +

+Protected Member Functions

void set (::Vector4 vec4)
 

Detailed Description

@@ -182,7 +186,7 @@ Static Public Member Functions

Definition at line 23 of file Vector4.hpp.

-

References set().

+

References set().

@@ -262,7 +266,7 @@ Static Public Member Functions

Definition at line 34 of file Vector4.hpp.

-

References set().

+

References set().

@@ -290,7 +294,7 @@ Static Public Member Functions
-

Definition at line 152 of file Vector4.hpp.

+

Definition at line 145 of file Vector4.hpp.

@@ -328,7 +332,7 @@ Static Public Member Functions
-

Definition at line 135 of file Vector4.hpp.

+

Definition at line 128 of file Vector4.hpp.

@@ -372,7 +376,7 @@ Static Public Member Functions
-

Definition at line 139 of file Vector4.hpp.

+

Definition at line 132 of file Vector4.hpp.

@@ -400,7 +404,7 @@ Static Public Member Functions
-

Definition at line 143 of file Vector4.hpp.

+

Definition at line 136 of file Vector4.hpp.

@@ -428,7 +432,7 @@ Static Public Member Functions
-

Definition at line 131 of file Vector4.hpp.

+

Definition at line 124 of file Vector4.hpp.

@@ -466,12 +470,12 @@ Static Public Member Functions
-

Definition at line 127 of file Vector4.hpp.

+

Definition at line 120 of file Vector4.hpp.

- -

◆ GetW()

+ +

◆ GetW()

@@ -483,7 +487,7 @@ Static Public Member Functions float raylib::Vector4::GetW ( ) - + const @@ -493,12 +497,12 @@ Static Public Member Functions
-

Definition at line 48 of file Vector4.hpp.

+

Definition at line 41 of file Vector4.hpp.

- -

◆ GetX()

+ +

◆ GetX()

@@ -510,7 +514,7 @@ Static Public Member Functions float raylib::Vector4::GetX ( ) - + const @@ -520,12 +524,12 @@ Static Public Member Functions
-

Definition at line 45 of file Vector4.hpp.

+

Definition at line 38 of file Vector4.hpp.

- -

◆ GetY()

+ +

◆ GetY()

@@ -537,7 +541,7 @@ Static Public Member Functions float raylib::Vector4::GetY ( ) - + const @@ -547,12 +551,12 @@ Static Public Member Functions
-

Definition at line 46 of file Vector4.hpp.

+

Definition at line 39 of file Vector4.hpp.

- -

◆ GetZ()

+ +

◆ GetZ()

@@ -564,7 +568,7 @@ Static Public Member Functions float raylib::Vector4::GetZ ( ) - + const @@ -574,7 +578,7 @@ Static Public Member Functions
-

Definition at line 47 of file Vector4.hpp.

+

Definition at line 40 of file Vector4.hpp.

@@ -601,7 +605,7 @@ Static Public Member Functions
-

Definition at line 123 of file Vector4.hpp.

+

Definition at line 116 of file Vector4.hpp.

@@ -628,12 +632,12 @@ Static Public Member Functions
-

Definition at line 100 of file Vector4.hpp.

+

Definition at line 93 of file Vector4.hpp.

- -

◆ Length()

+ +

◆ Length()

@@ -645,7 +649,7 @@ Static Public Member Functions float raylib::Vector4::Length ( ) - + const @@ -655,7 +659,7 @@ Static Public Member Functions
-

Definition at line 92 of file Vector4.hpp.

+

Definition at line 85 of file Vector4.hpp.

@@ -693,7 +697,7 @@ Static Public Member Functions
-

Definition at line 76 of file Vector4.hpp.

+

Definition at line 69 of file Vector4.hpp.

@@ -721,7 +725,7 @@ Static Public Member Functions
-

Definition at line 68 of file Vector4.hpp.

+

Definition at line 61 of file Vector4.hpp.

@@ -759,7 +763,7 @@ Static Public Member Functions
-

Definition at line 80 of file Vector4.hpp.

+

Definition at line 73 of file Vector4.hpp.

@@ -786,7 +790,7 @@ Static Public Member Functions
-

Definition at line 96 of file Vector4.hpp.

+

Definition at line 89 of file Vector4.hpp.

@@ -814,7 +818,7 @@ Static Public Member Functions
-

Definition at line 72 of file Vector4.hpp.

+

Definition at line 65 of file Vector4.hpp.

@@ -842,9 +846,9 @@ Static Public Member Functions
-

Definition at line 50 of file Vector4.hpp.

+

Definition at line 43 of file Vector4.hpp.

-

References set().

+

References set().

@@ -872,9 +876,9 @@ Static Public Member Functions
-

Definition at line 55 of file Vector4.hpp.

+

Definition at line 48 of file Vector4.hpp.

-

References set().

+

References set().

@@ -902,7 +906,7 @@ Static Public Member Functions
-

Definition at line 60 of file Vector4.hpp.

+

Definition at line 53 of file Vector4.hpp.

@@ -925,14 +929,14 @@ Static Public Member Functions -inline +inlineprotected
-

Definition at line 38 of file Vector4.hpp.

+

Definition at line 150 of file Vector4.hpp.

-

Referenced by operator=(), and Vector4().

+

Referenced by operator=(), and Vector4().

@@ -960,7 +964,7 @@ Static Public Member Functions
-

Definition at line 48 of file Vector4.hpp.

+

Definition at line 41 of file Vector4.hpp.

@@ -988,7 +992,7 @@ Static Public Member Functions
-

Definition at line 45 of file Vector4.hpp.

+

Definition at line 38 of file Vector4.hpp.

@@ -1016,7 +1020,7 @@ Static Public Member Functions
-

Definition at line 46 of file Vector4.hpp.

+

Definition at line 39 of file Vector4.hpp.

@@ -1044,7 +1048,7 @@ Static Public Member Functions
-

Definition at line 47 of file Vector4.hpp.

+

Definition at line 40 of file Vector4.hpp.

@@ -1082,7 +1086,7 @@ Static Public Member Functions
-

Definition at line 84 of file Vector4.hpp.

+

Definition at line 77 of file Vector4.hpp.

@@ -1109,7 +1113,7 @@ Static Public Member Functions
-

Definition at line 108 of file Vector4.hpp.

+

Definition at line 101 of file Vector4.hpp.

@@ -1147,7 +1151,7 @@ Static Public Member Functions
-

Definition at line 104 of file Vector4.hpp.

+

Definition at line 97 of file Vector4.hpp.

@@ -1174,7 +1178,7 @@ Static Public Member Functions
-

Definition at line 147 of file Vector4.hpp.

+

Definition at line 140 of file Vector4.hpp.

@@ -1201,7 +1205,7 @@ Static Public Member Functions
-

Definition at line 88 of file Vector4.hpp.

+

Definition at line 81 of file Vector4.hpp.

@@ -1229,14 +1233,14 @@ Static Public Member Functions
-

Definition at line 119 of file Vector4.hpp.

+

Definition at line 112 of file Vector4.hpp.

diff --git a/docs/classraylib_1_1_vr_simulator-members.html b/docs/classraylib_1_1_vr_simulator-members.html index a353f5c..5662bec 100644 --- a/docs/classraylib_1_1_vr_simulator-members.html +++ b/docs/classraylib_1_1_vr_simulator-members.html @@ -78,7 +78,7 @@ $(function() { Close()raylib::VrSimulatorinline End()raylib::VrSimulatorinline Init()raylib::VrSimulatorinline - IsReady()raylib::VrSimulatorinline + IsReady() constraylib::VrSimulatorinline Set(::VrDeviceInfo info, ::Shader distortion)raylib::VrSimulatorinline Toggle()raylib::VrSimulatorinline Update(Camera *camera)raylib::VrSimulatorinline @@ -88,7 +88,7 @@ $(function() { diff --git a/docs/classraylib_1_1_vr_simulator.html b/docs/classraylib_1_1_vr_simulator.html index c807b55..fcc802d 100644 --- a/docs/classraylib_1_1_vr_simulator.html +++ b/docs/classraylib_1_1_vr_simulator.html @@ -91,8 +91,8 @@ Public Member Functions   void Init ()   -bool IsReady () -  +bool IsReady () const +  VrSimulator & Set (::VrDeviceInfo info, ::Shader distortion)   VrSimulator & Toggle () @@ -315,8 +315,8 @@ Public Member Functions - -

◆ IsReady()

+ +

◆ IsReady()

@@ -328,7 +328,7 @@ Public Member Functions bool raylib::VrSimulator::IsReady ( ) - + const @@ -440,7 +440,7 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_wave-members.html b/docs/classraylib_1_1_wave-members.html index e97ea9c..2ee3632 100644 --- a/docs/classraylib_1_1_wave-members.html +++ b/docs/classraylib_1_1_wave-members.html @@ -79,21 +79,21 @@ $(function() { Export(const std::string &fileName)raylib::Waveinline ExportAsCode(const std::string &fileName)raylib::Waveinline Format(int SampleRate=0, int SampleSize=0, int Channels=2)raylib::Waveinline - GetData()raylib::Waveinline - GetW()raylib::Waveinline - GetWaveData()raylib::Waveinline - GetX()raylib::Waveinline - GetY()raylib::Waveinline - GetZ()raylib::Waveinline + GetChannels() constraylib::Waveinline + GetData() constraylib::Waveinline + GetSampleCount() constraylib::Waveinline + GetSampleRate() constraylib::Waveinline + GetSampleSize() constraylib::Waveinline + GetWaveData()raylib::Waveinline LoadSound()raylib::Waveinline operator=(const ::Wave &wave)raylib::Waveinline operator=(const Wave &wave)raylib::Waveinline - set(::Wave wave)raylib::Waveinline - SetData(void *value)raylib::Waveinline - SetW(unsigned int value)raylib::Waveinline - SetX(unsigned int value)raylib::Waveinline - SetY(unsigned int value)raylib::Waveinline - SetZ(unsigned int value)raylib::Waveinline + set(::Wave wave)raylib::Waveinlineprotected + SetChannels(unsigned int value)raylib::Waveinline + SetData(void *value)raylib::Waveinline + SetSampleCount(unsigned int value)raylib::Waveinline + SetSampleRate(unsigned int value)raylib::Waveinline + SetSampleSize(unsigned int value)raylib::Waveinline Unload()raylib::Waveinline Wave(::Wave wave)raylib::Waveinline Wave(unsigned int SampleCount=0, unsigned int SampleRate=0, unsigned int SampleSize=0, unsigned int Channels=0)raylib::Waveinline @@ -102,7 +102,7 @@ $(function() {
diff --git a/docs/classraylib_1_1_wave.html b/docs/classraylib_1_1_wave.html index 33607d8..7b052eb 100644 --- a/docs/classraylib_1_1_wave.html +++ b/docs/classraylib_1_1_wave.html @@ -69,6 +69,7 @@ $(function() {
raylib::Wave Class Reference
@@ -95,38 +96,41 @@ Public Member Functions   Wave & Format (int SampleRate=0, int SampleSize=0, int Channels=2)   -void * GetData () -  -unsigned int GetW () -  +unsigned int GetChannels () const +  +void * GetData () const +  +unsigned int GetSampleCount () const +  +unsigned int GetSampleRate () const +  +unsigned int GetSampleSize () const +  float * GetWaveData ()   -unsigned int GetX () -  -unsigned int GetY () -  -unsigned int GetZ () -  Sound LoadSound ()   Wave & operator= (const ::Wave &wave)   Wave & operator= (const Wave &wave)   -void set (::Wave wave) -  +void SetChannels (unsigned int value) +  void SetData (void *value)   -void SetW (unsigned int value) -  -void SetX (unsigned int value) -  -void SetY (unsigned int value) -  -void SetZ (unsigned int value) -  +void SetSampleCount (unsigned int value) +  +void SetSampleRate (unsigned int value) +  +void SetSampleSize (unsigned int value) +  void Unload ()   + + + +

+Protected Member Functions

void set (::Wave wave)
 

Detailed Description

@@ -158,7 +162,7 @@ Public Member Functions

Definition at line 17 of file Wave.hpp.

-

References set().

+

References set().

@@ -238,7 +242,7 @@ Public Member Functions

Definition at line 28 of file Wave.hpp.

-

References set().

+

References set().

@@ -267,7 +271,7 @@ Public Member Functions

Definition at line 32 of file Wave.hpp.

-

References Unload().

+

References Unload().

@@ -295,7 +299,7 @@ Public Member Functions
-

Definition at line 65 of file Wave.hpp.

+

Definition at line 57 of file Wave.hpp.

@@ -333,7 +337,7 @@ Public Member Functions
-

Definition at line 69 of file Wave.hpp.

+

Definition at line 61 of file Wave.hpp.

@@ -361,7 +365,7 @@ Public Member Functions
-

Definition at line 74 of file Wave.hpp.

+

Definition at line 66 of file Wave.hpp.

@@ -389,7 +393,7 @@ Public Member Functions
-

Definition at line 78 of file Wave.hpp.

+

Definition at line 70 of file Wave.hpp.

@@ -433,12 +437,39 @@ Public Member Functions
-

Definition at line 60 of file Wave.hpp.

+

Definition at line 52 of file Wave.hpp.

- -

◆ GetData()

+ +

◆ GetChannels()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Wave::GetChannels () const
+
+inline
+
+ +

Definition at line 39 of file Wave.hpp.

+ +
+
+ +

◆ GetData()

@@ -450,7 +481,7 @@ Public Member Functions void* raylib::Wave::GetData ( ) - + const @@ -460,12 +491,12 @@ Public Member Functions
-

Definition at line 48 of file Wave.hpp.

+

Definition at line 40 of file Wave.hpp.

- -

◆ GetW()

+ +

◆ GetSampleCount()

@@ -474,10 +505,10 @@ Public Member Functions - + - +
unsigned int raylib::Wave::GetW unsigned int raylib::Wave::GetSampleCount ( ) const
@@ -487,7 +518,61 @@ Public Member Functions
-

Definition at line 47 of file Wave.hpp.

+

Definition at line 36 of file Wave.hpp.

+ +
+
+ +

◆ GetSampleRate()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Wave::GetSampleRate () const
+
+inline
+
+ +

Definition at line 37 of file Wave.hpp.

+ +
+
+ +

◆ GetSampleSize()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Wave::GetSampleSize () const
+
+inline
+
+ +

Definition at line 38 of file Wave.hpp.

@@ -514,88 +599,7 @@ Public Member Functions
-

Definition at line 94 of file Wave.hpp.

- -
- - -

◆ GetX()

- -
-
- - - - - -
- - - - - - - -
unsigned int raylib::Wave::GetX ()
-
-inline
-
- -

Definition at line 44 of file Wave.hpp.

- -
-
- -

◆ GetY()

- -
-
- - - - - -
- - - - - - - -
unsigned int raylib::Wave::GetY ()
-
-inline
-
- -

Definition at line 45 of file Wave.hpp.

- -
-
- -

◆ GetZ()

- -
-
- - - - - -
- - - - - - - -
unsigned int raylib::Wave::GetZ ()
-
-inline
-
- -

Definition at line 46 of file Wave.hpp.

+

Definition at line 86 of file Wave.hpp.

@@ -622,7 +626,7 @@ Public Member Functions
-

Definition at line 90 of file Wave.hpp.

+

Definition at line 82 of file Wave.hpp.

@@ -650,9 +654,9 @@ Public Member Functions
-

Definition at line 50 of file Wave.hpp.

+

Definition at line 42 of file Wave.hpp.

-

References set().

+

References set().

@@ -680,9 +684,9 @@ Public Member Functions
-

Definition at line 55 of file Wave.hpp.

+

Definition at line 47 of file Wave.hpp.

-

References set().

+

References set().

@@ -705,14 +709,42 @@ Public Member Functions +inlineprotected + + +
+ +

Definition at line 91 of file Wave.hpp.

+ +

Referenced by operator=(), and Wave().

+ +
+ + +

◆ SetChannels()

+ +
+
+ + + +
+ + + + + + + + +
void raylib::Wave::SetChannels (unsigned int value)
+
inline
-

Definition at line 36 of file Wave.hpp.

- -

Referenced by operator=(), and Wave().

+

Definition at line 39 of file Wave.hpp.

@@ -740,12 +772,12 @@ Public Member Functions
-

Definition at line 48 of file Wave.hpp.

+

Definition at line 40 of file Wave.hpp.

- -

◆ SetW()

+ +

◆ SetSampleCount()

@@ -754,7 +786,7 @@ Public Member Functions - + @@ -768,12 +800,12 @@ Public Member Functions
void raylib::Wave::SetW void raylib::Wave::SetSampleCount ( unsigned int  value)
-

Definition at line 47 of file Wave.hpp.

+

Definition at line 36 of file Wave.hpp.

- -

◆ SetX()

+ +

◆ SetSampleRate()

@@ -782,7 +814,7 @@ Public Member Functions - + @@ -796,12 +828,12 @@ Public Member Functions
void raylib::Wave::SetX void raylib::Wave::SetSampleRate ( unsigned int  value)
-

Definition at line 44 of file Wave.hpp.

+

Definition at line 37 of file Wave.hpp.

- -

◆ SetY()

+ +

◆ SetSampleSize()

@@ -810,7 +842,7 @@ Public Member Functions - + @@ -824,35 +856,7 @@ Public Member Functions
void raylib::Wave::SetY void raylib::Wave::SetSampleSize ( unsigned int  value)
-

Definition at line 45 of file Wave.hpp.

- -
-
- -

◆ SetZ()

- -
-
- - - - - -
- - - - - - - - -
void raylib::Wave::SetZ (unsigned int value)
-
-inline
-
- -

Definition at line 46 of file Wave.hpp.

+

Definition at line 38 of file Wave.hpp.

@@ -879,7 +883,7 @@ Public Member Functions
-

Definition at line 83 of file Wave.hpp.

+

Definition at line 75 of file Wave.hpp.

Referenced by ~Wave().

@@ -888,7 +892,7 @@ Public Member Functions
diff --git a/docs/classraylib_1_1_window-members.html b/docs/classraylib_1_1_window-members.html index fb66126..9709362 100644 --- a/docs/classraylib_1_1_window-members.html +++ b/docs/classraylib_1_1_window-members.html @@ -77,25 +77,25 @@ $(function() { BeginDrawing()raylib::Windowinline Close()raylib::Windowinline EndDrawing()raylib::Windowinline - GetClipboardText()raylib::Windowinline - GetFPS()raylib::Windowinline - GetFrameTime()raylib::Windowinline - GetHandle()raylib::Windowinline - GetMonitorName(int monitor)raylib::Windowinline - GetPosition()raylib::Windowinline - GetScaleDPI()raylib::Windowinline - GetScreenHeight()raylib::Windowinline - GetScreenWidth()raylib::Windowinline - GetTime()raylib::Windowinline + GetClipboardText() constraylib::Windowinline + GetFPS() constraylib::Windowinline + GetFrameTime() constraylib::Windowinline + GetHandle() constraylib::Windowinline + GetMonitorName(int monitor) constraylib::Windowinline + GetPosition() constraylib::Windowinline + GetScaleDPI() constraylib::Windowinline + GetScreenHeight() constraylib::Windowinline + GetScreenWidth() constraylib::Windowinline + GetTime() constraylib::Windowinline Hide()raylib::Windowinline Init(int width, int height, const std::string &title)raylib::Windowinline IsCursorOnScreen()raylib::Windowinline - IsFocused()raylib::Windowinline - IsFullscreen()raylib::Windowinline - IsHidden()raylib::Windowinline - IsMinimized()raylib::Windowinline + IsFocused() constraylib::Windowinline + IsFullscreen() constraylib::Windowinline + IsHidden() constraylib::Windowinline + IsMinimized() constraylib::Windowinline IsReady()raylib::Windowinlinestatic - IsResized()raylib::Windowinline + IsResized() constraylib::Windowinline SetClipboardText(const std::string &text)raylib::Windowinline SetIcon(Image image)raylib::Windowinline SetMinSize(int width, int height)raylib::Windowinline @@ -112,7 +112,7 @@ $(function() { diff --git a/docs/classraylib_1_1_window.html b/docs/classraylib_1_1_window.html index f30ee2a..1da31b5 100644 --- a/docs/classraylib_1_1_window.html +++ b/docs/classraylib_1_1_window.html @@ -93,42 +93,42 @@ Public Member Functions   Window & EndDrawing ()   -std::string GetClipboardText () -  -int GetFPS () -  -float GetFrameTime () -  -void * GetHandle () -  -std::string GetMonitorName (int monitor) -  -Vector2 GetPosition () -  -Vector2 GetScaleDPI () -  -int GetScreenHeight () -  -int GetScreenWidth () -  -double GetTime () -  +std::string GetClipboardText () const +  +int GetFPS () const +  +float GetFrameTime () const +  +void * GetHandle () const +  +std::string GetMonitorName (int monitor) const +  +Vector2 GetPosition () const +  +Vector2 GetScaleDPI () const +  +int GetScreenHeight () const +  +int GetScreenWidth () const +  +double GetTime () const +  Window & Hide ()   void Init (int width, int height, const std::string &title)   bool IsCursorOnScreen ()   -bool IsFocused () -  -bool IsFullscreen () -  -bool IsHidden () -  -bool IsMinimized () -  -bool IsResized () -  +bool IsFocused () const +  +bool IsFullscreen () const +  +bool IsHidden () const +  +bool IsMinimized () const +  +bool IsResized () const +  Window & SetClipboardText (const std::string &text)   Window & SetIcon (Image image) @@ -337,8 +337,8 @@ Static Public Member Functions - -

◆ GetClipboardText()

+ +

◆ GetClipboardText()

@@ -350,7 +350,7 @@ Static Public Member Functions std::string raylib::Window::GetClipboardText ( ) - + const @@ -364,8 +364,8 @@ Static Public Member Functions
- -

◆ GetFPS()

+ +

◆ GetFPS()

@@ -377,7 +377,7 @@ Static Public Member Functions int raylib::Window::GetFPS ( ) - + const @@ -391,8 +391,8 @@ Static Public Member Functions
- -

◆ GetFrameTime()

+ +

◆ GetFrameTime()

@@ -404,7 +404,7 @@ Static Public Member Functions float raylib::Window::GetFrameTime ( ) - + const @@ -418,8 +418,8 @@ Static Public Member Functions
- -

◆ GetHandle()

+ +

◆ GetHandle()

@@ -431,7 +431,7 @@ Static Public Member Functions void* raylib::Window::GetHandle ( ) - + const @@ -445,8 +445,8 @@ Static Public Member Functions
- -

◆ GetMonitorName()

+ +

◆ GetMonitorName()

@@ -459,7 +459,7 @@ Static Public Member Functions ( int  monitor) - + const @@ -473,8 +473,8 @@ Static Public Member Functions
- -

◆ GetPosition()

+ +

◆ GetPosition()

@@ -486,7 +486,7 @@ Static Public Member Functions Vector2 raylib::Window::GetPosition ( ) - + const @@ -500,8 +500,8 @@ Static Public Member Functions
- -

◆ GetScaleDPI()

+ +

◆ GetScaleDPI()

@@ -513,7 +513,7 @@ Static Public Member Functions Vector2 raylib::Window::GetScaleDPI ( ) - + const @@ -527,8 +527,8 @@ Static Public Member Functions
- -

◆ GetScreenHeight()

+ +

◆ GetScreenHeight()

@@ -540,7 +540,7 @@ Static Public Member Functions int raylib::Window::GetScreenHeight ( ) - + const @@ -554,8 +554,8 @@ Static Public Member Functions
- -

◆ GetScreenWidth()

+ +

◆ GetScreenWidth()

@@ -567,7 +567,7 @@ Static Public Member Functions int raylib::Window::GetScreenWidth ( ) - + const @@ -581,8 +581,8 @@ Static Public Member Functions
- -

◆ GetTime()

+ +

◆ GetTime()

@@ -594,7 +594,7 @@ Static Public Member Functions double raylib::Window::GetTime ( ) - + const @@ -708,8 +708,8 @@ Static Public Member Functions
- -

◆ IsFocused()

+ +

◆ IsFocused()

@@ -721,7 +721,7 @@ Static Public Member Functions bool raylib::Window::IsFocused ( ) - + const @@ -735,8 +735,8 @@ Static Public Member Functions
- -

◆ IsFullscreen()

+ +

◆ IsFullscreen()

@@ -748,7 +748,7 @@ Static Public Member Functions bool raylib::Window::IsFullscreen ( ) - + const @@ -762,8 +762,8 @@ Static Public Member Functions
- -

◆ IsHidden()

+ +

◆ IsHidden()

@@ -775,7 +775,7 @@ Static Public Member Functions bool raylib::Window::IsHidden ( ) - + const @@ -789,8 +789,8 @@ Static Public Member Functions
- -

◆ IsMinimized()

+ +

◆ IsMinimized()

@@ -802,7 +802,7 @@ Static Public Member Functions bool raylib::Window::IsMinimized ( ) - + const @@ -845,8 +845,8 @@ Static Public Member Functions
- -

◆ IsResized()

+ +

◆ IsResized()

@@ -858,7 +858,7 @@ Static Public Member Functions bool raylib::Window::IsResized ( ) - + const @@ -1213,7 +1213,7 @@ Static Public Member Functions
Window and Graphics Device Functions.
Definition: Window.hpp:26
diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html index c190945..213f9c9 100644 --- a/docs/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.html @@ -120,13 +120,13 @@ Files   file  Rectangle.hpp [code]   -file  RenderTexture2D.hpp [code] +file  RenderTexture.hpp [code]   file  Shader.hpp [code]   file  Sound.hpp [code]   -file  Texture2D.hpp [code] +file  Texture.hpp [code]   file  Vector2.hpp [code]   @@ -144,7 +144,7 @@ Files
diff --git a/docs/functions.html b/docs/functions.html index 7167b96..95b1453 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -90,7 +90,7 @@ $(function() { : raylib::Vector2
  • at() -: raylib::DroppedFiles +: raylib::DroppedFiles
  • AudioDevice() : raylib::AudioDevice @@ -102,7 +102,7 @@ $(function() {
  • diff --git a/docs/functions_b.html b/docs/functions_b.html index 16a5fc9..2a07f31 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -67,7 +67,7 @@ $(function() {

    - b -