From 189a8ee2ca7d641c7c336a74638b6dc4d3bb5ffc Mon Sep 17 00:00:00 2001 From: Raynei Date: Sun, 5 Jun 2022 10:29:30 -0400 Subject: [PATCH 1/3] Added doxygen theme to docs --- docs/_audio_device_8hpp_source.html | 161 +- docs/_audio_stream_8hpp_source.html | 378 +- docs/_bounding_box_8hpp_source.html | 199 +- docs/_camera2_d_8hpp_source.html | 200 +- docs/_camera3_d_8hpp_source.html | 336 +- docs/_color_8hpp_source.html | 558 +-- docs/_font_8hpp_source.html | 473 +- docs/_functions_8hpp_source.html | 620 +-- docs/_gamepad_8hpp_source.html | 250 +- docs/_image_8hpp_source.html | 1202 +++--- docs/_material_8hpp_source.html | 288 +- docs/_matrix_8hpp_source.html | 508 ++- docs/_mesh_8hpp_source.html | 576 +-- docs/_model_8hpp_source.html | 486 ++- docs/_model_animation_8hpp_source.html | 269 +- docs/_mouse_8hpp_source.html | 272 +- docs/_music_8hpp_source.html | 431 +- docs/_physics_8hpp_source.html | 326 +- docs/_ray_8hpp_source.html | 232 +- docs/_ray_collision_8hpp_source.html | 176 +- docs/_raylib_exception_8hpp_source.html | 115 +- docs/_rectangle_8hpp_source.html | 409 +- docs/_render_texture_8hpp_source.html | 286 +- docs/_shader_8hpp_source.html | 349 +- docs/_sound_8hpp_source.html | 395 +- docs/_text_8hpp_source.html | 376 +- docs/_texture_8hpp_source.html | 619 +-- docs/_vector2_8hpp_source.html | 657 +-- docs/_vector3_8hpp_source.html | 735 ++-- docs/_vector4_8hpp_source.html | 436 +- docs/_vr_stereo_config_8hpp_source.html | 190 +- docs/_wave_8hpp_source.html | 433 +- docs/_window_8hpp_source.html | 599 +-- docs/annotated.html | 81 +- docs/annotated_dup.js | 62 + docs/bc_s.png | Bin 676 -> 645 bytes docs/bdwn.png | Bin 147 -> 134 bytes docs/class_audio_stream.html | 59 +- docs/class_bounding_box.html | 59 +- docs/class_camera2_d.html | 59 +- docs/class_camera3_d.html | 59 +- docs/class_color.html | 59 +- docs/class_font.html | 59 +- docs/class_image.html | 59 +- docs/class_material.html | 59 +- docs/class_matrix.html | 59 +- docs/class_mesh.html | 59 +- docs/class_model.html | 59 +- docs/class_model_animation.html | 59 +- docs/class_music.html | 59 +- docs/class_ray.html | 59 +- docs/class_ray_collision.html | 101 + docs/class_rectangle.html | 59 +- docs/class_render_texture.html | 59 +- docs/class_shader.html | 59 +- docs/class_sound.html | 59 +- docs/class_texture.html | 59 +- docs/class_vector2.html | 59 +- docs/class_vector3.html | 59 +- docs/class_vector4.html | 59 +- docs/class_vr_stereo_config.html | 101 + docs/class_wave.html | 59 +- docs/classes.html | 173 +- .../classraylib_1_1_audio_device-members.html | 70 +- docs/classraylib_1_1_audio_device.html | 229 +- docs/classraylib_1_1_audio_device.js | 9 + .../classraylib_1_1_audio_stream-members.html | 108 +- docs/classraylib_1_1_audio_stream.html | 817 +++- docs/classraylib_1_1_audio_stream.js | 33 + .../classraylib_1_1_bounding_box-members.html | 80 +- docs/classraylib_1_1_bounding_box.html | 454 +- docs/classraylib_1_1_bounding_box.js | 17 + docs/classraylib_1_1_camera2_d-members.html | 86 +- docs/classraylib_1_1_camera2_d.html | 418 +- docs/classraylib_1_1_camera2_d.js | 20 + docs/classraylib_1_1_camera3_d-members.html | 100 +- docs/classraylib_1_1_camera3_d.html | 742 +++- docs/classraylib_1_1_camera3_d.js | 29 + docs/classraylib_1_1_color-members.html | 174 +- docs/classraylib_1_1_color.html | 2446 +++++++++-- docs/classraylib_1_1_color.js | 69 + docs/classraylib_1_1_font-members.html | 114 +- docs/classraylib_1_1_font.html | 1078 ++++- docs/classraylib_1_1_font.js | 39 + docs/classraylib_1_1_gamepad-members.html | 86 +- docs/classraylib_1_1_gamepad.html | 633 ++- docs/classraylib_1_1_gamepad.js | 21 + docs/classraylib_1_1_image-members.html | 216 +- docs/classraylib_1_1_image.html | 3825 ++++++++++++++--- docs/classraylib_1_1_image.js | 100 + docs/classraylib_1_1_material-members.html | 92 +- docs/classraylib_1_1_material.html | 583 ++- docs/classraylib_1_1_material.js | 20 + docs/classraylib_1_1_matrix-members.html | 152 +- docs/classraylib_1_1_matrix.html | 1494 ++++++- docs/classraylib_1_1_matrix.js | 66 + docs/classraylib_1_1_mesh-members.html | 140 +- docs/classraylib_1_1_mesh.html | 1663 +++++-- docs/classraylib_1_1_mesh.js | 63 + docs/classraylib_1_1_model-members.html | 126 +- docs/classraylib_1_1_model.html | 1065 ++++- docs/classraylib_1_1_model.js | 45 + ...assraylib_1_1_model_animation-members.html | 88 +- docs/classraylib_1_1_model_animation.html | 490 ++- docs/classraylib_1_1_model_animation.js | 22 + docs/classraylib_1_1_mouse-members.html | 98 +- docs/classraylib_1_1_mouse.html | 716 ++- docs/classraylib_1_1_mouse.js | 23 + docs/classraylib_1_1_music-members.html | 112 +- docs/classraylib_1_1_music.html | 1034 ++++- docs/classraylib_1_1_music.js | 38 + docs/classraylib_1_1_physics-members.html | 108 +- docs/classraylib_1_1_physics.html | 949 +++- docs/classraylib_1_1_physics.js | 26 + docs/classraylib_1_1_ray-members.html | 84 +- docs/classraylib_1_1_ray.html | 592 ++- docs/classraylib_1_1_ray.js | 19 + ...classraylib_1_1_ray_collision-members.html | 80 +- docs/classraylib_1_1_ray_collision.html | 374 +- docs/classraylib_1_1_ray_collision.js | 17 + ...ssraylib_1_1_raylib_exception-members.html | 64 +- docs/classraylib_1_1_raylib_exception.html | 77 +- docs/classraylib_1_1_raylib_exception.js | 5 + docs/classraylib_1_1_rectangle-members.html | 126 +- docs/classraylib_1_1_rectangle.html | 1334 +++++- docs/classraylib_1_1_rectangle.js | 43 + ...lassraylib_1_1_render_texture-members.html | 92 +- docs/classraylib_1_1_render_texture.html | 634 ++- docs/classraylib_1_1_render_texture.js | 24 + docs/classraylib_1_1_shader-members.html | 104 +- docs/classraylib_1_1_shader.html | 642 ++- docs/classraylib_1_1_shader.js | 29 + docs/classraylib_1_1_sound-members.html | 104 +- docs/classraylib_1_1_sound.html | 815 +++- docs/classraylib_1_1_sound.js | 31 + docs/classraylib_1_1_text-members.html | 90 +- docs/classraylib_1_1_text.html | 494 ++- docs/classraylib_1_1_text.js | 30 + docs/classraylib_1_1_texture-members.html | 136 +- docs/classraylib_1_1_texture.html | 1766 +++++++- docs/classraylib_1_1_texture.js | 51 + docs/classraylib_1_1_vector2-members.html | 154 +- docs/classraylib_1_1_vector2.html | 2122 ++++++++- docs/classraylib_1_1_vector2.js | 60 + docs/classraylib_1_1_vector3-members.html | 184 +- docs/classraylib_1_1_vector3.html | 2459 ++++++++++- docs/classraylib_1_1_vector3.js | 69 + docs/classraylib_1_1_vector4-members.html | 138 +- docs/classraylib_1_1_vector4.html | 1427 +++++- docs/classraylib_1_1_vector4.js | 45 + ...ssraylib_1_1_vr_stereo_config-members.html | 72 +- docs/classraylib_1_1_vr_stereo_config.html | 287 +- docs/classraylib_1_1_vr_stereo_config.js | 9 + docs/classraylib_1_1_wave-members.html | 106 +- docs/classraylib_1_1_wave.html | 854 +++- docs/classraylib_1_1_wave.js | 36 + docs/classraylib_1_1_window-members.html | 128 +- docs/classraylib_1_1_window.html | 1681 +++++++- docs/classraylib_1_1_window.js | 47 + docs/closed.png | Bin 132 -> 129 bytes docs/custom-alternative.css | 54 + docs/custom.css | 78 + .../dir_d44c64559bbebec7f509842c48db8b23.html | 143 +- docs/doc.png | Bin 746 -> 743 bytes docs/doxygen-awesome-darkmode-toggle.js | 157 + docs/doxygen-awesome-fragment-copy-button.js | 85 + docs/doxygen-awesome-paragraph-link.js | 51 + ...n-awesome-sidebar-only-darkmode-toggle.css | 40 + docs/doxygen-awesome-sidebar-only.css | 113 + docs/doxygen-awesome.css | 2135 +++++++++ docs/doxygen.css | 366 +- docs/doxygen.svg | 26 + docs/dynsections.js | 35 +- docs/folderclosed.png | Bin 616 -> 599 bytes docs/folderopen.png | Bin 597 -> 638 bytes docs/functions.html | 96 +- docs/functions_b.html | 79 +- docs/functions_c.html | 165 +- docs/functions_d.html | 146 +- docs/functions_dup.js | 27 + docs/functions_e.html | 79 +- docs/functions_f.html | 99 +- docs/functions_func.html | 94 +- docs/functions_func.js | 27 + docs/functions_func_b.html | 77 +- docs/functions_func_c.html | 159 +- docs/functions_func_d.html | 144 +- docs/functions_func_e.html | 77 +- docs/functions_func_f.html | 89 +- docs/functions_func_g.html | 609 +-- docs/functions_func_h.html | 63 +- docs/functions_func_i.html | 158 +- docs/functions_func_k.html | 59 +- docs/functions_func_l.html | 117 +- docs/functions_func_m.html | 103 +- docs/functions_func_n.html | 62 +- docs/functions_func_o.html | 109 +- docs/functions_func_p.html | 84 +- docs/functions_func_r.html | 115 +- docs/functions_func_s.html | 593 +-- docs/functions_func_t.html | 103 +- docs/functions_func_u.html | 106 +- docs/functions_func_v.html | 75 +- docs/functions_func_w.html | 68 +- docs/functions_func_y.html | 59 +- docs/functions_func_z.html | 59 +- docs/functions_func_~.html | 87 +- docs/functions_g.html | 611 +-- docs/functions_h.html | 65 +- docs/functions_i.html | 160 +- docs/functions_k.html | 61 +- docs/functions_l.html | 119 +- docs/functions_m.html | 105 +- docs/functions_n.html | 65 +- docs/functions_o.html | 111 +- docs/functions_p.html | 86 +- docs/functions_r.html | 117 +- docs/functions_s.html | 599 +-- docs/functions_t.html | 109 +- docs/functions_u.html | 108 +- docs/functions_v.html | 75 +- docs/functions_vars.html | 74 +- docs/functions_w.html | 70 +- docs/functions_y.html | 59 +- docs/functions_z.html | 61 +- docs/functions_~.html | 89 +- docs/hierarchy.html | 143 +- docs/hierarchy.js | 89 + docs/index.html | 78 +- docs/jquery.js | 4 +- docs/menu.js | 119 +- docs/menudata.js | 41 +- docs/namespacemembers.html | 276 +- docs/namespacemembers_func.html | 261 +- docs/namespacemembers_type.html | 73 +- docs/namespaceraylib.html | 2159 +++++++++- docs/namespaceraylib.js | 86 + docs/namespaces.html | 94 +- docs/namespaces_dup.js | 4 + docs/nav_f.png | Bin 153 -> 157 bytes docs/nav_h.png | Bin 98 -> 99 bytes docs/navtree.css | 147 + docs/navtree.js | 549 +++ docs/navtreedata.js | 64 + docs/navtreeindex0.js | 253 ++ docs/navtreeindex1.js | 253 ++ docs/navtreeindex2.js | 253 ++ docs/navtreeindex3.js | 253 ++ docs/navtreeindex4.js | 253 ++ docs/navtreeindex5.js | 253 ++ docs/navtreeindex6.js | 253 ++ docs/navtreeindex7.js | 253 ++ docs/navtreeindex8.js | 253 ++ docs/navtreeindex9.js | 72 + docs/open.png | Bin 123 -> 119 bytes docs/physac_8hpp_source.html | 89 +- docs/raylib-cpp-utils_8hpp_source.html | 90 +- docs/raylib-cpp_8hpp_source.html | 149 +- docs/raylib_8hpp_source.html | 89 +- docs/raymath_8hpp_source.html | 105 +- docs/resize.js | 150 + docs/search/all_0.html | 23 +- docs/search/all_0.js | 21 +- docs/search/all_1.html | 23 +- docs/search/all_1.js | 12 +- docs/search/all_10.html | 23 +- docs/search/all_10.js | 152 +- docs/search/all_11.html | 23 +- docs/search/all_11.js | 158 +- docs/search/all_12.html | 23 +- docs/search/all_12.js | 43 +- docs/search/all_13.html | 23 +- docs/search/all_13.js | 14 +- docs/search/all_14.html | 23 +- docs/search/all_14.js | 8 +- docs/search/all_15.html | 23 +- docs/search/all_15.js | 5 +- docs/search/all_16.html | 23 +- docs/search/all_16.js | 6 +- docs/search/all_17.html | 23 +- docs/search/all_17.js | 2 +- docs/search/all_18.html | 23 +- docs/search/all_18.js | 34 +- docs/search/all_2.html | 23 +- docs/search/all_2.js | 56 +- docs/search/all_3.html | 23 +- docs/search/all_3.js | 62 +- docs/search/all_4.html | 23 +- docs/search/all_4.js | 12 +- docs/search/all_5.html | 23 +- docs/search/all_5.js | 25 +- docs/search/all_6.html | 23 +- docs/search/all_6.js | 287 +- docs/search/all_7.html | 23 +- docs/search/all_7.js | 4 +- docs/search/all_8.html | 23 +- docs/search/all_8.js | 48 +- docs/search/all_9.html | 23 +- docs/search/all_9.js | 2 +- docs/search/all_a.html | 23 +- docs/search/all_a.js | 41 +- docs/search/all_b.html | 23 +- docs/search/all_b.js | 33 +- docs/search/all_c.html | 23 +- docs/search/all_c.js | 5 +- docs/search/all_d.html | 23 +- docs/search/all_d.js | 38 +- docs/search/all_e.html | 23 +- docs/search/all_e.js | 16 +- docs/search/all_f.html | 23 +- docs/search/all_f.js | 17 +- docs/search/classes_0.html | 23 +- docs/search/classes_0.js | 4 +- docs/search/classes_1.html | 23 +- docs/search/classes_1.js | 2 +- docs/search/classes_2.html | 23 +- docs/search/classes_2.js | 6 +- docs/search/classes_3.html | 23 +- docs/search/classes_3.js | 2 +- docs/search/classes_4.html | 23 +- docs/search/classes_4.js | 2 +- docs/search/classes_5.html | 23 +- docs/search/classes_5.js | 2 +- docs/search/classes_6.html | 23 +- docs/search/classes_6.js | 14 +- docs/search/classes_7.html | 23 +- docs/search/classes_7.js | 2 +- docs/search/classes_8.html | 23 +- docs/search/classes_8.js | 10 +- docs/search/classes_9.html | 23 +- docs/search/classes_9.js | 4 +- docs/search/classes_a.html | 23 +- docs/search/classes_a.js | 4 +- docs/search/classes_b.html | 23 +- docs/search/classes_b.js | 8 +- docs/search/classes_c.html | 23 +- docs/search/classes_c.js | 4 +- docs/search/close.svg | 31 + docs/search/functions_0.html | 23 +- docs/search/functions_0.js | 21 +- docs/search/functions_1.html | 23 +- docs/search/functions_1.js | 12 +- docs/search/functions_10.html | 23 +- docs/search/functions_10.js | 261 +- docs/search/functions_11.html | 23 +- docs/search/functions_11.js | 50 +- docs/search/functions_12.html | 23 +- docs/search/functions_12.js | 20 +- docs/search/functions_13.html | 23 +- docs/search/functions_13.js | 8 +- docs/search/functions_14.html | 23 +- docs/search/functions_14.js | 5 +- docs/search/functions_15.html | 23 +- docs/search/functions_15.js | 6 +- docs/search/functions_16.html | 23 +- docs/search/functions_16.js | 2 +- docs/search/functions_17.html | 23 +- docs/search/functions_17.js | 34 +- docs/search/functions_2.html | 23 +- docs/search/functions_2.js | 52 +- docs/search/functions_3.html | 23 +- docs/search/functions_3.js | 62 +- docs/search/functions_4.html | 23 +- docs/search/functions_4.js | 12 +- docs/search/functions_5.html | 23 +- docs/search/functions_5.js | 21 +- docs/search/functions_6.html | 23 +- docs/search/functions_6.js | 286 +- docs/search/functions_7.html | 23 +- docs/search/functions_7.js | 4 +- docs/search/functions_8.html | 23 +- docs/search/functions_8.js | 48 +- docs/search/functions_9.html | 23 +- docs/search/functions_9.js | 2 +- docs/search/functions_a.html | 23 +- docs/search/functions_a.js | 41 +- docs/search/functions_b.html | 23 +- docs/search/functions_b.js | 28 +- docs/search/functions_c.html | 23 +- docs/search/functions_c.js | 4 +- docs/search/functions_d.html | 23 +- docs/search/functions_d.js | 38 +- docs/search/functions_e.html | 23 +- docs/search/functions_e.js | 15 +- docs/search/functions_f.html | 23 +- docs/search/functions_f.js | 34 +- docs/search/mag_sel.svg | 74 + docs/search/namespaces_0.html | 23 +- docs/search/namespaces_0.js | 2 +- docs/search/nomatches.html | 3 +- docs/search/pages_0.html | 23 +- docs/search/pages_0.js | 2 +- docs/search/search.css | 124 +- docs/search/search.js | 118 +- docs/search/searchdata.js | 15 +- docs/search/typedefs_0.html | 23 +- docs/search/typedefs_0.js | 2 +- docs/search/typedefs_1.html | 23 +- docs/search/typedefs_1.js | 2 +- docs/search/typedefs_2.html | 23 +- docs/search/typedefs_2.js | 2 +- docs/search/typedefs_3.html | 23 +- docs/search/typedefs_3.js | 4 +- docs/search/variables_0.html | 23 +- docs/search/variables_0.js | 2 +- docs/search/variables_1.html | 23 +- docs/search/variables_1.js | 4 +- docs/search/variables_2.html | 23 +- docs/search/variables_2.js | 2 +- docs/search/variables_3.html | 23 +- docs/search/variables_3.js | 2 +- docs/search/variables_4.html | 23 +- docs/search/variables_4.js | 5 +- docs/splitbar.png | Bin 314 -> 288 bytes docs/sync_off.png | Bin 853 -> 812 bytes docs/sync_on.png | Bin 845 -> 804 bytes docs/tab_a.png | Bin 142 -> 167 bytes docs/tab_b.png | Bin 169 -> 182 bytes docs/tab_h.png | Bin 177 -> 183 bytes docs/tab_s.png | Bin 184 -> 197 bytes docs/tabs.css | 2 +- docs/toggle-alternative-theme.js | 12 + 422 files changed, 56768 insertions(+), 19148 deletions(-) create mode 100644 docs/annotated_dup.js create mode 100644 docs/class_ray_collision.html create mode 100644 docs/class_vr_stereo_config.html create mode 100644 docs/classraylib_1_1_audio_device.js create mode 100644 docs/classraylib_1_1_audio_stream.js create mode 100644 docs/classraylib_1_1_bounding_box.js create mode 100644 docs/classraylib_1_1_camera2_d.js create mode 100644 docs/classraylib_1_1_camera3_d.js create mode 100644 docs/classraylib_1_1_color.js create mode 100644 docs/classraylib_1_1_font.js create mode 100644 docs/classraylib_1_1_gamepad.js create mode 100644 docs/classraylib_1_1_image.js create mode 100644 docs/classraylib_1_1_material.js create mode 100644 docs/classraylib_1_1_matrix.js create mode 100644 docs/classraylib_1_1_mesh.js create mode 100644 docs/classraylib_1_1_model.js create mode 100644 docs/classraylib_1_1_model_animation.js create mode 100644 docs/classraylib_1_1_mouse.js create mode 100644 docs/classraylib_1_1_music.js create mode 100644 docs/classraylib_1_1_physics.js create mode 100644 docs/classraylib_1_1_ray.js create mode 100644 docs/classraylib_1_1_ray_collision.js create mode 100644 docs/classraylib_1_1_raylib_exception.js create mode 100644 docs/classraylib_1_1_rectangle.js create mode 100644 docs/classraylib_1_1_render_texture.js create mode 100644 docs/classraylib_1_1_shader.js create mode 100644 docs/classraylib_1_1_sound.js create mode 100644 docs/classraylib_1_1_text.js create mode 100644 docs/classraylib_1_1_texture.js create mode 100644 docs/classraylib_1_1_vector2.js create mode 100644 docs/classraylib_1_1_vector3.js create mode 100644 docs/classraylib_1_1_vector4.js create mode 100644 docs/classraylib_1_1_vr_stereo_config.js create mode 100644 docs/classraylib_1_1_wave.js create mode 100644 docs/classraylib_1_1_window.js create mode 100644 docs/custom-alternative.css create mode 100644 docs/custom.css create mode 100644 docs/doxygen-awesome-darkmode-toggle.js create mode 100644 docs/doxygen-awesome-fragment-copy-button.js create mode 100644 docs/doxygen-awesome-paragraph-link.js create mode 100644 docs/doxygen-awesome-sidebar-only-darkmode-toggle.css create mode 100644 docs/doxygen-awesome-sidebar-only.css create mode 100644 docs/doxygen-awesome.css create mode 100644 docs/doxygen.svg create mode 100644 docs/functions_dup.js create mode 100644 docs/functions_func.js create mode 100644 docs/hierarchy.js create mode 100644 docs/namespaceraylib.js create mode 100644 docs/namespaces_dup.js create mode 100644 docs/navtree.css create mode 100644 docs/navtree.js create mode 100644 docs/navtreedata.js create mode 100644 docs/navtreeindex0.js create mode 100644 docs/navtreeindex1.js create mode 100644 docs/navtreeindex2.js create mode 100644 docs/navtreeindex3.js create mode 100644 docs/navtreeindex4.js create mode 100644 docs/navtreeindex5.js create mode 100644 docs/navtreeindex6.js create mode 100644 docs/navtreeindex7.js create mode 100644 docs/navtreeindex8.js create mode 100644 docs/navtreeindex9.js create mode 100644 docs/resize.js create mode 100644 docs/search/close.svg create mode 100644 docs/search/mag_sel.svg create mode 100644 docs/toggle-alternative-theme.js diff --git a/docs/_audio_device_8hpp_source.html b/docs/_audio_device_8hpp_source.html index 4390b72f..3e22294d 100644 --- a/docs/_audio_device_8hpp_source.html +++ b/docs/_audio_device_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: AudioDevice.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
AudioDevice.hpp
+
AudioDevice.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 #include "./RaylibException.hpp"
-
7 
-
8 namespace raylib {
-
12 class AudioDevice {
-
13  public:
-
21  AudioDevice(bool lateInit = false) {
-
22  if (!lateInit) {
-
23  if (!Init()) {
-
24  throw RaylibException("Failed to initialize AudioDevice");
-
25  }
-
26  }
-
27  }
-
28 
- -
33  Close();
-
34  }
-
35 
-
39  inline bool Init() {
-
40  ::InitAudioDevice();
-
41  return IsReady();
-
42  }
-
43 
-
47  inline void Close() {
-
48  ::CloseAudioDevice();
-
49  }
-
50 
-
54  inline bool IsReady() const {
-
55  return ::IsAudioDeviceReady();
-
56  }
-
57 
-
63  inline AudioDevice& SetVolume(float volume) {
-
64  ::SetMasterVolume(volume);
-
65  return *this;
-
66  }
-
67 };
-
68 } // namespace raylib
-
69 
-
70 #endif // RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
AudioDevice & SetVolume(float volume)
Set master volume (listener).
Definition: AudioDevice.hpp:63
-
bool Init()
Initialize audio device and context.
Definition: AudioDevice.hpp:39
-
~AudioDevice()
Close the audio device and context.
Definition: AudioDevice.hpp:32
-
AudioDevice(bool lateInit=false)
Initialize audio device and context.
Definition: AudioDevice.hpp:21
+
1#ifndef RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
+
2#define RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6#include "./RaylibException.hpp"
+
7
+
8namespace raylib {
+ +
13 public:
+
21 AudioDevice(bool lateInit = false) {
+
22 if (!lateInit) {
+
23 if (!Init()) {
+
24 throw RaylibException("Failed to initialize AudioDevice");
+
25 }
+
26 }
+
27 }
+
28
+ +
33 Close();
+
34 }
+
35
+
39 inline bool Init() {
+
40 ::InitAudioDevice();
+
41 return IsReady();
+
42 }
+
43
+
47 inline void Close() {
+
48 ::CloseAudioDevice();
+
49 }
+
50
+
54 inline bool IsReady() const {
+
55 return ::IsAudioDeviceReady();
+
56 }
+
57
+
63 inline AudioDevice& SetVolume(float volume) {
+
64 ::SetMasterVolume(volume);
+
65 return *this;
+
66 }
+
67};
+
68} // namespace raylib
+
69
+
70#endif // RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
Audio device management functions.
Definition: AudioDevice.hpp:12
void Close()
Close the audio device and context.
Definition: AudioDevice.hpp:47
+
AudioDevice & SetVolume(float volume)
Set master volume (listener).
Definition: AudioDevice.hpp:63
bool IsReady() const
Check if audio device has been initialized successfully.
Definition: AudioDevice.hpp:54
+
bool Init()
Initialize audio device and context.
Definition: AudioDevice.hpp:39
+
~AudioDevice()
Close the audio device and context.
Definition: AudioDevice.hpp:32
+
AudioDevice(bool lateInit=false)
Initialize audio device and context.
Definition: AudioDevice.hpp:21
Exception used for most raylib-related exceptions.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_audio_stream_8hpp_source.html b/docs/_audio_stream_8hpp_source.html index 503ff536..ccca5418 100644 --- a/docs/_audio_stream_8hpp_source.html +++ b/docs/_audio_stream_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: AudioStream.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
AudioStream.hpp
+
AudioStream.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 #include "./RaylibException.hpp"
-
7 
-
8 namespace raylib {
-
12 class AudioStream : public ::AudioStream {
-
13  public:
-
14  AudioStream(const ::AudioStream& music) {
-
15  set(music);
-
16  }
-
17 
-
18  AudioStream(rAudioBuffer* buffer = nullptr,
-
19  unsigned int sampleRate = 0,
-
20  unsigned int sampleSize = 0,
-
21  unsigned int channels = 0) : ::AudioStream{buffer, sampleRate, sampleSize, channels} {
-
22  // Nothing.
-
23  }
-
24 
-
30  AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
-
31  if (!Load(SampleRate, SampleSize, Channels)) {
-
32  throw RaylibException("Failed to create AudioStream");
-
33  }
-
34  }
-
35 
-
36  AudioStream(const AudioStream&) = delete;
-
37 
-
38  AudioStream(AudioStream&& other) {
-
39  set(other);
-
40 
-
41  other.buffer = nullptr;
-
42  other.sampleRate = 0;
-
43  other.sampleSize = 0;
-
44  other.channels = 0;
-
45  }
-
46 
-
47  ~AudioStream() {
-
48  Unload();
-
49  }
-
50 
-
51  GETTERSETTER(rAudioBuffer *, Buffer, buffer)
-
52  GETTERSETTER(unsigned int, SampleRate, sampleRate)
-
53  GETTERSETTER(unsigned int, SampleSize, sampleSize)
-
54  GETTERSETTER(unsigned int, Channels, channels)
-
55 
-
56  AudioStream& operator=(const ::AudioStream& stream) {
-
57  set(stream);
-
58  return *this;
-
59  }
-
60 
-
61  AudioStream& operator=(const AudioStream&) = delete;
-
62 
-
63  AudioStream& operator=(AudioStream&& other) noexcept {
-
64  if (this == &other) {
-
65  return *this;
-
66  }
-
67 
-
68  Unload();
-
69  set(other);
-
70 
-
71  other.buffer = nullptr;
-
72  other.sampleRate = 0;
-
73  other.sampleSize = 0;
-
74  other.channels = 0;
-
75 
-
76  return *this;
-
77  }
-
78 
-
82  inline AudioStream& Update(const void *data, int samplesCount) {
-
83  ::UpdateAudioStream(*this, data, samplesCount);
-
84  return *this;
-
85  }
-
86 
-
90  inline void Unload() {
-
91  ::UnloadAudioStream(*this);
-
92  }
-
93 
-
97  inline bool IsProcessed() const {
-
98  return ::IsAudioStreamProcessed(*this);
-
99  }
-
100 
-
104  inline AudioStream& Play() {
-
105  ::PlayAudioStream(*this);
-
106  return *this;
-
107  }
-
108 
-
112  inline AudioStream& Pause() {
-
113  ::PauseAudioStream(*this);
-
114  return *this;
-
115  }
-
116 
-
120  inline AudioStream& Resume() {
-
121  ::ResumeAudioStream(*this);
-
122  return *this;
-
123  }
-
124 
-
128  inline bool IsPlaying() const {
-
129  return ::IsAudioStreamPlaying(*this);
-
130  }
-
131 
-
135  inline AudioStream& Stop() {
-
136  ::StopAudioStream(*this);
-
137  return *this;
-
138  }
-
139 
-
143  inline AudioStream& SetVolume(float volume) {
-
144  ::SetAudioStreamVolume(*this, volume);
-
145  return *this;
-
146  }
-
147 
-
151  inline AudioStream& SetPitch(float pitch) {
-
152  ::SetAudioStreamPitch(*this, pitch);
-
153  return *this;
-
154  }
-
155 
-
159  inline static void SetBufferSizeDefault(int size) {
-
160  ::SetAudioStreamBufferSizeDefault(size);
-
161  }
-
162 
-
166  bool IsReady() {
-
167  return channels > 0;
-
168  }
-
169 
-
175  bool Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
-
176  set(::LoadAudioStream(SampleRate, SampleSize, Channels));
-
177  return IsReady();
-
178  }
-
179 
-
180  private:
-
181  inline void set(const ::AudioStream& stream) {
-
182  buffer = stream.buffer;
-
183  sampleRate = stream.sampleRate;
-
184  sampleSize = stream.sampleSize;
-
185  channels = stream.channels;
-
186  }
-
187 };
-
188 } // namespace raylib
-
189 
-
190 #endif // RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
1#ifndef RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
+
2#define RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6#include "./RaylibException.hpp"
+
7
+
8namespace raylib {
+
12class AudioStream : public ::AudioStream {
+
13 public:
+
14 AudioStream(const ::AudioStream& music) {
+
15 set(music);
+
16 }
+
17
+
18 AudioStream(rAudioBuffer* buffer = nullptr,
+
19 unsigned int sampleRate = 0,
+
20 unsigned int sampleSize = 0,
+
21 unsigned int channels = 0) : ::AudioStream{buffer, sampleRate, sampleSize, channels} {
+
22 // Nothing.
+
23 }
+
24
+
30 AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
+
31 if (!Load(SampleRate, SampleSize, Channels)) {
+
32 throw RaylibException("Failed to create AudioStream");
+
33 }
+
34 }
+
35
+
36 AudioStream(const AudioStream&) = delete;
+
37
+ +
39 set(other);
+
40
+
41 other.buffer = nullptr;
+
42 other.sampleRate = 0;
+
43 other.sampleSize = 0;
+
44 other.channels = 0;
+
45 }
+
46
+ +
48 Unload();
+
49 }
+
50
+
51 GETTERSETTER(rAudioBuffer *, Buffer, buffer)
+
52 GETTERSETTER(unsigned int, SampleRate, sampleRate)
+
53 GETTERSETTER(unsigned int, SampleSize, sampleSize)
+
54 GETTERSETTER(unsigned int, Channels, channels)
+
55
+
56 AudioStream& operator=(const ::AudioStream& stream) {
+
57 set(stream);
+
58 return *this;
+
59 }
+
60
+ +
62
+
63 AudioStream& operator=(AudioStream&& other) noexcept {
+
64 if (this == &other) {
+
65 return *this;
+
66 }
+
67
+
68 Unload();
+
69 set(other);
+
70
+
71 other.buffer = nullptr;
+
72 other.sampleRate = 0;
+
73 other.sampleSize = 0;
+
74 other.channels = 0;
+
75
+
76 return *this;
+
77 }
+
78
+
82 inline AudioStream& Update(const void *data, int samplesCount) {
+
83 ::UpdateAudioStream(*this, data, samplesCount);
+
84 return *this;
+
85 }
+
86
+
90 inline void Unload() {
+
91 ::UnloadAudioStream(*this);
+
92 }
+
93
+
97 inline bool IsProcessed() const {
+
98 return ::IsAudioStreamProcessed(*this);
+
99 }
+
100
+
104 inline AudioStream& Play() {
+
105 ::PlayAudioStream(*this);
+
106 return *this;
+
107 }
+
108
+
112 inline AudioStream& Pause() {
+
113 ::PauseAudioStream(*this);
+
114 return *this;
+
115 }
+
116
+
120 inline AudioStream& Resume() {
+
121 ::ResumeAudioStream(*this);
+
122 return *this;
+
123 }
+
124
+
128 inline bool IsPlaying() const {
+
129 return ::IsAudioStreamPlaying(*this);
+
130 }
+
131
+
135 inline AudioStream& Stop() {
+
136 ::StopAudioStream(*this);
+
137 return *this;
+
138 }
+
139
+
143 inline AudioStream& SetVolume(float volume) {
+
144 ::SetAudioStreamVolume(*this, volume);
+
145 return *this;
+
146 }
+
147
+
151 inline AudioStream& SetPitch(float pitch) {
+
152 ::SetAudioStreamPitch(*this, pitch);
+
153 return *this;
+
154 }
+
155
+
159 inline static void SetBufferSizeDefault(int size) {
+
160 ::SetAudioStreamBufferSizeDefault(size);
+
161 }
+
162
+
166 bool IsReady() {
+
167 return channels > 0;
+
168 }
+
169
+
175 bool Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
+
176 set(::LoadAudioStream(SampleRate, SampleSize, Channels));
+
177 return IsReady();
+
178 }
+
179
+
180 private:
+
181 inline void set(const ::AudioStream& stream) {
+
182 buffer = stream.buffer;
+
183 sampleRate = stream.sampleRate;
+
184 sampleSize = stream.sampleSize;
+
185 channels = stream.channels;
+
186 }
+
187};
+
188} // namespace raylib
+
189
+
190#endif // RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
+
AudioStream management functions.
Definition: AudioStream.hpp:12
+
AudioStream & Stop()
Stop audio stream.
+
AudioStream & SetPitch(float pitch)
Set pitch for audio stream (1.0 is base level)
+
bool IsProcessed() const
Check if any audio stream buffers requires refill.
Definition: AudioStream.hpp:97
+
AudioStream(AudioStream &&other)
Definition: AudioStream.hpp:38
+ +
AudioStream & Play()
Play audio stream.
bool IsPlaying() const
Check if audio stream is playing.
-
AudioStream & Stop()
Stop audio stream.
-
AudioStream & Update(const void *data, int samplesCount)
Update audio stream buffers with data.
Definition: AudioStream.hpp:82
-
AudioStream & Resume()
Resume audio stream.
-
static void SetBufferSizeDefault(int size)
Default size for new audio streams.
+
AudioStream & SetVolume(float volume)
Set volume for audio stream (1.0 is max level)
AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
Init audio stream (to stream raw audio pcm data)
Definition: AudioStream.hpp:30
-
bool Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
Init audio stream (to stream raw audio pcm data)
-
AudioStream & Play()
Play audio stream.
-
bool IsProcessed() const
Check if any audio stream buffers requires refill.
Definition: AudioStream.hpp:97
-
AudioStream & Pause()
Pause audio stream.
-
AudioStream & SetPitch(float pitch)
Set pitch for audio stream (1.0 is base level)
-
AudioStream management functions.
Definition: AudioStream.hpp:12
-
AudioStream & SetVolume(float volume)
Set volume for audio stream (1.0 is max level)
void Unload()
Unload audio stream and free memory.
Definition: AudioStream.hpp:90
+
AudioStream(const ::AudioStream &music)
Definition: AudioStream.hpp:14
+
static void SetBufferSizeDefault(int size)
Default size for new audio streams.
+
AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)
Definition: AudioStream.hpp:18
+
AudioStream & operator=(AudioStream &&other) noexcept
Definition: AudioStream.hpp:63
+
AudioStream & operator=(const AudioStream &)=delete
+
AudioStream & Pause()
Pause audio stream.
+
AudioStream(const AudioStream &)=delete
+
bool Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
Init audio stream (to stream raw audio pcm data)
bool IsReady()
Retrieve whether or not the audio stream is ready.
+
AudioStream & Resume()
Resume audio stream.
+
AudioStream & Update(const void *data, int samplesCount)
Update audio stream buffers with data.
Definition: AudioStream.hpp:82
Exception used for most raylib-related exceptions.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_bounding_box_8hpp_source.html b/docs/_bounding_box_8hpp_source.html index 521e92f5..6b962a95 100644 --- a/docs/_bounding_box_8hpp_source.html +++ b/docs/_bounding_box_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: BoundingBox.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
BoundingBox.hpp
+
BoundingBox.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 
-
7 namespace raylib {
-
11 class BoundingBox : public ::BoundingBox {
-
12  public:
-
13  BoundingBox(const ::BoundingBox& box) {
-
14  set(box);
-
15  }
-
16 
-
20  BoundingBox(const ::Mesh& mesh) {
-
21  set(::GetMeshBoundingBox(mesh));
-
22  }
-
23 
-
24  BoundingBox(::Vector3 minMax) : ::BoundingBox{minMax, minMax} {}
-
25  BoundingBox(::Vector3 min, ::Vector3 max) : ::BoundingBox{min, max} {}
-
26 
-
27  GETTERSETTER(::Vector3, Min, min)
-
28  GETTERSETTER(::Vector3, Max, max)
-
29 
-
30  BoundingBox& operator=(const ::BoundingBox& box) {
-
31  set(box);
-
32  return *this;
-
33  }
-
34 
-
38  inline BoundingBox& Draw(::Color color = {255, 255, 255, 255}) {
-
39  DrawBoundingBox(*this, color);
-
40  return *this;
-
41  }
-
42 
-
46  inline bool CheckCollision(const ::BoundingBox& box2) const {
-
47  return CheckCollisionBoxes(*this, box2);
-
48  }
-
49 
-
53  inline bool CheckCollision(::Vector3 center, float radius) const {
-
54  return CheckCollisionBoxSphere(*this, center, radius);
-
55  }
-
56 
-
60  inline bool CheckCollision(const ::Ray& ray) const {
-
61  return GetRayCollisionBox(ray, *this).hit;
-
62  }
-
63 
-
67  inline RayCollision GetCollision(const ::Ray& ray) const {
-
68  return GetRayCollisionBox(ray, *this);
-
69  }
-
70 
-
71  private:
-
72  inline void set(const ::BoundingBox& box) {
-
73  min = box.min;
-
74  max = box.max;
-
75  }
-
76 };
-
77 } // namespace raylib
-
78 
-
79 #endif // RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Raycast hit information.
-
BoundingBox(const ::Mesh &mesh)
Compute mesh bounding box limits.
Definition: BoundingBox.hpp:20
-
BoundingBox & Draw(::Color color={255, 255, 255, 255})
Draw a bounding box with wires.
Definition: BoundingBox.hpp:38
-
Vector3 type.
Definition: Vector3.hpp:16
+
1#ifndef RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
+
2#define RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6
+
7namespace raylib {
+
11class BoundingBox : public ::BoundingBox {
+
12 public:
+
13 BoundingBox(const ::BoundingBox& box) {
+
14 set(box);
+
15 }
+
16
+
20 BoundingBox(const ::Mesh& mesh) {
+
21 set(::GetMeshBoundingBox(mesh));
+
22 }
+
23
+
24 BoundingBox(::Vector3 minMax) : ::BoundingBox{minMax, minMax} {}
+
25 BoundingBox(::Vector3 min, ::Vector3 max) : ::BoundingBox{min, max} {}
+
26
+
27 GETTERSETTER(::Vector3, Min, min)
+
28 GETTERSETTER(::Vector3, Max, max)
+
29
+
30 BoundingBox& operator=(const ::BoundingBox& box) {
+
31 set(box);
+
32 return *this;
+
33 }
+
34
+
38 inline BoundingBox& Draw(::Color color = {255, 255, 255, 255}) {
+
39 DrawBoundingBox(*this, color);
+
40 return *this;
+
41 }
+
42
+
46 inline bool CheckCollision(const ::BoundingBox& box2) const {
+
47 return CheckCollisionBoxes(*this, box2);
+
48 }
+
49
+
53 inline bool CheckCollision(::Vector3 center, float radius) const {
+
54 return CheckCollisionBoxSphere(*this, center, radius);
+
55 }
+
56
+
60 inline bool CheckCollision(const ::Ray& ray) const {
+
61 return GetRayCollisionBox(ray, *this).hit;
+
62 }
+
63
+
67 inline RayCollision GetCollision(const ::Ray& ray) const {
+
68 return GetRayCollisionBox(ray, *this);
+
69 }
+
70
+
71 private:
+
72 inline void set(const ::BoundingBox& box) {
+
73 min = box.min;
+
74 max = box.max;
+
75 }
+
76};
+
77} // namespace raylib
+
78
+
79#endif // RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
+
Bounding box type.
Definition: BoundingBox.hpp:11
+
BoundingBox(const ::BoundingBox &box)
Definition: BoundingBox.hpp:13
bool CheckCollision(::Vector3 center, float radius) const
Detect collision between box and sphere.
Definition: BoundingBox.hpp:53
+
BoundingBox(::Vector3 minMax)
Definition: BoundingBox.hpp:24
+
RayCollision GetCollision(const ::Ray &ray) const
Get collision information between ray and bounding box.
Definition: BoundingBox.hpp:67
+
BoundingBox(const ::Mesh &mesh)
Compute mesh bounding box limits.
Definition: BoundingBox.hpp:20
+
BoundingBox & Draw(::Color color={255, 255, 255, 255})
Draw a bounding box with wires.
Definition: BoundingBox.hpp:38
+
BoundingBox(::Vector3 min, ::Vector3 max)
Definition: BoundingBox.hpp:25
bool CheckCollision(const ::BoundingBox &box2) const
Detect collision between two boxes.
Definition: BoundingBox.hpp:46
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
Bounding box type.
Definition: BoundingBox.hpp:11
bool CheckCollision(const ::Ray &ray) const
Detect collision between ray and bounding box.
Definition: BoundingBox.hpp:60
-
RayCollision GetCollision(const ::Ray &ray) const
Get collision information between ray and bounding box.
Definition: BoundingBox.hpp:67
+
Raycast hit information.
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_camera2_d_8hpp_source.html b/docs/_camera2_d_8hpp_source.html index 913a1c6b..c2d59152 100644 --- a/docs/_camera2_d_8hpp_source.html +++ b/docs/_camera2_d_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Camera2D.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Camera2D.hpp
+
Camera2D.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./Vector2.hpp"
-
6 #include "./raylib-cpp-utils.hpp"
-
7 
-
8 namespace raylib {
-
12 class Camera2D : public ::Camera2D {
-
13  public:
-
14  Camera2D(const ::Camera2D& camera) {
-
15  set(camera);
-
16  }
-
17 
-
18  Camera2D() {}
-
19  Camera2D(::Vector2 offset, ::Vector2 target,
-
20  float rotation = 0.0f, float zoom = 1.0f) : ::Camera2D{offset, target, rotation, zoom} {}
-
21 
-
22  inline Camera2D& BeginMode() {
-
23  ::BeginMode2D(*this);
-
24  return *this;
-
25  }
-
26 
-
27  inline Camera2D& EndMode() {
-
28  ::EndMode2D();
-
29  return *this;
-
30  }
-
31 
-
32  GETTERSETTER(::Vector2, Offset, offset)
-
33  GETTERSETTER(::Vector2, Target, target)
-
34  GETTERSETTER(float, Rotation, rotation)
-
35  GETTERSETTER(float, Zoom, zoom)
-
36 
-
37  Camera2D& operator=(const ::Camera2D& camera) {
-
38  set(camera);
-
39  return *this;
-
40  }
-
41 
-
45  inline Matrix GetMatrix() const {
-
46  return ::GetCameraMatrix2D(*this);
-
47  }
-
48 
-
52  inline Vector2 GetWorldToScreen(::Vector2 position) const {
-
53  return ::GetWorldToScreen2D(position, *this);
-
54  }
-
55 
-
59  inline Vector2 GetScreenToWorld(::Vector2 position) const {
-
60  return ::GetScreenToWorld2D(position, *this);
-
61  }
-
62 
-
63  private:
-
64  inline void set(const ::Camera2D& camera) {
-
65  offset = camera.offset;
-
66  target = camera.target;
-
67  rotation = camera.rotation;
-
68  zoom = camera.zoom;
-
69  }
-
70 };
-
71 } // namespace raylib
-
72 
-
73 #endif // RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
1#ifndef RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
+
2#define RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./Vector2.hpp"
+
6#include "./raylib-cpp-utils.hpp"
+
7
+
8namespace raylib {
+
12class Camera2D : public ::Camera2D {
+
13 public:
+
14 Camera2D(const ::Camera2D& camera) {
+
15 set(camera);
+
16 }
+
17
+ +
19 Camera2D(::Vector2 offset, ::Vector2 target,
+
20 float rotation = 0.0f, float zoom = 1.0f) : ::Camera2D{offset, target, rotation, zoom} {}
+
21
+
22 inline Camera2D& BeginMode() {
+
23 ::BeginMode2D(*this);
+
24 return *this;
+
25 }
+
26
+
27 inline Camera2D& EndMode() {
+
28 ::EndMode2D();
+
29 return *this;
+
30 }
+
31
+
32 GETTERSETTER(::Vector2, Offset, offset)
+
33 GETTERSETTER(::Vector2, Target, target)
+
34 GETTERSETTER(float, Rotation, rotation)
+
35 GETTERSETTER(float, Zoom, zoom)
+
36
+
37 Camera2D& operator=(const ::Camera2D& camera) {
+
38 set(camera);
+
39 return *this;
+
40 }
+
41
+
45 inline Matrix GetMatrix() const {
+
46 return ::GetCameraMatrix2D(*this);
+
47 }
+
48
+
52 inline Vector2 GetWorldToScreen(::Vector2 position) const {
+
53 return ::GetWorldToScreen2D(position, *this);
+
54 }
+
55
+
59 inline Vector2 GetScreenToWorld(::Vector2 position) const {
+
60 return ::GetScreenToWorld2D(position, *this);
+
61 }
+
62
+
63 private:
+
64 inline void set(const ::Camera2D& camera) {
+
65 offset = camera.offset;
+
66 target = camera.target;
+
67 rotation = camera.rotation;
+
68 zoom = camera.zoom;
+
69 }
+
70};
+
71} // namespace raylib
+
72
+
73#endif // RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
+
Camera2D type, defines a 2d camera.
Definition: Camera2D.hpp:12
+
Camera2D(const ::Camera2D &camera)
Definition: Camera2D.hpp:14
+
Camera2D & EndMode()
Definition: Camera2D.hpp:27
Vector2 GetScreenToWorld(::Vector2 position) const
Returns the world space position for a 2d camera screen space position.
Definition: Camera2D.hpp:59
+ +
Camera2D & BeginMode()
Definition: Camera2D.hpp:22
Matrix GetMatrix() const
Returns camera 2d transform matrix.
Definition: Camera2D.hpp:45
-
Camera2D type, defines a 2d camera.
Definition: Camera2D.hpp:12
-
Vector2 type.
Definition: Vector2.hpp:16
Vector2 GetWorldToScreen(::Vector2 position) const
Returns the screen space position for a 3d world space position.
Definition: Camera2D.hpp:52
+
Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)
Definition: Camera2D.hpp:19
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_camera3_d_8hpp_source.html b/docs/_camera3_d_8hpp_source.html index 91aac545..96ca05e5 100644 --- a/docs/_camera3_d_8hpp_source.html +++ b/docs/_camera3_d_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Camera3D.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Camera3D.hpp
+
Camera3D.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./Vector3.hpp"
-
6 #include "./raylib-cpp-utils.hpp"
-
7 
-
8 namespace raylib {
-
12 class Camera3D : public ::Camera3D {
-
13  public:
-
14  Camera3D(const ::Camera3D& camera) {
-
15  set(camera);
-
16  }
-
17 
-
27  Camera3D(::Vector3 position,
-
28  ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
-
29  ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
-
30  float fovy = 0,
-
31  int projection = CAMERA_PERSPECTIVE) : ::Camera3D{position, target, up, fovy, projection} {}
-
32 
-
33  Camera3D() {}
-
34 
-
35  GETTERSETTER(::Vector3, Position, position)
-
36  GETTERSETTER(::Vector3, Target, target)
-
37  GETTERSETTER(::Vector3, Up, up)
-
38  GETTERSETTER(float, Fovy, fovy)
-
39  GETTERSETTER(int, Projection, projection)
-
40 
-
41  Camera3D& operator=(const ::Camera3D& camera) {
-
42  set(camera);
-
43  return *this;
-
44  }
-
45 
- -
50  ::BeginMode3D(*this);
-
51  return *this;
-
52  }
-
53 
- -
58  ::EndMode3D();
-
59  return *this;
-
60  }
-
61 
-
65  inline Matrix GetMatrix() const {
-
66  return ::GetCameraMatrix(*this);
-
67  }
-
68 
-
72  inline Camera3D& SetMode(int mode) {
-
73  ::SetCameraMode(*this, mode);
-
74  return *this;
-
75  }
-
76 
-
80  inline Camera3D& SetAltControl(int altKey) {
-
81  ::SetCameraAltControl(altKey);
-
82  return *this;
-
83  }
-
84 
-
88  inline Camera3D& SetSmoothZoomControl(int szKey) {
-
89  ::SetCameraSmoothZoomControl(szKey);
-
90  return *this;
-
91  }
-
92 
- -
97  int frontKey, int backKey,
-
98  int rightKey, int leftKey,
-
99  int upKey, int downKey) {
-
100  ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
-
101  return *this;
-
102  }
-
103 
-
107  inline Camera3D& Update() {
-
108  ::UpdateCamera(this);
-
109  return *this;
-
110  }
-
111 
-
115  inline Ray GetMouseRay(::Vector2 mousePosition) const {
-
116  return ::GetMouseRay(mousePosition, *this);
-
117  }
-
118 
-
122  inline Vector2 GetWorldToScreen(::Vector3 position) const {
-
123  return ::GetWorldToScreen(position, *this);
-
124  }
-
125 
- -
130  const ::Texture2D& texture,
-
131  ::Vector3 center,
-
132  float size,
-
133  ::Color tint = {255, 255, 255, 255}) {
-
134  ::DrawBillboard(*this, texture, center, size, tint);
-
135  return *this;
-
136  }
-
137 
- -
142  const ::Texture2D& texture,
-
143  ::Rectangle sourceRec,
-
144  ::Vector3 center,
-
145  ::Vector2 size,
-
146  ::Color tint = {255, 255, 255, 255}) {
-
147  ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
-
148  return *this;
-
149  }
-
150 
-
151  private:
-
152  inline void set(const ::Camera3D& camera) {
-
153  position = camera.position;
-
154  target = camera.target;
-
155  up = camera.up;
-
156  fovy = camera.fovy;
-
157  projection = camera.projection;
-
158  }
-
159 };
-
160 
-
161 typedef Camera3D Camera;
-
162 } // namespace raylib
-
163 
-
164 #endif // RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
-
static void UpdateCamera(const ::Camera &camera)
Update camera depending on selected mode.
Definition: Functions.hpp:202
-
Ray GetMouseRay(::Vector2 mousePosition) const
Returns a ray trace from mouse position.
Definition: Camera3D.hpp:115
-
Camera3D & SetMode(int mode)
Set camera mode (multiple camera modes available)
Definition: Camera3D.hpp:72
-
Matrix GetMatrix() const
Get transform matrix for camera.
Definition: Camera3D.hpp:65
-
Camera3D & BeginMode()
Initializes 3D mode with custom camera (3D)
Definition: Camera3D.hpp:49
-
Camera3D & EndMode()
Ends 3D mode and returns to default 2D orthographic mode.
Definition: Camera3D.hpp:57
-
Ray type (useful for raycast)
Definition: Ray.hpp:12
-
Camera3D & Update()
Update camera position for selected mode.
Definition: Camera3D.hpp:107
-
Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
Set camera move controls (1st person and 3rd person cameras)
Definition: Camera3D.hpp:96
-
Camera3D & DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
Draw a billboard texture defined by source.
Definition: Camera3D.hpp:141
-
Camera3D & SetAltControl(int altKey)
Set camera alt key to combine with mouse movement (free camera)
Definition: Camera3D.hpp:80
-
Camera3D & DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
Draw a billboard texture.
Definition: Camera3D.hpp:129
-
Vector3 type.
Definition: Vector3.hpp:16
+
1#ifndef RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
+
2#define RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./Vector3.hpp"
+
6#include "./raylib-cpp-utils.hpp"
+
7
+
8namespace raylib {
+
12class Camera3D : public ::Camera3D {
+
13 public:
+
14 Camera3D(const ::Camera3D& camera) {
+
15 set(camera);
+
16 }
+
17
+
27 Camera3D(::Vector3 position,
+
28 ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
+
29 ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
+
30 float fovy = 0,
+
31 int projection = CAMERA_PERSPECTIVE) : ::Camera3D{position, target, up, fovy, projection} {}
+
32
+ +
34
+
35 GETTERSETTER(::Vector3, Position, position)
+
36 GETTERSETTER(::Vector3, Target, target)
+
37 GETTERSETTER(::Vector3, Up, up)
+
38 GETTERSETTER(float, Fovy, fovy)
+
39 GETTERSETTER(int, Projection, projection)
+
40
+
41 Camera3D& operator=(const ::Camera3D& camera) {
+
42 set(camera);
+
43 return *this;
+
44 }
+
45
+ +
50 ::BeginMode3D(*this);
+
51 return *this;
+
52 }
+
53
+ +
58 ::EndMode3D();
+
59 return *this;
+
60 }
+
61
+
65 inline Matrix GetMatrix() const {
+
66 return ::GetCameraMatrix(*this);
+
67 }
+
68
+
72 inline Camera3D& SetMode(int mode) {
+
73 ::SetCameraMode(*this, mode);
+
74 return *this;
+
75 }
+
76
+
80 inline Camera3D& SetAltControl(int altKey) {
+
81 ::SetCameraAltControl(altKey);
+
82 return *this;
+
83 }
+
84
+
88 inline Camera3D& SetSmoothZoomControl(int szKey) {
+
89 ::SetCameraSmoothZoomControl(szKey);
+
90 return *this;
+
91 }
+
92
+ +
97 int frontKey, int backKey,
+
98 int rightKey, int leftKey,
+
99 int upKey, int downKey) {
+
100 ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
+
101 return *this;
+
102 }
+
103
+
107 inline Camera3D& Update() {
+
108 ::UpdateCamera(this);
+
109 return *this;
+
110 }
+
111
+
115 inline Ray GetMouseRay(::Vector2 mousePosition) const {
+
116 return ::GetMouseRay(mousePosition, *this);
+
117 }
+
118
+
122 inline Vector2 GetWorldToScreen(::Vector3 position) const {
+
123 return ::GetWorldToScreen(position, *this);
+
124 }
+
125
+ +
130 const ::Texture2D& texture,
+
131 ::Vector3 center,
+
132 float size,
+
133 ::Color tint = {255, 255, 255, 255}) {
+
134 ::DrawBillboard(*this, texture, center, size, tint);
+
135 return *this;
+
136 }
+
137
+ +
142 const ::Texture2D& texture,
+
143 ::Rectangle sourceRec,
+
144 ::Vector3 center,
+
145 ::Vector2 size,
+
146 ::Color tint = {255, 255, 255, 255}) {
+
147 ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
+
148 return *this;
+
149 }
+
150
+
151 private:
+
152 inline void set(const ::Camera3D& camera) {
+
153 position = camera.position;
+
154 target = camera.target;
+
155 up = camera.up;
+
156 fovy = camera.fovy;
+
157 projection = camera.projection;
+
158 }
+
159};
+
160
+ +
162} // namespace raylib
+
163
+
164#endif // RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
Camera type, defines a camera position/orientation in 3d space.
Definition: Camera3D.hpp:12
+
Matrix GetMatrix() const
Get transform matrix for camera.
Definition: Camera3D.hpp:65
+
Camera3D & DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
Draw a billboard texture.
Definition: Camera3D.hpp:129
+
Camera3D & SetAltControl(int altKey)
Set camera alt key to combine with mouse movement (free camera)
Definition: Camera3D.hpp:80
+
Camera3D & BeginMode()
Initializes 3D mode with custom camera (3D)
Definition: Camera3D.hpp:49
+
Camera3D & EndMode()
Ends 3D mode and returns to default 2D orthographic mode.
Definition: Camera3D.hpp:57
+
Camera3D & SetMode(int mode)
Set camera mode (multiple camera modes available)
Definition: Camera3D.hpp:72
+
Vector2 GetWorldToScreen(::Vector3 position) const
Returns the screen space position for a 3d world space position.
Definition: Camera3D.hpp:122
+ +
Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
Set camera move controls (1st person and 3rd person cameras)
Definition: Camera3D.hpp:96
+
Camera3D(const ::Camera3D &camera)
Definition: Camera3D.hpp:14
+
Camera3D & DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
Draw a billboard texture defined by source.
Definition: Camera3D.hpp:141
+
Camera3D & SetSmoothZoomControl(int szKey)
Set camera smooth zoom key to combine with mouse (free camera)
Definition: Camera3D.hpp:88
+
Camera3D & Update()
Update camera position for selected mode.
Definition: Camera3D.hpp:107
Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
Create a new Camera3D.
Definition: Camera3D.hpp:27
-
Rectangle type.
Definition: Rectangle.hpp:12
+
Ray GetMouseRay(::Vector2 mousePosition) const
Returns a ray trace from mouse position.
Definition: Camera3D.hpp:115
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Ray type (useful for raycast)
Definition: Ray.hpp:12
Vector2 type.
Definition: Vector2.hpp:16
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
Camera3D & SetSmoothZoomControl(int szKey)
Set camera smooth zoom key to combine with mouse (free camera)
Definition: Camera3D.hpp:88
-
Vector2 GetWorldToScreen(::Vector3 position) const
Returns the screen space position for a 3d world space position.
Definition: Camera3D.hpp:122
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
Camera3D Camera
Definition: Camera3D.hpp:161
+
static void UpdateCamera(const ::Camera &camera)
Update camera depending on selected mode.
Definition: Functions.hpp:202
+
+ - + diff --git a/docs/_color_8hpp_source.html b/docs/_color_8hpp_source.html index 900272f4..fc5db5f6 100644 --- a/docs/_color_8hpp_source.html +++ b/docs/_color_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Color.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Color.hpp
+
Color.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_COLOR_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_COLOR_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./Vector4.hpp"
-
8 #include "./raylib-cpp-utils.hpp"
-
9 
-
10 namespace raylib {
-
14 class Color : public ::Color {
-
15  public:
-
16  Color(const ::Color& color) {
-
17  set(color);
-
18  }
-
19 
-
20  Color(
-
21  unsigned char red,
-
22  unsigned char green,
-
23  unsigned char blue,
-
24  unsigned char alpha = 255) : ::Color{red, green, blue, alpha} {};
-
25 
-
29  Color() : ::Color{0, 0, 0, 255} {};
-
30 
-
34  Color(::Vector3 hsv) {
-
35  set(::ColorFromHSV(hsv.x, hsv.y, hsv.z));
-
36  }
-
37 
-
41  static ::Color FromHSV(float hue, float saturation, float value) {
-
42  return ::ColorFromHSV(hue, saturation, value);
-
43  }
-
44 
-
48  Color(unsigned int hexValue) {
-
49  set(::GetColor(hexValue));
-
50  }
-
51 
-
55  Color(::Vector4 normalized) {
-
56  set(::ColorFromNormalized(normalized));
-
57  }
-
58 
-
62  int ToInt() const {
-
63  return ::ColorToInt(*this);
-
64  }
-
65 
-
69  operator int() const {
-
70  return ::ColorToInt(*this);
-
71  }
-
72 
-
76  Color Fade(float alpha) const {
-
77  return ::Fade(*this, alpha);
-
78  }
-
79 
-
83  Vector4 Normalize() const {
-
84  return ::ColorNormalize(*this);
-
85  }
-
86 
-
90  Vector3 ToHSV() const {
-
91  return ::ColorToHSV(*this);
-
92  }
-
93 
-
94  GETTERSETTER(unsigned char, R, r)
-
95  GETTERSETTER(unsigned char, G, g)
-
96  GETTERSETTER(unsigned char, B, b)
-
97  GETTERSETTER(unsigned char, A, a)
-
98 
-
99  Color& operator=(const ::Color& color) {
-
100  set(color);
-
101  return *this;
-
102  }
-
103 
-
107  inline Color& ClearBackground() {
-
108  ::ClearBackground(*this);
-
109  return *this;
-
110  }
-
111 
-
112  inline Color& DrawPixel(int x, int y) {
-
113  ::DrawPixel(x, y, *this);
-
114  return *this;
-
115  }
-
116 
-
120  inline Color& DrawPixel(::Vector2 pos) {
-
121  ::DrawPixelV(pos, *this);
-
122  return *this;
-
123  }
-
124 
-
128  inline Color& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) {
-
129  ::DrawLine(startPosX, startPosY, endPosX, endPosY, *this);
-
130  return *this;
-
131  }
-
132 
-
133  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos) {
-
134  ::DrawLineV(startPos, endPos, *this);
-
135  return *this;
-
136  }
-
137 
-
138  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) {
-
139  ::DrawLineEx(startPos, endPos, thick, *this);
-
140  return *this;
-
141  }
-
142 
-
143  inline Color& DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick) {
-
144  ::DrawLineBezier(startPos, endPos, thick, *this);
-
145  return *this;
-
146  }
-
147 
-
148  inline Color& DrawLineStrip(::Vector2 *points, int numPoints) {
-
149  ::DrawLineStrip(points, numPoints, *this);
-
150  return *this;
-
151  }
-
152 
-
153  inline Color& DrawText(const std::string& text, int posX, int posY, int fontSize) {
-
154  ::DrawText(text.c_str(), posX, posY, fontSize, *this);
-
155  return *this;
-
156  }
-
157 
-
158  inline Color& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
-
159  float fontSize, float spacing) {
-
160  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
-
161  return *this;
-
162  }
-
163 
-
164  inline Color& DrawText(
-
165  const ::Font& font,
-
166  const std::string& text,
-
167  ::Vector2 position,
-
168  ::Vector2 origin,
-
169  float rotation,
-
170  float fontSize,
-
171  float spacing) {
-
172  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
-
173  return *this;
-
174  }
-
175 
-
176  inline Color& DrawRectangle(int posX, int posY, int width, int height) {
-
177  ::DrawRectangle(posX, posY, width, height, *this);
-
178  return *this;
-
179  }
-
180 
-
181  inline Color& DrawRectangle(::Vector2 position, ::Vector2 size) {
-
182  ::DrawRectangleV(position, size, *this);
-
183  return *this;
-
184  }
-
185 
-
186  inline Color& DrawRectangle(::Rectangle rec) {
-
187  ::DrawRectangleRec(rec, *this);
-
188  return *this;
-
189  }
-
190 
-
191  inline Color& DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) {
-
192  ::DrawRectanglePro(rec, origin, rotation, *this);
-
193  return *this;
-
194  }
-
195 
-
196  inline Color& DrawRectangleLines(int posX, int posY, int width, int height) {
-
197  ::DrawRectangleLines(posX, posY, width, height, *this);
-
198  return *this;
-
199  }
-
200 
-
201  inline Color& DrawRectangleLines(::Rectangle rec, float lineThick) {
-
202  ::DrawRectangleLinesEx(rec, lineThick, *this);
-
203  return *this;
-
204  }
-
205 
-
209  Color Alpha(float alpha) const {
-
210  return ::ColorAlpha(*this, alpha);
-
211  }
-
212 
-
216  Color AlphaBlend(::Color dst, ::Color tint) const {
-
217  return ::ColorAlphaBlend(dst, *this, tint);
-
218  }
-
219 
-
220  inline static Color LightGray() { return LIGHTGRAY; }
-
221  inline static Color Gray() { return GRAY; }
-
222  inline static Color DarkGray() { return DARKGRAY; }
-
223  inline static Color Yellow() { return YELLOW; }
-
224  inline static Color Gold() { return GOLD; }
-
225  inline static Color Orange() { return ORANGE; }
-
226  inline static Color Pink() { return PINK; }
-
227  inline static Color Red() { return RED; }
-
228  inline static Color Maroon() { return MAROON; }
-
229  inline static Color Green() { return GREEN; }
-
230  inline static Color Lime() { return LIME; }
-
231  inline static Color DarkGreen() { return DARKGREEN; }
-
232  inline static Color SkyBlue() { return SKYBLUE; }
-
233  inline static Color Blue() { return BLUE; }
-
234  inline static Color DarkBlue() { return DARKBLUE; }
-
235  inline static Color Purple() { return PURPLE; }
-
236  inline static Color Violet() { return VIOLET; }
-
237  inline static Color DarkPurple() { return DARKPURPLE; }
-
238  inline static Color Beige() { return BEIGE; }
-
239  inline static Color Brown() { return BROWN; }
-
240  inline static Color DarkBrown() { return DARKBROWN; }
-
241  inline static Color White() { return WHITE; }
-
242  inline static Color Black() { return BLACK; }
-
243  inline static Color Blank() { return BLANK; }
-
244  inline static Color Magenta() { return MAGENTA; }
-
245  inline static Color RayWhite() { return RAYWHITE; }
-
246 
-
247  private:
-
248  inline void set(const ::Color& color) {
-
249  r = color.r;
-
250  g = color.g;
-
251  b = color.b;
-
252  a = color.a;
-
253  }
-
254 };
-
255 
-
256 } // namespace raylib
-
257 
-
258 #endif // RAYLIB_CPP_INCLUDE_COLOR_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Vector4 type.
Definition: Vector4.hpp:17
-
Color & ClearBackground()
Set background color (framebuffer clear color)
Definition: Color.hpp:107
-
Color(unsigned int hexValue)
Get Color structure from hexadecimal value.
Definition: Color.hpp:48
-
Vector3 type.
Definition: Vector3.hpp:16
-
int ToInt() const
Returns hexadecimal value for a Color.
Definition: Color.hpp:62
-
Vector3 ToHSV() const
Returns HSV values for a Color.
Definition: Color.hpp:90
-
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
-
Color(::Vector3 hsv)
Returns a Color from HSV values.
Definition: Color.hpp:34
-
Vector2 type.
Definition: Vector2.hpp:16
-
Color & DrawPixel(::Vector2 pos)
Draw a pixel.
Definition: Color.hpp:120
-
Color(::Vector4 normalized)
Returns Color from normalized values [0..1].
Definition: Color.hpp:55
+
1#ifndef RAYLIB_CPP_INCLUDE_COLOR_HPP_
+
2#define RAYLIB_CPP_INCLUDE_COLOR_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./Vector4.hpp"
+
8#include "./raylib-cpp-utils.hpp"
+
9
+
10namespace raylib {
+
14class Color : public ::Color {
+
15 public:
+
16 Color(const ::Color& color) {
+
17 set(color);
+
18 }
+
19
+ +
21 unsigned char red,
+
22 unsigned char green,
+
23 unsigned char blue,
+
24 unsigned char alpha = 255) : ::Color{red, green, blue, alpha} {};
+
25
+
29 Color() : ::Color{0, 0, 0, 255} {};
+
30
+
34 Color(::Vector3 hsv) {
+
35 set(::ColorFromHSV(hsv.x, hsv.y, hsv.z));
+
36 }
+
37
+
41 static ::Color FromHSV(float hue, float saturation, float value) {
+
42 return ::ColorFromHSV(hue, saturation, value);
+
43 }
+
44
+
48 Color(unsigned int hexValue) {
+
49 set(::GetColor(hexValue));
+
50 }
+
51
+
55 Color(::Vector4 normalized) {
+
56 set(::ColorFromNormalized(normalized));
+
57 }
+
58
+
62 int ToInt() const {
+
63 return ::ColorToInt(*this);
+
64 }
+
65
+
69 operator int() const {
+
70 return ::ColorToInt(*this);
+
71 }
+
72
+
76 Color Fade(float alpha) const {
+
77 return ::Fade(*this, alpha);
+
78 }
+
79
+ +
84 return ::ColorNormalize(*this);
+
85 }
+
86
+
90 Vector3 ToHSV() const {
+
91 return ::ColorToHSV(*this);
+
92 }
+
93
+
94 GETTERSETTER(unsigned char, R, r)
+
95 GETTERSETTER(unsigned char, G, g)
+
96 GETTERSETTER(unsigned char, B, b)
+
97 GETTERSETTER(unsigned char, A, a)
+
98
+
99 Color& operator=(const ::Color& color) {
+
100 set(color);
+
101 return *this;
+
102 }
+
103
+ +
108 ::ClearBackground(*this);
+
109 return *this;
+
110 }
+
111
+
112 inline Color& DrawPixel(int x, int y) {
+
113 ::DrawPixel(x, y, *this);
+
114 return *this;
+
115 }
+
116
+
120 inline Color& DrawPixel(::Vector2 pos) {
+
121 ::DrawPixelV(pos, *this);
+
122 return *this;
+
123 }
+
124
+
128 inline Color& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) {
+
129 ::DrawLine(startPosX, startPosY, endPosX, endPosY, *this);
+
130 return *this;
+
131 }
+
132
+
133 inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos) {
+
134 ::DrawLineV(startPos, endPos, *this);
+
135 return *this;
+
136 }
+
137
+
138 inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) {
+
139 ::DrawLineEx(startPos, endPos, thick, *this);
+
140 return *this;
+
141 }
+
142
+
143 inline Color& DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick) {
+
144 ::DrawLineBezier(startPos, endPos, thick, *this);
+
145 return *this;
+
146 }
+
147
+
148 inline Color& DrawLineStrip(::Vector2 *points, int numPoints) {
+
149 ::DrawLineStrip(points, numPoints, *this);
+
150 return *this;
+
151 }
+
152
+
153 inline Color& DrawText(const std::string& text, int posX, int posY, int fontSize) {
+
154 ::DrawText(text.c_str(), posX, posY, fontSize, *this);
+
155 return *this;
+
156 }
+
157
+
158 inline Color& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
+
159 float fontSize, float spacing) {
+
160 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
+
161 return *this;
+
162 }
+
163
+ +
165 const ::Font& font,
+
166 const std::string& text,
+
167 ::Vector2 position,
+
168 ::Vector2 origin,
+
169 float rotation,
+
170 float fontSize,
+
171 float spacing) {
+
172 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
+
173 return *this;
+
174 }
+
175
+
176 inline Color& DrawRectangle(int posX, int posY, int width, int height) {
+
177 ::DrawRectangle(posX, posY, width, height, *this);
+
178 return *this;
+
179 }
+
180
+
181 inline Color& DrawRectangle(::Vector2 position, ::Vector2 size) {
+
182 ::DrawRectangleV(position, size, *this);
+
183 return *this;
+
184 }
+
185
+
186 inline Color& DrawRectangle(::Rectangle rec) {
+
187 ::DrawRectangleRec(rec, *this);
+
188 return *this;
+
189 }
+
190
+
191 inline Color& DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) {
+
192 ::DrawRectanglePro(rec, origin, rotation, *this);
+
193 return *this;
+
194 }
+
195
+
196 inline Color& DrawRectangleLines(int posX, int posY, int width, int height) {
+
197 ::DrawRectangleLines(posX, posY, width, height, *this);
+
198 return *this;
+
199 }
+
200
+
201 inline Color& DrawRectangleLines(::Rectangle rec, float lineThick) {
+
202 ::DrawRectangleLinesEx(rec, lineThick, *this);
+
203 return *this;
+
204 }
+
205
+
209 Color Alpha(float alpha) const {
+
210 return ::ColorAlpha(*this, alpha);
+
211 }
+
212
+
216 Color AlphaBlend(::Color dst, ::Color tint) const {
+
217 return ::ColorAlphaBlend(dst, *this, tint);
+
218 }
+
219
+
220 inline static Color LightGray() { return LIGHTGRAY; }
+
221 inline static Color Gray() { return GRAY; }
+
222 inline static Color DarkGray() { return DARKGRAY; }
+
223 inline static Color Yellow() { return YELLOW; }
+
224 inline static Color Gold() { return GOLD; }
+
225 inline static Color Orange() { return ORANGE; }
+
226 inline static Color Pink() { return PINK; }
+
227 inline static Color Red() { return RED; }
+
228 inline static Color Maroon() { return MAROON; }
+
229 inline static Color Green() { return GREEN; }
+
230 inline static Color Lime() { return LIME; }
+
231 inline static Color DarkGreen() { return DARKGREEN; }
+
232 inline static Color SkyBlue() { return SKYBLUE; }
+
233 inline static Color Blue() { return BLUE; }
+
234 inline static Color DarkBlue() { return DARKBLUE; }
+
235 inline static Color Purple() { return PURPLE; }
+
236 inline static Color Violet() { return VIOLET; }
+
237 inline static Color DarkPurple() { return DARKPURPLE; }
+
238 inline static Color Beige() { return BEIGE; }
+
239 inline static Color Brown() { return BROWN; }
+
240 inline static Color DarkBrown() { return DARKBROWN; }
+
241 inline static Color White() { return WHITE; }
+
242 inline static Color Black() { return BLACK; }
+
243 inline static Color Blank() { return BLANK; }
+
244 inline static Color Magenta() { return MAGENTA; }
+
245 inline static Color RayWhite() { return RAYWHITE; }
+
246
+
247 private:
+
248 inline void set(const ::Color& color) {
+
249 r = color.r;
+
250 g = color.g;
+
251 b = color.b;
+
252 a = color.a;
+
253 }
+
254};
+
255
+
256} // namespace raylib
+
257
+
258#endif // RAYLIB_CPP_INCLUDE_COLOR_HPP_
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
Color()
Black.
Definition: Color.hpp:29
-
::Color FromHSV(float hue, float saturation, float value)
Returns a Color from HSV values.
Definition: Color.hpp:41
-
Color Alpha(float alpha) const
Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
Definition: Color.hpp:209
+
static Color DarkBrown()
Definition: Color.hpp:240
+
Color & DrawLineStrip(::Vector2 *points, int numPoints)
Definition: Color.hpp:148
+
Color & DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)
Definition: Color.hpp:164
Color AlphaBlend(::Color dst, ::Color tint) const
Returns src alpha-blended into dst color with tint.
Definition: Color.hpp:216
+
static Color Beige()
Definition: Color.hpp:238
+
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)
Definition: Color.hpp:138
+
static Color Violet()
Definition: Color.hpp:236
+
static Color DarkGreen()
Definition: Color.hpp:231
+
static Color Green()
Definition: Color.hpp:229
+
Color(::Vector3 hsv)
Returns a Color from HSV values.
Definition: Color.hpp:34
+
Color & DrawLine(::Vector2 startPos, ::Vector2 endPos)
Definition: Color.hpp:133
+
static Color Yellow()
Definition: Color.hpp:223
+
Color & DrawRectangle(int posX, int posY, int width, int height)
Definition: Color.hpp:176
+
Color & DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)
Definition: Color.hpp:191
+
static Color RayWhite()
Definition: Color.hpp:245
+
static Color Magenta()
Definition: Color.hpp:244
+
static Color Red()
Definition: Color.hpp:227
+
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
Draw a line.
Definition: Color.hpp:128
+
Color & DrawRectangle(::Rectangle rec)
Definition: Color.hpp:186
+
::Color FromHSV(float hue, float saturation, float value)
Returns a Color from HSV values.
Definition: Color.hpp:41
+
static Color Black()
Definition: Color.hpp:242
Vector4 Normalize() const
Returns Color normalized as float [0..1].
Definition: Color.hpp:83
-
Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
Draw a line.
Definition: Color.hpp:128
+
static Color Blank()
Definition: Color.hpp:243
Color Fade(float alpha) const
Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
Definition: Color.hpp:76
+
Color & DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick)
Definition: Color.hpp:143
+
static Color DarkGray()
Definition: Color.hpp:222
+
static Color Blue()
Definition: Color.hpp:233
+
int ToInt() const
Returns hexadecimal value for a Color.
Definition: Color.hpp:62
+
static Color Maroon()
Definition: Color.hpp:228
+
static Color Purple()
Definition: Color.hpp:235
+
static Color Gray()
Definition: Color.hpp:221
+
Color(::Vector4 normalized)
Returns Color from normalized values [0..1].
Definition: Color.hpp:55
+
static Color DarkBlue()
Definition: Color.hpp:234
+
Color & DrawPixel(::Vector2 pos)
Draw a pixel.
Definition: Color.hpp:120
+
Color & DrawRectangleLines(int posX, int posY, int width, int height)
Definition: Color.hpp:196
+
Color(const ::Color &color)
Definition: Color.hpp:16
+
Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
Definition: Color.hpp:153
+
static Color SkyBlue()
Definition: Color.hpp:232
+
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
Definition: Color.hpp:20
+
static Color DarkPurple()
Definition: Color.hpp:237
+
Vector3 ToHSV() const
Returns HSV values for a Color.
Definition: Color.hpp:90
+
Color()
Black.
Definition: Color.hpp:29
+
Color & DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
Definition: Color.hpp:158
+
static Color White()
Definition: Color.hpp:241
+
Color Alpha(float alpha) const
Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
Definition: Color.hpp:209
+
static Color Pink()
Definition: Color.hpp:226
+
static Color Lime()
Definition: Color.hpp:230
+
static Color LightGray()
Definition: Color.hpp:220
+
static Color Gold()
Definition: Color.hpp:224
+
Color & ClearBackground()
Set background color (framebuffer clear color)
Definition: Color.hpp:107
+
Color(unsigned int hexValue)
Get Color structure from hexadecimal value.
Definition: Color.hpp:48
+
Color & DrawRectangleLines(::Rectangle rec, float lineThick)
Definition: Color.hpp:201
+
static Color Brown()
Definition: Color.hpp:239
+
Color & DrawPixel(int x, int y)
Definition: Color.hpp:112
+
Color & DrawRectangle(::Vector2 position, ::Vector2 size)
Definition: Color.hpp:181
+
static Color Orange()
Definition: Color.hpp:225
+
Vector3 type.
Definition: Vector3.hpp:16
+
Vector4 type.
Definition: Vector4.hpp:17
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:263
+
+ - + diff --git a/docs/_font_8hpp_source.html b/docs/_font_8hpp_source.html index 25c6ebb8..6cd68713 100644 --- a/docs/_font_8hpp_source.html +++ b/docs/_font_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Font.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Font.hpp
+
Font.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_FONT_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_FONT_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "./RaylibException.hpp"
-
9 
-
10 namespace raylib {
-
14 class Font : public ::Font {
-
15  public:
-
16  Font(int baseSize,
-
17  int glyphCount,
-
18  int glyphPadding,
-
19  ::Texture2D texture,
-
20  ::Rectangle *recs = nullptr,
-
21  ::GlyphInfo *glyphs = nullptr) : ::Font{baseSize, glyphCount, glyphPadding, texture, recs, glyphs} {
-
22  // Nothing.
-
23  }
-
24 
-
25  Font() {
-
26  set(::GetFontDefault());
-
27  }
-
28 
-
29  Font(const ::Font& font) {
-
30  set(font);
-
31  }
-
32 
-
40  Font(const std::string& fileName) {
-
41  if (!Load(fileName)) {
-
42  throw RaylibException("Failed to load Font from file");
-
43  }
-
44  }
-
45 
-
55  Font(const std::string& fileName, int fontSize, int* fontChars = 0, int charCount = 0) {
-
56  if (!Load(fileName, fontSize, fontChars, charCount)) {
-
57  throw RaylibException("Failed to load font from font with extras");
-
58  }
-
59  }
-
60 
-
70  Font(const ::Image& image, ::Color key, int firstChar) {
-
71  if (!Load(image, key, firstChar)) {
-
72  throw RaylibException("Failed to load Texture from Image");
-
73  }
-
74  }
-
75 
-
83  Font(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
-
84  int *fontChars, int charsCount) {
-
85  if (!Load(fileType, fileData, dataSize, fontSize, fontChars, charsCount)) {
-
86  throw RaylibException("Failed to load Texture from file data");
-
87  }
-
88  }
-
89 
-
90  Font(const Font&) = delete;
-
91 
-
92  Font(Font&& other) {
-
93  set(other);
-
94 
-
95  other.baseSize = 0;
-
96  other.glyphCount = 0;
-
97  other.glyphPadding = 0;
-
98  other.texture = {};
-
99  other.recs = nullptr;
-
100  other.glyphs = nullptr;
-
101  }
-
102 
-
103  ~Font() {
-
104  Unload();
-
105  }
-
106 
-
107  void Unload() {
-
108  UnloadFont(*this);
-
109  }
-
110 
-
111  GETTERSETTER(int, BaseSize, baseSize)
-
112  GETTERSETTER(int, GlyphCount, glyphCount)
-
113  GETTERSETTER(int, GlyphPadding, glyphPadding)
-
114  GETTERSETTER(::Texture2D, Texture, texture)
-
115  GETTERSETTER(::Rectangle*, Recs, recs)
-
116  GETTERSETTER(::GlyphInfo*, Glyphs, glyphs)
-
117 
-
118  Font& operator=(const ::Font& font) {
-
119  Unload();
-
120  set(font);
-
121  return *this;
-
122  }
-
123 
-
124  Font& operator=(const Font&) = delete;
-
125 
-
126  Font& operator=(Font&& other) noexcept {
-
127  if (this == &other) {
-
128  return *this;
-
129  }
-
130 
-
131  Unload();
-
132  set(other);
-
133 
-
134  other.baseSize = 0;
-
135  other.glyphCount = 0;
-
136  other.glyphPadding = 0;
-
137  other.texture = {};
-
138  other.recs = nullptr;
-
139  other.glyphs = nullptr;
-
140 
-
141  return *this;
-
142  }
-
143 
-
153  bool Load(const std::string& fileName) {
-
154  set(::LoadFont(fileName.c_str()));
-
155  return baseSize > 0;
-
156  }
-
157 
-
168  bool Load(const std::string& fileName, int fontSize, int* fontChars, int charCount) {
-
169  set(::LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
-
170  return baseSize > 0;
-
171  }
-
172 
-
173  bool Load(const ::Image& image, ::Color key, int firstChar) {
-
174  set(::LoadFontFromImage(image, key, firstChar));
-
175  return baseSize > 0;
-
176  }
-
177 
-
178  bool Load(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
-
179  int *fontChars, int charsCount) {
-
180  set(::LoadFontFromMemory(fileType.c_str(), fileData, dataSize, fontSize, fontChars,
-
181  charsCount));
-
182  return baseSize > 0;
-
183  }
-
184 
-
188  inline Font& DrawText(const std::string& text, ::Vector2 position, float fontSize,
-
189  float spacing, ::Color tint = WHITE) {
-
190  ::DrawTextEx(*this, text.c_str(), position, fontSize, spacing, tint);
-
191  return *this;
-
192  }
-
193 
-
194  inline Font& DrawText(
-
195  const std::string& text,
-
196  ::Vector2 position,
-
197  ::Vector2 origin,
-
198  float rotation,
-
199  float fontSize,
-
200  float spacing,
-
201  ::Color tint = WHITE) {
-
202  ::DrawTextPro(*this, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
-
203  return *this;
-
204  }
-
205 
-
209  inline Font& DrawText(int codepoint,
-
210  ::Vector2 position,
-
211  float fontSize,
-
212  ::Color tint = { 255, 255, 255, 255 }) {
-
213  ::DrawTextCodepoint(*this, codepoint, position, fontSize, tint);
-
214  return *this;
-
215  }
-
216 
-
220  inline Vector2 MeasureText(const std::string& text, float fontSize, float spacing) const {
-
221  return ::MeasureTextEx(*this, text.c_str(), fontSize, spacing);
-
222  }
-
223 
-
227  inline int GetGlyphIndex(int character) const {
-
228  return ::GetGlyphIndex(*this, character);
-
229  }
-
230 
-
234  inline ::Image ImageText(const std::string& text, float fontSize,
-
235  float spacing, ::Color tint) const {
-
236  return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
-
237  }
-
238 
-
239  private:
-
240  void set(const ::Font& font) {
-
241  baseSize = font.baseSize;
-
242  glyphCount = font.glyphCount;
-
243  glyphPadding = font.glyphPadding;
-
244  texture = font.texture;
-
245  recs = font.recs;
-
246  glyphs = font.glyphs;
-
247  }
-
248 };
-
249 } // namespace raylib
-
250 
-
251 #endif // RAYLIB_CPP_INCLUDE_FONT_HPP_
-
+
1#ifndef RAYLIB_CPP_INCLUDE_FONT_HPP_
+
2#define RAYLIB_CPP_INCLUDE_FONT_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "./RaylibException.hpp"
+
9
+
10namespace raylib {
+
14class Font : public ::Font {
+
15 public:
+
16 Font(int baseSize,
+
17 int glyphCount,
+
18 int glyphPadding,
+
19 ::Texture2D texture,
+
20 ::Rectangle *recs = nullptr,
+
21 ::GlyphInfo *glyphs = nullptr) : ::Font{baseSize, glyphCount, glyphPadding, texture, recs, glyphs} {
+
22 // Nothing.
+
23 }
+
24
+
25 Font() {
+
26 set(::GetFontDefault());
+
27 }
+
28
+
29 Font(const ::Font& font) {
+
30 set(font);
+
31 }
+
32
+
40 Font(const std::string& fileName) {
+
41 if (!Load(fileName)) {
+
42 throw RaylibException("Failed to load Font from file");
+
43 }
+
44 }
+
45
+
55 Font(const std::string& fileName, int fontSize, int* fontChars = 0, int charCount = 0) {
+
56 if (!Load(fileName, fontSize, fontChars, charCount)) {
+
57 throw RaylibException("Failed to load font from font with extras");
+
58 }
+
59 }
+
60
+
70 Font(const ::Image& image, ::Color key, int firstChar) {
+
71 if (!Load(image, key, firstChar)) {
+
72 throw RaylibException("Failed to load Texture from Image");
+
73 }
+
74 }
+
75
+
83 Font(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
+
84 int *fontChars, int charsCount) {
+
85 if (!Load(fileType, fileData, dataSize, fontSize, fontChars, charsCount)) {
+
86 throw RaylibException("Failed to load Texture from file data");
+
87 }
+
88 }
+
89
+
90 Font(const Font&) = delete;
+
91
+
92 Font(Font&& other) {
+
93 set(other);
+
94
+
95 other.baseSize = 0;
+
96 other.glyphCount = 0;
+
97 other.glyphPadding = 0;
+
98 other.texture = {};
+
99 other.recs = nullptr;
+
100 other.glyphs = nullptr;
+
101 }
+
102
+ +
104 Unload();
+
105 }
+
106
+
107 void Unload() {
+
108 UnloadFont(*this);
+
109 }
+
110
+
111 GETTERSETTER(int, BaseSize, baseSize)
+
112 GETTERSETTER(int, GlyphCount, glyphCount)
+
113 GETTERSETTER(int, GlyphPadding, glyphPadding)
+
114 GETTERSETTER(::Texture2D, Texture, texture)
+
115 GETTERSETTER(::Rectangle*, Recs, recs)
+
116 GETTERSETTER(::GlyphInfo*, Glyphs, glyphs)
+
117
+
118 Font& operator=(const ::Font& font) {
+
119 Unload();
+
120 set(font);
+
121 return *this;
+
122 }
+
123
+
124 Font& operator=(const Font&) = delete;
+
125
+
126 Font& operator=(Font&& other) noexcept {
+
127 if (this == &other) {
+
128 return *this;
+
129 }
+
130
+
131 Unload();
+
132 set(other);
+
133
+
134 other.baseSize = 0;
+
135 other.glyphCount = 0;
+
136 other.glyphPadding = 0;
+
137 other.texture = {};
+
138 other.recs = nullptr;
+
139 other.glyphs = nullptr;
+
140
+
141 return *this;
+
142 }
+
143
+
153 bool Load(const std::string& fileName) {
+
154 set(::LoadFont(fileName.c_str()));
+
155 return baseSize > 0;
+
156 }
+
157
+
168 bool Load(const std::string& fileName, int fontSize, int* fontChars, int charCount) {
+
169 set(::LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
+
170 return baseSize > 0;
+
171 }
+
172
+
173 bool Load(const ::Image& image, ::Color key, int firstChar) {
+
174 set(::LoadFontFromImage(image, key, firstChar));
+
175 return baseSize > 0;
+
176 }
+
177
+
178 bool Load(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
+
179 int *fontChars, int charsCount) {
+
180 set(::LoadFontFromMemory(fileType.c_str(), fileData, dataSize, fontSize, fontChars,
+
181 charsCount));
+
182 return baseSize > 0;
+
183 }
+
184
+
188 inline Font& DrawText(const std::string& text, ::Vector2 position, float fontSize,
+
189 float spacing, ::Color tint = WHITE) {
+
190 ::DrawTextEx(*this, text.c_str(), position, fontSize, spacing, tint);
+
191 return *this;
+
192 }
+
193
+
194 inline Font& DrawText(
+
195 const std::string& text,
+
196 ::Vector2 position,
+
197 ::Vector2 origin,
+
198 float rotation,
+
199 float fontSize,
+
200 float spacing,
+
201 ::Color tint = WHITE) {
+
202 ::DrawTextPro(*this, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
+
203 return *this;
+
204 }
+
205
+
209 inline Font& DrawText(int codepoint,
+
210 ::Vector2 position,
+
211 float fontSize,
+
212 ::Color tint = { 255, 255, 255, 255 }) {
+
213 ::DrawTextCodepoint(*this, codepoint, position, fontSize, tint);
+
214 return *this;
+
215 }
+
216
+
220 inline Vector2 MeasureText(const std::string& text, float fontSize, float spacing) const {
+
221 return ::MeasureTextEx(*this, text.c_str(), fontSize, spacing);
+
222 }
+
223
+
227 inline int GetGlyphIndex(int character) const {
+
228 return ::GetGlyphIndex(*this, character);
+
229 }
+
230
+
234 inline ::Image ImageText(const std::string& text, float fontSize,
+
235 float spacing, ::Color tint) const {
+
236 return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
+
237 }
+
238
+
239 private:
+
240 void set(const ::Font& font) {
+
241 baseSize = font.baseSize;
+
242 glyphCount = font.glyphCount;
+
243 glyphPadding = font.glyphPadding;
+
244 texture = font.texture;
+
245 recs = font.recs;
+
246 glyphs = font.glyphs;
+
247 }
+
248};
+
249} // namespace raylib
+
250
+
251#endif // RAYLIB_CPP_INCLUDE_FONT_HPP_
+
Font type, includes texture and charSet array data.
Definition: Font.hpp:14
+
Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)
Loads a Font from the given file, with generation parameters.
Definition: Font.hpp:55
+
Font(const Font &)=delete
+
Vector2 MeasureText(const std::string &text, float fontSize, float spacing) const
Measure string size for Font.
Definition: Font.hpp:220
+
Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
Draw text using font and additional parameters.
Definition: Font.hpp:188
+
Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
Loads a font from memory, based on the given file type and file data.
Definition: Font.hpp:83
+
int GetGlyphIndex(int character) const
Get index position for a unicode character on font.
Definition: Font.hpp:227
+
Font(const ::Font &font)
Definition: Font.hpp:29
+
bool Load(const std::string &fileName)
Loads a font from a given file.
Definition: Font.hpp:153
+ +
void Unload()
Definition: Font.hpp:107
+
Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)
Definition: Font.hpp:16
+
Font & operator=(Font &&other) noexcept
Definition: Font.hpp:126
Font(const std::string &fileName)
Loads a Font from the given file.
Definition: Font.hpp:40
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
Draw text using font and additional parameters.
Definition: Font.hpp:188
-
static inline ::Font LoadFont(const std::string &fileName)
Load font from file (filename must include file extension)
Definition: Functions.hpp:279
+
bool Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)
Loads a font from a given file with generation parameters.
Definition: Font.hpp:168
+
bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
Definition: Font.hpp:178
+
Font & operator=(const Font &)=delete
+
Font & DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
Draw one character (codepoint)
Definition: Font.hpp:209
+ +
bool Load(const ::Image &image, ::Color key, int firstChar)
Definition: Font.hpp:173
+
Font & DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)
Definition: Font.hpp:194
Font(const ::Image &image, ::Color key, int firstChar)
Loads a Font from the given image with a color key.
Definition: Font.hpp:70
-
Font & DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
Draw one character (codepoint)
Definition: Font.hpp:209
-
Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
Loads a font from memory, based on the given file type and file data.
Definition: Font.hpp:83
-
Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)
Loads a Font from the given file, with generation parameters.
Definition: Font.hpp:55
-
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
+
inline ::Image ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) const
Create an image from text (custom sprite font)
Definition: Font.hpp:234
+
Font(Font &&other)
Definition: Font.hpp:92
+
Exception used for most raylib-related exceptions.
Rectangle type.
Definition: Rectangle.hpp:12
-
Font type, includes texture and charSet array data.
Definition: Font.hpp:14
-
int GetGlyphIndex(int character) const
Get index position for a unicode character on font.
Definition: Font.hpp:227
+
Texture type.
Definition: Texture.hpp:16
Vector2 type.
Definition: Vector2.hpp:16
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
Load font from file (filename must include file extension)
Definition: Functions.hpp:286
-
inline ::Image ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) const
Create an image from text (custom sprite font)
Definition: Font.hpp:234
-
bool Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)
Loads a font from a given file with generation parameters.
Definition: Font.hpp:168
-
Texture type.
Definition: Texture.hpp:16
-
Vector2 MeasureText(const std::string &text, float fontSize, float spacing) const
Measure string size for Font.
Definition: Font.hpp:220
-
bool Load(const std::string &fileName)
Loads a font from a given file.
Definition: Font.hpp:153
-
Exception used for most raylib-related exceptions.
+
static inline ::Font LoadFont(const std::string &fileName)
Load font from file (filename must include file extension)
Definition: Functions.hpp:279
+
Texture Texture2D
Definition: Texture.hpp:320
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:263
+
+ - + diff --git a/docs/_functions_8hpp_source.html b/docs/_functions_8hpp_source.html index 49eb1fe4..e4b920a8 100644 --- a/docs/_functions_8hpp_source.html +++ b/docs/_functions_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Functions.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Functions.hpp
+
Functions.hpp
-
1 
-
4 #ifndef RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
-
5 #define RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
-
6 
-
7 #include <string>
-
8 #include <vector>
-
9 
-
10 #include "./raylib.hpp"
-
11 
-
15 #ifndef RLCPPAPI
-
16 #define RLCPPAPI static
-
17 #endif
-
18 
-
19 namespace raylib {
-
20 
-
24 RLCPPAPI inline void InitWindow(int width, int height, const std::string& title = "raylib") {
-
25  ::InitWindow(width, height, title.c_str());
-
26 }
-
27 
-
31 RLCPPAPI inline void SetWindowTitle(const std::string& title) {
-
32  ::SetWindowTitle(title.c_str());
-
33 }
-
34 
-
38 RLCPPAPI inline std::string GetMonitorName(int monitor = 0) {
-
39  return ::GetMonitorName(monitor);
-
40 }
-
41 
-
45 RLCPPAPI inline void SetClipboardText(const std::string& text) {
-
46  ::SetClipboardText(text.c_str());
-
47 }
-
48 
-
52 RLCPPAPI inline std::string GetClipboardText() {
-
53  return ::GetClipboardText();
-
54 }
-
55 
-
59 RLCPPAPI inline void TakeScreenshot(const std::string& fileName) {
-
60  ::TakeScreenshot(fileName.c_str());
-
61 }
-
62 
-
66 RLCPPAPI inline std::string GetGamepadName(int gamepad) {
-
67  return ::GetGamepadName(gamepad);
-
68 }
-
69 
-
73 [[maybe_unused]]
-
74 RLCPPAPI std::string LoadFileText(const std::string& fileName) {
-
75  char* text = ::LoadFileText(fileName.c_str());
-
76  std::string output(text);
-
77  ::UnloadFileText(text);
-
78  return output;
-
79 }
-
80 
-
84 RLCPPAPI inline bool SaveFileText(const std::string& fileName, const std::string& text) {
-
85  return ::SaveFileText(fileName.c_str(), const_cast<char*>(text.c_str()));
-
86 }
-
87 
-
91 RLCPPAPI inline bool FileExists(const std::string& fileName) {
-
92  return ::FileExists(fileName.c_str());
-
93 }
-
94 
-
98 RLCPPAPI inline bool DirectoryExists(const std::string& dirPath) {
-
99  return ::DirectoryExists(dirPath.c_str());
-
100 }
-
101 
-
105 RLCPPAPI inline bool IsFileExtension(const std::string& fileName, const std::string& ext) {
-
106  return ::IsFileExtension(fileName.c_str(), ext.c_str());
-
107 }
-
108 
-
112 RLCPPAPI inline std::string GetFileExtension(const std::string& fileName) {
-
113  return ::GetFileExtension(fileName.c_str());
-
114 }
-
115 
-
119 RLCPPAPI inline std::string GetFileName(const std::string& filePath) {
-
120  return ::GetFileName(filePath.c_str());
-
121 }
-
122 
-
126 RLCPPAPI inline std::string GetFileNameWithoutExt(const std::string& filePath) {
-
127  return ::GetFileNameWithoutExt(filePath.c_str());
-
128 }
-
129 
-
133 RLCPPAPI inline std::string GetDirectoryPath(const std::string& filePath) {
-
134  return ::GetDirectoryPath(filePath.c_str());
-
135 }
-
136 
-
140 RLCPPAPI inline std::string GetPrevDirectoryPath(const std::string& dirPath) {
-
141  return ::GetPrevDirectoryPath(dirPath.c_str());
-
142 }
-
143 
-
147 RLCPPAPI inline std::string GetWorkingDirectory() {
-
148  return ::GetWorkingDirectory();
-
149 }
-
150 
-
154 [[maybe_unused]]
-
155 RLCPPAPI std::vector<std::string> GetDirectoryFiles(const std::string& dirPath) {
-
156  int count;
-
157  char** files = ::GetDirectoryFiles(dirPath.c_str(), &count);
-
158  std::vector<std::string> output(files, files + count);
-
159  ::ClearDirectoryFiles();
-
160  return output;
-
161 }
-
162 
-
166 RLCPPAPI inline bool ChangeDirectory(const std::string& dir) {
-
167  return ::ChangeDirectory(dir.c_str());
-
168 }
-
169 
-
173 [[maybe_unused]]
-
174 RLCPPAPI std::vector<std::string> GetDroppedFiles() {
-
175  if (!::IsFileDropped()) {
-
176  return std::vector<std::string>();
-
177  }
-
178  int count;
-
179  char** files = ::GetDroppedFiles(&count);
-
180  std::vector<std::string> output(files, files + count);
-
181  ::ClearDroppedFiles();
-
182  return output;
-
183 }
-
184 
-
188 RLCPPAPI inline long GetFileModTime(const std::string& fileName) { // NOLINT
-
189  return ::GetFileModTime(fileName.c_str());
-
190 }
-
191 
-
195 RLCPPAPI inline void OpenURL(const std::string& url) {
-
196  return ::OpenURL(url.c_str());
-
197 }
-
198 
-
202 RLCPPAPI inline void UpdateCamera(const ::Camera& camera) {
-
203  ::Camera* cameraPointer = (::Camera*)&camera;
-
204  ::UpdateCamera(cameraPointer);
-
205 }
-
206 
-
210 RLCPPAPI inline ::Image LoadImage(const std::string& fileName) {
-
211  return ::LoadImage(fileName.c_str());
-
212 }
-
213 
-
217 RLCPPAPI inline ::Image LoadImageRaw(const std::string& fileName,
-
218  int width, int height,
-
219  int format, int headerSize) {
-
220  return ::LoadImageRaw(fileName.c_str(), width, height, format, headerSize);
-
221 }
-
222 
-
226 RLCPPAPI inline ::Image LoadImageAnim(const std::string& fileName, int *frames) {
-
227  return ::LoadImageAnim(fileName.c_str(), frames);
-
228 }
-
229 
-
233 RLCPPAPI inline ::Image LoadImageFromMemory(const std::string& fileType,
-
234  const unsigned char *fileData,
-
235  int dataSize) {
-
236  return ::LoadImageFromMemory(fileType.c_str(), fileData, dataSize);
-
237 }
-
238 
-
242 RLCPPAPI inline bool ExportImage(const Image& image, const std::string& fileName) {
-
243  return ::ExportImage(image, fileName.c_str());
-
244 }
-
245 
-
249 RLCPPAPI inline bool ExportImageAsCode(const Image& image, const std::string& fileName) {
-
250  return ::ExportImageAsCode(image, fileName.c_str());
-
251 }
-
252 
-
256 RLCPPAPI inline void DrawText(const std::string& text, int posX, int posY, int fontSize, ::Color color) {
-
257  ::DrawText(text.c_str(), posX, posY, fontSize, color);
-
258 }
-
259 
-
263 RLCPPAPI inline void DrawTextEx(const Font& font, const std::string& text, Vector2 position,
-
264  float fontSize, float spacing, ::Color tint) {
-
265  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, tint);
-
266 }
-
267 
-
271 RLCPPAPI inline void DrawTextPro(const Font& font, const std::string& text, Vector2 position,
-
272  Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint) {
-
273  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
-
274 }
-
275 
-
279 RLCPPAPI inline ::Font LoadFont(const std::string& fileName) {
-
280  return ::LoadFont(fileName.c_str());
-
281 }
-
282 
-
286 RLCPPAPI inline ::Font LoadFontEx(const std::string& fileName, int fontSize, int *fontChars, int charsCount) {
-
287  return ::LoadFontEx(fileName.c_str(), fontSize, fontChars, charsCount);
-
288 }
-
289 
-
293 RLCPPAPI inline int MeasureText(const std::string& text, int fontSize) {
-
294  return ::MeasureText(text.c_str(), fontSize);
-
295 }
-
296 
-
300 RLCPPAPI inline bool TextIsEqual(const std::string& text1, const std::string& text2) {
-
301  return ::TextIsEqual(text1.c_str(), text2.c_str());
-
302 }
-
303 
-
307 RLCPPAPI inline unsigned int TextLength(const std::string& text) {
-
308  return ::TextLength(text.c_str());
-
309 }
-
310 
-
314 RLAPI inline std::string TextSubtext(const std::string& text, int position, int length) {
-
315  return ::TextSubtext(text.c_str(), position, length);
-
316 }
-
317 
-
321 RLAPI inline std::string TextReplace(const std::string& text, const std::string& replace, const std::string& by) {
-
322  const char* input = text.c_str();
-
323  char* output = ::TextReplace(const_cast<char*>(input), replace.c_str(), by.c_str());
-
324  if (output != NULL) {
-
325  std::string stringOutput(output);
-
326  free(output);
-
327  return stringOutput;
-
328  }
-
329  return "";
-
330 }
-
331 
-
335 RLAPI inline std::string TextInsert(const std::string& text, const std::string& insert, int position) {
-
336  char* output = ::TextInsert(text.c_str(), insert.c_str(), position);
-
337  if (output != NULL) {
-
338  std::string stringOutput(output);
-
339  free(output);
-
340  return stringOutput;
-
341  }
-
342  return "";
-
343 }
-
344 
-
348 RLAPI inline int TextFindIndex(const std::string& text, const std::string& find) {
-
349  return ::TextFindIndex(text.c_str(), find.c_str());
-
350 }
-
351 
-
355 RLAPI inline std::string TextToUpper(const std::string& text) {
-
356  return ::TextToUpper(text.c_str());
-
357 }
-
358 
-
362 RLAPI inline std::string TextToLower(const std::string& text) {
-
363  return ::TextToLower(text.c_str());
-
364 }
-
365 
-
369 RLAPI inline std::string TextToPascal(const std::string& text) {
-
370  return ::TextToPascal(text.c_str());
-
371 }
-
372 
-
376 RLAPI inline int TextToInteger(const std::string& text) {
-
377  return ::TextToInteger(text.c_str());
-
378 }
-
379 
-
380 } // namespace raylib
-
381 
-
382 #endif // RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
-
-
RLAPI std::string TextToPascal(const std::string &text)
Get Pascal case notation version of provided string.
Definition: Functions.hpp:369
+
1
+
4#ifndef RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
+
5#define RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
+
6
+
7#include <string>
+
8#include <vector>
+
9
+
10#include "./raylib.hpp"
+
11
+
15#ifndef RLCPPAPI
+
16#define RLCPPAPI static
+
17#endif
+
18
+
19namespace raylib {
+
20
+
24RLCPPAPI inline void InitWindow(int width, int height, const std::string& title = "raylib") {
+
25 ::InitWindow(width, height, title.c_str());
+
26}
+
27
+
31RLCPPAPI inline void SetWindowTitle(const std::string& title) {
+
32 ::SetWindowTitle(title.c_str());
+
33}
+
34
+
38RLCPPAPI inline std::string GetMonitorName(int monitor = 0) {
+
39 return ::GetMonitorName(monitor);
+
40}
+
41
+
45RLCPPAPI inline void SetClipboardText(const std::string& text) {
+
46 ::SetClipboardText(text.c_str());
+
47}
+
48
+
52RLCPPAPI inline std::string GetClipboardText() {
+
53 return ::GetClipboardText();
+
54}
+
55
+
59RLCPPAPI inline void TakeScreenshot(const std::string& fileName) {
+
60 ::TakeScreenshot(fileName.c_str());
+
61}
+
62
+
66RLCPPAPI inline std::string GetGamepadName(int gamepad) {
+
67 return ::GetGamepadName(gamepad);
+
68}
+
69
+
73[[maybe_unused]]
+
74RLCPPAPI std::string LoadFileText(const std::string& fileName) {
+
75 char* text = ::LoadFileText(fileName.c_str());
+
76 std::string output(text);
+
77 ::UnloadFileText(text);
+
78 return output;
+
79}
+
80
+
84RLCPPAPI inline bool SaveFileText(const std::string& fileName, const std::string& text) {
+
85 return ::SaveFileText(fileName.c_str(), const_cast<char*>(text.c_str()));
+
86}
+
87
+
91RLCPPAPI inline bool FileExists(const std::string& fileName) {
+
92 return ::FileExists(fileName.c_str());
+
93}
+
94
+
98RLCPPAPI inline bool DirectoryExists(const std::string& dirPath) {
+
99 return ::DirectoryExists(dirPath.c_str());
+
100}
+
101
+
105RLCPPAPI inline bool IsFileExtension(const std::string& fileName, const std::string& ext) {
+
106 return ::IsFileExtension(fileName.c_str(), ext.c_str());
+
107}
+
108
+
112RLCPPAPI inline std::string GetFileExtension(const std::string& fileName) {
+
113 return ::GetFileExtension(fileName.c_str());
+
114}
+
115
+
119RLCPPAPI inline std::string GetFileName(const std::string& filePath) {
+
120 return ::GetFileName(filePath.c_str());
+
121}
+
122
+
126RLCPPAPI inline std::string GetFileNameWithoutExt(const std::string& filePath) {
+
127 return ::GetFileNameWithoutExt(filePath.c_str());
+
128}
+
129
+
133RLCPPAPI inline std::string GetDirectoryPath(const std::string& filePath) {
+
134 return ::GetDirectoryPath(filePath.c_str());
+
135}
+
136
+
140RLCPPAPI inline std::string GetPrevDirectoryPath(const std::string& dirPath) {
+
141 return ::GetPrevDirectoryPath(dirPath.c_str());
+
142}
+
143
+
147RLCPPAPI inline std::string GetWorkingDirectory() {
+
148 return ::GetWorkingDirectory();
+
149}
+
150
+
154[[maybe_unused]]
+
155RLCPPAPI std::vector<std::string> GetDirectoryFiles(const std::string& dirPath) {
+
156 int count;
+
157 char** files = ::GetDirectoryFiles(dirPath.c_str(), &count);
+
158 std::vector<std::string> output(files, files + count);
+
159 ::ClearDirectoryFiles();
+
160 return output;
+
161}
+
162
+
166RLCPPAPI inline bool ChangeDirectory(const std::string& dir) {
+
167 return ::ChangeDirectory(dir.c_str());
+
168}
+
169
+
173[[maybe_unused]]
+
174RLCPPAPI std::vector<std::string> GetDroppedFiles() {
+
175 if (!::IsFileDropped()) {
+
176 return std::vector<std::string>();
+
177 }
+
178 int count;
+
179 char** files = ::GetDroppedFiles(&count);
+
180 std::vector<std::string> output(files, files + count);
+
181 ::ClearDroppedFiles();
+
182 return output;
+
183}
+
184
+
188RLCPPAPI inline long GetFileModTime(const std::string& fileName) { // NOLINT
+
189 return ::GetFileModTime(fileName.c_str());
+
190}
+
191
+
195RLCPPAPI inline void OpenURL(const std::string& url) {
+
196 return ::OpenURL(url.c_str());
+
197}
+
198
+
202RLCPPAPI inline void UpdateCamera(const ::Camera& camera) {
+
203 ::Camera* cameraPointer = (::Camera*)&camera;
+
204 ::UpdateCamera(cameraPointer);
+
205}
+
206
+
210RLCPPAPI inline ::Image LoadImage(const std::string& fileName) {
+
211 return ::LoadImage(fileName.c_str());
+
212}
+
213
+
217RLCPPAPI inline ::Image LoadImageRaw(const std::string& fileName,
+
218 int width, int height,
+
219 int format, int headerSize) {
+
220 return ::LoadImageRaw(fileName.c_str(), width, height, format, headerSize);
+
221}
+
222
+
226RLCPPAPI inline ::Image LoadImageAnim(const std::string& fileName, int *frames) {
+
227 return ::LoadImageAnim(fileName.c_str(), frames);
+
228}
+
229
+
233RLCPPAPI inline ::Image LoadImageFromMemory(const std::string& fileType,
+
234 const unsigned char *fileData,
+
235 int dataSize) {
+
236 return ::LoadImageFromMemory(fileType.c_str(), fileData, dataSize);
+
237}
+
238
+
242RLCPPAPI inline bool ExportImage(const Image& image, const std::string& fileName) {
+
243 return ::ExportImage(image, fileName.c_str());
+
244}
+
245
+
249RLCPPAPI inline bool ExportImageAsCode(const Image& image, const std::string& fileName) {
+
250 return ::ExportImageAsCode(image, fileName.c_str());
+
251}
+
252
+
256RLCPPAPI inline void DrawText(const std::string& text, int posX, int posY, int fontSize, ::Color color) {
+
257 ::DrawText(text.c_str(), posX, posY, fontSize, color);
+
258}
+
259
+
263RLCPPAPI inline void DrawTextEx(const Font& font, const std::string& text, Vector2 position,
+
264 float fontSize, float spacing, ::Color tint) {
+
265 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, tint);
+
266}
+
267
+
271RLCPPAPI inline void DrawTextPro(const Font& font, const std::string& text, Vector2 position,
+
272 Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint) {
+
273 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
+
274}
+
275
+
279RLCPPAPI inline ::Font LoadFont(const std::string& fileName) {
+
280 return ::LoadFont(fileName.c_str());
+
281}
+
282
+
286RLCPPAPI inline ::Font LoadFontEx(const std::string& fileName, int fontSize, int *fontChars, int charsCount) {
+
287 return ::LoadFontEx(fileName.c_str(), fontSize, fontChars, charsCount);
+
288}
+
289
+
293RLCPPAPI inline int MeasureText(const std::string& text, int fontSize) {
+
294 return ::MeasureText(text.c_str(), fontSize);
+
295}
+
296
+
300RLCPPAPI inline bool TextIsEqual(const std::string& text1, const std::string& text2) {
+
301 return ::TextIsEqual(text1.c_str(), text2.c_str());
+
302}
+
303
+
307RLCPPAPI inline unsigned int TextLength(const std::string& text) {
+
308 return ::TextLength(text.c_str());
+
309}
+
310
+
314RLAPI inline std::string TextSubtext(const std::string& text, int position, int length) {
+
315 return ::TextSubtext(text.c_str(), position, length);
+
316}
+
317
+
321RLAPI inline std::string TextReplace(const std::string& text, const std::string& replace, const std::string& by) {
+
322 const char* input = text.c_str();
+
323 char* output = ::TextReplace(const_cast<char*>(input), replace.c_str(), by.c_str());
+
324 if (output != NULL) {
+
325 std::string stringOutput(output);
+
326 free(output);
+
327 return stringOutput;
+
328 }
+
329 return "";
+
330}
+
331
+
335RLAPI inline std::string TextInsert(const std::string& text, const std::string& insert, int position) {
+
336 char* output = ::TextInsert(text.c_str(), insert.c_str(), position);
+
337 if (output != NULL) {
+
338 std::string stringOutput(output);
+
339 free(output);
+
340 return stringOutput;
+
341 }
+
342 return "";
+
343}
+
344
+
348RLAPI inline int TextFindIndex(const std::string& text, const std::string& find) {
+
349 return ::TextFindIndex(text.c_str(), find.c_str());
+
350}
+
351
+
355RLAPI inline std::string TextToUpper(const std::string& text) {
+
356 return ::TextToUpper(text.c_str());
+
357}
+
358
+
362RLAPI inline std::string TextToLower(const std::string& text) {
+
363 return ::TextToLower(text.c_str());
+
364}
+
365
+
369RLAPI inline std::string TextToPascal(const std::string& text) {
+
370 return ::TextToPascal(text.c_str());
+
371}
+
372
+
376RLAPI inline int TextToInteger(const std::string& text) {
+
377 return ::TextToInteger(text.c_str());
+
378}
+
379
+
380} // namespace raylib
+
381
+
382#endif // RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
+
Font type, includes texture and charSet array data.
Definition: Font.hpp:14
+
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:16
+
Vector2 type.
Definition: Vector2.hpp:16
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static std::vector< std::string > GetDroppedFiles()
Get dropped files names.
Definition: Functions.hpp:174
+
static bool ExportImageAsCode(const Image &image, const std::string &fileName)
Export image as code file (.h) defining an array of bytes.
Definition: Functions.hpp:249
+
RLAPI std::string TextToUpper(const std::string &text)
Get upper case version of provided string.
Definition: Functions.hpp:355
+
static bool DirectoryExists(const std::string &dirPath)
Check if directory path exists.
Definition: Functions.hpp:98
+
RLAPI std::string TextToLower(const std::string &text)
Get lower case version of provided string.
Definition: Functions.hpp:362
static inline ::Image LoadImage(const std::string &fileName)
Load an image.
Definition: Functions.hpp:210
-
static std::string GetFileName(const std::string &filePath)
Get pointer to filename for a path string.
Definition: Functions.hpp:119
-
static void UpdateCamera(const ::Camera &camera)
Update camera depending on selected mode.
Definition: Functions.hpp:202
RLAPI int TextFindIndex(const std::string &text, const std::string &find)
Find first text occurrence within a string.
Definition: Functions.hpp:348
-
static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Load an image from RAW file data.
Definition: Functions.hpp:217
-
static std::string GetPrevDirectoryPath(const std::string &dirPath)
Get previous directory path for a given path.
Definition: Functions.hpp:140
-
static bool TextIsEqual(const std::string &text1, const std::string &text2)
Check if two text string are equal.
Definition: Functions.hpp:300
-
static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension like "png".
Definition: Functions.hpp:233
-
static void SetWindowTitle(const std::string &title)
Set title for window.
Definition: Functions.hpp:31
-
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:16
-
static std::string GetMonitorName(int monitor=0)
Get the human-readable, UTF-8 encoded name of the primary monitor.
Definition: Functions.hpp:38
-
static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
Load animated image data.
Definition: Functions.hpp:226
-
static inline ::Font LoadFont(const std::string &fileName)
Load font from file (filename must include file extension)
Definition: Functions.hpp:279
-
RLAPI std::string TextToUpper(const std::string &text)
Get upper case version of provided string.
Definition: Functions.hpp:355
-
static long GetFileModTime(const std::string &fileName)
Get file modification time (last write time)
Definition: Functions.hpp:188
-
static void TakeScreenshot(const std::string &fileName)
Takes a screenshot of current screen (saved a .png)
Definition: Functions.hpp:59
-
static std::vector< std::string > GetDroppedFiles()
Get dropped files names.
Definition: Functions.hpp:174
+
static std::string GetWorkingDirectory()
Get current working directory.
Definition: Functions.hpp:147
+
static unsigned int TextLength(const std::string &text)
Check if two text string are equal.
Definition: Functions.hpp:307
+
Camera3D Camera
Definition: Camera3D.hpp:161
static std::string GetGamepadName(int gamepad)
Get gamepad internal name id.
Definition: Functions.hpp:66
+
static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
Load font from file (filename must include file extension)
Definition: Functions.hpp:286
+
static inline ::Font LoadFont(const std::string &fileName)
Load font from file (filename must include file extension)
Definition: Functions.hpp:279
+
static bool ExportImage(const Image &image, const std::string &fileName)
Export image data to file.
Definition: Functions.hpp:242
+
static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
Draw text (using default font)
Definition: Functions.hpp:256
RLAPI std::string TextSubtext(const std::string &text, int position, int length)
Get text length, checks for '\0' ending.
Definition: Functions.hpp:314
-
static void InitWindow(int width, int height, const std::string &title="raylib")
Initialize window and OpenGL context.
Definition: Functions.hpp:24
-
static bool ExportImageAsCode(const Image &image, const std::string &fileName)
Export image as code file (.h) defining an array of bytes.
Definition: Functions.hpp:249
-
Camera type, defines a camera position/orientation in 3d space.
Definition: Camera3D.hpp:12
-
static bool DirectoryExists(const std::string &dirPath)
Check if directory path exists.
Definition: Functions.hpp:98
-
static std::string GetFileNameWithoutExt(const std::string &filePath)
Get filename string without extension.
Definition: Functions.hpp:126
-
static std::string GetDirectoryPath(const std::string &filePath)
Get full path for a given fileName with path.
Definition: Functions.hpp:133
+
RLAPI std::string TextToPascal(const std::string &text)
Get Pascal case notation version of provided string.
Definition: Functions.hpp:369
+
static bool SaveFileText(const std::string &fileName, const std::string &text)
Save text data to file (write)
Definition: Functions.hpp:84
static bool IsFileExtension(const std::string &fileName, const std::string &ext)
Check file extension (including point: .png, .wav)
Definition: Functions.hpp:105
-
static bool FileExists(const std::string &fileName)
Check if file exists.
Definition: Functions.hpp:91
-
static std::vector< std::string > GetDirectoryFiles(const std::string &dirPath)
Get filenames in a directory path.
Definition: Functions.hpp:155
-
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
-
Font type, includes texture and charSet array data.
Definition: Font.hpp:14
-
static bool ExportImage(const Image &image, const std::string &fileName)
Export image data to file.
Definition: Functions.hpp:242
-
static bool ChangeDirectory(const std::string &dir)
Change working directory, return true on success.
Definition: Functions.hpp:166
-
Vector2 type.
Definition: Vector2.hpp:16
+
static std::vector< std::string > GetDirectoryFiles(const std::string &dirPath)
Get filenames in a directory path.
Definition: Functions.hpp:155
+
RLAPI int TextToInteger(const std::string &text)
Get integer value from text (negative values not supported)
Definition: Functions.hpp:376
+
static std::string GetFileName(const std::string &filePath)
Get pointer to filename for a path string.
Definition: Functions.hpp:119
+
static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension like "png".
Definition: Functions.hpp:233
+
static std::string GetMonitorName(int monitor=0)
Get the human-readable, UTF-8 encoded name of the primary monitor.
Definition: Functions.hpp:38
static int MeasureText(const std::string &text, int fontSize)
Measure string width for default font.
Definition: Functions.hpp:293
RLAPI std::string TextReplace(const std::string &text, const std::string &replace, const std::string &by)
Replace text string.
Definition: Functions.hpp:321
+
static void TakeScreenshot(const std::string &fileName)
Takes a screenshot of current screen (saved a .png)
Definition: Functions.hpp:59
static void SetClipboardText(const std::string &text)
Set clipboard text content.
Definition: Functions.hpp:45
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
Load font from file (filename must include file extension)
Definition: Functions.hpp:286
-
static std::string GetFileExtension(const std::string &fileName)
Get pointer to extension for a filename string (including point: ".png")
Definition: Functions.hpp:112
-
static bool SaveFileText(const std::string &fileName, const std::string &text)
Save text data to file (write)
Definition: Functions.hpp:84
-
RLAPI std::string TextToLower(const std::string &text)
Get lower case version of provided string.
Definition: Functions.hpp:362
-
static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
Draw text (using default font)
Definition: Functions.hpp:256
+
RLAPI std::string TextInsert(const std::string &text, const std::string &insert, int position)
Insert text in a position.
Definition: Functions.hpp:335
+
static void SetWindowTitle(const std::string &title)
Set title for window.
Definition: Functions.hpp:31
+
static bool FileExists(const std::string &fileName)
Check if file exists.
Definition: Functions.hpp:91
+
static void InitWindow(int width, int height, const std::string &title="raylib")
Initialize window and OpenGL context.
Definition: Functions.hpp:24
+
static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
Load animated image data.
Definition: Functions.hpp:226
static std::string LoadFileText(const std::string &fileName)
Load text data from file (read)
Definition: Functions.hpp:74
+
static long GetFileModTime(const std::string &fileName)
Get file modification time (last write time)
Definition: Functions.hpp:188
+
static std::string GetFileExtension(const std::string &fileName)
Get pointer to extension for a filename string (including point: ".png")
Definition: Functions.hpp:112
+
static void UpdateCamera(const ::Camera &camera)
Update camera depending on selected mode.
Definition: Functions.hpp:202
static void OpenURL(const std::string &url)
Open URL with default system browser (if available)
Definition: Functions.hpp:195
-
static unsigned int TextLength(const std::string &text)
Check if two text string are equal.
Definition: Functions.hpp:307
+
static std::string GetFileNameWithoutExt(const std::string &filePath)
Get filename string without extension.
Definition: Functions.hpp:126
+
static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Load an image from RAW file data.
Definition: Functions.hpp:217
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
+
static std::string GetPrevDirectoryPath(const std::string &dirPath)
Get previous directory path for a given path.
Definition: Functions.hpp:140
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:263
-
static std::string GetWorkingDirectory()
Get current working directory.
Definition: Functions.hpp:147
-
RLAPI std::string TextInsert(const std::string &text, const std::string &insert, int position)
Insert text in a position.
Definition: Functions.hpp:335
+
static bool ChangeDirectory(const std::string &dir)
Change working directory, return true on success.
Definition: Functions.hpp:166
+
static std::string GetDirectoryPath(const std::string &filePath)
Get full path for a given fileName with path.
Definition: Functions.hpp:133
+
static bool TextIsEqual(const std::string &text1, const std::string &text2)
Check if two text string are equal.
Definition: Functions.hpp:300
static std::string GetClipboardText()
Get clipboard text content.
Definition: Functions.hpp:52
-
RLAPI int TextToInteger(const std::string &text)
Get integer value from text (negative values not supported)
Definition: Functions.hpp:376
+
+ - + diff --git a/docs/_gamepad_8hpp_source.html b/docs/_gamepad_8hpp_source.html index 7753c1f7..28a57924 100644 --- a/docs/_gamepad_8hpp_source.html +++ b/docs/_gamepad_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Gamepad.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Gamepad.hpp
+
Gamepad.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 
-
9 namespace raylib {
-
13 class Gamepad {
-
14  public:
-
15  Gamepad(int gamepadNumber = 0) {
-
16  set(gamepadNumber);
-
17  }
-
18  int number;
-
19 
-
20  GETTERSETTER(int, Number, number)
-
21 
-
22  Gamepad& operator=(const Gamepad& gamepad) {
-
23  set(gamepad);
-
24  return *this;
-
25  }
-
26 
-
27  Gamepad& operator=(int gamepadNumber) {
-
28  set(gamepadNumber);
-
29  return *this;
-
30  }
-
31 
-
32  operator int() const { return number; }
-
33 
-
37  inline bool IsAvailable() const {
-
38  return ::IsGamepadAvailable(number);
-
39  }
-
40 
-
44  static inline bool IsAvailable(int number) {
-
45  return ::IsGamepadAvailable(number);
-
46  }
-
47 
-
51  std::string GetName() const {
-
52  return ::GetGamepadName(number);
-
53  }
-
54 
-
58  operator std::string() const {
-
59  return GetName();
-
60  }
-
61 
-
65  inline bool IsButtonPressed(int button) const {
-
66  return ::IsGamepadButtonPressed(number, button);
-
67  }
-
68 
-
72  inline bool IsButtonDown(int button) const {
-
73  return ::IsGamepadButtonDown(number, button);
-
74  }
-
75 
-
79  inline bool IsButtonReleased(int button) const {
-
80  return ::IsGamepadButtonReleased(number, button);
-
81  }
-
82 
-
86  inline bool IsButtonUp(int button) const {
-
87  return ::IsGamepadButtonUp(number, button);
-
88  }
-
89 
-
93  inline int GetButtonPressed() const {
-
94  return ::GetGamepadButtonPressed();
-
95  }
-
96 
-
100  inline int GetAxisCount() const {
-
101  return ::GetGamepadAxisCount(number);
-
102  }
-
103 
-
107  inline float GetAxisMovement(int axis) const {
-
108  return ::GetGamepadAxisMovement(number, axis);
-
109  }
-
110 
-
111  private:
-
112  inline void set(int gamepadNumber) {
-
113  number = gamepadNumber;
-
114  }
-
115 };
-
116 } // namespace raylib
-
117 
-
118 #endif // RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
float GetAxisMovement(int axis) const
Return axis movement value for a gamepad axis.
Definition: Gamepad.hpp:107
-
bool IsButtonReleased(int button) const
Detect if a gamepad button has been released once.
Definition: Gamepad.hpp:79
-
bool IsButtonUp(int button) const
Detect if a gamepad button is NOT being pressed.
Definition: Gamepad.hpp:86
-
std::string GetName() const
Return gamepad internal name id.
Definition: Gamepad.hpp:51
+
1#ifndef RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
+
2#define RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8
+
9namespace raylib {
+
13class Gamepad {
+
14 public:
+
15 Gamepad(int gamepadNumber = 0) {
+
16 set(gamepadNumber);
+
17 }
+
18 int number;
+
19
+
20 GETTERSETTER(int, Number, number)
+
21
+
22 Gamepad& operator=(const Gamepad& gamepad) {
+
23 set(gamepad);
+
24 return *this;
+
25 }
+
26
+
27 Gamepad& operator=(int gamepadNumber) {
+
28 set(gamepadNumber);
+
29 return *this;
+
30 }
+
31
+
32 operator int() const { return number; }
+
33
+
37 inline bool IsAvailable() const {
+
38 return ::IsGamepadAvailable(number);
+
39 }
+
40
+
44 static inline bool IsAvailable(int number) {
+
45 return ::IsGamepadAvailable(number);
+
46 }
+
47
+
51 std::string GetName() const {
+
52 return ::GetGamepadName(number);
+
53 }
+
54
+
58 operator std::string() const {
+
59 return GetName();
+
60 }
+
61
+
65 inline bool IsButtonPressed(int button) const {
+
66 return ::IsGamepadButtonPressed(number, button);
+
67 }
+
68
+
72 inline bool IsButtonDown(int button) const {
+
73 return ::IsGamepadButtonDown(number, button);
+
74 }
+
75
+
79 inline bool IsButtonReleased(int button) const {
+
80 return ::IsGamepadButtonReleased(number, button);
+
81 }
+
82
+
86 inline bool IsButtonUp(int button) const {
+
87 return ::IsGamepadButtonUp(number, button);
+
88 }
+
89
+
93 inline int GetButtonPressed() const {
+
94 return ::GetGamepadButtonPressed();
+
95 }
+
96
+
100 inline int GetAxisCount() const {
+
101 return ::GetGamepadAxisCount(number);
+
102 }
+
103
+
107 inline float GetAxisMovement(int axis) const {
+
108 return ::GetGamepadAxisMovement(number, axis);
+
109 }
+
110
+
111 private:
+
112 inline void set(int gamepadNumber) {
+
113 number = gamepadNumber;
+
114 }
+
115};
+
116} // namespace raylib
+
117
+
118#endif // RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
Input-related functions: gamepads.
Definition: Gamepad.hpp:13
-
bool IsButtonPressed(int button) const
Detect if a gamepad button has been pressed once.
Definition: Gamepad.hpp:65
-
bool IsButtonDown(int button) const
Detect if a gamepad button is being pressed.
Definition: Gamepad.hpp:72
-
int GetButtonPressed() const
Get the last gamepad button pressed.
Definition: Gamepad.hpp:93
-
bool IsAvailable() const
Detect if a gamepad is available.
Definition: Gamepad.hpp:37
+
bool IsButtonReleased(int button) const
Detect if a gamepad button has been released once.
Definition: Gamepad.hpp:79
+
Gamepad(int gamepadNumber=0)
Definition: Gamepad.hpp:15
+
Gamepad & operator=(int gamepadNumber)
Definition: Gamepad.hpp:27
int GetAxisCount() const
Return gamepad axis count for a gamepad.
Definition: Gamepad.hpp:100
static bool IsAvailable(int number)
Detect if a gamepad is available.
Definition: Gamepad.hpp:44
+
bool IsAvailable() const
Detect if a gamepad is available.
Definition: Gamepad.hpp:37
+ +
int GetButtonPressed() const
Get the last gamepad button pressed.
Definition: Gamepad.hpp:93
+
bool IsButtonDown(int button) const
Detect if a gamepad button is being pressed.
Definition: Gamepad.hpp:72
+
std::string GetName() const
Return gamepad internal name id.
Definition: Gamepad.hpp:51
+
bool IsButtonUp(int button) const
Detect if a gamepad button is NOT being pressed.
Definition: Gamepad.hpp:86
+
bool IsButtonPressed(int button) const
Detect if a gamepad button has been pressed once.
Definition: Gamepad.hpp:65
+
float GetAxisMovement(int axis) const
Return axis movement value for a gamepad axis.
Definition: Gamepad.hpp:107
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_image_8hpp_source.html b/docs/_image_8hpp_source.html index d4d9bffb..7c451fcc 100644 --- a/docs/_image_8hpp_source.html +++ b/docs/_image_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Image.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Image.hpp
+
Image.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_IMAGE_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_IMAGE_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "./RaylibException.hpp"
-
9 
-
10 namespace raylib {
-
16 class Image : public ::Image {
-
17  public:
-
18  Image(void* data = nullptr,
-
19  int width = 0,
-
20  int height = 0,
-
21  int mipmaps = 0,
-
22  int format = 0) : ::Image{data, width, height, mipmaps, format} {
-
23  // Nothing.
-
24  }
-
25 
-
26  Image(const ::Image& image) {
-
27  set(image);
-
28  }
-
29 
-
37  Image(const std::string& fileName) {
-
38  if (!Load(fileName)) {
-
39  throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
-
40  }
-
41  }
-
42 
-
50  Image(const std::string& fileName, int width, int height, int format, int headerSize) {
-
51  if (!Load(fileName, width, height, format, headerSize)) {
-
52  throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
-
53  }
-
54  }
-
55 
-
63  Image(const std::string& fileName, int* frames) {
-
64  if (!Load(fileName, frames)) {
-
65  throw RaylibException(TextFormat("Failed to load Image from animation: %s", fileName.c_str()));
-
66  }
-
67  }
-
68 
-
74  Image(const std::string& fileType, const unsigned char* fileData, int dataSize) {
-
75  if (!Load(fileType, fileData, dataSize)) {
-
76  throw RaylibException("Failed to load Image from memory");
-
77  }
-
78  }
-
79 
-
85  Image(const ::Texture2D& texture) {
-
86  if (!Load(texture)) {
-
87  throw RaylibException("Failed to load Image from Texture");
-
88  }
-
89  }
-
90 
-
91  Image(int width, int height, ::Color color = {255, 255, 255, 255}) {
-
92  set(::GenImageColor(width, height, color));
-
93  }
-
94 
-
95  Image(const std::string& text, int fontSize, ::Color color = {255, 255, 255, 255}) {
-
96  set(::ImageText(text.c_str(), fontSize, color));
-
97  }
-
98 
-
99  Image(const ::Font& font, const std::string& text, float fontSize, float spacing,
-
100  ::Color tint = {255, 255, 255, 255}) {
-
101  set(::ImageTextEx(font, text.c_str(), fontSize, spacing, tint));
-
102  }
-
103 
-
104  Image(const Image& other) {
-
105  set(other.Copy());
-
106  }
-
107 
-
108  Image(Image&& other) {
-
109  set(other);
-
110 
-
111  other.data = nullptr;
-
112  other.width = 0;
-
113  other.height = 0;
-
114  other.mipmaps = 0;
-
115  other.format = 0;
-
116  }
-
117 
-
118  static ::Image Text(const std::string& text, int fontSize,
-
119  ::Color color = {255, 255, 255, 255}) {
-
120  return ::ImageText(text.c_str(), fontSize, color);
-
121  }
-
122 
-
123  static ::Image Text(const ::Font& font, const std::string& text, float fontSize, float spacing,
-
124  ::Color tint = {255, 255, 255, 255}) {
-
125  return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
-
126  }
-
127 
-
131  static ::Image LoadFromScreen() {
-
132  return ::LoadImageFromScreen();
-
133  }
-
134 
-
138  static ::Image Color(int width, int height, ::Color color = {255, 255, 255, 255}) {
-
139  return ::GenImageColor(width, height, color);
-
140  }
-
141 
-
145  static ::Image GradientV(int width, int height, ::Color top, ::Color bottom) {
-
146  return ::GenImageGradientV(width, height, top, bottom);
-
147  }
-
148 
-
152  static ::Image GradientH(int width, int height, ::Color left, ::Color right) {
-
153  return ::GenImageGradientH(width, height, left, right);
-
154  }
-
155 
-
159  static ::Image GradientRadial(int width, int height, float density,
-
160  ::Color inner, ::Color outer) {
-
161  return ::GenImageGradientRadial(width, height, density, inner, outer);
-
162  }
-
163 
-
167  static ::Image Checked(int width, int height, int checksX, int checksY,
-
168  ::Color col1 = {255, 255, 255, 255}, ::Color col2 = {0, 0, 0, 255}) {
-
169  return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
-
170  }
-
171 
-
175  static ::Image WhiteNoise(int width, int height, float factor) {
-
176  return ::GenImageWhiteNoise(width, height, factor);
-
177  }
-
178 
-
182  static ::Image Cellular(int width, int height, int tileSize) {
-
183  return ::GenImageCellular(width, height, tileSize);
-
184  }
-
185 
-
186  ~Image() {
-
187  Unload();
-
188  }
-
189 
-
190  Image& operator=(const ::Image& image) {
-
191  set(image);
-
192  return *this;
-
193  }
-
194 
-
195  Image& operator=(const Image& other) {
-
196  if (this == &other) {
-
197  return *this;
-
198  }
-
199 
-
200  Unload();
-
201  set(other.Copy());
-
202 
-
203  return *this;
-
204  }
-
205 
-
206  Image& operator=(Image&& other) noexcept {
-
207  if (this == &other) {
-
208  return *this;
-
209  }
-
210 
-
211  Unload();
-
212  set(other);
-
213 
-
214  other.data = nullptr;
-
215  other.width = 0;
-
216  other.height = 0;
-
217  other.mipmaps = 0;
-
218  other.format = 0;
-
219 
-
220  return *this;
-
221  }
-
222 
-
230  bool Load(const std::string& fileName) {
-
231  set(::LoadImage(fileName.c_str()));
-
232  return IsReady();
-
233  }
-
234 
-
242  bool Load(const std::string& fileName, int width, int height, int format, int headerSize) {
-
243  set(::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
-
244  return IsReady();
-
245  }
-
246 
-
254  bool Load(const std::string& fileName, int* frames) {
-
255  set(::LoadImageAnim(fileName.c_str(), frames));
-
256  return IsReady();
-
257  }
-
258 
-
266  bool Load(
-
267  const std::string& fileType,
-
268  const unsigned char *fileData,
-
269  int dataSize) {
-
270  set(::LoadImageFromMemory(fileType.c_str(), fileData, dataSize));
-
271  return IsReady();
-
272  }
-
273 
-
281  bool Load(const ::Texture2D& texture) {
-
282  set(::LoadImageFromTexture(texture));
-
283  return IsReady();
-
284  }
-
285 
-
289  inline void Unload() {
-
290  if (data != nullptr) {
-
291  ::UnloadImage(*this);
-
292  data = nullptr;
-
293  }
-
294  }
-
295 
-
299  inline bool Export(const std::string& fileName) const {
-
300  // TODO(RobLoach): Switch to an invalid loading exception on false.
-
301  return ::ExportImage(*this, fileName.c_str());
-
302  }
-
303 
-
307  inline bool ExportAsCode(const std::string& fileName) const {
-
308  return ::ExportImageAsCode(*this, fileName.c_str());
-
309  }
-
310 
-
311  GETTERSETTER(void*, Data, data)
-
312  GETTERSETTER(int, Width, width)
-
313  GETTERSETTER(int, Height, height)
-
314  GETTERSETTER(int, Mipmaps, mipmaps)
-
315  GETTERSETTER(int, Format, format)
-
316 
-
320  inline ::Vector2 GetSize() const {
-
321  return {static_cast<float>(width), static_cast<float>(height)};
-
322  }
-
323 
-
327  inline ::Image Copy() const {
-
328  return ::ImageCopy(*this);
-
329  }
-
330 
-
334  inline ::Image FromImage(::Rectangle rec) const {
-
335  return ::ImageFromImage(*this, rec);
-
336  }
-
337 
-
341  inline Image& ToPOT(::Color fillColor) {
-
342  ::ImageToPOT(this, fillColor);
-
343  return *this;
-
344  }
-
345 
-
349  inline Image& Format(int newFormat) {
-
350  ::ImageFormat(this, newFormat);
-
351  return *this;
-
352  }
-
353 
-
357  inline Image& AlphaCrop(float threshold) {
-
358  ::ImageAlphaCrop(this, threshold);
-
359  return *this;
-
360  }
-
361 
-
365  inline Image& AlphaClear(::Color color, float threshold) {
-
366  ::ImageAlphaClear(this, color, threshold);
-
367  return *this;
-
368  }
-
369 
-
373  inline Image& AlphaMask(const ::Image& alphaMask) {
-
374  ::ImageAlphaMask(this, alphaMask);
-
375  return *this;
-
376  }
-
377 
- -
382  ::ImageAlphaPremultiply(this);
-
383  return *this;
-
384  }
-
385 
-
389  inline Image& Crop(::Rectangle crop) {
-
390  ::ImageCrop(this, crop);
-
391  return *this;
-
392  }
-
393 
-
397  inline Image& Crop(int newWidth, int newHeight) {
-
398  return Crop(0, 0, newWidth, newHeight);
-
399  }
-
400 
-
404  inline Image& Crop(::Vector2 size) {
-
405  return Crop(0, 0, static_cast<int>(size.x), static_cast<int>(size.y));
-
406  }
-
407 
-
411  inline Image& Crop(int offsetX, int offsetY, int newWidth, int newHeight) {
-
412  ::Rectangle rect{
-
413  static_cast<float>(offsetX),
-
414  static_cast<float>(offsetY),
-
415  static_cast<float>(newWidth),
-
416  static_cast<float>(newHeight)
-
417  };
-
418  ::ImageCrop(this, rect);
-
419  return *this;
-
420  }
-
421 
-
425  inline Image& Resize(int newWidth, int newHeight) {
-
426  ::ImageResize(this, newWidth, newHeight);
-
427  return *this;
-
428  }
-
429 
-
433  inline Image& ResizeNN(int newWidth, int newHeight) {
-
434  ::ImageResizeNN(this, newWidth, newHeight);
-
435  return *this;
-
436  }
-
437 
-
441  inline Image& ResizeCanvas(int newWidth, int newHeight, int offsetX = 0, int offsetY = 0,
-
442  ::Color color = {255, 255, 255, 255}) {
-
443  ::ImageResizeCanvas(this, newWidth, newHeight, offsetX, offsetY, color);
-
444  return *this;
-
445  }
-
446 
-
450  inline Image& Mipmaps() {
-
451  ::ImageMipmaps(this);
-
452  return *this;
-
453  }
-
454 
-
458  inline Image& Dither(int rBpp, int gBpp, int bBpp, int aBpp) {
-
459  ::ImageDither(this, rBpp, gBpp, bBpp, aBpp);
-
460  return *this;
-
461  }
-
462 
-
466  inline Image& FlipVertical() {
-
467  ::ImageFlipVertical(this);
-
468  return *this;
-
469  }
-
470 
-
474  inline Image& FlipHorizontal() {
-
475  ::ImageFlipHorizontal(this);
-
476  return *this;
-
477  }
-
478 
-
482  inline Image& RotateCW() {
-
483  ::ImageRotateCW(this);
-
484  return *this;
-
485  }
-
486 
-
490  inline Image& RotateCCW() {
-
491  ::ImageRotateCCW(this);
-
492  return *this;
-
493  }
-
494 
-
498  inline Image& ColorTint(::Color color = {255, 255, 255, 255}) {
-
499  ::ImageColorTint(this, color);
-
500  return *this;
-
501  }
-
502 
-
506  inline Image& ColorInvert() {
-
507  ::ImageColorInvert(this);
-
508  return *this;
-
509  }
-
510 
-
514  inline Image& ColorGrayscale() {
-
515  ::ImageColorGrayscale(this);
-
516  return *this;
-
517  }
-
518 
-
524  inline Image& ColorContrast(float contrast) {
-
525  ::ImageColorContrast(this, contrast);
-
526  return *this;
-
527  }
-
528 
-
534  inline Image& ColorBrightness(int brightness) {
-
535  ::ImageColorBrightness(this, brightness);
-
536  return *this;
-
537  }
-
538 
-
542  inline Image& ColorReplace(::Color color, ::Color replace) {
-
543  ::ImageColorReplace(this, color, replace);
-
544  return *this;
-
545  }
-
546 
-
552  inline Rectangle GetAlphaBorder(float threshold) const {
-
553  return ::GetImageAlphaBorder(*this, threshold);
-
554  }
-
555 
-
559  inline Image& ClearBackground(::Color color = {0, 0, 0, 255}) {
-
560  ::ImageClearBackground(this, color);
-
561  return *this;
-
562  }
-
563 
-
567  inline Image& DrawPixel(int posX, int posY, ::Color color = {255, 255, 255, 255}) {
-
568  ::ImageDrawPixel(this, posX, posY, color);
-
569  return *this;
-
570  }
-
571 
-
572  inline Image& DrawPixel(::Vector2 position, ::Color color = {255, 255, 255, 255}) {
-
573  ::ImageDrawPixelV(this, position, color);
-
574  return *this;
-
575  }
-
576 
-
577  inline Image& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY,
-
578  ::Color color = {255, 255, 255, 255}) {
-
579  ::ImageDrawLine(this, startPosX, startPosY, endPosX, endPosY, color);
-
580  return *this;
-
581  }
-
582 
-
583  inline Image& DrawLine(::Vector2 start, ::Vector2 end, ::Color color = {255, 255, 255, 255}) {
-
584  ::ImageDrawLineV(this, start, end, color);
-
585  return *this;
-
586  }
-
587 
-
588  inline Image& DrawCircle(int centerX, int centerY, int radius,
-
589  ::Color color = {255, 255, 255, 255}) {
-
590  ::ImageDrawCircle(this, centerX, centerY, radius, color);
-
591  return *this;
-
592  }
-
593 
-
594  inline Image& DrawCircle(::Vector2 center, int radius,
-
595  ::Color color = {255, 255, 255, 255}) {
-
596  ::ImageDrawCircleV(this, center, radius, color);
-
597  return *this;
-
598  }
-
599 
-
600  inline Image& DrawRectangle(int posX, int posY, int width, int height,
-
601  ::Color color = {255, 255, 255, 255}) {
-
602  ::ImageDrawRectangle(this, posX, posY, width, height, color);
-
603  return *this;
-
604  }
-
605 
-
606  inline Image& DrawRectangle(Vector2 position, Vector2 size,
-
607  ::Color color = {255, 255, 255, 255}) {
-
608  ::ImageDrawRectangleV(this, position, size, color);
-
609  return *this;
-
610  }
-
611 
-
612  inline Image& DrawRectangle(::Rectangle rec, ::Color color = {255, 255, 255, 255}) {
-
613  ::ImageDrawRectangleRec(this, rec, color);
-
614  return *this;
-
615  }
-
616 
-
617  inline Image& DrawRectangleLines(::Rectangle rec, int thick = 1,
-
618  ::Color color = {255, 255, 255, 255}) {
-
619  ::ImageDrawRectangleLines(this, rec, thick, color);
-
620  return *this;
-
621  }
-
622 
-
623  inline Image& Draw(const ::Image& src, ::Rectangle srcRec, ::Rectangle dstRec,
-
624  ::Color tint = {255, 255, 255, 255}) {
-
625  ::ImageDraw(this, src, srcRec, dstRec, tint);
-
626  return *this;
-
627  }
-
628 
-
629  inline Image& DrawText(const std::string& text, ::Vector2 position, int fontSize,
-
630  ::Color color = {255, 255, 255, 255}) {
-
631  ::ImageDrawText(this,
-
632  text.c_str(),
-
633  static_cast<int>(position.x),
-
634  static_cast<int>(position.y),
-
635  fontSize,
-
636  color);
-
637  return *this;
-
638  }
-
639 
-
640  inline Image& DrawText(const std::string& text, int x, int y, int fontSize,
-
641  ::Color color = {255, 255, 255, 255}) {
-
642  ::ImageDrawText(this, text.c_str(), x, y, fontSize, color);
-
643  return *this;
-
644  }
-
645 
-
646  inline Image& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
-
647  float fontSize, float spacing, ::Color tint = {255, 255, 255, 255}) {
-
648  ::ImageDrawTextEx(this, font, text.c_str(), position, fontSize, spacing, tint);
-
649  return *this;
-
650  }
-
651 
-
655  inline ::Color* LoadColors() const {
-
656  return ::LoadImageColors(*this);
-
657  }
-
658 
-
662  inline ::Color* LoadPalette(int maxPaletteSize, int *colorsCount) const {
-
663  return ::LoadImagePalette(*this, maxPaletteSize, colorsCount);
-
664  }
-
665 
-
669  inline void UnloadColors(::Color* colors) const {
-
670  ::UnloadImageColors(colors);
-
671  }
-
672 
-
676  inline void UnloadPalette(::Color* colors) const {
-
677  ::UnloadImagePalette(colors);
-
678  }
-
679 
-
683  inline ::Texture2D LoadTexture() const {
-
684  return ::LoadTextureFromImage(*this);
-
685  }
-
686 
-
692  inline operator ::Texture2D() {
-
693  return LoadTexture();
-
694  }
-
695 
-
699  static int GetPixelDataSize(int width, int height, int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) {
-
700  return ::GetPixelDataSize(width, height, format);
-
701  }
-
702 
-
708  int GetPixelDataSize() const {
-
709  return ::GetPixelDataSize(width, height, format);
-
710  }
-
711 
-
717  inline bool IsReady() const {
-
718  return data != nullptr;
-
719  }
-
720 
-
721  private:
-
722  inline void set(const ::Image& image) {
-
723  data = image.data;
-
724  width = image.width;
-
725  height = image.height;
-
726  mipmaps = image.mipmaps;
-
727  format = image.format;
-
728  }
-
729 };
-
730 } // namespace raylib
-
731 
-
732 #endif // RAYLIB_CPP_INCLUDE_IMAGE_HPP_
-
-
Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
Definition: Image.hpp:458
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Image & ColorBrightness(int brightness)
Modify image color: brightness.
Definition: Image.hpp:534
+
1#ifndef RAYLIB_CPP_INCLUDE_IMAGE_HPP_
+
2#define RAYLIB_CPP_INCLUDE_IMAGE_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "./RaylibException.hpp"
+
9
+
10namespace raylib {
+
16class Image : public ::Image {
+
17 public:
+
18 Image(void* data = nullptr,
+
19 int width = 0,
+
20 int height = 0,
+
21 int mipmaps = 0,
+
22 int format = 0) : ::Image{data, width, height, mipmaps, format} {
+
23 // Nothing.
+
24 }
+
25
+
26 Image(const ::Image& image) {
+
27 set(image);
+
28 }
+
29
+
37 Image(const std::string& fileName) {
+
38 if (!Load(fileName)) {
+
39 throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
+
40 }
+
41 }
+
42
+
50 Image(const std::string& fileName, int width, int height, int format, int headerSize) {
+
51 if (!Load(fileName, width, height, format, headerSize)) {
+
52 throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
+
53 }
+
54 }
+
55
+
63 Image(const std::string& fileName, int* frames) {
+
64 if (!Load(fileName, frames)) {
+
65 throw RaylibException(TextFormat("Failed to load Image from animation: %s", fileName.c_str()));
+
66 }
+
67 }
+
68
+
74 Image(const std::string& fileType, const unsigned char* fileData, int dataSize) {
+
75 if (!Load(fileType, fileData, dataSize)) {
+
76 throw RaylibException("Failed to load Image from memory");
+
77 }
+
78 }
+
79
+
85 Image(const ::Texture2D& texture) {
+
86 if (!Load(texture)) {
+
87 throw RaylibException("Failed to load Image from Texture");
+
88 }
+
89 }
+
90
+
91 Image(int width, int height, ::Color color = {255, 255, 255, 255}) {
+
92 set(::GenImageColor(width, height, color));
+
93 }
+
94
+
95 Image(const std::string& text, int fontSize, ::Color color = {255, 255, 255, 255}) {
+
96 set(::ImageText(text.c_str(), fontSize, color));
+
97 }
+
98
+
99 Image(const ::Font& font, const std::string& text, float fontSize, float spacing,
+
100 ::Color tint = {255, 255, 255, 255}) {
+
101 set(::ImageTextEx(font, text.c_str(), fontSize, spacing, tint));
+
102 }
+
103
+
104 Image(const Image& other) {
+
105 set(other.Copy());
+
106 }
+
107
+
108 Image(Image&& other) {
+
109 set(other);
+
110
+
111 other.data = nullptr;
+
112 other.width = 0;
+
113 other.height = 0;
+
114 other.mipmaps = 0;
+
115 other.format = 0;
+
116 }
+
117
+
118 static ::Image Text(const std::string& text, int fontSize,
+
119 ::Color color = {255, 255, 255, 255}) {
+
120 return ::ImageText(text.c_str(), fontSize, color);
+
121 }
+
122
+
123 static ::Image Text(const ::Font& font, const std::string& text, float fontSize, float spacing,
+
124 ::Color tint = {255, 255, 255, 255}) {
+
125 return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
+
126 }
+
127
+
131 static ::Image LoadFromScreen() {
+
132 return ::LoadImageFromScreen();
+
133 }
+
134
+
138 static ::Image Color(int width, int height, ::Color color = {255, 255, 255, 255}) {
+
139 return ::GenImageColor(width, height, color);
+
140 }
+
141
+
145 static ::Image GradientV(int width, int height, ::Color top, ::Color bottom) {
+
146 return ::GenImageGradientV(width, height, top, bottom);
+
147 }
+
148
+
152 static ::Image GradientH(int width, int height, ::Color left, ::Color right) {
+
153 return ::GenImageGradientH(width, height, left, right);
+
154 }
+
155
+
159 static ::Image GradientRadial(int width, int height, float density,
+
160 ::Color inner, ::Color outer) {
+
161 return ::GenImageGradientRadial(width, height, density, inner, outer);
+
162 }
+
163
+
167 static ::Image Checked(int width, int height, int checksX, int checksY,
+
168 ::Color col1 = {255, 255, 255, 255}, ::Color col2 = {0, 0, 0, 255}) {
+
169 return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
+
170 }
+
171
+
175 static ::Image WhiteNoise(int width, int height, float factor) {
+
176 return ::GenImageWhiteNoise(width, height, factor);
+
177 }
+
178
+
182 static ::Image Cellular(int width, int height, int tileSize) {
+
183 return ::GenImageCellular(width, height, tileSize);
+
184 }
+
185
+ +
187 Unload();
+
188 }
+
189
+
190 Image& operator=(const ::Image& image) {
+
191 set(image);
+
192 return *this;
+
193 }
+
194
+
195 Image& operator=(const Image& other) {
+
196 if (this == &other) {
+
197 return *this;
+
198 }
+
199
+
200 Unload();
+
201 set(other.Copy());
+
202
+
203 return *this;
+
204 }
+
205
+
206 Image& operator=(Image&& other) noexcept {
+
207 if (this == &other) {
+
208 return *this;
+
209 }
+
210
+
211 Unload();
+
212 set(other);
+
213
+
214 other.data = nullptr;
+
215 other.width = 0;
+
216 other.height = 0;
+
217 other.mipmaps = 0;
+
218 other.format = 0;
+
219
+
220 return *this;
+
221 }
+
222
+
230 bool Load(const std::string& fileName) {
+
231 set(::LoadImage(fileName.c_str()));
+
232 return IsReady();
+
233 }
+
234
+
242 bool Load(const std::string& fileName, int width, int height, int format, int headerSize) {
+
243 set(::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
+
244 return IsReady();
+
245 }
+
246
+
254 bool Load(const std::string& fileName, int* frames) {
+
255 set(::LoadImageAnim(fileName.c_str(), frames));
+
256 return IsReady();
+
257 }
+
258
+
266 bool Load(
+
267 const std::string& fileType,
+
268 const unsigned char *fileData,
+
269 int dataSize) {
+
270 set(::LoadImageFromMemory(fileType.c_str(), fileData, dataSize));
+
271 return IsReady();
+
272 }
+
273
+
281 bool Load(const ::Texture2D& texture) {
+
282 set(::LoadImageFromTexture(texture));
+
283 return IsReady();
+
284 }
+
285
+
289 inline void Unload() {
+
290 if (data != nullptr) {
+
291 ::UnloadImage(*this);
+
292 data = nullptr;
+
293 }
+
294 }
+
295
+
299 inline bool Export(const std::string& fileName) const {
+
300 // TODO(RobLoach): Switch to an invalid loading exception on false.
+
301 return ::ExportImage(*this, fileName.c_str());
+
302 }
+
303
+
307 inline bool ExportAsCode(const std::string& fileName) const {
+
308 return ::ExportImageAsCode(*this, fileName.c_str());
+
309 }
+
310
+
311 GETTERSETTER(void*, Data, data)
+
312 GETTERSETTER(int, Width, width)
+
313 GETTERSETTER(int, Height, height)
+
314 GETTERSETTER(int, Mipmaps, mipmaps)
+
315 GETTERSETTER(int, Format, format)
+
316
+
320 inline ::Vector2 GetSize() const {
+
321 return {static_cast<float>(width), static_cast<float>(height)};
+
322 }
+
323
+
327 inline ::Image Copy() const {
+
328 return ::ImageCopy(*this);
+
329 }
+
330
+
334 inline ::Image FromImage(::Rectangle rec) const {
+
335 return ::ImageFromImage(*this, rec);
+
336 }
+
337
+
341 inline Image& ToPOT(::Color fillColor) {
+
342 ::ImageToPOT(this, fillColor);
+
343 return *this;
+
344 }
+
345
+
349 inline Image& Format(int newFormat) {
+
350 ::ImageFormat(this, newFormat);
+
351 return *this;
+
352 }
+
353
+
357 inline Image& AlphaCrop(float threshold) {
+
358 ::ImageAlphaCrop(this, threshold);
+
359 return *this;
+
360 }
+
361
+
365 inline Image& AlphaClear(::Color color, float threshold) {
+
366 ::ImageAlphaClear(this, color, threshold);
+
367 return *this;
+
368 }
+
369
+
373 inline Image& AlphaMask(const ::Image& alphaMask) {
+
374 ::ImageAlphaMask(this, alphaMask);
+
375 return *this;
+
376 }
+
377
+ +
382 ::ImageAlphaPremultiply(this);
+
383 return *this;
+
384 }
+
385
+
389 inline Image& Crop(::Rectangle crop) {
+
390 ::ImageCrop(this, crop);
+
391 return *this;
+
392 }
+
393
+
397 inline Image& Crop(int newWidth, int newHeight) {
+
398 return Crop(0, 0, newWidth, newHeight);
+
399 }
+
400
+
404 inline Image& Crop(::Vector2 size) {
+
405 return Crop(0, 0, static_cast<int>(size.x), static_cast<int>(size.y));
+
406 }
+
407
+
411 inline Image& Crop(int offsetX, int offsetY, int newWidth, int newHeight) {
+
412 ::Rectangle rect{
+
413 static_cast<float>(offsetX),
+
414 static_cast<float>(offsetY),
+
415 static_cast<float>(newWidth),
+
416 static_cast<float>(newHeight)
+
417 };
+
418 ::ImageCrop(this, rect);
+
419 return *this;
+
420 }
+
421
+
425 inline Image& Resize(int newWidth, int newHeight) {
+
426 ::ImageResize(this, newWidth, newHeight);
+
427 return *this;
+
428 }
+
429
+
433 inline Image& ResizeNN(int newWidth, int newHeight) {
+
434 ::ImageResizeNN(this, newWidth, newHeight);
+
435 return *this;
+
436 }
+
437
+
441 inline Image& ResizeCanvas(int newWidth, int newHeight, int offsetX = 0, int offsetY = 0,
+
442 ::Color color = {255, 255, 255, 255}) {
+
443 ::ImageResizeCanvas(this, newWidth, newHeight, offsetX, offsetY, color);
+
444 return *this;
+
445 }
+
446
+
450 inline Image& Mipmaps() {
+
451 ::ImageMipmaps(this);
+
452 return *this;
+
453 }
+
454
+
458 inline Image& Dither(int rBpp, int gBpp, int bBpp, int aBpp) {
+
459 ::ImageDither(this, rBpp, gBpp, bBpp, aBpp);
+
460 return *this;
+
461 }
+
462
+
466 inline Image& FlipVertical() {
+
467 ::ImageFlipVertical(this);
+
468 return *this;
+
469 }
+
470
+ +
475 ::ImageFlipHorizontal(this);
+
476 return *this;
+
477 }
+
478
+
482 inline Image& RotateCW() {
+
483 ::ImageRotateCW(this);
+
484 return *this;
+
485 }
+
486
+
490 inline Image& RotateCCW() {
+
491 ::ImageRotateCCW(this);
+
492 return *this;
+
493 }
+
494
+
498 inline Image& ColorTint(::Color color = {255, 255, 255, 255}) {
+
499 ::ImageColorTint(this, color);
+
500 return *this;
+
501 }
+
502
+
506 inline Image& ColorInvert() {
+
507 ::ImageColorInvert(this);
+
508 return *this;
+
509 }
+
510
+ +
515 ::ImageColorGrayscale(this);
+
516 return *this;
+
517 }
+
518
+
524 inline Image& ColorContrast(float contrast) {
+
525 ::ImageColorContrast(this, contrast);
+
526 return *this;
+
527 }
+
528
+
534 inline Image& ColorBrightness(int brightness) {
+
535 ::ImageColorBrightness(this, brightness);
+
536 return *this;
+
537 }
+
538
+
542 inline Image& ColorReplace(::Color color, ::Color replace) {
+
543 ::ImageColorReplace(this, color, replace);
+
544 return *this;
+
545 }
+
546
+
552 inline Rectangle GetAlphaBorder(float threshold) const {
+
553 return ::GetImageAlphaBorder(*this, threshold);
+
554 }
+
555
+
559 inline Image& ClearBackground(::Color color = {0, 0, 0, 255}) {
+
560 ::ImageClearBackground(this, color);
+
561 return *this;
+
562 }
+
563
+
567 inline Image& DrawPixel(int posX, int posY, ::Color color = {255, 255, 255, 255}) {
+
568 ::ImageDrawPixel(this, posX, posY, color);
+
569 return *this;
+
570 }
+
571
+
572 inline Image& DrawPixel(::Vector2 position, ::Color color = {255, 255, 255, 255}) {
+
573 ::ImageDrawPixelV(this, position, color);
+
574 return *this;
+
575 }
+
576
+
577 inline Image& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY,
+
578 ::Color color = {255, 255, 255, 255}) {
+
579 ::ImageDrawLine(this, startPosX, startPosY, endPosX, endPosY, color);
+
580 return *this;
+
581 }
+
582
+
583 inline Image& DrawLine(::Vector2 start, ::Vector2 end, ::Color color = {255, 255, 255, 255}) {
+
584 ::ImageDrawLineV(this, start, end, color);
+
585 return *this;
+
586 }
+
587
+
588 inline Image& DrawCircle(int centerX, int centerY, int radius,
+
589 ::Color color = {255, 255, 255, 255}) {
+
590 ::ImageDrawCircle(this, centerX, centerY, radius, color);
+
591 return *this;
+
592 }
+
593
+
594 inline Image& DrawCircle(::Vector2 center, int radius,
+
595 ::Color color = {255, 255, 255, 255}) {
+
596 ::ImageDrawCircleV(this, center, radius, color);
+
597 return *this;
+
598 }
+
599
+
600 inline Image& DrawRectangle(int posX, int posY, int width, int height,
+
601 ::Color color = {255, 255, 255, 255}) {
+
602 ::ImageDrawRectangle(this, posX, posY, width, height, color);
+
603 return *this;
+
604 }
+
605
+
606 inline Image& DrawRectangle(Vector2 position, Vector2 size,
+
607 ::Color color = {255, 255, 255, 255}) {
+
608 ::ImageDrawRectangleV(this, position, size, color);
+
609 return *this;
+
610 }
+
611
+
612 inline Image& DrawRectangle(::Rectangle rec, ::Color color = {255, 255, 255, 255}) {
+
613 ::ImageDrawRectangleRec(this, rec, color);
+
614 return *this;
+
615 }
+
616
+
617 inline Image& DrawRectangleLines(::Rectangle rec, int thick = 1,
+
618 ::Color color = {255, 255, 255, 255}) {
+
619 ::ImageDrawRectangleLines(this, rec, thick, color);
+
620 return *this;
+
621 }
+
622
+
623 inline Image& Draw(const ::Image& src, ::Rectangle srcRec, ::Rectangle dstRec,
+
624 ::Color tint = {255, 255, 255, 255}) {
+
625 ::ImageDraw(this, src, srcRec, dstRec, tint);
+
626 return *this;
+
627 }
+
628
+
629 inline Image& DrawText(const std::string& text, ::Vector2 position, int fontSize,
+
630 ::Color color = {255, 255, 255, 255}) {
+
631 ::ImageDrawText(this,
+
632 text.c_str(),
+
633 static_cast<int>(position.x),
+
634 static_cast<int>(position.y),
+
635 fontSize,
+
636 color);
+
637 return *this;
+
638 }
+
639
+
640 inline Image& DrawText(const std::string& text, int x, int y, int fontSize,
+
641 ::Color color = {255, 255, 255, 255}) {
+
642 ::ImageDrawText(this, text.c_str(), x, y, fontSize, color);
+
643 return *this;
+
644 }
+
645
+
646 inline Image& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
+
647 float fontSize, float spacing, ::Color tint = {255, 255, 255, 255}) {
+
648 ::ImageDrawTextEx(this, font, text.c_str(), position, fontSize, spacing, tint);
+
649 return *this;
+
650 }
+
651
+
655 inline ::Color* LoadColors() const {
+
656 return ::LoadImageColors(*this);
+
657 }
+
658
+
662 inline ::Color* LoadPalette(int maxPaletteSize, int *colorsCount) const {
+
663 return ::LoadImagePalette(*this, maxPaletteSize, colorsCount);
+
664 }
+
665
+
669 inline void UnloadColors(::Color* colors) const {
+
670 ::UnloadImageColors(colors);
+
671 }
+
672
+
676 inline void UnloadPalette(::Color* colors) const {
+
677 ::UnloadImagePalette(colors);
+
678 }
+
679
+
683 inline ::Texture2D LoadTexture() const {
+
684 return ::LoadTextureFromImage(*this);
+
685 }
+
686
+
692 inline operator ::Texture2D() {
+
693 return LoadTexture();
+
694 }
+
695
+
699 static int GetPixelDataSize(int width, int height, int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) {
+
700 return ::GetPixelDataSize(width, height, format);
+
701 }
+
702
+
708 int GetPixelDataSize() const {
+
709 return ::GetPixelDataSize(width, height, format);
+
710 }
+
711
+
717 inline bool IsReady() const {
+
718 return data != nullptr;
+
719 }
+
720
+
721 private:
+
722 inline void set(const ::Image& image) {
+
723 data = image.data;
+
724 width = image.width;
+
725 height = image.height;
+
726 mipmaps = image.mipmaps;
+
727 format = image.format;
+
728 }
+
729};
+
730} // namespace raylib
+
731
+
732#endif // RAYLIB_CPP_INCLUDE_IMAGE_HPP_
+
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:16
+
Image & Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})
Definition: Image.hpp:623
+
Image & ColorContrast(float contrast)
Modify image color: contrast.
Definition: Image.hpp:524
+
Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
Definition: Image.hpp:458
+
Image & DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:606
+
Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:95
::Image WhiteNoise(int width, int height, float factor)
Generate image: white noise.
Definition: Image.hpp:175
-
static inline ::Image LoadImage(const std::string &fileName)
Load an image.
Definition: Functions.hpp:210
-
static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Load an image from RAW file data.
Definition: Functions.hpp:217
-
::Image GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)
Generate image: radial gradient.
Definition: Image.hpp:159
+
Image & DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:640
+
::Image GradientH(int width, int height, ::Color left, ::Color right)
Generate image: horizontal gradient.
Definition: Image.hpp:152
+
Image & ColorTint(::Color color={255, 255, 255, 255})
Modify image color: tint.
Definition: Image.hpp:498
+
inline ::Color * LoadPalette(int maxPaletteSize, int *colorsCount) const
Load colors palette from image as a Color array (RGBA - 32bit)
Definition: Image.hpp:662
+
Image & ResizeNN(int newWidth, int newHeight)
Resize and image to new size using Nearest-Neighbor scaling algorithm.
Definition: Image.hpp:433
+ +
Image & ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
Resize canvas and fill with color.
Definition: Image.hpp:441
+
Image & operator=(const Image &other)
Definition: Image.hpp:195
+
Image & DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:594
+
::Image Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
Generate image: checked.
Definition: Image.hpp:167
+
::Image Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
Definition: Image.hpp:123
+
::Image Cellular(int width, int height, int tileSize)
Generate image: cellular algorithm.
Definition: Image.hpp:182
Image(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load an image from the given file.
Definition: Image.hpp:74
-
Image & ToPOT(::Color fillColor)
Convert image to POT (power-of-two)
Definition: Image.hpp:341
-
static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension like "png".
Definition: Functions.hpp:233
-
Image & Format(int newFormat)
Convert image data to desired format.
Definition: Image.hpp:349
-
Image & Crop(::Vector2 size)
Crop an image to a new given width and height based on a vector.
Definition: Image.hpp:404
-
Image & ColorInvert()
Modify image color: invert.
Definition: Image.hpp:506
-
Image & ColorGrayscale()
Modify image color: grayscale.
Definition: Image.hpp:514
-
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:16
-
bool Load(const ::Texture2D &texture)
Load an image from the given file.
Definition: Image.hpp:281
-
inline ::Image FromImage(::Rectangle rec) const
Create an image from another image piece.
Definition: Image.hpp:334
-
Image & Crop(::Rectangle crop)
Crop an image to area defined by a rectangle.
Definition: Image.hpp:389
-
Image & Crop(int newWidth, int newHeight)
Crop an image to a new given width and height.
Definition: Image.hpp:397
-
Image(const std::string &fileName)
Load an image from the given file.
Definition: Image.hpp:37
-
static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
Load animated image data.
Definition: Functions.hpp:226
-
bool ExportAsCode(const std::string &fileName) const
Export image as code file defining an array of bytes, returns true on success.
Definition: Image.hpp:307
-
Image & RotateCCW()
Rotate image counter-clockwise 90deg.
Definition: Image.hpp:490
-
inline ::Color * LoadPalette(int maxPaletteSize, int *colorsCount) const
Load colors palette from image as a Color array (RGBA - 32bit)
Definition: Image.hpp:662
-
Image & FlipVertical()
Flip image vertically.
Definition: Image.hpp:466
-
::Image LoadFromScreen()
Get pixel data from screen buffer and return an Image (screenshot)
Definition: Image.hpp:131
+
Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)
Definition: Image.hpp:18
+
Image & DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:600
+
Image(const ::Texture2D &texture)
Load an image from the given file.
Definition: Image.hpp:85
+
Rectangle GetAlphaBorder(float threshold) const
Get image alpha border rectangle.
Definition: Image.hpp:552
+
inline ::Image Copy() const
Create an image duplicate (useful for transformations)
Definition: Image.hpp:327
bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension: i.e.
Definition: Image.hpp:266
-
bool Export(const std::string &fileName) const
Export image data to file, returns true on success.
Definition: Image.hpp:299
-
bool Load(const std::string &fileName, int width, int height, int format, int headerSize)
Load image from RAW file data.
Definition: Image.hpp:242
-
Image & ColorContrast(float contrast)
Modify image color: contrast.
Definition: Image.hpp:524
-
bool IsReady() const
Retrieve whether or not the Image has been loaded.
Definition: Image.hpp:717
-
Image & AlphaClear(::Color color, float threshold)
Clear alpha channel to desired color.
Definition: Image.hpp:365
-
inline ::Texture2D LoadTexture() const
Load texture from image data.
Definition: Image.hpp:683
-
Image & AlphaPremultiply()
Premultiply alpha channel.
Definition: Image.hpp:381
-
Image & Crop(int offsetX, int offsetY, int newWidth, int newHeight)
Crop an image to area defined by a rectangle.
Definition: Image.hpp:411
-
Image & DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})
Draw pixel within an image.
Definition: Image.hpp:567
-
Image & Mipmaps()
Generate all mipmap levels for a provided image.
Definition: Image.hpp:450
+
Image(int width, int height, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:91
Image(const std::string &fileName, int width, int height, int format, int headerSize)
Load a raw image from the given file, with the provided width, height, and formats.
Definition: Image.hpp:50
-
Rectangle type.
Definition: Rectangle.hpp:12
-
bool Load(const std::string &fileName, int *frames)
Load image sequence from file (frames appended to image.data).
Definition: Image.hpp:254
-
Vector2 type.
Definition: Vector2.hpp:16
+
Image & DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:612
+
int GetPixelDataSize() const
Returns the pixel data size based on the current image.
Definition: Image.hpp:708
+
bool Export(const std::string &fileName) const
Export image data to file, returns true on success.
Definition: Image.hpp:299
::Image GradientV(int width, int height, ::Color top, ::Color bottom)
Generate image: vertical gradient.
Definition: Image.hpp:145
-
Image & ColorTint(::Color color={255, 255, 255, 255})
Modify image color: tint.
Definition: Image.hpp:498
-
Rectangle GetAlphaBorder(float threshold) const
Get image alpha border rectangle.
Definition: Image.hpp:552
-
bool Load(const std::string &fileName)
Load image from file into CPU memory (RAM)
Definition: Image.hpp:230
-
Image & ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
Resize canvas and fill with color.
Definition: Image.hpp:441
-
void UnloadPalette(::Color *colors) const
Unload colors palette loaded with LoadImagePalette()
Definition: Image.hpp:676
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
::Image GradientH(int width, int height, ::Color left, ::Color right)
Generate image: horizontal gradient.
Definition: Image.hpp:152
-
inline ::Color * LoadColors() const
Load color data from image as a Color array (RGBA - 32bit)
Definition: Image.hpp:655
+
bool IsReady() const
Retrieve whether or not the Image has been loaded.
Definition: Image.hpp:717
+
Image & DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})
Draw pixel within an image.
Definition: Image.hpp:567
+
Image & ColorGrayscale()
Modify image color: grayscale.
Definition: Image.hpp:514
+
inline ::Image FromImage(::Rectangle rec) const
Create an image from another image piece.
Definition: Image.hpp:334
+
bool Load(const std::string &fileName, int width, int height, int format, int headerSize)
Load image from RAW file data.
Definition: Image.hpp:242
+
Image & ColorBrightness(int brightness)
Modify image color: brightness.
Definition: Image.hpp:534
+
Image & RotateCW()
Rotate image clockwise 90deg.
Definition: Image.hpp:482
+
Image & FlipHorizontal()
Flip image horizontally.
Definition: Image.hpp:474
+
Image & AlphaPremultiply()
Premultiply alpha channel.
Definition: Image.hpp:381
+
Image & ToPOT(::Color fillColor)
Convert image to POT (power-of-two)
Definition: Image.hpp:341
Image(const std::string &fileName, int *frames)
Load an animation image from the given file.
Definition: Image.hpp:63
+
Image & ClearBackground(::Color color={0, 0, 0, 255})
Clear image background with given color.
Definition: Image.hpp:559
+
Image & operator=(Image &&other) noexcept
Definition: Image.hpp:206
+
Image(const Image &other)
Definition: Image.hpp:104
+
Image & Crop(int offsetX, int offsetY, int newWidth, int newHeight)
Crop an image to area defined by a rectangle.
Definition: Image.hpp:411
+
Image(const std::string &fileName)
Load an image from the given file.
Definition: Image.hpp:37
+
bool Load(const ::Texture2D &texture)
Load an image from the given file.
Definition: Image.hpp:281
::Image Color(int width, int height, ::Color color={255, 255, 255, 255})
Generate image: plain color.
Definition: Image.hpp:138
-
inline ::Vector2 GetSize() const
Retrieve the width and height of the image.
Definition: Image.hpp:320
-
int GetPixelDataSize() const
Returns the pixel data size based on the current image.
Definition: Image.hpp:708
-
void UnloadColors(::Color *colors) const
Unload color data loaded with LoadImageColors()
Definition: Image.hpp:669
-
Image & AlphaCrop(float threshold)
Crop image depending on alpha value.
Definition: Image.hpp:357
-
Image & Resize(int newWidth, int newHeight)
Resize and image to new size.
Definition: Image.hpp:425
-
::Image Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
Generate image: checked.
Definition: Image.hpp:167
-
Image(const ::Texture2D &texture)
Load an image from the given file.
Definition: Image.hpp:85
+
Image & FlipVertical()
Flip image vertically.
Definition: Image.hpp:466
+
::Image Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:118
+
Image & RotateCCW()
Rotate image counter-clockwise 90deg.
Definition: Image.hpp:490
+
Image & Format(int newFormat)
Convert image data to desired format.
Definition: Image.hpp:349
+
Image & AlphaCrop(float threshold)
Crop image depending on alpha value.
Definition: Image.hpp:357
+
Image & DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:629
+
inline ::Texture2D LoadTexture() const
Load texture from image data.
Definition: Image.hpp:683
+
Image & DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:617
static int GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
Get pixel data size in bytes for certain format.
Definition: Image.hpp:699
+
Image & operator=(const ::Image &image)
Definition: Image.hpp:190
+
Image & DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
Definition: Image.hpp:646
+
::Image GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)
Generate image: radial gradient.
Definition: Image.hpp:159
+
Image & Mipmaps()
Generate all mipmap levels for a provided image.
Definition: Image.hpp:450
+
Image & AlphaMask(const ::Image &alphaMask)
Apply alpha mask to image.
Definition: Image.hpp:373
+
::Image LoadFromScreen()
Get pixel data from screen buffer and return an Image (screenshot)
Definition: Image.hpp:131
+
Image(Image &&other)
Definition: Image.hpp:108
+
bool Load(const std::string &fileName)
Load image from file into CPU memory (RAM)
Definition: Image.hpp:230
+
Image & ColorInvert()
Modify image color: invert.
Definition: Image.hpp:506
+
inline ::Vector2 GetSize() const
Retrieve the width and height of the image.
Definition: Image.hpp:320
void Unload()
Unload image from CPU memory (RAM)
Definition: Image.hpp:289
-
Image & FlipHorizontal()
Flip image horizontally.
Definition: Image.hpp:474
-
Image & ResizeNN(int newWidth, int newHeight)
Resize and image to new size using Nearest-Neighbor scaling algorithm.
Definition: Image.hpp:433
+
Image & DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:583
+
Image & Crop(int newWidth, int newHeight)
Crop an image to a new given width and height.
Definition: Image.hpp:397
+
inline ::Color * LoadColors() const
Load color data from image as a Color array (RGBA - 32bit)
Definition: Image.hpp:655
+
void UnloadColors(::Color *colors) const
Unload color data loaded with LoadImageColors()
Definition: Image.hpp:669
+
bool Load(const std::string &fileName, int *frames)
Load image sequence from file (frames appended to image.data).
Definition: Image.hpp:254
+
Image & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:577
+
Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
Definition: Image.hpp:99
+
Image & ColorReplace(::Color color, ::Color replace)
Modify image color: replace color.
Definition: Image.hpp:542
+
Image & AlphaClear(::Color color, float threshold)
Clear alpha channel to desired color.
Definition: Image.hpp:365
+
Image & Crop(::Rectangle crop)
Crop an image to area defined by a rectangle.
Definition: Image.hpp:389
+
bool ExportAsCode(const std::string &fileName) const
Export image as code file defining an array of bytes, returns true on success.
Definition: Image.hpp:307
+
void UnloadPalette(::Color *colors) const
Unload colors palette loaded with LoadImagePalette()
Definition: Image.hpp:676
+
Image(const ::Image &image)
Definition: Image.hpp:26
+
Image & Resize(int newWidth, int newHeight)
Resize and image to new size.
Definition: Image.hpp:425
+
Image & Crop(::Vector2 size)
Crop an image to a new given width and height based on a vector.
Definition: Image.hpp:404
+
Image & DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:572
+
Image & DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})
Definition: Image.hpp:588
Exception used for most raylib-related exceptions.
-
::Image Cellular(int width, int height, int tileSize)
Generate image: cellular algorithm.
Definition: Image.hpp:182
-
Image & ClearBackground(::Color color={0, 0, 0, 255})
Clear image background with given color.
Definition: Image.hpp:559
-
Image & RotateCW()
Rotate image clockwise 90deg.
Definition: Image.hpp:482
-
Image & AlphaMask(const ::Image &alphaMask)
Apply alpha mask to image.
Definition: Image.hpp:373
-
Image & ColorReplace(::Color color, ::Color replace)
Modify image color: replace color.
Definition: Image.hpp:542
-
inline ::Image Copy() const
Create an image duplicate (useful for transformations)
Definition: Image.hpp:327
+
Rectangle type.
Definition: Rectangle.hpp:12
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static inline ::Image LoadImage(const std::string &fileName)
Load an image.
Definition: Functions.hpp:210
+
static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension like "png".
Definition: Functions.hpp:233
+
static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
Load animated image data.
Definition: Functions.hpp:226
+
static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Load an image from RAW file data.
Definition: Functions.hpp:217
+
+ - + diff --git a/docs/_material_8hpp_source.html b/docs/_material_8hpp_source.html index d91aa3e0..07b39529 100644 --- a/docs/_material_8hpp_source.html +++ b/docs/_material_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Material.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Material.hpp
+
Material.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
-
3 
-
4 #include <string>
-
5 #include <vector>
-
6 
-
7 #include "./raylib.hpp"
-
8 #include "./raylib-cpp-utils.hpp"
-
9 
-
10 namespace raylib {
-
14 class Material : public ::Material {
-
15  public:
-
16  Material(const ::Material& material) {
-
17  set(material);
-
18  }
-
19 
- -
24  set(LoadMaterialDefault());
-
25  }
-
26 
-
27  Material(const Material&) = delete;
-
28 
-
29  Material(Material&& other) {
-
30  set(other);
-
31 
-
32  other.maps = nullptr;
-
33  other.shader = {};
-
34  }
-
35 
-
36  ~Material() {
-
37  Unload();
-
38  }
-
39 
-
43  static std::vector<Material> Load(const std::string& fileName) {
-
44  int count = 0;
-
45  // TODO(RobLoach): Material::Load() possibly leaks the materials array.
-
46  ::Material* materials = ::LoadMaterials(fileName.c_str(), &count);
-
47  return std::vector<Material>(materials, materials + count);
-
48  }
-
49 
-
50  GETTERSETTER(::Shader, Shader, shader)
-
51  GETTERSETTER(::MaterialMap*, Maps, maps)
-
52  // TODO(RobLoach): Resolve the Material params being a float[4].
-
53  // GETTERSETTER(float[4], Params, params)
-
54 
-
55  Material& operator=(const ::Material& material) {
-
56  set(material);
-
57  return *this;
-
58  }
-
59 
-
60  Material& operator=(const Material&) = delete;
-
61 
-
62  Material& operator=(Material&& other) noexcept {
-
63  if (this == &other) {
-
64  return *this;
-
65  }
-
66 
-
67  Unload();
-
68  set(other);
-
69 
-
70  other.maps = nullptr;
-
71  other.shader = {};
-
72 
-
73  return *this;
-
74  }
-
75 
-
79  inline void Unload() {
-
80  if (maps != nullptr) {
-
81  ::UnloadMaterial(*this);
-
82  maps = nullptr;
-
83  }
-
84  }
-
85 
-
89  inline Material& SetTexture(int mapType, const ::Texture2D& texture) {
-
90  ::SetMaterialTexture(this, mapType, texture);
-
91  return *this;
-
92  }
-
93 
-
97  inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix transform) const {
-
98  ::DrawMesh(mesh, *this, transform);
-
99  return *this;
-
100  }
-
101 
-
105  inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix* transforms, int instances) const {
-
106  ::DrawMeshInstanced(mesh, *this, transforms, instances);
-
107  return *this;
-
108  }
-
109 
-
110  private:
-
111  inline void set(const ::Material& material) {
-
112  shader = material.shader;
-
113  maps = material.maps;
-
114  params[0] = material.params[0];
-
115  params[1] = material.params[1];
-
116  params[2] = material.params[2];
-
117  params[3] = material.params[3];
-
118  }
-
119 };
-
120 } // namespace raylib
-
121 
-
122 #endif // RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
-
static std::vector< Material > Load(const std::string &fileName)
Load materials from model file.
Definition: Material.hpp:43
-
Material & SetTexture(int mapType, const ::Texture2D &texture)
Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
Definition: Material.hpp:89
+
1#ifndef RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
+
2#define RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
+
3
+
4#include <string>
+
5#include <vector>
+
6
+
7#include "./raylib.hpp"
+
8#include "./raylib-cpp-utils.hpp"
+
9
+
10namespace raylib {
+
14class Material : public ::Material {
+
15 public:
+
16 Material(const ::Material& material) {
+
17 set(material);
+
18 }
+
19
+ +
24 set(LoadMaterialDefault());
+
25 }
+
26
+
27 Material(const Material&) = delete;
+
28
+
29 Material(Material&& other) {
+
30 set(other);
+
31
+
32 other.maps = nullptr;
+
33 other.shader = {};
+
34 }
+
35
+ +
37 Unload();
+
38 }
+
39
+
43 static std::vector<Material> Load(const std::string& fileName) {
+
44 int count = 0;
+
45 // TODO(RobLoach): Material::Load() possibly leaks the materials array.
+
46 ::Material* materials = ::LoadMaterials(fileName.c_str(), &count);
+
47 return std::vector<Material>(materials, materials + count);
+
48 }
+
49
+
50 GETTERSETTER(::Shader, Shader, shader)
+
51 GETTERSETTER(::MaterialMap*, Maps, maps)
+
52 // TODO(RobLoach): Resolve the Material params being a float[4].
+
53 // GETTERSETTER(float[4], Params, params)
+
54
+
55 Material& operator=(const ::Material& material) {
+
56 set(material);
+
57 return *this;
+
58 }
+
59
+
60 Material& operator=(const Material&) = delete;
+
61
+
62 Material& operator=(Material&& other) noexcept {
+
63 if (this == &other) {
+
64 return *this;
+
65 }
+
66
+
67 Unload();
+
68 set(other);
+
69
+
70 other.maps = nullptr;
+
71 other.shader = {};
+
72
+
73 return *this;
+
74 }
+
75
+
79 inline void Unload() {
+
80 if (maps != nullptr) {
+
81 ::UnloadMaterial(*this);
+
82 maps = nullptr;
+
83 }
+
84 }
+
85
+
89 inline Material& SetTexture(int mapType, const ::Texture2D& texture) {
+
90 ::SetMaterialTexture(this, mapType, texture);
+
91 return *this;
+
92 }
+
93
+
97 inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix transform) const {
+
98 ::DrawMesh(mesh, *this, transform);
+
99 return *this;
+
100 }
+
101
+
105 inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix* transforms, int instances) const {
+
106 ::DrawMeshInstanced(mesh, *this, transforms, instances);
+
107 return *this;
+
108 }
+
109
+
110 private:
+
111 inline void set(const ::Material& material) {
+
112 shader = material.shader;
+
113 maps = material.maps;
+
114 params[0] = material.params[0];
+
115 params[1] = material.params[1];
+
116 params[2] = material.params[2];
+
117 params[3] = material.params[3];
+
118 }
+
119};
+
120} // namespace raylib
+
121
+
122#endif // RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
+
Material type (generic)
Definition: Material.hpp:14
+
static std::vector< Material > Load(const std::string &fileName)
Load materials from model file.
Definition: Material.hpp:43
+
const Material & DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const
Draw multiple mesh instances with material and different transforms.
Definition: Material.hpp:105
+
Material & SetTexture(int mapType, const ::Texture2D &texture)
Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
Definition: Material.hpp:89
+
void Unload()
Unload material from memory.
Definition: Material.hpp:79
+
Material(const Material &)=delete
Material()
Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
Definition: Material.hpp:23
+ +
const Material & DrawMesh(const ::Mesh &mesh, ::Matrix transform) const
Draw a 3d mesh with material and transform.
Definition: Material.hpp:97
+
Material(const ::Material &material)
Definition: Material.hpp:16
+
Material & operator=(Material &&other) noexcept
Definition: Material.hpp:62
+
Material & operator=(const Material &)=delete
+
Material(Material &&other)
Definition: Material.hpp:29
Shader type (generic)
Definition: Shader.hpp:14
-
void Unload()
Unload material from memory.
Definition: Material.hpp:79
-
const Material & DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const
Draw multiple mesh instances with material and different transforms.
Definition: Material.hpp:105
-
Material type (generic)
Definition: Material.hpp:14
-
const Material & DrawMesh(const ::Mesh &mesh, ::Matrix transform) const
Draw a 3d mesh with material and transform.
Definition: Material.hpp:97
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_matrix_8hpp_source.html b/docs/_matrix_8hpp_source.html index 49b9eed2..b79b0050 100644 --- a/docs/_matrix_8hpp_source.html +++ b/docs/_matrix_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Matrix.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Matrix.hpp
+
Matrix.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_MATRIX_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_MATRIX_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 #include "./raymath.hpp"
-
7 
-
8 #ifndef RAYLIB_CPP_NO_MATH
-
9 #include <cmath>
-
10 #endif
-
11 
-
12 namespace raylib {
-
16 class Matrix : public ::Matrix {
-
17  public:
-
18  Matrix(const ::Matrix& mat) {
-
19  set(mat);
-
20  }
-
21 
-
22  Matrix(
-
23  float m0 = 0, float m1 = 0, float m2 = 0, float m3 = 0, float m4 = 0, float m5 = 0,
-
24  float m6 = 0, float m7 = 0, float m8 = 0, float m9 = 0, float m10 = 0, float m11 = 0,
-
25  float m12 = 0, float m13 = 0, float m14 = 0,
-
26  float m15 = 0) : ::Matrix{m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15} {}
-
27 
-
28  GETTERSETTER(float, M0, m0)
-
29  GETTERSETTER(float, M1, m1)
-
30  GETTERSETTER(float, M2, m2)
-
31  GETTERSETTER(float, M3, m3)
-
32  GETTERSETTER(float, M4, m4)
-
33  GETTERSETTER(float, M5, m5)
-
34  GETTERSETTER(float, M6, m6)
-
35  GETTERSETTER(float, M7, m7)
-
36  GETTERSETTER(float, M8, m8)
-
37  GETTERSETTER(float, M9, m9)
-
38  GETTERSETTER(float, M10, m10)
-
39  GETTERSETTER(float, M11, m11)
-
40  GETTERSETTER(float, M12, m12)
-
41  GETTERSETTER(float, M13, m13)
-
42  GETTERSETTER(float, M14, m14)
-
43  GETTERSETTER(float, M15, m15)
-
44 
-
45  Matrix& operator=(const ::Matrix& matrix) {
-
46  set(matrix);
-
47  return *this;
-
48  }
-
49 
-
50  Matrix& operator=(const Matrix& matrix) {
-
51  set(matrix);
-
52  return *this;
-
53  }
-
54 
-
55  bool operator==(const ::Matrix& other) {
-
56  return m0 == other.m0
-
57  && m1 == other.m1
-
58  && m2 == other.m2
-
59  && m3 == other.m3
-
60  && m4 == other.m4
-
61  && m5 == other.m5
-
62  && m6 == other.m6
-
63  && m7 == other.m7
-
64  && m8 == other.m8
-
65  && m9 == other.m9
-
66  && m10 == other.m10
-
67  && m11 == other.m11
-
68  && m12 == other.m12
-
69  && m13 == other.m13
-
70  && m14 == other.m14
-
71  && m15 == other.m15;
-
72  }
-
73 
-
74  bool operator!=(const ::Matrix& other) {
-
75  return !(*this == other);
-
76  }
-
77 
-
78 #ifndef RAYLIB_CPP_NO_MATH
-
79 
-
82  inline float Trace() const {
-
83  return ::MatrixTrace(*this);
-
84  }
-
85 
-
89  inline Matrix Transpose() const {
-
90  return ::MatrixTranspose(*this);
-
91  }
-
92 
-
93  inline Matrix Invert() const {
-
94  return ::MatrixInvert(*this);
-
95  }
-
96 
-
97  inline Matrix Normalize() const {
-
98  return ::MatrixNormalize(*this);
-
99  }
-
100 
-
101  static Matrix Identity() {
-
102  return ::MatrixIdentity();
-
103  }
-
104 
-
105  Matrix Add(const ::Matrix& right) {
-
106  return ::MatrixAdd(*this, right);
-
107  }
-
108 
-
109  Matrix operator+(const ::Matrix& matrix) {
-
110  return ::MatrixAdd(*this, matrix);
-
111  }
-
112 
-
113  Matrix Subtract(const ::Matrix& right) {
-
114  return ::MatrixSubtract(*this, right);
-
115  }
-
116 
-
117  Matrix operator-(const ::Matrix& matrix) {
-
118  return ::MatrixSubtract(*this, matrix);
-
119  }
-
120 
-
121  static Matrix Translate(float x, float y, float z) {
-
122  return ::MatrixTranslate(x, y, z);
-
123  }
-
124 
-
125  static Matrix Rotate(Vector3 axis, float angle) {
-
126  return ::MatrixRotate(axis, angle);
-
127  }
-
128 
-
129  static Matrix RotateXYZ(Vector3 angle) {
-
130  return ::MatrixRotateXYZ(angle);
-
131  }
-
132 
-
133  static Matrix RotateX(float angle) {
-
134  return ::MatrixRotateX(angle);
-
135  }
-
136 
-
137  static Matrix RotateY(float angle) {
-
138  return ::MatrixRotateY(angle);
-
139  }
-
140 
-
141  static Matrix RotateZ(float angle) {
-
142  return ::MatrixRotateZ(angle);
-
143  }
-
144 
-
145  static Matrix Scale(float x, float y, float z) {
-
146  return ::MatrixScale(x, y, z);
-
147  }
-
148 
-
149  Matrix Multiply(const ::Matrix& right) const {
-
150  return ::MatrixMultiply(*this, right);
-
151  }
-
152 
-
153  Matrix operator*(const ::Matrix& matrix) {
-
154  return ::MatrixMultiply(*this, matrix);
-
155  }
-
156 
-
157  static Matrix Frustum(double left, double right, double bottom, double top,
-
158  double near, double far) {
-
159  return ::MatrixFrustum(left, right, bottom, top, near, far);
-
160  }
-
161 
-
162  static Matrix Perspective(double fovy, double aspect, double near, double far) {
-
163  return ::MatrixPerspective(fovy, aspect, near, far);
-
164  }
-
165 
-
166  static Matrix Ortho(double left, double right, double bottom, double top,
-
167  double near, double far) {
-
168  return ::MatrixOrtho(left, right, bottom, top, near, far);
-
169  }
-
170 
-
171  static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up) {
-
172  return ::MatrixLookAt(eye, target, up);
-
173  }
-
174 
-
175  inline float16 ToFloatV() const {
-
176  return ::MatrixToFloatV(*this);
-
177  }
-
178 
-
179  operator float16() {
-
180  return ToFloatV();
-
181  }
-
182 
-
186  inline Matrix& SetShaderValue(::Shader shader, int uniformLoc) {
-
187  ::SetShaderValueMatrix(shader, uniformLoc, *this);
-
188  return *this;
-
189  }
-
190 
-
191 #endif
-
192 
-
193  private:
-
194  inline void set(const ::Matrix& mat) {
-
195  m0 = mat.m0;
-
196  m1 = mat.m1;
-
197  m2 = mat.m2;
-
198  m3 = mat.m3;
-
199  m4 = mat.m4;
-
200  m5 = mat.m5;
-
201  m6 = mat.m6;
-
202  m7 = mat.m7;
-
203  m8 = mat.m8;
-
204  m9 = mat.m9;
-
205  m10 = mat.m10;
-
206  m11 = mat.m11;
-
207  m12 = mat.m12;
-
208  m13 = mat.m13;
-
209  m14 = mat.m14;
-
210  m15 = mat.m15;
-
211  }
-
212 };
-
213 } // namespace raylib
-
214 
-
215 
-
216 #endif // RAYLIB_CPP_INCLUDE_MATRIX_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Matrix Transpose() const
Transposes provided matrix.
Definition: Matrix.hpp:89
+
1#ifndef RAYLIB_CPP_INCLUDE_MATRIX_HPP_
+
2#define RAYLIB_CPP_INCLUDE_MATRIX_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6#include "./raymath.hpp"
+
7
+
8#ifndef RAYLIB_CPP_NO_MATH
+
9#include <cmath>
+
10#endif
+
11
+
12namespace raylib {
+
16class Matrix : public ::Matrix {
+
17 public:
+
18 Matrix(const ::Matrix& mat) {
+
19 set(mat);
+
20 }
+
21
+ +
23 float m0 = 0, float m1 = 0, float m2 = 0, float m3 = 0, float m4 = 0, float m5 = 0,
+
24 float m6 = 0, float m7 = 0, float m8 = 0, float m9 = 0, float m10 = 0, float m11 = 0,
+
25 float m12 = 0, float m13 = 0, float m14 = 0,
+
26 float m15 = 0) : ::Matrix{m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15} {}
+
27
+
28 GETTERSETTER(float, M0, m0)
+
29 GETTERSETTER(float, M1, m1)
+
30 GETTERSETTER(float, M2, m2)
+
31 GETTERSETTER(float, M3, m3)
+
32 GETTERSETTER(float, M4, m4)
+
33 GETTERSETTER(float, M5, m5)
+
34 GETTERSETTER(float, M6, m6)
+
35 GETTERSETTER(float, M7, m7)
+
36 GETTERSETTER(float, M8, m8)
+
37 GETTERSETTER(float, M9, m9)
+
38 GETTERSETTER(float, M10, m10)
+
39 GETTERSETTER(float, M11, m11)
+
40 GETTERSETTER(float, M12, m12)
+
41 GETTERSETTER(float, M13, m13)
+
42 GETTERSETTER(float, M14, m14)
+
43 GETTERSETTER(float, M15, m15)
+
44
+
45 Matrix& operator=(const ::Matrix& matrix) {
+
46 set(matrix);
+
47 return *this;
+
48 }
+
49
+
50 Matrix& operator=(const Matrix& matrix) {
+
51 set(matrix);
+
52 return *this;
+
53 }
+
54
+
55 bool operator==(const ::Matrix& other) {
+
56 return m0 == other.m0
+
57 && m1 == other.m1
+
58 && m2 == other.m2
+
59 && m3 == other.m3
+
60 && m4 == other.m4
+
61 && m5 == other.m5
+
62 && m6 == other.m6
+
63 && m7 == other.m7
+
64 && m8 == other.m8
+
65 && m9 == other.m9
+
66 && m10 == other.m10
+
67 && m11 == other.m11
+
68 && m12 == other.m12
+
69 && m13 == other.m13
+
70 && m14 == other.m14
+
71 && m15 == other.m15;
+
72 }
+
73
+
74 bool operator!=(const ::Matrix& other) {
+
75 return !(*this == other);
+
76 }
+
77
+
78#ifndef RAYLIB_CPP_NO_MATH
+
82 inline float Trace() const {
+
83 return ::MatrixTrace(*this);
+
84 }
+
85
+
89 inline Matrix Transpose() const {
+
90 return ::MatrixTranspose(*this);
+
91 }
+
92
+
93 inline Matrix Invert() const {
+
94 return ::MatrixInvert(*this);
+
95 }
+
96
+
97 inline Matrix Normalize() const {
+
98 return ::MatrixNormalize(*this);
+
99 }
+
100
+
101 static Matrix Identity() {
+
102 return ::MatrixIdentity();
+
103 }
+
104
+
105 Matrix Add(const ::Matrix& right) {
+
106 return ::MatrixAdd(*this, right);
+
107 }
+
108
+
109 Matrix operator+(const ::Matrix& matrix) {
+
110 return ::MatrixAdd(*this, matrix);
+
111 }
+
112
+
113 Matrix Subtract(const ::Matrix& right) {
+
114 return ::MatrixSubtract(*this, right);
+
115 }
+
116
+
117 Matrix operator-(const ::Matrix& matrix) {
+
118 return ::MatrixSubtract(*this, matrix);
+
119 }
+
120
+
121 static Matrix Translate(float x, float y, float z) {
+
122 return ::MatrixTranslate(x, y, z);
+
123 }
+
124
+
125 static Matrix Rotate(Vector3 axis, float angle) {
+
126 return ::MatrixRotate(axis, angle);
+
127 }
+
128
+
129 static Matrix RotateXYZ(Vector3 angle) {
+
130 return ::MatrixRotateXYZ(angle);
+
131 }
+
132
+
133 static Matrix RotateX(float angle) {
+
134 return ::MatrixRotateX(angle);
+
135 }
+
136
+
137 static Matrix RotateY(float angle) {
+
138 return ::MatrixRotateY(angle);
+
139 }
+
140
+
141 static Matrix RotateZ(float angle) {
+
142 return ::MatrixRotateZ(angle);
+
143 }
+
144
+
145 static Matrix Scale(float x, float y, float z) {
+
146 return ::MatrixScale(x, y, z);
+
147 }
+
148
+
149 Matrix Multiply(const ::Matrix& right) const {
+
150 return ::MatrixMultiply(*this, right);
+
151 }
+
152
+
153 Matrix operator*(const ::Matrix& matrix) {
+
154 return ::MatrixMultiply(*this, matrix);
+
155 }
+
156
+
157 static Matrix Frustum(double left, double right, double bottom, double top,
+
158 double near, double far) {
+
159 return ::MatrixFrustum(left, right, bottom, top, near, far);
+
160 }
+
161
+
162 static Matrix Perspective(double fovy, double aspect, double near, double far) {
+
163 return ::MatrixPerspective(fovy, aspect, near, far);
+
164 }
+
165
+
166 static Matrix Ortho(double left, double right, double bottom, double top,
+
167 double near, double far) {
+
168 return ::MatrixOrtho(left, right, bottom, top, near, far);
+
169 }
+
170
+
171 static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up) {
+
172 return ::MatrixLookAt(eye, target, up);
+
173 }
+
174
+
175 inline float16 ToFloatV() const {
+
176 return ::MatrixToFloatV(*this);
+
177 }
+
178
+
179 operator float16() {
+
180 return ToFloatV();
+
181 }
+
182
+
186 inline Matrix& SetShaderValue(::Shader shader, int uniformLoc) {
+
187 ::SetShaderValueMatrix(shader, uniformLoc, *this);
+
188 return *this;
+
189 }
+
190
+
191#endif
+
192
+
193 private:
+
194 inline void set(const ::Matrix& mat) {
+
195 m0 = mat.m0;
+
196 m1 = mat.m1;
+
197 m2 = mat.m2;
+
198 m3 = mat.m3;
+
199 m4 = mat.m4;
+
200 m5 = mat.m5;
+
201 m6 = mat.m6;
+
202 m7 = mat.m7;
+
203 m8 = mat.m8;
+
204 m9 = mat.m9;
+
205 m10 = mat.m10;
+
206 m11 = mat.m11;
+
207 m12 = mat.m12;
+
208 m13 = mat.m13;
+
209 m14 = mat.m14;
+
210 m15 = mat.m15;
+
211 }
+
212};
+
213} // namespace raylib
+
214
+
215
+
216#endif // RAYLIB_CPP_INCLUDE_MATRIX_HPP_
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
-
Matrix & SetShaderValue(::Shader shader, int uniformLoc)
Set shader uniform value (matrix 4x4)
Definition: Matrix.hpp:186
-
Shader type (generic)
Definition: Shader.hpp:14
+
Matrix(const ::Matrix &mat)
Definition: Matrix.hpp:18
+
Matrix Normalize() const
Definition: Matrix.hpp:97
+
Matrix Subtract(const ::Matrix &right)
Definition: Matrix.hpp:113
+
Matrix & SetShaderValue(::Shader shader, int uniformLoc)
Set shader uniform value (matrix 4x4)
Definition: Matrix.hpp:186
+
Matrix operator-(const ::Matrix &matrix)
Definition: Matrix.hpp:117
+
static Matrix RotateXYZ(Vector3 angle)
Definition: Matrix.hpp:129
+
static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up)
Definition: Matrix.hpp:171
+
float16 ToFloatV() const
Definition: Matrix.hpp:175
+
static Matrix Scale(float x, float y, float z)
Definition: Matrix.hpp:145
+
Matrix & operator=(const Matrix &matrix)
Definition: Matrix.hpp:50
+
static Matrix Translate(float x, float y, float z)
Definition: Matrix.hpp:121
float Trace() const
Returns the trace of the matrix (sum of the values along the diagonal)
Definition: Matrix.hpp:82
+
Matrix Transpose() const
Transposes provided matrix.
Definition: Matrix.hpp:89
+
static Matrix RotateZ(float angle)
Definition: Matrix.hpp:141
+
bool operator!=(const ::Matrix &other)
Definition: Matrix.hpp:74
+
Matrix Invert() const
Definition: Matrix.hpp:93
+
static Matrix RotateY(float angle)
Definition: Matrix.hpp:137
+
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:22
+
Matrix Add(const ::Matrix &right)
Definition: Matrix.hpp:105
+
static Matrix Identity()
Definition: Matrix.hpp:101
+
bool operator==(const ::Matrix &other)
Definition: Matrix.hpp:55
+
Matrix operator+(const ::Matrix &matrix)
Definition: Matrix.hpp:109
+
static Matrix Rotate(Vector3 axis, float angle)
Definition: Matrix.hpp:125
+
static Matrix Frustum(double left, double right, double bottom, double top, double near, double far)
Definition: Matrix.hpp:157
+
static Matrix Ortho(double left, double right, double bottom, double top, double near, double far)
Definition: Matrix.hpp:166
+
static Matrix Perspective(double fovy, double aspect, double near, double far)
Definition: Matrix.hpp:162
+
Matrix operator*(const ::Matrix &matrix)
Definition: Matrix.hpp:153
+
static Matrix RotateX(float angle)
Definition: Matrix.hpp:133
+
Matrix Multiply(const ::Matrix &right) const
Definition: Matrix.hpp:149
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_mesh_8hpp_source.html b/docs/_mesh_8hpp_source.html index 0b48a934..3f9aed89 100644 --- a/docs/_mesh_8hpp_source.html +++ b/docs/_mesh_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Mesh.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Mesh.hpp
+
Mesh.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_MESH_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_MESH_HPP_
-
3 
-
4 #include <string>
-
5 #include <vector>
-
6 
-
7 #include "./raylib.hpp"
-
8 #include "./raylib-cpp-utils.hpp"
-
9 #include "./BoundingBox.hpp"
-
10 #include "./Model.hpp"
-
11 
-
12 namespace raylib {
-
16 class Mesh : public ::Mesh {
-
17  public:
-
18  Mesh(const ::Mesh& mesh) {
-
19  set(mesh);
-
20  }
-
21 
-
22  Mesh(int vertexCount, int triangleCount) : ::Mesh{
-
23  vertexCount,
-
24  triangleCount,
-
25  nullptr,
-
26  nullptr,
-
27  nullptr,
-
28  nullptr,
-
29  nullptr,
-
30  nullptr,
-
31  nullptr,
-
32  nullptr,
-
33  nullptr,
-
34  nullptr,
-
35  nullptr,
-
36  0,
-
37  nullptr
-
38  } {}
-
39 
-
43  // static std::vector<Mesh> Load(const std::string& fileName) {
-
44  // int count = 0;
-
45  // ::Mesh* meshes = LoadMeshes(fileName.c_str(), &count);
-
46  // return std::vector<Mesh>(meshes, meshes + count);
-
47  // }
-
48 
-
49  Mesh(const Mesh&) = delete;
-
50 
-
51  Mesh(Mesh&& other) {
-
52  set(other);
-
53 
-
54  other.vertexCount = 0;
-
55  other.triangleCount = 0;
-
56  other.vertices = nullptr;
-
57  other.texcoords = nullptr;
-
58  other.texcoords2 = nullptr;
-
59  other.normals = nullptr;
-
60  other.tangents = nullptr;
-
61  other.colors = nullptr;
-
62  other.indices = nullptr;
-
63  other.animVertices = nullptr;
-
64  other.animNormals = nullptr;
-
65  other.boneIds = nullptr;
-
66  other.boneWeights = nullptr;
-
67  other.vaoId = 0;
-
68  other.vboId = nullptr;
-
69  }
-
70 
-
74  static ::Mesh Poly(int sides, float radius) {
-
75  return ::GenMeshPoly(sides, radius);
-
76  }
-
77 
-
81  static ::Mesh Plane(float width, float length, int resX, int resZ) {
-
82  return ::GenMeshPlane(width, length, resX, resZ);
-
83  }
-
84 
-
88  static ::Mesh Cube(float width, float height, float length) {
-
89  return ::GenMeshCube(width, height, length);
-
90  }
-
91 
-
95  static ::Mesh Sphere(float radius, int rings, int slices) {
-
96  return ::GenMeshSphere(radius, rings, slices);
-
97  }
-
98 
-
102  static ::Mesh HemiSphere(float radius, int rings, int slices) {
-
103  return ::GenMeshHemiSphere(radius, rings, slices);
-
104  }
-
105 
-
109  static ::Mesh Cylinder(float radius, float height, int slices) {
-
110  return ::GenMeshCylinder(radius, height, slices);
-
111  }
-
112 
-
116  static ::Mesh Torus(float radius, float size, int radSeg, int sides) {
-
117  return ::GenMeshTorus(radius, size, radSeg, sides);
-
118  }
-
119 
-
123  static ::Mesh Knot(float radius, float size, int radSeg, int sides) {
-
124  return ::GenMeshKnot(radius, size, radSeg, sides);
-
125  }
-
126 
-
130  static ::Mesh Heightmap(const ::Image& heightmap, ::Vector3 size) {
-
131  return ::GenMeshHeightmap(heightmap, size);
-
132  }
-
133 
-
137  static ::Mesh Cubicmap(const ::Image& cubicmap, ::Vector3 cubeSize) {
-
138  return ::GenMeshCubicmap(cubicmap, cubeSize);
-
139  }
-
140 
-
141  GETTERSETTER(int, VertexCount, vertexCount)
-
142  GETTERSETTER(int, TriangleCount, triangleCount)
-
143  GETTERSETTER(float*, Vertices, vertices)
-
144  GETTERSETTER(float *, TexCoords, texcoords)
-
145  GETTERSETTER(float *, TexCoords2, texcoords2)
-
146  GETTERSETTER(float *, Normals, normals)
-
147  GETTERSETTER(float *, Tangents, tangents)
-
148  GETTERSETTER(unsigned char *, Colors, colors)
-
149  GETTERSETTER(unsigned short *, Indices, indices) // NOLINT
-
150  GETTERSETTER(float *, AnimVertices, animVertices)
-
151  GETTERSETTER(float *, AnimNormals, animNormals)
-
152  GETTERSETTER(unsigned char *, BoneIds, boneIds)
-
153  GETTERSETTER(float *, BoneWeights, boneWeights)
-
154  GETTERSETTER(unsigned int, VaoId, vaoId)
-
155  GETTERSETTER(unsigned int *, VboId, vboId)
-
156 
-
157  Mesh& operator=(const ::Mesh& mesh) {
-
158  set(mesh);
-
159  return *this;
-
160  }
-
161 
-
162  Mesh& operator=(const Mesh&) = delete;
-
163 
-
164  Mesh& operator=(Mesh&& other) noexcept {
-
165  if (this == &other) {
-
166  return *this;
-
167  }
-
168 
-
169  Unload();
-
170  set(other);
-
171 
-
172  other.vertexCount = 0;
-
173  other.triangleCount = 0;
-
174  other.vertices = nullptr;
-
175  other.texcoords = nullptr;
-
176  other.texcoords2 = nullptr;
-
177  other.normals = nullptr;
-
178  other.tangents = nullptr;
-
179  other.colors = nullptr;
-
180  other.indices = nullptr;
-
181  other.animVertices = nullptr;
-
182  other.animNormals = nullptr;
-
183  other.boneIds = nullptr;
-
184  other.boneWeights = nullptr;
-
185  other.vaoId = 0;
-
186  other.vboId = nullptr;
-
187 
-
188  return *this;
-
189  }
-
190 
-
191  ~Mesh() {
-
192  Unload();
-
193  }
-
194 
-
198  inline void Upload(bool dynamic = false) {
-
199  ::UploadMesh(this, dynamic);
-
200  }
-
201 
-
205  inline void UpdateBuffer(int index, void *data, int dataSize, int offset = 0) {
-
206  ::UpdateMeshBuffer(*this, index, data, dataSize, offset);
-
207  }
-
208 
-
212  inline void Draw(const ::Material& material, const ::Matrix& transform) {
-
213  ::DrawMesh(*this, material, transform);
-
214  }
-
215 
-
219  inline void Draw(const ::Material& material, ::Matrix* transforms, int instances) {
-
220  ::DrawMeshInstanced(*this, material, transforms, instances);
-
221  }
-
222 
-
226  inline bool Export(const std::string& fileName) {
-
227  // TODO(RobLoach): Switch to an exception when failed.
-
228  return ExportMesh(*this, fileName.c_str());
-
229  }
-
230 
-
234  inline void Unload() {
-
235  if (vboId != nullptr) {
-
236  ::UnloadMesh(*this);
-
237  vboId = nullptr;
-
238  }
-
239  }
-
240 
- -
245  return ::GetMeshBoundingBox(*this);
-
246  }
-
247 
-
251  operator raylib::BoundingBox() {
-
252  return BoundingBox();
-
253  }
-
254 
-
258  inline Mesh& GenTangents() {
-
259  ::GenMeshTangents(this);
-
260  return *this;
-
261  }
-
262 
-
266  inline Mesh& GenBinormals() {
-
267  ::GenMeshBinormals(this);
-
268  return *this;
-
269  }
-
270 
-
274  inline raylib::Model LoadModelFrom() const {
-
275  return ::LoadModelFromMesh(*this);
-
276  }
-
277 
-
281  operator raylib::Model() {
-
282  return ::LoadModelFromMesh(*this);
-
283  }
-
284 
-
285  private:
-
286  inline void set(const ::Mesh& mesh) {
-
287  vertexCount = mesh.vertexCount;
-
288  triangleCount = mesh.triangleCount;
-
289  vertices = mesh.vertices;
-
290  texcoords = mesh.texcoords;
-
291  texcoords2 = mesh.texcoords2;
-
292  normals = mesh.normals;
-
293  tangents = mesh.tangents;
-
294  colors = mesh.colors;
-
295  indices = mesh.indices;
-
296  animVertices = mesh.animVertices;
-
297  animNormals = mesh.animNormals;
-
298  boneIds = mesh.boneIds;
-
299  boneWeights = mesh.boneWeights;
-
300  vaoId = mesh.vaoId;
-
301  vboId = mesh.vboId;
-
302  }
-
303 };
-
304 } // namespace raylib
-
305 
-
306 #endif // RAYLIB_CPP_INCLUDE_MESH_HPP_
-
-
::Mesh Cube(float width, float height, float length)
Generate cuboid mesh.
Definition: Mesh.hpp:88
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
-
bool Export(const std::string &fileName)
Export mesh data to file.
Definition: Mesh.hpp:226
+
1#ifndef RAYLIB_CPP_INCLUDE_MESH_HPP_
+
2#define RAYLIB_CPP_INCLUDE_MESH_HPP_
+
3
+
4#include <string>
+
5#include <vector>
+
6
+
7#include "./raylib.hpp"
+
8#include "./raylib-cpp-utils.hpp"
+
9#include "./BoundingBox.hpp"
+
10#include "./Model.hpp"
+
11
+
12namespace raylib {
+
16class Mesh : public ::Mesh {
+
17 public:
+
18 Mesh(const ::Mesh& mesh) {
+
19 set(mesh);
+
20 }
+
21
+
22 Mesh(int vertexCount, int triangleCount) : ::Mesh{
+
23 vertexCount,
+
24 triangleCount,
+
25 nullptr,
+
26 nullptr,
+
27 nullptr,
+
28 nullptr,
+
29 nullptr,
+
30 nullptr,
+
31 nullptr,
+
32 nullptr,
+
33 nullptr,
+
34 nullptr,
+
35 nullptr,
+
36 0,
+
37 nullptr
+
38 } {}
+
39
+
43 // static std::vector<Mesh> Load(const std::string& fileName) {
+
44 // int count = 0;
+
45 // ::Mesh* meshes = LoadMeshes(fileName.c_str(), &count);
+
46 // return std::vector<Mesh>(meshes, meshes + count);
+
47 // }
+
48
+
49 Mesh(const Mesh&) = delete;
+
50
+
51 Mesh(Mesh&& other) {
+
52 set(other);
+
53
+
54 other.vertexCount = 0;
+
55 other.triangleCount = 0;
+
56 other.vertices = nullptr;
+
57 other.texcoords = nullptr;
+
58 other.texcoords2 = nullptr;
+
59 other.normals = nullptr;
+
60 other.tangents = nullptr;
+
61 other.colors = nullptr;
+
62 other.indices = nullptr;
+
63 other.animVertices = nullptr;
+
64 other.animNormals = nullptr;
+
65 other.boneIds = nullptr;
+
66 other.boneWeights = nullptr;
+
67 other.vaoId = 0;
+
68 other.vboId = nullptr;
+
69 }
+
70
+
74 static ::Mesh Poly(int sides, float radius) {
+
75 return ::GenMeshPoly(sides, radius);
+
76 }
+
77
+
81 static ::Mesh Plane(float width, float length, int resX, int resZ) {
+
82 return ::GenMeshPlane(width, length, resX, resZ);
+
83 }
+
84
+
88 static ::Mesh Cube(float width, float height, float length) {
+
89 return ::GenMeshCube(width, height, length);
+
90 }
+
91
+
95 static ::Mesh Sphere(float radius, int rings, int slices) {
+
96 return ::GenMeshSphere(radius, rings, slices);
+
97 }
+
98
+
102 static ::Mesh HemiSphere(float radius, int rings, int slices) {
+
103 return ::GenMeshHemiSphere(radius, rings, slices);
+
104 }
+
105
+
109 static ::Mesh Cylinder(float radius, float height, int slices) {
+
110 return ::GenMeshCylinder(radius, height, slices);
+
111 }
+
112
+
116 static ::Mesh Torus(float radius, float size, int radSeg, int sides) {
+
117 return ::GenMeshTorus(radius, size, radSeg, sides);
+
118 }
+
119
+
123 static ::Mesh Knot(float radius, float size, int radSeg, int sides) {
+
124 return ::GenMeshKnot(radius, size, radSeg, sides);
+
125 }
+
126
+
130 static ::Mesh Heightmap(const ::Image& heightmap, ::Vector3 size) {
+
131 return ::GenMeshHeightmap(heightmap, size);
+
132 }
+
133
+
137 static ::Mesh Cubicmap(const ::Image& cubicmap, ::Vector3 cubeSize) {
+
138 return ::GenMeshCubicmap(cubicmap, cubeSize);
+
139 }
+
140
+
141 GETTERSETTER(int, VertexCount, vertexCount)
+
142 GETTERSETTER(int, TriangleCount, triangleCount)
+
143 GETTERSETTER(float*, Vertices, vertices)
+
144 GETTERSETTER(float *, TexCoords, texcoords)
+
145 GETTERSETTER(float *, TexCoords2, texcoords2)
+
146 GETTERSETTER(float *, Normals, normals)
+
147 GETTERSETTER(float *, Tangents, tangents)
+
148 GETTERSETTER(unsigned char *, Colors, colors)
+
149 GETTERSETTER(unsigned short *, Indices, indices) // NOLINT
+
150 GETTERSETTER(float *, AnimVertices, animVertices)
+
151 GETTERSETTER(float *, AnimNormals, animNormals)
+
152 GETTERSETTER(unsigned char *, BoneIds, boneIds)
+
153 GETTERSETTER(float *, BoneWeights, boneWeights)
+
154 GETTERSETTER(unsigned int, VaoId, vaoId)
+
155 GETTERSETTER(unsigned int *, VboId, vboId)
+
156
+
157 Mesh& operator=(const ::Mesh& mesh) {
+
158 set(mesh);
+
159 return *this;
+
160 }
+
161
+
162 Mesh& operator=(const Mesh&) = delete;
+
163
+
164 Mesh& operator=(Mesh&& other) noexcept {
+
165 if (this == &other) {
+
166 return *this;
+
167 }
+
168
+
169 Unload();
+
170 set(other);
+
171
+
172 other.vertexCount = 0;
+
173 other.triangleCount = 0;
+
174 other.vertices = nullptr;
+
175 other.texcoords = nullptr;
+
176 other.texcoords2 = nullptr;
+
177 other.normals = nullptr;
+
178 other.tangents = nullptr;
+
179 other.colors = nullptr;
+
180 other.indices = nullptr;
+
181 other.animVertices = nullptr;
+
182 other.animNormals = nullptr;
+
183 other.boneIds = nullptr;
+
184 other.boneWeights = nullptr;
+
185 other.vaoId = 0;
+
186 other.vboId = nullptr;
+
187
+
188 return *this;
+
189 }
+
190
+ +
192 Unload();
+
193 }
+
194
+
198 inline void Upload(bool dynamic = false) {
+
199 ::UploadMesh(this, dynamic);
+
200 }
+
201
+
205 inline void UpdateBuffer(int index, void *data, int dataSize, int offset = 0) {
+
206 ::UpdateMeshBuffer(*this, index, data, dataSize, offset);
+
207 }
+
208
+
212 inline void Draw(const ::Material& material, const ::Matrix& transform) {
+
213 ::DrawMesh(*this, material, transform);
+
214 }
+
215
+
219 inline void Draw(const ::Material& material, ::Matrix* transforms, int instances) {
+
220 ::DrawMeshInstanced(*this, material, transforms, instances);
+
221 }
+
222
+
226 inline bool Export(const std::string& fileName) {
+
227 // TODO(RobLoach): Switch to an exception when failed.
+
228 return ExportMesh(*this, fileName.c_str());
+
229 }
+
230
+
234 inline void Unload() {
+
235 if (vboId != nullptr) {
+
236 ::UnloadMesh(*this);
+
237 vboId = nullptr;
+
238 }
+
239 }
+
240
+ +
245 return ::GetMeshBoundingBox(*this);
+
246 }
+
247
+ +
252 return BoundingBox();
+
253 }
+
254
+
258 inline Mesh& GenTangents() {
+
259 ::GenMeshTangents(this);
+
260 return *this;
+
261 }
+
262
+
266 inline Mesh& GenBinormals() {
+
267 ::GenMeshBinormals(this);
+
268 return *this;
+
269 }
+
270
+ +
275 return ::LoadModelFromMesh(*this);
+
276 }
+
277
+
281 operator raylib::Model() {
+
282 return ::LoadModelFromMesh(*this);
+
283 }
+
284
+
285 private:
+
286 inline void set(const ::Mesh& mesh) {
+
287 vertexCount = mesh.vertexCount;
+
288 triangleCount = mesh.triangleCount;
+
289 vertices = mesh.vertices;
+
290 texcoords = mesh.texcoords;
+
291 texcoords2 = mesh.texcoords2;
+
292 normals = mesh.normals;
+
293 tangents = mesh.tangents;
+
294 colors = mesh.colors;
+
295 indices = mesh.indices;
+
296 animVertices = mesh.animVertices;
+
297 animNormals = mesh.animNormals;
+
298 boneIds = mesh.boneIds;
+
299 boneWeights = mesh.boneWeights;
+
300 vaoId = mesh.vaoId;
+
301 vboId = mesh.vboId;
+
302 }
+
303};
+
304} // namespace raylib
+
305
+
306#endif // RAYLIB_CPP_INCLUDE_MESH_HPP_
+
Bounding box type.
Definition: BoundingBox.hpp:11
+
Vertex data definning a mesh.
Definition: Mesh.hpp:16
raylib::BoundingBox BoundingBox() const
Compute mesh bounding box limits.
Definition: Mesh.hpp:244
+
Mesh(const Mesh &)=delete
Load meshes from model file.
+
void Draw(const ::Material &material, const ::Matrix &transform)
Draw a 3d mesh with material and transform.
Definition: Mesh.hpp:212
+
raylib::Model LoadModelFrom() const
Load model from generated mesh.
Definition: Mesh.hpp:274
+
Mesh(const ::Mesh &mesh)
Definition: Mesh.hpp:18
+
::Mesh Sphere(float radius, int rings, int slices)
Generate sphere mesh (standard sphere)
Definition: Mesh.hpp:95
+
::Mesh Knot(float radius, float size, int radSeg, int sides)
Generate trefoil knot mesh.
Definition: Mesh.hpp:123
+
void Unload()
Unload mesh from memory (RAM and/or VRAM)
Definition: Mesh.hpp:234
+
void UpdateBuffer(int index, void *data, int dataSize, int offset=0)
Upload mesh vertex data to GPU (VRAM)
Definition: Mesh.hpp:205
+
::Mesh Cube(float width, float height, float length)
Generate cuboid mesh.
Definition: Mesh.hpp:88
+
::Mesh Plane(float width, float length, int resX, int resZ)
Generate plane mesh (with subdivisions)
Definition: Mesh.hpp:81
+
Mesh & operator=(const Mesh &)=delete
::Mesh Poly(int sides, float radius)
Generate polygonal mesh.
Definition: Mesh.hpp:74
-
::Mesh Torus(float radius, float size, int radSeg, int sides)
Generate torus mesh.
Definition: Mesh.hpp:116
-
Vector3 type.
Definition: Vector3.hpp:16
::Mesh HemiSphere(float radius, int rings, int slices)
Generate half-sphere mesh (no bottom cap)
Definition: Mesh.hpp:102
-
Mesh & GenTangents()
Compute mesh tangents.
Definition: Mesh.hpp:258
+
Mesh(Mesh &&other)
Definition: Mesh.hpp:51
+
::Mesh Torus(float radius, float size, int radSeg, int sides)
Generate torus mesh.
Definition: Mesh.hpp:116
void Upload(bool dynamic=false)
Upload mesh vertex data to GPU (VRAM)
Definition: Mesh.hpp:198
-
void Unload()
Unload mesh from memory (RAM and/or VRAM)
Definition: Mesh.hpp:234
-
Vertex data definning a mesh.
Definition: Mesh.hpp:16
+
bool Export(const std::string &fileName)
Export mesh data to file.
Definition: Mesh.hpp:226
+
Mesh(int vertexCount, int triangleCount)
Definition: Mesh.hpp:22
+
Mesh & GenBinormals()
Compute mesh binormals (aka bitangent)
Definition: Mesh.hpp:266
::Mesh Heightmap(const ::Image &heightmap, ::Vector3 size)
Generate heightmap mesh from image data.
Definition: Mesh.hpp:130
-
::Mesh Knot(float radius, float size, int radSeg, int sides)
Generate trefoil knot mesh.
Definition: Mesh.hpp:123
+
Mesh & GenTangents()
Compute mesh tangents.
Definition: Mesh.hpp:258
+
Mesh & operator=(Mesh &&other) noexcept
Definition: Mesh.hpp:164
+
::Mesh Cylinder(float radius, float height, int slices)
Generate cylinder mesh.
Definition: Mesh.hpp:109
+
::Mesh Cubicmap(const ::Image &cubicmap, ::Vector3 cubeSize)
Generate cubes-based map mesh from image data.
Definition: Mesh.hpp:137
-
::Mesh Sphere(float radius, int rings, int slices)
Generate sphere mesh (standard sphere)
Definition: Mesh.hpp:95
-
Mesh & GenBinormals()
Compute mesh binormals (aka bitangent)
Definition: Mesh.hpp:266
-
Model type.
Definition: Model.hpp:15
void Draw(const ::Material &material, ::Matrix *transforms, int instances)
Draw multiple mesh instances with material and different transforms.
Definition: Mesh.hpp:219
-
::Mesh Cylinder(float radius, float height, int slices)
Generate cylinder mesh.
Definition: Mesh.hpp:109
-
Bounding box type.
Definition: BoundingBox.hpp:11
-
raylib::Model LoadModelFrom() const
Load model from generated mesh.
Definition: Mesh.hpp:274
-
void Draw(const ::Material &material, const ::Matrix &transform)
Draw a 3d mesh with material and transform.
Definition: Mesh.hpp:212
-
void UpdateBuffer(int index, void *data, int dataSize, int offset=0)
Upload mesh vertex data to GPU (VRAM)
Definition: Mesh.hpp:205
-
::Mesh Plane(float width, float length, int resX, int resZ)
Generate plane mesh (with subdivisions)
Definition: Mesh.hpp:81
+
Model type.
Definition: Model.hpp:15
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_model_8hpp_source.html b/docs/_model_8hpp_source.html index 334c75cc..f44aec08 100644 --- a/docs/_model_8hpp_source.html +++ b/docs/_model_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Model.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Model.hpp
+
Model.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_MODEL_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_MODEL_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "./Mesh.hpp"
-
9 #include "./RaylibException.hpp"
-
10 
-
11 namespace raylib {
-
15 class Model : public ::Model {
-
16  public:
-
17  Model(const ::Model& model) {
-
18  set(model);
-
19  }
-
20 
-
21  Model(const std::string& fileName) {
-
22  if (!Load(fileName)) {
-
23  throw RaylibException("Failed to load Model from filename");
-
24  }
-
25  }
-
26 
-
27  Model(const ::Mesh& mesh) {
-
28  if (!Load(mesh)) {
-
29  throw RaylibException("Failed to load Model from Mesh");
-
30  }
-
31  }
-
32 
-
33  ~Model() {
-
34  Unload();
-
35  }
-
36 
-
37  Model(const Model&) = delete;
-
38 
-
39  Model(Model&& other) {
-
40  set(other);
-
41 
-
42  other.bones = nullptr;
-
43  other.boneCount = 0;
-
44  other.materials = nullptr;
-
45  other.materialCount = 0;
-
46  other.meshes = nullptr;
-
47  other.meshCount = 0;
-
48  other.bindPose = nullptr;
-
49  }
-
50 
-
51  GETTERSETTER(::Matrix, Transform, transform)
-
52  GETTERSETTER(int, MeshCount, meshCount)
-
53  GETTERSETTER(int, MaterialCount, materialCount)
-
54  GETTERSETTER(::Mesh *, Meshes, meshes)
-
55  GETTERSETTER(::Material *, Materials, materials)
-
56  GETTERSETTER(int *, MeshMaterial, meshMaterial)
-
57  GETTERSETTER(int, BoneCount, boneCount)
-
58  GETTERSETTER(::BoneInfo *, Bones, bones)
-
59  GETTERSETTER(::Transform *, BindPoe, bindPose)
-
60 
-
61  Model& operator=(const ::Model& model) {
-
62  set(model);
-
63  return *this;
-
64  }
-
65 
-
66  Model& operator=(const Model&) = delete;
-
67 
-
68  Model& operator=(Model&& other) noexcept {
-
69  if (this == &other) {
-
70  return *this;
-
71  }
-
72 
-
73  Unload();
-
74  set(other);
-
75 
-
76  other.bones = nullptr;
-
77  other.boneCount = 0;
-
78  other.materials = nullptr;
-
79  other.materialCount = 0;
-
80  other.meshes = nullptr;
-
81  other.meshCount = 0;
-
82  other.bindPose = nullptr;
-
83 
-
84  return *this;
-
85  }
-
86 
-
90  inline void Unload() {
-
91  if (meshes != nullptr || materials != nullptr) {
-
92  ::UnloadModel(*this);
-
93  meshes = nullptr;
-
94  materials = nullptr;
-
95  }
-
96  }
-
97 
- -
102  ::UnloadModelKeepMeshes(*this);
-
103  return *this;
-
104  }
-
105 
-
109  inline Model& SetMeshMaterial(int meshId, int materialId) {
-
110  ::SetModelMeshMaterial(this, meshId, materialId);
-
111  return *this;
-
112  }
-
113 
-
117  inline RayCollision GetCollision(const ::Ray& ray) const {
-
118  return ::GetRayCollisionModel(ray, *this);
-
119  }
-
120 
-
124  inline Model& UpdateAnimation(const ::ModelAnimation& anim, int frame) {
-
125  ::UpdateModelAnimation(*this, anim, frame);
-
126  return *this;
-
127  }
-
128 
-
132  inline bool IsModelAnimationValid(const ::ModelAnimation& anim) const {
-
133  return ::IsModelAnimationValid(*this, anim);
-
134  }
-
135 
-
139  inline Model& Draw(::Vector3 position,
-
140  float scale = 1.0f,
-
141  ::Color tint = {255, 255, 255, 255}) {
-
142  ::DrawModel(*this, position, scale, tint);
-
143  return *this;
-
144  }
-
145 
-
149  inline Model& Draw(
-
150  ::Vector3 position,
-
151  ::Vector3 rotationAxis,
-
152  float rotationAngle = 0.0f,
-
153  ::Vector3 scale = {1.0f, 1.0f, 1.0f},
-
154  ::Color tint = {255, 255, 255, 255}) {
-
155  ::DrawModelEx(*this, position, rotationAxis, rotationAngle, scale, tint);
-
156  return *this;
-
157  }
-
158 
-
162  inline Model& DrawWires(::Vector3 position,
-
163  float scale = 1.0f,
-
164  ::Color tint = {255, 255, 255, 255}) {
-
165  ::DrawModelWires(*this, position, scale, tint);
-
166  return *this;
-
167  }
-
168 
-
172  inline Model& DrawWires(
-
173  ::Vector3 position,
-
174  ::Vector3 rotationAxis,
-
175  float rotationAngle = 0.0f,
-
176  ::Vector3 scale = {1.0f, 1.0f, 1.0f},
-
177  ::Color tint = {255, 255, 255, 255}) {
-
178  ::DrawModelWiresEx(*this, position, rotationAxis, rotationAngle, scale, tint);
-
179  return *this;
-
180  }
-
181 
-
185  inline BoundingBox GetBoundingBox() const {
-
186  return ::GetModelBoundingBox(*this);
-
187  }
-
188 
-
192  operator BoundingBox() const {
-
193  return ::GetModelBoundingBox(*this);
-
194  }
-
195 
-
199  bool IsReady() const {
-
200  return meshCount > 0 || materialCount > 0 || boneCount > 0;
-
201  }
-
202 
-
208  bool Load(const std::string& fileName) {
-
209  set(::LoadModel(fileName.c_str()));
-
210  return IsReady();
-
211  }
-
212 
-
218  bool Load(const ::Mesh& mesh) {
-
219  set(::LoadModelFromMesh(mesh));
-
220  return IsReady();
-
221  }
-
222 
-
223  private:
-
224  inline void set(const ::Model& model) {
-
225  transform = model.transform;
-
226 
-
227  meshCount = model.meshCount;
-
228  materialCount = model.materialCount;
-
229  meshes = model.meshes;
-
230  materials = model.materials;
-
231  meshMaterial = model.meshMaterial;
-
232 
-
233  boneCount = model.boneCount;
-
234  bones = model.bones;
-
235  bindPose = model.bindPose;
-
236  }
-
237 };
-
238 
-
239 } // namespace raylib
-
240 
-
241 #endif // RAYLIB_CPP_INCLUDE_MODEL_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
-
Model & DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
Draw a model wires (with texture if set)
Definition: Model.hpp:162
-
Model & DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
Draw a model wires (with texture if set) with extended parameters.
Definition: Model.hpp:172
-
Model & SetMeshMaterial(int meshId, int materialId)
Set material for a mesh.
Definition: Model.hpp:109
-
Model & Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
Draw a model (with texture if set)
Definition: Model.hpp:139
-
Raycast hit information.
-
Model & Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
Draw a model with extended parameters.
Definition: Model.hpp:149
-
bool IsModelAnimationValid(const ::ModelAnimation &anim) const
Check model animation skeleton match.
Definition: Model.hpp:132
-
Vector3 type.
Definition: Vector3.hpp:16
-
Model & UpdateAnimation(const ::ModelAnimation &anim, int frame)
Update model animation pose.
Definition: Model.hpp:124
+
1#ifndef RAYLIB_CPP_INCLUDE_MODEL_HPP_
+
2#define RAYLIB_CPP_INCLUDE_MODEL_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "./Mesh.hpp"
+
9#include "./RaylibException.hpp"
+
10
+
11namespace raylib {
+
15class Model : public ::Model {
+
16 public:
+
17 Model(const ::Model& model) {
+
18 set(model);
+
19 }
+
20
+
21 Model(const std::string& fileName) {
+
22 if (!Load(fileName)) {
+
23 throw RaylibException("Failed to load Model from filename");
+
24 }
+
25 }
+
26
+
27 Model(const ::Mesh& mesh) {
+
28 if (!Load(mesh)) {
+
29 throw RaylibException("Failed to load Model from Mesh");
+
30 }
+
31 }
+
32
+ +
34 Unload();
+
35 }
+
36
+
37 Model(const Model&) = delete;
+
38
+
39 Model(Model&& other) {
+
40 set(other);
+
41
+
42 other.bones = nullptr;
+
43 other.boneCount = 0;
+
44 other.materials = nullptr;
+
45 other.materialCount = 0;
+
46 other.meshes = nullptr;
+
47 other.meshCount = 0;
+
48 other.bindPose = nullptr;
+
49 }
+
50
+
51 GETTERSETTER(::Matrix, Transform, transform)
+
52 GETTERSETTER(int, MeshCount, meshCount)
+
53 GETTERSETTER(int, MaterialCount, materialCount)
+
54 GETTERSETTER(::Mesh *, Meshes, meshes)
+
55 GETTERSETTER(::Material *, Materials, materials)
+
56 GETTERSETTER(int *, MeshMaterial, meshMaterial)
+
57 GETTERSETTER(int, BoneCount, boneCount)
+
58 GETTERSETTER(::BoneInfo *, Bones, bones)
+
59 GETTERSETTER(::Transform *, BindPoe, bindPose)
+
60
+
61 Model& operator=(const ::Model& model) {
+
62 set(model);
+
63 return *this;
+
64 }
+
65
+
66 Model& operator=(const Model&) = delete;
+
67
+
68 Model& operator=(Model&& other) noexcept {
+
69 if (this == &other) {
+
70 return *this;
+
71 }
+
72
+
73 Unload();
+
74 set(other);
+
75
+
76 other.bones = nullptr;
+
77 other.boneCount = 0;
+
78 other.materials = nullptr;
+
79 other.materialCount = 0;
+
80 other.meshes = nullptr;
+
81 other.meshCount = 0;
+
82 other.bindPose = nullptr;
+
83
+
84 return *this;
+
85 }
+
86
+
90 inline void Unload() {
+
91 if (meshes != nullptr || materials != nullptr) {
+
92 ::UnloadModel(*this);
+
93 meshes = nullptr;
+
94 materials = nullptr;
+
95 }
+
96 }
+
97
+ +
102 ::UnloadModelKeepMeshes(*this);
+
103 return *this;
+
104 }
+
105
+
109 inline Model& SetMeshMaterial(int meshId, int materialId) {
+
110 ::SetModelMeshMaterial(this, meshId, materialId);
+
111 return *this;
+
112 }
+
113
+
117 inline RayCollision GetCollision(const ::Ray& ray) const {
+
118 return ::GetRayCollisionModel(ray, *this);
+
119 }
+
120
+
124 inline Model& UpdateAnimation(const ::ModelAnimation& anim, int frame) {
+
125 ::UpdateModelAnimation(*this, anim, frame);
+
126 return *this;
+
127 }
+
128
+
132 inline bool IsModelAnimationValid(const ::ModelAnimation& anim) const {
+
133 return ::IsModelAnimationValid(*this, anim);
+
134 }
+
135
+
139 inline Model& Draw(::Vector3 position,
+
140 float scale = 1.0f,
+
141 ::Color tint = {255, 255, 255, 255}) {
+
142 ::DrawModel(*this, position, scale, tint);
+
143 return *this;
+
144 }
+
145
+
149 inline Model& Draw(
+
150 ::Vector3 position,
+
151 ::Vector3 rotationAxis,
+
152 float rotationAngle = 0.0f,
+
153 ::Vector3 scale = {1.0f, 1.0f, 1.0f},
+
154 ::Color tint = {255, 255, 255, 255}) {
+
155 ::DrawModelEx(*this, position, rotationAxis, rotationAngle, scale, tint);
+
156 return *this;
+
157 }
+
158
+
162 inline Model& DrawWires(::Vector3 position,
+
163 float scale = 1.0f,
+
164 ::Color tint = {255, 255, 255, 255}) {
+
165 ::DrawModelWires(*this, position, scale, tint);
+
166 return *this;
+
167 }
+
168
+ +
173 ::Vector3 position,
+
174 ::Vector3 rotationAxis,
+
175 float rotationAngle = 0.0f,
+
176 ::Vector3 scale = {1.0f, 1.0f, 1.0f},
+
177 ::Color tint = {255, 255, 255, 255}) {
+
178 ::DrawModelWiresEx(*this, position, rotationAxis, rotationAngle, scale, tint);
+
179 return *this;
+
180 }
+
181
+ +
186 return ::GetModelBoundingBox(*this);
+
187 }
+
188
+
192 operator BoundingBox() const {
+
193 return ::GetModelBoundingBox(*this);
+
194 }
+
195
+
199 bool IsReady() const {
+
200 return meshCount > 0 || materialCount > 0 || boneCount > 0;
+
201 }
+
202
+
208 bool Load(const std::string& fileName) {
+
209 set(::LoadModel(fileName.c_str()));
+
210 return IsReady();
+
211 }
+
212
+
218 bool Load(const ::Mesh& mesh) {
+
219 set(::LoadModelFromMesh(mesh));
+
220 return IsReady();
+
221 }
+
222
+
223 private:
+
224 inline void set(const ::Model& model) {
+
225 transform = model.transform;
+
226
+
227 meshCount = model.meshCount;
+
228 materialCount = model.materialCount;
+
229 meshes = model.meshes;
+
230 materials = model.materials;
+
231 meshMaterial = model.meshMaterial;
+
232
+
233 boneCount = model.boneCount;
+
234 bones = model.bones;
+
235 bindPose = model.bindPose;
+
236 }
+
237};
+
238
+
239} // namespace raylib
+
240
+
241#endif // RAYLIB_CPP_INCLUDE_MODEL_HPP_
+
Bounding box type.
Definition: BoundingBox.hpp:11
+
Material type (generic)
Definition: Material.hpp:14
+
Vertex data definning a mesh.
Definition: Mesh.hpp:16
+
Model type.
Definition: Model.hpp:15
bool IsReady() const
Determines whether or not the Model has data in it.
Definition: Model.hpp:199
+
Model & operator=(const Model &)=delete
+
void Unload()
Unload model (including meshes) from memory (RAM and/or VRAM)
Definition: Model.hpp:90
+
bool IsModelAnimationValid(const ::ModelAnimation &anim) const
Check model animation skeleton match.
Definition: Model.hpp:132
+
Model & SetMeshMaterial(int meshId, int materialId)
Set material for a mesh.
Definition: Model.hpp:109
+
Model & Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
Draw a model with extended parameters.
Definition: Model.hpp:149
+
Model & DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
Draw a model wires (with texture if set) with extended parameters.
Definition: Model.hpp:172
+
Model(const ::Model &model)
Definition: Model.hpp:17
+
Model(const ::Mesh &mesh)
Definition: Model.hpp:27
+
Model(Model &&other)
Definition: Model.hpp:39
+
Model(const std::string &fileName)
Definition: Model.hpp:21
+
Model(const Model &)=delete
bool Load(const ::Mesh &mesh)
Loads a Model from the given Mesh.
Definition: Model.hpp:218
-
Vertex data definning a mesh.
Definition: Mesh.hpp:16
+
Model & UpdateAnimation(const ::ModelAnimation &anim, int frame)
Update model animation pose.
Definition: Model.hpp:124
bool Load(const std::string &fileName)
Loads a Model from the given file.
Definition: Model.hpp:208
-
BoundingBox GetBoundingBox() const
Compute model bounding box limits (considers all meshes)
Definition: Model.hpp:185
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
Model type.
Definition: Model.hpp:15
+ +
Model & Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
Draw a model (with texture if set)
Definition: Model.hpp:139
RayCollision GetCollision(const ::Ray &ray) const
Get collision info between ray and model.
Definition: Model.hpp:117
-
Bounding box type.
Definition: BoundingBox.hpp:11
+
Model & UnloadKeepMeshes()
Unload model (but not meshes) from memory (RAM and/or VRAM)
Definition: Model.hpp:101
+
Model & DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
Draw a model wires (with texture if set)
Definition: Model.hpp:162
+
Model & operator=(Model &&other) noexcept
Definition: Model.hpp:68
+
BoundingBox GetBoundingBox() const
Compute model bounding box limits (considers all meshes)
Definition: Model.hpp:185
+
Raycast hit information.
Exception used for most raylib-related exceptions.
-
Material type (generic)
Definition: Material.hpp:14
-
void Unload()
Unload model (including meshes) from memory (RAM and/or VRAM)
Definition: Model.hpp:90
-
Model & UnloadKeepMeshes()
Unload model (but not meshes) from memory (RAM and/or VRAM)
Definition: Model.hpp:101
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_model_animation_8hpp_source.html b/docs/_model_animation_8hpp_source.html index 2f78844a..72de0d73 100644 --- a/docs/_model_animation_8hpp_source.html +++ b/docs/_model_animation_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: ModelAnimation.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
ModelAnimation.hpp
+
ModelAnimation.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
-
3 
-
4 #include <vector>
-
5 #include <string>
-
6 
-
7 #include "./raylib.hpp"
-
8 #include "./raylib-cpp-utils.hpp"
-
9 #include "./Mesh.hpp"
-
10 
-
11 namespace raylib {
- -
16  public:
-
17  ModelAnimation(const ::ModelAnimation& model) {
-
18  set(model);
-
19  }
-
20 
-
21  ModelAnimation(const ModelAnimation&) = delete;
-
22 
- -
24  set(other);
-
25 
-
26  other.boneCount = 0;
-
27  other.bones = nullptr;
-
28  other.frameCount = 0;
-
29  other.framePoses = nullptr;
-
30  }
-
31 
-
32  ~ModelAnimation() {
-
33  Unload();
-
34  }
-
35 
-
39  static std::vector<ModelAnimation> Load(const std::string& fileName) {
-
40  unsigned int count = 0;
-
41  ::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count);
-
42  std::vector<ModelAnimation> mats(modelAnimations, modelAnimations + count);
-
43 
-
44  RL_FREE(modelAnimations);
-
45 
-
46  return mats;
-
47  }
-
48 
-
49  GETTERSETTER(int, BoneCount, boneCount)
-
50  GETTERSETTER(::BoneInfo*, Bones, bones)
-
51  GETTERSETTER(int, FrameCount, frameCount)
-
52  GETTERSETTER(::Transform**, FramePoses, framePoses)
-
53 
-
54  ModelAnimation& operator=(const ::ModelAnimation& model) {
-
55  set(model);
-
56  return *this;
-
57  }
-
58 
-
59  ModelAnimation& operator=(const ModelAnimation&) = delete;
-
60 
-
61  ModelAnimation& operator=(ModelAnimation&& other) noexcept {
-
62  if (this == &other) {
-
63  return *this;
-
64  }
-
65 
-
66  Unload();
-
67  set(other);
-
68 
-
69  other.boneCount = 0;
-
70  other.bones = nullptr;
-
71  other.frameCount = 0;
-
72  other.framePoses = nullptr;
-
73 
-
74  return *this;
-
75  }
-
76 
-
80  inline void Unload() {
-
81  ::UnloadModelAnimation(*this);
-
82  }
-
83 
-
87  inline ModelAnimation& Update(const ::Model& model, int frame) {
-
88  ::UpdateModelAnimation(model, *this, frame);
-
89  return *this;
-
90  }
-
91 
-
95  inline bool IsValid(const ::Model& model) const {
-
96  return ::IsModelAnimationValid(model, *this);
-
97  }
-
98 
-
99  private:
-
100  inline void set(const ::ModelAnimation& model) {
-
101  boneCount = model.boneCount;
-
102  bones = model.bones;
-
103  frameCount = model.frameCount;
-
104  framePoses = model.framePoses;
-
105  }
-
106 };
-
107 } // namespace raylib
-
108 
-
109 #endif // RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
ModelAnimation & Update(const ::Model &model, int frame)
Update model animation pose.
-
static std::vector< ModelAnimation > Load(const std::string &fileName)
Load model animations from file.
-
void Unload()
Unload animation data.
-
bool IsValid(const ::Model &model) const
Check model animation skeleton match.
+
1#ifndef RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
+
2#define RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
+
3
+
4#include <vector>
+
5#include <string>
+
6
+
7#include "./raylib.hpp"
+
8#include "./raylib-cpp-utils.hpp"
+
9#include "./Mesh.hpp"
+
10
+
11namespace raylib {
+
15class ModelAnimation : public ::ModelAnimation {
+
16 public:
+
17 ModelAnimation(const ::ModelAnimation& model) {
+
18 set(model);
+
19 }
+
20
+ +
22
+ +
24 set(other);
+
25
+
26 other.boneCount = 0;
+
27 other.bones = nullptr;
+
28 other.frameCount = 0;
+
29 other.framePoses = nullptr;
+
30 }
+
31
+ +
33 Unload();
+
34 }
+
35
+
39 static std::vector<ModelAnimation> Load(const std::string& fileName) {
+
40 unsigned int count = 0;
+
41 ::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count);
+
42 std::vector<ModelAnimation> mats(modelAnimations, modelAnimations + count);
+
43
+
44 RL_FREE(modelAnimations);
+
45
+
46 return mats;
+
47 }
+
48
+
49 GETTERSETTER(int, BoneCount, boneCount)
+
50 GETTERSETTER(::BoneInfo*, Bones, bones)
+
51 GETTERSETTER(int, FrameCount, frameCount)
+
52 GETTERSETTER(::Transform**, FramePoses, framePoses)
+
53
+
54 ModelAnimation& operator=(const ::ModelAnimation& model) {
+
55 set(model);
+
56 return *this;
+
57 }
+
58
+ +
60
+ +
62 if (this == &other) {
+
63 return *this;
+
64 }
+
65
+
66 Unload();
+
67 set(other);
+
68
+
69 other.boneCount = 0;
+
70 other.bones = nullptr;
+
71 other.frameCount = 0;
+
72 other.framePoses = nullptr;
+
73
+
74 return *this;
+
75 }
+
76
+
80 inline void Unload() {
+
81 ::UnloadModelAnimation(*this);
+
82 }
+
83
+
87 inline ModelAnimation& Update(const ::Model& model, int frame) {
+
88 ::UpdateModelAnimation(model, *this, frame);
+
89 return *this;
+
90 }
+
91
+
95 inline bool IsValid(const ::Model& model) const {
+
96 return ::IsModelAnimationValid(model, *this);
+
97 }
+
98
+
99 private:
+
100 inline void set(const ::ModelAnimation& model) {
+
101 boneCount = model.boneCount;
+
102 bones = model.bones;
+
103 frameCount = model.frameCount;
+
104 framePoses = model.framePoses;
+
105 }
+
106};
+
107} // namespace raylib
+
108
+
109#endif // RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
+
static std::vector< ModelAnimation > Load(const std::string &fileName)
Load model animations from file.
+
ModelAnimation & operator=(const ModelAnimation &)=delete
+ +
bool IsValid(const ::Model &model) const
Check model animation skeleton match.
+
ModelAnimation(const ::ModelAnimation &model)
+
ModelAnimation(ModelAnimation &&other)
+
ModelAnimation & operator=(ModelAnimation &&other) noexcept
+
ModelAnimation(const ModelAnimation &)=delete
+
ModelAnimation & Update(const ::Model &model, int frame)
Update model animation pose.
+
void Unload()
Unload animation data.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_mouse_8hpp_source.html b/docs/_mouse_8hpp_source.html index cdd1a761..bc2e0288 100644 --- a/docs/_mouse_8hpp_source.html +++ b/docs/_mouse_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Mouse.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Mouse.hpp
+
Mouse.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_MOUSE_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_MOUSE_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./Vector2.hpp"
-
6 
-
7 namespace raylib {
-
11 class Mouse {
-
12  public:
-
16  static inline bool IsButtonPressed(int button) {
-
17  return ::IsMouseButtonPressed(button);
-
18  }
-
19 
-
23  static inline bool IsButtonDown(int button) {
-
24  return ::IsMouseButtonDown(button);
-
25  }
-
26 
-
30  static inline bool IsButtonReleased(int button) {
-
31  return ::IsMouseButtonReleased(button);
-
32  }
-
33 
-
34  static inline bool IsButtonUp(int button) {
-
35  return ::IsMouseButtonUp(button);
-
36  }
-
37 
-
38  static inline int GetX() {
-
39  return ::GetMouseX();
-
40  }
-
41 
-
42  static inline int GetY() {
-
43  return ::GetMouseY();
-
44  }
-
45 
-
46  static inline void SetX(int x) {
-
47  ::SetMousePosition(x, GetY());
-
48  }
-
49 
-
50  static inline void SetY(int y) {
-
51  ::SetMousePosition(GetX(), y);
-
52  }
-
53 
-
54  static inline Vector2 GetPosition() {
-
55  return ::GetMousePosition();
-
56  }
-
57 
-
58  static inline void SetPosition(int x, int y) {
-
59  ::SetMousePosition(x, y);
-
60  }
-
61 
-
62  static inline void SetPosition(::Vector2 position) {
-
63  ::SetMousePosition(static_cast<int>(position.x), static_cast<int>(position.y));
-
64  }
-
65 
-
66  static inline void SetOffset(int offsetX = 0, int offsetY = 0) {
-
67  ::SetMouseOffset(offsetX, offsetY);
-
68  }
-
69 
-
70  static inline void SetOffset(::Vector2 offset) {
-
71  ::SetMouseOffset(static_cast<int>(offset.x), static_cast<int>(offset.y));
-
72  }
-
73 
-
74  static inline void SetScale(float scaleX = 1.0f, float scaleY = 1.0f) {
-
75  ::SetMouseScale(scaleX, scaleY);
-
76  }
-
77 
-
78  static inline void SetScale(::Vector2 scale) {
-
79  ::SetMouseScale(scale.x, scale.y);
-
80  }
-
81 
-
82  static inline float GetWheelMove() {
-
83  return ::GetMouseWheelMove();
-
84  }
-
85 
-
91  static inline void SetCursor(int cursor = MOUSE_CURSOR_DEFAULT) {
-
92  ::SetMouseCursor(cursor);
-
93  }
-
94 
-
98  static inline int GetTouchX() {
-
99  return ::GetTouchX();
-
100  }
-
101 
-
105  static inline int GetTouchY() {
-
106  return ::GetTouchY();
-
107  }
-
108 
-
112  static inline Vector2 GetTouchPosition(int index) {
-
113  return ::GetTouchPosition(index);
-
114  }
-
115 };
-
116 } // namespace raylib
-
117 
-
118 #endif // RAYLIB_CPP_INCLUDE_MOUSE_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
1#ifndef RAYLIB_CPP_INCLUDE_MOUSE_HPP_
+
2#define RAYLIB_CPP_INCLUDE_MOUSE_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./Vector2.hpp"
+
6
+
7namespace raylib {
+
11class Mouse {
+
12 public:
+
16 static inline bool IsButtonPressed(int button) {
+
17 return ::IsMouseButtonPressed(button);
+
18 }
+
19
+
23 static inline bool IsButtonDown(int button) {
+
24 return ::IsMouseButtonDown(button);
+
25 }
+
26
+
30 static inline bool IsButtonReleased(int button) {
+
31 return ::IsMouseButtonReleased(button);
+
32 }
+
33
+
34 static inline bool IsButtonUp(int button) {
+
35 return ::IsMouseButtonUp(button);
+
36 }
+
37
+
38 static inline int GetX() {
+
39 return ::GetMouseX();
+
40 }
+
41
+
42 static inline int GetY() {
+
43 return ::GetMouseY();
+
44 }
+
45
+
46 static inline void SetX(int x) {
+
47 ::SetMousePosition(x, GetY());
+
48 }
+
49
+
50 static inline void SetY(int y) {
+
51 ::SetMousePosition(GetX(), y);
+
52 }
+
53
+
54 static inline Vector2 GetPosition() {
+
55 return ::GetMousePosition();
+
56 }
+
57
+
58 static inline void SetPosition(int x, int y) {
+
59 ::SetMousePosition(x, y);
+
60 }
+
61
+
62 static inline void SetPosition(::Vector2 position) {
+
63 ::SetMousePosition(static_cast<int>(position.x), static_cast<int>(position.y));
+
64 }
+
65
+
66 static inline void SetOffset(int offsetX = 0, int offsetY = 0) {
+
67 ::SetMouseOffset(offsetX, offsetY);
+
68 }
+
69
+
70 static inline void SetOffset(::Vector2 offset) {
+
71 ::SetMouseOffset(static_cast<int>(offset.x), static_cast<int>(offset.y));
+
72 }
+
73
+
74 static inline void SetScale(float scaleX = 1.0f, float scaleY = 1.0f) {
+
75 ::SetMouseScale(scaleX, scaleY);
+
76 }
+
77
+
78 static inline void SetScale(::Vector2 scale) {
+
79 ::SetMouseScale(scale.x, scale.y);
+
80 }
+
81
+
82 static inline float GetWheelMove() {
+
83 return ::GetMouseWheelMove();
+
84 }
+
85
+
91 static inline void SetCursor(int cursor = MOUSE_CURSOR_DEFAULT) {
+
92 ::SetMouseCursor(cursor);
+
93 }
+
94
+
98 static inline int GetTouchX() {
+
99 return ::GetTouchX();
+
100 }
+
101
+
105 static inline int GetTouchY() {
+
106 return ::GetTouchY();
+
107 }
+
108
+
112 static inline Vector2 GetTouchPosition(int index) {
+
113 return ::GetTouchPosition(index);
+
114 }
+
115};
+
116} // namespace raylib
+
117
+
118#endif // RAYLIB_CPP_INCLUDE_MOUSE_HPP_
Input-related functions: mouse.
Definition: Mouse.hpp:11
+
static int GetX()
Definition: Mouse.hpp:38
+
static void SetScale(float scaleX=1.0f, float scaleY=1.0f)
Definition: Mouse.hpp:74
+
static int GetY()
Definition: Mouse.hpp:42
+
static int GetTouchX()
Get touch position X for touch point 0 (relative to screen size)
Definition: Mouse.hpp:98
static bool IsButtonDown(int button)
Detect if a mouse button is being pressed.
Definition: Mouse.hpp:23
-
static bool IsButtonPressed(int button)
Detect if a mouse button has been pressed once.
Definition: Mouse.hpp:16
+
static void SetX(int x)
Definition: Mouse.hpp:46
+
static void SetScale(::Vector2 scale)
Definition: Mouse.hpp:78
+
static int GetTouchY()
Get touch position Y for touch point 0 (relative to screen size)
Definition: Mouse.hpp:105
+
static void SetOffset(::Vector2 offset)
Definition: Mouse.hpp:70
+
static void SetY(int y)
Definition: Mouse.hpp:50
+
static void SetOffset(int offsetX=0, int offsetY=0)
Definition: Mouse.hpp:66
+
static bool IsButtonUp(int button)
Definition: Mouse.hpp:34
static Vector2 GetTouchPosition(int index)
Get touch position XY for a touch point index (relative to screen size)
Definition: Mouse.hpp:112
static void SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)
Sets the current mouse cursor icon.
Definition: Mouse.hpp:91
-
static int GetTouchX()
Get touch position X for touch point 0 (relative to screen size)
Definition: Mouse.hpp:98
-
Vector2 type.
Definition: Vector2.hpp:16
-
static int GetTouchY()
Get touch position Y for touch point 0 (relative to screen size)
Definition: Mouse.hpp:105
static bool IsButtonReleased(int button)
Detect if a mouse button has been released once.
Definition: Mouse.hpp:30
+
static void SetPosition(::Vector2 position)
Definition: Mouse.hpp:62
+
static bool IsButtonPressed(int button)
Detect if a mouse button has been pressed once.
Definition: Mouse.hpp:16
+
static Vector2 GetPosition()
Definition: Mouse.hpp:54
+
static void SetPosition(int x, int y)
Definition: Mouse.hpp:58
+
static float GetWheelMove()
Definition: Mouse.hpp:82
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_music_8hpp_source.html b/docs/_music_8hpp_source.html index 53e73b92..4f72db2d 100644 --- a/docs/_music_8hpp_source.html +++ b/docs/_music_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Music.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Music.hpp
+
Music.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_MUSIC_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_MUSIC_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "./RaylibException.hpp"
-
9 
-
10 namespace raylib {
-
14 class Music : public ::Music {
-
15  public:
-
19  Music() {
-
20  ctxType = 0;
-
21  ctxData = nullptr;
-
22  looping = false;
-
23  frameCount = 0;
-
24  stream.buffer = nullptr;
-
25  }
-
26 
-
27  Music(const ::Music& music) {
-
28  set(music);
-
29  }
-
30 
-
36  Music(const std::string& fileName) {
-
37  if (!Load(fileName)) {
-
38  throw RaylibException(TextFormat("Failed to load Music from file: %s", fileName.c_str()));
-
39  }
-
40  }
-
41 
-
47  Music(const std::string& fileType, unsigned char* data, int dataSize) {
-
48  if (!Load(fileType, data, dataSize)) {
-
49  throw RaylibException(TextFormat("Failed to load Music from %s file", fileType.c_str()));
-
50  }
-
51  }
-
52 
-
53  Music(const Music&) = delete;
-
54 
-
55  Music(Music&& other) {
-
56  set(other);
-
57 
-
58  other.ctxType = 0;
-
59  other.ctxData = nullptr;
-
60  other.looping = false;
-
61  other.frameCount = 0;
-
62  other.stream = {};
-
63  }
-
64 
-
68  ~Music() {
-
69  Unload();
-
70  }
-
71 
-
72  GETTERSETTER(::AudioStream, Stream, stream)
-
73  GETTERSETTER(unsigned int, FrameCount, frameCount)
-
74  GETTERSETTER(bool, Looping, looping)
-
75  GETTERSETTER(int, CtxType, ctxType)
-
76  GETTERSETTER(void*, CtxData, ctxData)
-
77 
-
78  Music& operator=(const ::Music& music) {
-
79  set(music);
-
80  return *this;
-
81  }
-
82 
-
83  Music& operator=(const Music&) = delete;
-
84 
-
85  Music& operator=(Music&& other) noexcept {
-
86  if (this == &other) {
-
87  return *this;
-
88  }
-
89 
-
90  Unload();
-
91  set(other);
-
92 
-
93  other.ctxType = 0;
-
94  other.ctxData = nullptr;
-
95  other.looping = false;
-
96  other.frameCount = 0;
-
97  other.stream = {};
-
98 
-
99  return *this;
-
100  }
-
101 
-
105  inline void Unload() {
-
106  ::UnloadMusicStream(*this);
-
107  }
-
108 
-
112  inline Music& Play() {
-
113  ::PlayMusicStream(*this);
-
114  return *this;
-
115  }
-
116 
-
120  inline Music& Update() {
-
121  ::UpdateMusicStream(*this);
-
122  return *this;
-
123  }
-
124 
-
128  inline Music& Stop() {
-
129  ::StopMusicStream(*this);
-
130  return *this;
-
131  }
-
132 
-
136  inline Music& Pause() {
-
137  ::PauseMusicStream(*this);
-
138  return *this;
-
139  }
-
140 
-
144  inline Music& Resume() {
-
145  ::ResumeMusicStream(*this);
-
146  return *this;
-
147  }
-
148 
-
152  inline Music& Seek(float position) {
-
153  SeekMusicStream(*this, position);
-
154  return *this;
-
155  }
-
156 
-
160  inline bool IsPlaying() const {
-
161  return ::IsMusicStreamPlaying(*this);
-
162  }
-
163 
-
167  inline Music& SetVolume(float volume) {
-
168  ::SetMusicVolume(*this, volume);
-
169  return *this;
-
170  }
-
171 
-
175  inline Music& SetPitch(float pitch) {
-
176  ::SetMusicPitch(*this, pitch);
-
177  return *this;
-
178  }
-
179 
-
183  inline float GetTimeLength() const {
-
184  return ::GetMusicTimeLength(*this);
-
185  }
-
186 
-
190  inline float GetTimePlayed() const {
-
191  return ::GetMusicTimePlayed(*this);
-
192  }
-
193 
-
197  bool Load(const std::string& fileName) {
-
198  set(::LoadMusicStream(fileName.c_str()));
-
199  return IsReady();
-
200  }
-
201 
-
205  bool Load(const std::string& fileType, unsigned char* data, int dataSize) {
-
206  set(::LoadMusicStreamFromMemory(fileType.c_str(), data, dataSize));
-
207  return IsReady();
-
208  }
-
209 
-
215  inline bool IsReady() const {
-
216  return stream.buffer != nullptr;
-
217  }
-
218 
-
219  private:
-
220  inline void set(const ::Music& music) {
-
221  ctxType = music.ctxType;
-
222  ctxData = music.ctxData;
-
223  looping = music.looping;
-
224  frameCount = music.frameCount;
-
225  stream = music.stream;
-
226  }
-
227 };
-
228 } // namespace raylib
-
229 
-
230 #endif // RAYLIB_CPP_INCLUDE_MUSIC_HPP_
-
-
Music(const std::string &fileType, unsigned char *data, int dataSize)
Load music stream from memory.
Definition: Music.hpp:47
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Music & SetPitch(float pitch)
Set pitch for music.
Definition: Music.hpp:175
-
Music & Stop()
Stop music playing.
Definition: Music.hpp:128
-
Music & SetVolume(float volume)
Set volume for music.
Definition: Music.hpp:167
-
Music & Resume()
Resume music playing.
Definition: Music.hpp:144
-
Music & Play()
Start music playing.
Definition: Music.hpp:112
-
Music & Pause()
Pause music playing.
Definition: Music.hpp:136
+
1#ifndef RAYLIB_CPP_INCLUDE_MUSIC_HPP_
+
2#define RAYLIB_CPP_INCLUDE_MUSIC_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "./RaylibException.hpp"
+
9
+
10namespace raylib {
+
14class Music : public ::Music {
+
15 public:
+ +
20 ctxType = 0;
+
21 ctxData = nullptr;
+
22 looping = false;
+
23 frameCount = 0;
+
24 stream.buffer = nullptr;
+
25 }
+
26
+
27 Music(const ::Music& music) {
+
28 set(music);
+
29 }
+
30
+
36 Music(const std::string& fileName) {
+
37 if (!Load(fileName)) {
+
38 throw RaylibException(TextFormat("Failed to load Music from file: %s", fileName.c_str()));
+
39 }
+
40 }
+
41
+
47 Music(const std::string& fileType, unsigned char* data, int dataSize) {
+
48 if (!Load(fileType, data, dataSize)) {
+
49 throw RaylibException(TextFormat("Failed to load Music from %s file", fileType.c_str()));
+
50 }
+
51 }
+
52
+
53 Music(const Music&) = delete;
+
54
+
55 Music(Music&& other) {
+
56 set(other);
+
57
+
58 other.ctxType = 0;
+
59 other.ctxData = nullptr;
+
60 other.looping = false;
+
61 other.frameCount = 0;
+
62 other.stream = {};
+
63 }
+
64
+ +
69 Unload();
+
70 }
+
71
+
72 GETTERSETTER(::AudioStream, Stream, stream)
+
73 GETTERSETTER(unsigned int, FrameCount, frameCount)
+
74 GETTERSETTER(bool, Looping, looping)
+
75 GETTERSETTER(int, CtxType, ctxType)
+
76 GETTERSETTER(void*, CtxData, ctxData)
+
77
+
78 Music& operator=(const ::Music& music) {
+
79 set(music);
+
80 return *this;
+
81 }
+
82
+
83 Music& operator=(const Music&) = delete;
+
84
+
85 Music& operator=(Music&& other) noexcept {
+
86 if (this == &other) {
+
87 return *this;
+
88 }
+
89
+
90 Unload();
+
91 set(other);
+
92
+
93 other.ctxType = 0;
+
94 other.ctxData = nullptr;
+
95 other.looping = false;
+
96 other.frameCount = 0;
+
97 other.stream = {};
+
98
+
99 return *this;
+
100 }
+
101
+
105 inline void Unload() {
+
106 ::UnloadMusicStream(*this);
+
107 }
+
108
+
112 inline Music& Play() {
+
113 ::PlayMusicStream(*this);
+
114 return *this;
+
115 }
+
116
+
120 inline Music& Update() {
+
121 ::UpdateMusicStream(*this);
+
122 return *this;
+
123 }
+
124
+
128 inline Music& Stop() {
+
129 ::StopMusicStream(*this);
+
130 return *this;
+
131 }
+
132
+
136 inline Music& Pause() {
+
137 ::PauseMusicStream(*this);
+
138 return *this;
+
139 }
+
140
+
144 inline Music& Resume() {
+
145 ::ResumeMusicStream(*this);
+
146 return *this;
+
147 }
+
148
+
152 inline Music& Seek(float position) {
+
153 SeekMusicStream(*this, position);
+
154 return *this;
+
155 }
+
156
+
160 inline bool IsPlaying() const {
+
161 return ::IsMusicStreamPlaying(*this);
+
162 }
+
163
+
167 inline Music& SetVolume(float volume) {
+
168 ::SetMusicVolume(*this, volume);
+
169 return *this;
+
170 }
+
171
+
175 inline Music& SetPitch(float pitch) {
+
176 ::SetMusicPitch(*this, pitch);
+
177 return *this;
+
178 }
+
179
+
183 inline float GetTimeLength() const {
+
184 return ::GetMusicTimeLength(*this);
+
185 }
+
186
+
190 inline float GetTimePlayed() const {
+
191 return ::GetMusicTimePlayed(*this);
+
192 }
+
193
+
197 bool Load(const std::string& fileName) {
+
198 set(::LoadMusicStream(fileName.c_str()));
+
199 return IsReady();
+
200 }
+
201
+
205 bool Load(const std::string& fileType, unsigned char* data, int dataSize) {
+
206 set(::LoadMusicStreamFromMemory(fileType.c_str(), data, dataSize));
+
207 return IsReady();
+
208 }
+
209
+
215 inline bool IsReady() const {
+
216 return stream.buffer != nullptr;
+
217 }
+
218
+
219 private:
+
220 inline void set(const ::Music& music) {
+
221 ctxType = music.ctxType;
+
222 ctxData = music.ctxData;
+
223 looping = music.looping;
+
224 frameCount = music.frameCount;
+
225 stream = music.stream;
+
226 }
+
227};
+
228} // namespace raylib
+
229
+
230#endif // RAYLIB_CPP_INCLUDE_MUSIC_HPP_
+
Music stream type (audio file streaming from memory)
Definition: Music.hpp:14
bool IsPlaying() const
Check if music is playing.
Definition: Music.hpp:160
+
bool Load(const std::string &fileType, unsigned char *data, int dataSize)
Load music stream from memory.
Definition: Music.hpp:205
+
Music & Seek(float position)
Seek music to a position (in seconds)
Definition: Music.hpp:152
+
Music(const ::Music &music)
Definition: Music.hpp:27
+
Music & SetVolume(float volume)
Set volume for music.
Definition: Music.hpp:167
+
Music(const std::string &fileName)
Load music stream from file.
Definition: Music.hpp:36
bool IsReady() const
Retrieve whether or not the Music has been loaded.
Definition: Music.hpp:215
+
Music & operator=(const Music &)=delete
+
float GetTimePlayed() const
Get current music time played (in seconds)
Definition: Music.hpp:190
+
Music & Stop()
Stop music playing.
Definition: Music.hpp:128
+
Music & Play()
Start music playing.
Definition: Music.hpp:112
~Music()
Unload music stream.
Definition: Music.hpp:68
-
Music(const std::string &fileName)
Load music stream from file.
Definition: Music.hpp:36
+
Music(const std::string &fileType, unsigned char *data, int dataSize)
Load music stream from memory.
Definition: Music.hpp:47
+
Music & operator=(Music &&other) noexcept
Definition: Music.hpp:85
+
Music(Music &&other)
Definition: Music.hpp:55
+
Music & Resume()
Resume music playing.
Definition: Music.hpp:144
+
Music & SetPitch(float pitch)
Set pitch for music.
Definition: Music.hpp:175
+
bool Load(const std::string &fileName)
Load music stream from file.
Definition: Music.hpp:197
+
float GetTimeLength() const
Get music time length (in seconds)
Definition: Music.hpp:183
+
Music & Pause()
Pause music playing.
Definition: Music.hpp:136
+
Music & Update()
Updates buffers for music streaming.
Definition: Music.hpp:120
+
Music(const Music &)=delete
void Unload()
Unload music stream.
Definition: Music.hpp:105
-
bool Load(const std::string &fileType, unsigned char *data, int dataSize)
Load music stream from memory.
Definition: Music.hpp:205
Music()
Default Music constructor to build an empty Music object.
Definition: Music.hpp:19
-
Music stream type (audio file streaming from memory)
Definition: Music.hpp:14
-
bool Load(const std::string &fileName)
Load music stream from file.
Definition: Music.hpp:197
-
Music & Seek(float position)
Seek music to a position (in seconds)
Definition: Music.hpp:152
-
AudioStream management functions.
Definition: AudioStream.hpp:12
Exception used for most raylib-related exceptions.
-
Music & Update()
Updates buffers for music streaming.
Definition: Music.hpp:120
-
float GetTimeLength() const
Get music time length (in seconds)
Definition: Music.hpp:183
-
float GetTimePlayed() const
Get current music time played (in seconds)
Definition: Music.hpp:190
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_physics_8hpp_source.html b/docs/_physics_8hpp_source.html index 28d209e9..1483b557 100644 --- a/docs/_physics_8hpp_source.html +++ b/docs/_physics_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Physics.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Physics.hpp
+
Physics.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./physac.hpp"
-
6 #include "./Vector2.hpp"
-
7 
-
8 namespace raylib {
-
12 class Physics {
-
13  public:
-
14  Physics() {
-
15  Init();
-
16  }
-
17 
-
18  Physics(float gravityY) {
-
19  Init();
-
20  SetGravity(0, gravityY);
-
21  }
-
22 
-
23  Physics(float gravityX, float gravityY) {
-
24  Init();
-
25  SetGravity(gravityX, gravityY);
-
26  }
-
27 
-
28  ~Physics() {
-
29  Close();
-
30  }
-
31 
-
32  inline Physics& Init() {
-
33  ::InitPhysics();
-
34  return *this;
-
35  }
-
36 
-
37  inline Physics& Update() {
-
38  ::UpdatePhysics();
-
39  return *this;
-
40  }
-
41 
-
42  inline Physics& Reset() {
-
43  ::ResetPhysics();
-
44  return *this;
-
45  }
-
46 
-
47  inline Physics& Close() {
-
48  ::ClosePhysics();
-
49  return *this;
-
50  }
-
51 
-
52  inline Physics& SetTimeStep(double delta) {
-
53  ::SetPhysicsTimeStep(delta);
-
54  return *this;
-
55  }
-
56 
-
57  inline Physics& SetGravity(float x, float y) {
-
58  ::SetPhysicsGravity(x, y);
-
59  return *this;
-
60  }
-
61 
-
62  inline PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density) {
-
63  return ::CreatePhysicsBodyCircle(pos, radius, density);
-
64  }
-
65 
-
66  inline PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density) {
-
67  return ::CreatePhysicsBodyRectangle(pos, width, height, density);
-
68  }
-
69 
-
70  inline PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density) {
-
71  return ::CreatePhysicsBodyPolygon(pos, radius, sides, density);
-
72  }
-
73 
-
74  inline Physics& DestroyBody(PhysicsBody body) {
-
75  ::DestroyPhysicsBody(body);
-
76  return *this;
-
77  }
-
78 
-
79  inline Physics& AddForce(PhysicsBody body, Vector2 force) {
-
80  ::PhysicsAddForce(body, force);
-
81  return *this;
-
82  }
-
83 
-
84  inline Physics& AddTorque(PhysicsBody body, float amount) {
-
85  ::PhysicsAddTorque(body, amount);
-
86  return *this;
-
87  }
-
88 
-
89  inline Physics& Shatter(PhysicsBody body, Vector2 position, float force) {
-
90  ::PhysicsShatter(body, position, force);
-
91  return *this;
-
92  }
-
93 
-
94  inline Physics& SetBodyRotation(PhysicsBody body, float radians) {
-
95  ::SetPhysicsBodyRotation(body, radians);
-
96  return *this;
-
97  }
-
98 
-
99  inline int GetBodiesCount() const {
-
100  return ::GetPhysicsBodiesCount();
-
101  }
-
102 
-
103  inline PhysicsBody GetBody(int index) const {
-
104  return ::GetPhysicsBody(index);
-
105  }
-
106 
-
107  inline int GetShapeType(int index) const {
-
108  return ::GetPhysicsShapeType(index);
-
109  }
-
110 
-
111  inline int GetShapeVerticesCount(int index) const {
-
112  return ::GetPhysicsShapeVerticesCount(index);
-
113  }
-
114 
-
115  inline Vector2 GetShapeVertex(PhysicsBody body, int vertex) const {
-
116  return ::GetPhysicsShapeVertex(body, vertex);
-
117  }
-
118 };
-
119 } // namespace raylib
-
120 
-
121 #endif // RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
1#ifndef RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
+
2#define RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./physac.hpp"
+
6#include "./Vector2.hpp"
+
7
+
8namespace raylib {
+
12class Physics {
+
13 public:
+ +
15 Init();
+
16 }
+
17
+
18 Physics(float gravityY) {
+
19 Init();
+
20 SetGravity(0, gravityY);
+
21 }
+
22
+
23 Physics(float gravityX, float gravityY) {
+
24 Init();
+
25 SetGravity(gravityX, gravityY);
+
26 }
+
27
+ +
29 Close();
+
30 }
+
31
+
32 inline Physics& Init() {
+
33 ::InitPhysics();
+
34 return *this;
+
35 }
+
36
+
37 inline Physics& Update() {
+
38 ::UpdatePhysics();
+
39 return *this;
+
40 }
+
41
+
42 inline Physics& Reset() {
+
43 ::ResetPhysics();
+
44 return *this;
+
45 }
+
46
+
47 inline Physics& Close() {
+
48 ::ClosePhysics();
+
49 return *this;
+
50 }
+
51
+
52 inline Physics& SetTimeStep(double delta) {
+
53 ::SetPhysicsTimeStep(delta);
+
54 return *this;
+
55 }
+
56
+
57 inline Physics& SetGravity(float x, float y) {
+
58 ::SetPhysicsGravity(x, y);
+
59 return *this;
+
60 }
+
61
+
62 inline PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density) {
+
63 return ::CreatePhysicsBodyCircle(pos, radius, density);
+
64 }
+
65
+
66 inline PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density) {
+
67 return ::CreatePhysicsBodyRectangle(pos, width, height, density);
+
68 }
+
69
+
70 inline PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density) {
+
71 return ::CreatePhysicsBodyPolygon(pos, radius, sides, density);
+
72 }
+
73
+
74 inline Physics& DestroyBody(PhysicsBody body) {
+
75 ::DestroyPhysicsBody(body);
+
76 return *this;
+
77 }
+
78
+
79 inline Physics& AddForce(PhysicsBody body, Vector2 force) {
+
80 ::PhysicsAddForce(body, force);
+
81 return *this;
+
82 }
+
83
+
84 inline Physics& AddTorque(PhysicsBody body, float amount) {
+
85 ::PhysicsAddTorque(body, amount);
+
86 return *this;
+
87 }
+
88
+
89 inline Physics& Shatter(PhysicsBody body, Vector2 position, float force) {
+
90 ::PhysicsShatter(body, position, force);
+
91 return *this;
+
92 }
+
93
+
94 inline Physics& SetBodyRotation(PhysicsBody body, float radians) {
+
95 ::SetPhysicsBodyRotation(body, radians);
+
96 return *this;
+
97 }
+
98
+
99 inline int GetBodiesCount() const {
+
100 return ::GetPhysicsBodiesCount();
+
101 }
+
102
+
103 inline PhysicsBody GetBody(int index) const {
+
104 return ::GetPhysicsBody(index);
+
105 }
+
106
+
107 inline int GetShapeType(int index) const {
+
108 return ::GetPhysicsShapeType(index);
+
109 }
+
110
+
111 inline int GetShapeVerticesCount(int index) const {
+
112 return ::GetPhysicsShapeVerticesCount(index);
+
113 }
+
114
+
115 inline Vector2 GetShapeVertex(PhysicsBody body, int vertex) const {
+
116 return ::GetPhysicsShapeVertex(body, vertex);
+
117 }
+
118};
+
119} // namespace raylib
+
120
+
121#endif // RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
2D Physics library for videogames
Definition: Physics.hpp:12
+
Physics & Close()
Definition: Physics.hpp:47
+ +
Physics & SetBodyRotation(PhysicsBody body, float radians)
Definition: Physics.hpp:94
+
PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density)
Definition: Physics.hpp:62
+
Physics & Init()
Definition: Physics.hpp:32
+
Physics & Update()
Definition: Physics.hpp:37
+
Physics & AddTorque(PhysicsBody body, float amount)
Definition: Physics.hpp:84
+
Physics & DestroyBody(PhysicsBody body)
Definition: Physics.hpp:74
+
Vector2 GetShapeVertex(PhysicsBody body, int vertex) const
Definition: Physics.hpp:115
+
Physics(float gravityY)
Definition: Physics.hpp:18
+
Physics & Shatter(PhysicsBody body, Vector2 position, float force)
Definition: Physics.hpp:89
+
PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density)
Definition: Physics.hpp:70
+
int GetShapeVerticesCount(int index) const
Definition: Physics.hpp:111
+
int GetShapeType(int index) const
Definition: Physics.hpp:107
+
Physics & SetGravity(float x, float y)
Definition: Physics.hpp:57
+ +
Physics(float gravityX, float gravityY)
Definition: Physics.hpp:23
+
PhysicsBody GetBody(int index) const
Definition: Physics.hpp:103
+
PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density)
Definition: Physics.hpp:66
+
Physics & SetTimeStep(double delta)
Definition: Physics.hpp:52
+
Physics & Reset()
Definition: Physics.hpp:42
+
Physics & AddForce(PhysicsBody body, Vector2 force)
Definition: Physics.hpp:79
+
int GetBodiesCount() const
Definition: Physics.hpp:99
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_ray_8hpp_source.html b/docs/_ray_8hpp_source.html index 0d4efcf1..032240f8 100644 --- a/docs/_ray_8hpp_source.html +++ b/docs/_ray_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Ray.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Ray.hpp
+
Ray.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_RAY_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_RAY_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 #include "./RayCollision.hpp"
-
7 
-
8 namespace raylib {
-
12 class Ray : public ::Ray {
-
13  public:
-
14  Ray(const ::Ray& ray) {
-
15  set(ray);
-
16  }
-
17 
-
18  Ray(::Vector3 position, ::Vector3 direction = {0.0f, 0.0f, 0.0f}) : ::Ray{position, direction} {
-
19  // Nothing.
-
20  }
-
21 
-
22  Ray(::Vector2 mousePosition, ::Camera camera) {
-
23  set(::GetMouseRay(mousePosition, camera));
-
24  }
-
25 
-
26  Ray& operator=(const ::Ray& ray) {
-
27  set(ray);
-
28  return *this;
-
29  }
-
30 
-
31  GETTERSETTER(::Vector3, Position, position)
-
32  GETTERSETTER(::Vector3, Direction, direction)
-
33 
-
37  inline Ray& Draw(::Color color) {
-
38  DrawRay(*this, color);
-
39  return *this;
-
40  }
-
41 
-
45  inline bool CheckCollisionSphere(::Vector3 center, float radius) const {
-
46  return GetRayCollisionSphere(*this, center, radius).hit;
-
47  }
-
48 
-
52  inline RayCollision GetCollision(::Vector3 center, float radius) const {
-
53  return GetRayCollisionSphere(*this, center, radius);
-
54  }
-
55 
-
59  inline bool CheckCollision(const ::BoundingBox& box) const {
-
60  return GetRayCollisionBox(*this, box).hit;
-
61  }
-
62 
-
66  inline RayCollision GetCollision(const ::Model& model) const {
-
67  return GetRayCollisionModel(*this, model);
-
68  }
-
69 
-
73  inline RayCollision GetCollision(const ::Mesh& mesh, const ::Matrix& transform) const {
-
74  return GetRayCollisionMesh(*this, mesh, transform);
-
75  }
-
76 
-
80  inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const {
-
81  return GetRayCollisionTriangle(*this, p1, p2, p3);
-
82  }
-
83 
-
87  inline RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const {
-
88  return GetRayCollisionQuad(*this, p1, p2, p3, p4);
-
89  }
-
90 
-
91  private:
-
92  inline void set(const ::Ray& ray) {
-
93  position = ray.position;
-
94  direction = ray.direction;
-
95  }
-
96 };
-
97 } // namespace raylib
-
98 
-
99 #endif // RAYLIB_CPP_INCLUDE_RAY_HPP_
-
-
Ray & Draw(::Color color)
Draw a ray line.
Definition: Ray.hpp:37
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
bool CheckCollision(const ::BoundingBox &box) const
Detect collision between ray and box.
Definition: Ray.hpp:59
+
1#ifndef RAYLIB_CPP_INCLUDE_RAY_HPP_
+
2#define RAYLIB_CPP_INCLUDE_RAY_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6#include "./RayCollision.hpp"
+
7
+
8namespace raylib {
+
12class Ray : public ::Ray {
+
13 public:
+
14 Ray(const ::Ray& ray) {
+
15 set(ray);
+
16 }
+
17
+
18 Ray(::Vector3 position, ::Vector3 direction = {0.0f, 0.0f, 0.0f}) : ::Ray{position, direction} {
+
19 // Nothing.
+
20 }
+
21
+
22 Ray(::Vector2 mousePosition, ::Camera camera) {
+
23 set(::GetMouseRay(mousePosition, camera));
+
24 }
+
25
+
26 Ray& operator=(const ::Ray& ray) {
+
27 set(ray);
+
28 return *this;
+
29 }
+
30
+
31 GETTERSETTER(::Vector3, Position, position)
+
32 GETTERSETTER(::Vector3, Direction, direction)
+
33
+
37 inline Ray& Draw(::Color color) {
+
38 DrawRay(*this, color);
+
39 return *this;
+
40 }
+
41
+
45 inline bool CheckCollisionSphere(::Vector3 center, float radius) const {
+
46 return GetRayCollisionSphere(*this, center, radius).hit;
+
47 }
+
48
+
52 inline RayCollision GetCollision(::Vector3 center, float radius) const {
+
53 return GetRayCollisionSphere(*this, center, radius);
+
54 }
+
55
+
59 inline bool CheckCollision(const ::BoundingBox& box) const {
+
60 return GetRayCollisionBox(*this, box).hit;
+
61 }
+
62
+
66 inline RayCollision GetCollision(const ::Model& model) const {
+
67 return GetRayCollisionModel(*this, model);
+
68 }
+
69
+
73 inline RayCollision GetCollision(const ::Mesh& mesh, const ::Matrix& transform) const {
+
74 return GetRayCollisionMesh(*this, mesh, transform);
+
75 }
+
76
+
80 inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const {
+
81 return GetRayCollisionTriangle(*this, p1, p2, p3);
+
82 }
+
83
+
87 inline RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const {
+
88 return GetRayCollisionQuad(*this, p1, p2, p3, p4);
+
89 }
+
90
+
91 private:
+
92 inline void set(const ::Ray& ray) {
+
93 position = ray.position;
+
94 direction = ray.direction;
+
95 }
+
96};
+
97} // namespace raylib
+
98
+
99#endif // RAYLIB_CPP_INCLUDE_RAY_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Raycast hit information.
Ray type (useful for raycast)
Definition: Ray.hpp:12
+
RayCollision GetCollision(const ::Model &model) const
Get collision info between ray and model.
Definition: Ray.hpp:66
bool CheckCollisionSphere(::Vector3 center, float radius) const
Detect collision between ray and sphere.
Definition: Ray.hpp:45
-
RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
Get collision info between ray and quad.
Definition: Ray.hpp:87
-
Raycast hit information.
+
Ray & Draw(::Color color)
Draw a ray line.
Definition: Ray.hpp:37
+
Ray(const ::Ray &ray)
Definition: Ray.hpp:14
+
RayCollision GetCollision(::Vector3 center, float radius) const
Get collision information between ray and sphere.
Definition: Ray.hpp:52
RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
Get collision info between ray and triangle.
Definition: Ray.hpp:80
+
Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})
Definition: Ray.hpp:18
RayCollision GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const
Get collision information between ray and mesh.
Definition: Ray.hpp:73
+
Ray & operator=(const ::Ray &ray)
Definition: Ray.hpp:26
+
Ray(::Vector2 mousePosition, ::Camera camera)
Definition: Ray.hpp:22
+
bool CheckCollision(const ::BoundingBox &box) const
Detect collision between ray and box.
Definition: Ray.hpp:59
+
RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
Get collision info between ray and quad.
Definition: Ray.hpp:87
Vector3 type.
Definition: Vector3.hpp:16
-
RayCollision GetCollision(::Vector3 center, float radius) const
Get collision information between ray and sphere.
Definition: Ray.hpp:52
-
Camera type, defines a camera position/orientation in 3d space.
Definition: Camera3D.hpp:12
-
Vector2 type.
Definition: Vector2.hpp:16
-
RayCollision GetCollision(const ::Model &model) const
Get collision info between ray and model.
Definition: Ray.hpp:66
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
Camera3D Camera
Definition: Camera3D.hpp:161
+
+ - + diff --git a/docs/_ray_collision_8hpp_source.html b/docs/_ray_collision_8hpp_source.html index 875199c7..a64f2809 100644 --- a/docs/_ray_collision_8hpp_source.html +++ b/docs/_ray_collision_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: RayCollision.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
RayCollision.hpp
+
RayCollision.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 
-
7 namespace raylib {
-
11 class RayCollision : public ::RayCollision {
-
12  public:
-
13  RayCollision(const ::RayCollision& ray) {
-
14  set(ray);
-
15  }
-
16 
-
17  RayCollision(bool hit, float distance,
-
18  ::Vector3 point, ::Vector3 normal) : ::RayCollision{hit, distance, point, normal} {
-
19  // Nothing.
-
20  }
-
21 
-
25  RayCollision(const ::Ray& ray, const ::Mesh& mesh, const ::Matrix& transform) {
-
26  set(::GetRayCollisionMesh(ray, mesh, transform));
-
27  }
-
28 
-
32  RayCollision(const ::Ray& ray, const ::Model& model) {
-
33  set(::GetRayCollisionModel(ray, model));
-
34  }
-
35 
-
39  RayCollision(const ::Ray& ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) {
-
40  set(::GetRayCollisionTriangle(ray, p1, p2, p3));
-
41  }
-
42 
-
43  RayCollision& operator=(const ::RayCollision& ray) {
-
44  set(ray);
-
45  return *this;
-
46  }
-
47 
-
48  GETTERSETTER(bool, Hit, hit)
-
49  GETTERSETTER(float, Distance, distance)
-
50  GETTERSETTER(::Vector3, Position, point)
-
51  GETTERSETTER(::Vector3, Normal, normal)
-
52 
-
53  private:
-
54  inline void set(const ::RayCollision& ray) {
-
55  hit = ray.hit;
-
56  distance = ray.distance;
-
57  point = ray.point;
-
58  normal = ray.normal;
-
59  }
-
60 };
-
61 } // namespace raylib
-
62 
-
63 #endif // RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
1#ifndef RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
+
2#define RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6
+
7namespace raylib {
+
11class RayCollision : public ::RayCollision {
+
12 public:
+
13 RayCollision(const ::RayCollision& ray) {
+
14 set(ray);
+
15 }
+
16
+
17 RayCollision(bool hit, float distance,
+
18 ::Vector3 point, ::Vector3 normal) : ::RayCollision{hit, distance, point, normal} {
+
19 // Nothing.
+
20 }
+
21
+
25 RayCollision(const ::Ray& ray, const ::Mesh& mesh, const ::Matrix& transform) {
+
26 set(::GetRayCollisionMesh(ray, mesh, transform));
+
27 }
+
28
+
32 RayCollision(const ::Ray& ray, const ::Model& model) {
+
33 set(::GetRayCollisionModel(ray, model));
+
34 }
+
35
+
39 RayCollision(const ::Ray& ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) {
+
40 set(::GetRayCollisionTriangle(ray, p1, p2, p3));
+
41 }
+
42
+
43 RayCollision& operator=(const ::RayCollision& ray) {
+
44 set(ray);
+
45 return *this;
+
46 }
+
47
+
48 GETTERSETTER(bool, Hit, hit)
+
49 GETTERSETTER(float, Distance, distance)
+
50 GETTERSETTER(::Vector3, Position, point)
+
51 GETTERSETTER(::Vector3, Normal, normal)
+
52
+
53 private:
+
54 inline void set(const ::RayCollision& ray) {
+
55 hit = ray.hit;
+
56 distance = ray.distance;
+
57 point = ray.point;
+
58 normal = ray.normal;
+
59 }
+
60};
+
61} // namespace raylib
+
62
+
63#endif // RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
Raycast hit information.
-
Vector3 type.
Definition: Vector3.hpp:16
+
RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
Get collision info between ray and mesh.
RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
Get collision info between ray and triangle.
RayCollision(const ::Ray &ray, const ::Model &model)
Get collision info between ray and model.
-
RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
Get collision info between ray and mesh.
+
RayCollision(const ::RayCollision &ray)
+
RayCollision & operator=(const ::RayCollision &ray)
+
RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_raylib_exception_8hpp_source.html b/docs/_raylib_exception_8hpp_source.html index 46b34119..38f4d075 100644 --- a/docs/_raylib_exception_8hpp_source.html +++ b/docs/_raylib_exception_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: RaylibException.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
RaylibException.hpp
+
RaylibException.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
-
3 
-
4 #include <stdexcept>
-
5 #include <string>
-
6 
-
7 #include "./raylib.hpp"
-
8 
-
9 namespace raylib {
-
13 class RaylibException : public std::runtime_error {
-
14  public:
-
20  RaylibException(std::string message) throw() : std::runtime_error(message) {
-
21  // Nothing
-
22  }
-
23 
-
29  void TraceLog(int logLevel = LOG_ERROR) {
-
30  ::TraceLog(logLevel, std::runtime_error::what());
-
31  }
-
32 };
-
33 
-
34 } // namespace raylib
-
35 
-
36 #endif // RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
RaylibException(std::string message)
Construct a runtime exception with the given message.
+
1#ifndef RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
+
2#define RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
+
3
+
4#include <stdexcept>
+
5#include <string>
+
6
+
7#include "./raylib.hpp"
+
8
+
9namespace raylib {
+
13class RaylibException : public std::runtime_error {
+
14 public:
+
20 RaylibException(std::string message) throw() : std::runtime_error(message) {
+
21 // Nothing
+
22 }
+
23
+
29 void TraceLog(int logLevel = LOG_ERROR) {
+
30 ::TraceLog(logLevel, std::runtime_error::what());
+
31 }
+
32};
+
33
+
34} // namespace raylib
+
35
+
36#endif // RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
Exception used for most raylib-related exceptions.
+
RaylibException(std::string message)
Construct a runtime exception with the given message.
void TraceLog(int logLevel=LOG_ERROR)
Outputs the exception message to TraceLog().
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_rectangle_8hpp_source.html b/docs/_rectangle_8hpp_source.html index f9486983..49018b88 100644 --- a/docs/_rectangle_8hpp_source.html +++ b/docs/_rectangle_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Rectangle.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Rectangle.hpp
+
Rectangle.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 #include "./Vector2.hpp"
-
7 
-
8 namespace raylib {
-
12 class Rectangle : public ::Rectangle {
-
13  public:
-
14  Rectangle(const ::Rectangle& vec) {
-
15  set(vec);
-
16  }
-
17 
-
18  Rectangle(float x, float y, float width, float height) : ::Rectangle{x, y, width, height} {}
-
19  Rectangle(float x, float y, float width) : ::Rectangle{x, y, width, 0} {}
-
20  Rectangle(float x, float y) : ::Rectangle{x, y, 0, 0} {}
-
21  Rectangle(float x) : ::Rectangle{x, 0, 0, 0} {}
-
22  Rectangle() : ::Rectangle{0, 0, 0, 0} {}
-
23 
-
24  Rectangle(::Vector2 position, ::Vector2 size)
-
25  : ::Rectangle{position.x, position.y, size.x, size.y} {}
-
26  Rectangle(::Vector2 size) : ::Rectangle{0, 0, size.x, size.y} {}
-
27  Rectangle(::Vector4 rect) : ::Rectangle{rect.x, rect.y, rect.z, rect.w} {}
-
28 
-
29  GETTERSETTER(float, X, x)
-
30  GETTERSETTER(float, Y, y)
-
31  GETTERSETTER(float, Width, width)
-
32  GETTERSETTER(float, Height, height)
-
33 
-
34  Rectangle& operator=(const ::Rectangle& rect) {
-
35  set(rect);
-
36  return *this;
-
37  }
-
38 
-
39  inline ::Vector4 ToVector4() {
-
40  return {x, y, width, height};
-
41  }
-
42 
-
43  operator ::Vector4() const {
-
44  return {x, y, width, height};
-
45  }
-
46 
-
50  inline Rectangle& Draw(::Color color) {
-
51  ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
-
52  static_cast<int>(height), color);
-
53  return *this;
-
54  }
-
55 
-
56  inline Rectangle& Draw(::Vector2 origin, float rotation, ::Color color) {
-
57  ::DrawRectanglePro(*this, origin, rotation, color);
-
58  return *this;
-
59  }
-
60 
-
61  inline Rectangle& DrawGradientV(::Color color1, ::Color color2) {
-
62  ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
-
63  static_cast<int>(height), color1, color2);
-
64  return *this;
-
65  }
-
66 
-
67  inline Rectangle& DrawGradientH(::Color color1, ::Color color2) {
-
68  ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
-
69  static_cast<int>(height), color1, color2);
-
70  return *this;
-
71  }
-
72 
-
73  inline Rectangle& DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) {
-
74  ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
-
75  return *this;
-
76  }
-
77 
-
78  inline Rectangle& DrawLines(::Color color) {
-
79  ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
-
80  static_cast<int>(height), color);
-
81  return *this;
-
82  }
-
83 
-
84  inline Rectangle& DrawLines(::Color color, float lineThick) {
-
85  ::DrawRectangleLinesEx(*this, lineThick, color);
-
86  return *this;
-
87  }
-
88 
-
89  inline Rectangle& DrawRounded(float roundness, int segments, ::Color color) {
-
90  ::DrawRectangleRounded(*this, roundness, segments, color);
-
91  return *this;
-
92  }
-
93 
-
94  inline Rectangle& DrawRoundedLines(float roundness, int segments,
-
95  float lineThick, ::Color color) {
-
96  ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
-
97  return *this;
-
98  }
-
99 
-
103  inline bool CheckCollision(::Rectangle rec2) const {
-
104  return ::CheckCollisionRecs(*this, rec2);
-
105  }
-
106 
-
110  inline ::Rectangle GetCollision(::Rectangle rec2) const {
-
111  return ::GetCollisionRec(*this, rec2);
-
112  }
-
113 
-
117  inline bool CheckCollision(::Vector2 point) const {
-
118  return ::CheckCollisionPointRec(point, *this);
-
119  }
-
120 
-
124  inline bool CheckCollision(::Vector2 center, float radius) {
-
125  return ::CheckCollisionCircleRec(center, radius, *this);
-
126  }
-
127 
-
128  inline ::Vector2 GetSize() {
-
129  return {width, height};
-
130  }
-
131 
-
132  inline Rectangle& SetSize(float newWidth, float newHeight) {
-
133  width = newWidth;
-
134  height = newHeight;
-
135  return *this;
-
136  }
-
137 
-
138  inline Rectangle& SetSize(const ::Vector2& size) {
-
139  return SetSize(size.x, size.y);
-
140  }
-
141 
-
142  inline Rectangle& SetShapesTexture(const ::Texture2D& texture) {
-
143  ::SetShapesTexture(texture, *this);
-
144  return *this;
-
145  }
-
146 
-
147  inline ::Vector2 GetPosition() {
-
148  return {x, y};
-
149  }
-
150 
-
151  inline Rectangle& SetPosition(float newX, float newY) {
-
152  x = newX;
-
153  y = newY;
-
154  return *this;
-
155  }
-
156 
-
157  inline Rectangle& SetPosition(const ::Vector2& position) {
-
158  return SetPosition(position.x, position.y);
-
159  }
-
160 
-
161  private:
-
162  inline void set(const ::Rectangle& rect) {
-
163  x = rect.x;
-
164  y = rect.y;
-
165  width = rect.width;
-
166  height = rect.height;
-
167  }
-
168 };
-
169 } // namespace raylib
-
170 
-
171 #endif // RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Vector4 type.
Definition: Vector4.hpp:17
-
bool CheckCollision(::Vector2 point) const
Check if point is inside rectangle.
Definition: Rectangle.hpp:117
-
bool CheckCollision(::Vector2 center, float radius)
Check collision between circle and rectangle.
Definition: Rectangle.hpp:124
+
1#ifndef RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
+
2#define RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6#include "./Vector2.hpp"
+
7
+
8namespace raylib {
+
12class Rectangle : public ::Rectangle {
+
13 public:
+
14 Rectangle(const ::Rectangle& vec) {
+
15 set(vec);
+
16 }
+
17
+
18 Rectangle(float x, float y, float width, float height) : ::Rectangle{x, y, width, height} {}
+
19 Rectangle(float x, float y, float width) : ::Rectangle{x, y, width, 0} {}
+
20 Rectangle(float x, float y) : ::Rectangle{x, y, 0, 0} {}
+
21 Rectangle(float x) : ::Rectangle{x, 0, 0, 0} {}
+
22 Rectangle() : ::Rectangle{0, 0, 0, 0} {}
+
23
+
24 Rectangle(::Vector2 position, ::Vector2 size)
+
25 : ::Rectangle{position.x, position.y, size.x, size.y} {}
+
26 Rectangle(::Vector2 size) : ::Rectangle{0, 0, size.x, size.y} {}
+
27 Rectangle(::Vector4 rect) : ::Rectangle{rect.x, rect.y, rect.z, rect.w} {}
+
28
+
29 GETTERSETTER(float, X, x)
+
30 GETTERSETTER(float, Y, y)
+
31 GETTERSETTER(float, Width, width)
+
32 GETTERSETTER(float, Height, height)
+
33
+
34 Rectangle& operator=(const ::Rectangle& rect) {
+
35 set(rect);
+
36 return *this;
+
37 }
+
38
+
39 inline ::Vector4 ToVector4() {
+
40 return {x, y, width, height};
+
41 }
+
42
+
43 operator ::Vector4() const {
+
44 return {x, y, width, height};
+
45 }
+
46
+
50 inline Rectangle& Draw(::Color color) {
+
51 ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
+
52 static_cast<int>(height), color);
+
53 return *this;
+
54 }
+
55
+
56 inline Rectangle& Draw(::Vector2 origin, float rotation, ::Color color) {
+
57 ::DrawRectanglePro(*this, origin, rotation, color);
+
58 return *this;
+
59 }
+
60
+
61 inline Rectangle& DrawGradientV(::Color color1, ::Color color2) {
+
62 ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
+
63 static_cast<int>(height), color1, color2);
+
64 return *this;
+
65 }
+
66
+
67 inline Rectangle& DrawGradientH(::Color color1, ::Color color2) {
+
68 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
+
69 static_cast<int>(height), color1, color2);
+
70 return *this;
+
71 }
+
72
+
73 inline Rectangle& DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) {
+
74 ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
+
75 return *this;
+
76 }
+
77
+
78 inline Rectangle& DrawLines(::Color color) {
+
79 ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
+
80 static_cast<int>(height), color);
+
81 return *this;
+
82 }
+
83
+
84 inline Rectangle& DrawLines(::Color color, float lineThick) {
+
85 ::DrawRectangleLinesEx(*this, lineThick, color);
+
86 return *this;
+
87 }
+
88
+
89 inline Rectangle& DrawRounded(float roundness, int segments, ::Color color) {
+
90 ::DrawRectangleRounded(*this, roundness, segments, color);
+
91 return *this;
+
92 }
+
93
+
94 inline Rectangle& DrawRoundedLines(float roundness, int segments,
+
95 float lineThick, ::Color color) {
+
96 ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
+
97 return *this;
+
98 }
+
99
+
103 inline bool CheckCollision(::Rectangle rec2) const {
+
104 return ::CheckCollisionRecs(*this, rec2);
+
105 }
+
106
+
110 inline ::Rectangle GetCollision(::Rectangle rec2) const {
+
111 return ::GetCollisionRec(*this, rec2);
+
112 }
+
113
+
117 inline bool CheckCollision(::Vector2 point) const {
+
118 return ::CheckCollisionPointRec(point, *this);
+
119 }
+
120
+
124 inline bool CheckCollision(::Vector2 center, float radius) {
+
125 return ::CheckCollisionCircleRec(center, radius, *this);
+
126 }
+
127
+
128 inline ::Vector2 GetSize() {
+
129 return {width, height};
+
130 }
+
131
+
132 inline Rectangle& SetSize(float newWidth, float newHeight) {
+
133 width = newWidth;
+
134 height = newHeight;
+
135 return *this;
+
136 }
+
137
+
138 inline Rectangle& SetSize(const ::Vector2& size) {
+
139 return SetSize(size.x, size.y);
+
140 }
+
141
+
142 inline Rectangle& SetShapesTexture(const ::Texture2D& texture) {
+
143 ::SetShapesTexture(texture, *this);
+
144 return *this;
+
145 }
+
146
+
147 inline ::Vector2 GetPosition() {
+
148 return {x, y};
+
149 }
+
150
+
151 inline Rectangle& SetPosition(float newX, float newY) {
+
152 x = newX;
+
153 y = newY;
+
154 return *this;
+
155 }
+
156
+
157 inline Rectangle& SetPosition(const ::Vector2& position) {
+
158 return SetPosition(position.x, position.y);
+
159 }
+
160
+
161 private:
+
162 inline void set(const ::Rectangle& rect) {
+
163 x = rect.x;
+
164 y = rect.y;
+
165 width = rect.width;
+
166 height = rect.height;
+
167 }
+
168};
+
169} // namespace raylib
+
170
+
171#endif // RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
Rectangle type.
Definition: Rectangle.hpp:12
-
Vector2 type.
Definition: Vector2.hpp:16
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
inline ::Rectangle GetCollision(::Rectangle rec2) const
Get collision rectangle for two rectangles collision.
Definition: Rectangle.hpp:110
+
Rectangle(float x, float y)
Definition: Rectangle.hpp:20
+
Rectangle(::Vector4 rect)
Definition: Rectangle.hpp:27
+
Rectangle & SetPosition(const ::Vector2 &position)
Definition: Rectangle.hpp:157
+
Rectangle(::Vector2 position, ::Vector2 size)
Definition: Rectangle.hpp:24
+
Rectangle(float x)
Definition: Rectangle.hpp:21
bool CheckCollision(::Rectangle rec2) const
Check collision between two rectangles.
Definition: Rectangle.hpp:103
-
Rectangle & Draw(::Color color)
Draw a color-filled rectangle.
Definition: Rectangle.hpp:50
+
Rectangle & SetPosition(float newX, float newY)
Definition: Rectangle.hpp:151
+
Rectangle & DrawGradientV(::Color color1, ::Color color2)
Definition: Rectangle.hpp:61
+
Rectangle(float x, float y, float width)
Definition: Rectangle.hpp:19
+
inline ::Rectangle GetCollision(::Rectangle rec2) const
Get collision rectangle for two rectangles collision.
Definition: Rectangle.hpp:110
+
Rectangle & DrawGradientH(::Color color1, ::Color color2)
Definition: Rectangle.hpp:67
+
inline ::Vector4 ToVector4()
Definition: Rectangle.hpp:39
+
Rectangle(::Vector2 size)
Definition: Rectangle.hpp:26
+
Rectangle & DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4)
Definition: Rectangle.hpp:73
+
Rectangle & SetSize(float newWidth, float newHeight)
Definition: Rectangle.hpp:132
+
Rectangle & DrawRounded(float roundness, int segments, ::Color color)
Definition: Rectangle.hpp:89
+
Rectangle & DrawLines(::Color color)
Definition: Rectangle.hpp:78
+
inline ::Vector2 GetPosition()
Definition: Rectangle.hpp:147
+
Rectangle & DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color)
Definition: Rectangle.hpp:94
+
Rectangle(float x, float y, float width, float height)
Definition: Rectangle.hpp:18
+
Rectangle & Draw(::Vector2 origin, float rotation, ::Color color)
Definition: Rectangle.hpp:56
+ +
Rectangle & Draw(::Color color)
Draw a color-filled rectangle.
Definition: Rectangle.hpp:50
+
bool CheckCollision(::Vector2 center, float radius)
Check collision between circle and rectangle.
Definition: Rectangle.hpp:124
+
bool CheckCollision(::Vector2 point) const
Check if point is inside rectangle.
Definition: Rectangle.hpp:117
+
Rectangle & SetSize(const ::Vector2 &size)
Definition: Rectangle.hpp:138
+
Rectangle & DrawLines(::Color color, float lineThick)
Definition: Rectangle.hpp:84
+
inline ::Vector2 GetSize()
Definition: Rectangle.hpp:128
+
Rectangle(const ::Rectangle &vec)
Definition: Rectangle.hpp:14
+
Rectangle & SetShapesTexture(const ::Texture2D &texture)
Definition: Rectangle.hpp:142
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_render_texture_8hpp_source.html b/docs/_render_texture_8hpp_source.html index 18579d14..f078e845 100644 --- a/docs/_render_texture_8hpp_source.html +++ b/docs/_render_texture_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: RenderTexture.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
RenderTexture.hpp
+
RenderTexture.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 #include "./RaylibException.hpp"
-
7 
-
8 namespace raylib {
- -
13  public:
- -
18  id = 0;
-
19  }
-
20 
-
21  RenderTexture(const ::RenderTexture& renderTexture) {
-
22  set(renderTexture);
-
23  }
-
24 
-
25  RenderTexture(unsigned int id, ::Texture texture, ::Texture depth) : ::RenderTexture{id, texture, depth} {}
-
26 
-
27  RenderTexture(int width, int height) {
-
28  if (!Load(width, height)) {
-
29  throw RaylibException("Failed to create RenderTexture");
-
30  }
-
31  }
-
32 
-
33  RenderTexture(const RenderTexture&) = delete;
-
34 
-
35  RenderTexture(RenderTexture&& other) {
-
36  set(other);
-
37 
-
38  other.id = 0;
-
39  other.texture = {};
-
40  other.depth = {};
-
41  }
-
42 
-
43  GETTERSETTER(unsigned int, Id, id)
-
44  GETTERSETTER(::Texture2D, Texture, texture)
-
45  GETTERSETTER(::Texture2D, Depth, depth)
-
46 
-
47  RenderTexture& operator=(const ::RenderTexture& texture) {
-
48  set(texture);
-
49  return *this;
-
50  }
-
51 
-
52  RenderTexture& operator=(const RenderTexture&) = delete;
-
53 
-
54  RenderTexture& operator=(RenderTexture&& other) noexcept {
-
55  if (this == &other) {
-
56  return *this;
-
57  }
-
58 
-
59  Unload();
-
60  set(other);
-
61 
-
62  other.id = 0;
-
63  other.texture = {};
-
64  other.depth = {};
-
65 
-
66  return *this;
-
67  }
-
68 
-
69  ~RenderTexture() {
-
70  Unload();
-
71  }
-
72 
-
73  inline void Unload() {
-
74  UnloadRenderTexture(*this);
-
75  }
-
76 
- -
81  ::BeginTextureMode(*this);
-
82  return *this;
-
83  }
-
84 
-
88  inline RenderTexture& EndMode() {
-
89  ::EndTextureMode();
-
90  return *this;
-
91  }
-
92 
-
96  bool Load(int width, int height) {
-
97  set(::LoadRenderTexture(width, height));
-
98  return IsReady();
-
99  }
-
100 
-
104  bool IsReady() const {
-
105  return id != 0;
-
106  }
-
107 
-
108  private:
-
109  inline void set(const ::RenderTexture& renderTexture) {
-
110  id = renderTexture.id;
-
111  texture = renderTexture.texture;
-
112  depth = renderTexture.depth;
-
113  }
-
114 };
-
115 typedef RenderTexture RenderTexture2D;
-
116 } // namespace raylib
-
117 
-
118 #endif // RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
RenderTexture()
Default constructor to build an empty RenderTexture.
-
bool IsReady() const
Retrieves whether or not the render texture is ready.
+
1#ifndef RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
+
2#define RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6#include "./RaylibException.hpp"
+
7
+
8namespace raylib {
+
12class RenderTexture : public ::RenderTexture {
+
13 public:
+ +
18 id = 0;
+
19 }
+
20
+
21 RenderTexture(const ::RenderTexture& renderTexture) {
+
22 set(renderTexture);
+
23 }
+
24
+
25 RenderTexture(unsigned int id, ::Texture texture, ::Texture depth) : ::RenderTexture{id, texture, depth} {}
+
26
+
27 RenderTexture(int width, int height) {
+
28 if (!Load(width, height)) {
+
29 throw RaylibException("Failed to create RenderTexture");
+
30 }
+
31 }
+
32
+
33 RenderTexture(const RenderTexture&) = delete;
+
34
+ +
36 set(other);
+
37
+
38 other.id = 0;
+
39 other.texture = {};
+
40 other.depth = {};
+
41 }
+
42
+
43 GETTERSETTER(unsigned int, Id, id)
+
44 GETTERSETTER(::Texture2D, Texture, texture)
+
45 GETTERSETTER(::Texture2D, Depth, depth)
+
46
+
47 RenderTexture& operator=(const ::RenderTexture& texture) {
+
48 set(texture);
+
49 return *this;
+
50 }
+
51
+ +
53
+ +
55 if (this == &other) {
+
56 return *this;
+
57 }
+
58
+
59 Unload();
+
60 set(other);
+
61
+
62 other.id = 0;
+
63 other.texture = {};
+
64 other.depth = {};
+
65
+
66 return *this;
+
67 }
+
68
+ +
70 Unload();
+
71 }
+
72
+
73 inline void Unload() {
+
74 UnloadRenderTexture(*this);
+
75 }
+
76
+ +
81 ::BeginTextureMode(*this);
+
82 return *this;
+
83 }
+
84
+ +
89 ::EndTextureMode();
+
90 return *this;
+
91 }
+
92
+
96 bool Load(int width, int height) {
+
97 set(::LoadRenderTexture(width, height));
+
98 return IsReady();
+
99 }
+
100
+
104 bool IsReady() const {
+
105 return id != 0;
+
106 }
+
107
+
108 private:
+
109 inline void set(const ::RenderTexture& renderTexture) {
+
110 id = renderTexture.id;
+
111 texture = renderTexture.texture;
+
112 depth = renderTexture.depth;
+
113 }
+
114};
+ +
116} // namespace raylib
+
117
+
118#endif // RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
+
Exception used for most raylib-related exceptions.
RenderTexture type, for texture rendering.
+
RenderTexture & operator=(const RenderTexture &)=delete
+
RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)
+
RenderTexture(RenderTexture &&other)
+
bool IsReady() const
Retrieves whether or not the render texture is ready.
+
RenderTexture & BeginMode()
Initializes render texture for drawing.
+ +
RenderTexture & EndMode()
Ends drawing to render texture.
+
RenderTexture(const ::RenderTexture &renderTexture)
+
bool Load(int width, int height)
Loads a render texture at the given width and height.
-
RenderTexture & EndMode()
Ends drawing to render texture.
-
RenderTexture & BeginMode()
Initializes render texture for drawing.
+
RenderTexture & operator=(RenderTexture &&other) noexcept
+
RenderTexture()
Default constructor to build an empty RenderTexture.
+
RenderTexture(const RenderTexture &)=delete
+
RenderTexture(int width, int height)
Texture type.
Definition: Texture.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
RenderTexture RenderTexture2D
+
+ - + diff --git a/docs/_shader_8hpp_source.html b/docs/_shader_8hpp_source.html index 9368eae9..acfd9743 100644 --- a/docs/_shader_8hpp_source.html +++ b/docs/_shader_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Shader.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Shader.hpp
+
Shader.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_SHADER_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_SHADER_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "Texture.hpp"
-
9 
-
10 namespace raylib {
-
14 class Shader : public ::Shader {
-
15  public:
-
16  Shader(const ::Shader& shader) {
-
17  set(shader);
-
18  }
-
19 
-
20  Shader(unsigned int id, int* locs = nullptr) : ::Shader{id, locs} {}
-
21 
-
22  Shader(const std::string& vsFileName, const std::string& fsFileName) {
-
23  set(::LoadShader(vsFileName.c_str(), fsFileName.c_str()));
-
24  }
-
25 
-
26  Shader(const char* vsFileName, const char* fsFileName) {
-
27  set(::LoadShader(vsFileName, fsFileName));
-
28  }
-
29 
-
30  Shader(const Shader&) = delete;
-
31 
-
32  Shader(Shader&& other) {
-
33  set(other);
-
34 
-
35  other.id = 0;
-
36  other.locs = nullptr;
-
37  }
-
38 
-
44  static ::Shader Load(const std::string& vsFileName, const std::string& fsFileName) {
-
45  return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
-
46  }
-
47 
-
53  static ::Shader LoadFromMemory(const std::string& vsCode, const std::string& fsCode) {
-
54  return ::LoadShaderFromMemory(vsCode.c_str(), fsCode.c_str());
-
55  }
-
56 
-
57  GETTERSETTER(unsigned int, Id, id)
-
58  GETTERSETTER(int*, Locs, locs)
-
59 
-
60  Shader& operator=(const ::Shader& shader) {
-
61  set(shader);
-
62  return *this;
-
63  }
-
64 
-
65  Shader& operator=(const Shader&) = delete;
-
66 
-
67  Shader& operator=(Shader&& other) noexcept {
-
68  if (this == &other) {
-
69  return *this;
-
70  }
-
71 
-
72  Unload();
-
73  set(other);
-
74 
-
75  other.id = 0;
-
76  other.locs = nullptr;
-
77 
-
78  return *this;
-
79  }
-
80 
-
81  ~Shader() {
-
82  Unload();
-
83  }
-
84 
-
85  void Unload() {
-
86  if (locs != nullptr) {
-
87  ::UnloadShader(*this);
-
88  }
-
89  }
-
90 
-
94  inline Shader& BeginMode() {
-
95  ::BeginShaderMode(*this);
-
96  return *this;
-
97  }
-
98 
-
102  inline Shader& EndMode() {
-
103  ::EndShaderMode();
-
104  return *this;
-
105  }
-
106 
-
112  inline int GetLocation(const std::string& uniformName) const {
-
113  return ::GetShaderLocation(*this, uniformName.c_str());
-
114  }
-
115 
-
121  inline int GetLocationAttrib(const std::string& attribName) const {
-
122  return ::GetShaderLocationAttrib(*this, attribName.c_str());
-
123  }
-
124 
-
130  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType) {
-
131  ::SetShaderValue(*this, uniformLoc, value, uniformType);
-
132  return *this;
-
133  }
-
134 
-
140  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType, int count) {
-
141  ::SetShaderValueV(*this, uniformLoc, value, uniformType, count);
-
142  return *this;
-
143  }
-
144 
-
150  inline Shader& SetValue(int uniformLoc, const ::Matrix& mat) {
-
151  ::SetShaderValueMatrix(*this, uniformLoc, mat);
-
152  return *this;
-
153  }
-
154 
-
160  inline Shader& SetValue(int uniformLoc, const ::Texture2D& texture) {
-
161  ::SetShaderValueTexture(*this, uniformLoc, texture);
-
162  return *this;
-
163  }
-
164 
-
168  bool IsReady() const {
-
169  return id != 0 && locs != nullptr;
-
170  }
-
171 
-
172  private:
-
173  inline void set(const ::Shader& shader) {
-
174  id = shader.id;
-
175  locs = shader.locs;
-
176  }
-
177 };
-
178 } // namespace raylib
-
179 
-
180 #endif // RAYLIB_CPP_INCLUDE_SHADER_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Shader & SetValue(int uniformLoc, const void *value, int uniformType, int count)
Set shader uniform value vector.
Definition: Shader.hpp:140
+
1#ifndef RAYLIB_CPP_INCLUDE_SHADER_HPP_
+
2#define RAYLIB_CPP_INCLUDE_SHADER_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "Texture.hpp"
+
9
+
10namespace raylib {
+
14class Shader : public ::Shader {
+
15 public:
+
16 Shader(const ::Shader& shader) {
+
17 set(shader);
+
18 }
+
19
+
20 Shader(unsigned int id, int* locs = nullptr) : ::Shader{id, locs} {}
+
21
+
22 Shader(const std::string& vsFileName, const std::string& fsFileName) {
+
23 set(::LoadShader(vsFileName.c_str(), fsFileName.c_str()));
+
24 }
+
25
+
26 Shader(const char* vsFileName, const char* fsFileName) {
+
27 set(::LoadShader(vsFileName, fsFileName));
+
28 }
+
29
+
30 Shader(const Shader&) = delete;
+
31
+
32 Shader(Shader&& other) {
+
33 set(other);
+
34
+
35 other.id = 0;
+
36 other.locs = nullptr;
+
37 }
+
38
+
44 static ::Shader Load(const std::string& vsFileName, const std::string& fsFileName) {
+
45 return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
+
46 }
+
47
+
53 static ::Shader LoadFromMemory(const std::string& vsCode, const std::string& fsCode) {
+
54 return ::LoadShaderFromMemory(vsCode.c_str(), fsCode.c_str());
+
55 }
+
56
+
57 GETTERSETTER(unsigned int, Id, id)
+
58 GETTERSETTER(int*, Locs, locs)
+
59
+
60 Shader& operator=(const ::Shader& shader) {
+
61 set(shader);
+
62 return *this;
+
63 }
+
64
+
65 Shader& operator=(const Shader&) = delete;
+
66
+
67 Shader& operator=(Shader&& other) noexcept {
+
68 if (this == &other) {
+
69 return *this;
+
70 }
+
71
+
72 Unload();
+
73 set(other);
+
74
+
75 other.id = 0;
+
76 other.locs = nullptr;
+
77
+
78 return *this;
+
79 }
+
80
+ +
82 Unload();
+
83 }
+
84
+
85 void Unload() {
+
86 if (locs != nullptr) {
+
87 ::UnloadShader(*this);
+
88 }
+
89 }
+
90
+
94 inline Shader& BeginMode() {
+
95 ::BeginShaderMode(*this);
+
96 return *this;
+
97 }
+
98
+
102 inline Shader& EndMode() {
+
103 ::EndShaderMode();
+
104 return *this;
+
105 }
+
106
+
112 inline int GetLocation(const std::string& uniformName) const {
+
113 return ::GetShaderLocation(*this, uniformName.c_str());
+
114 }
+
115
+
121 inline int GetLocationAttrib(const std::string& attribName) const {
+
122 return ::GetShaderLocationAttrib(*this, attribName.c_str());
+
123 }
+
124
+
130 inline Shader& SetValue(int uniformLoc, const void* value, int uniformType) {
+
131 ::SetShaderValue(*this, uniformLoc, value, uniformType);
+
132 return *this;
+
133 }
+
134
+
140 inline Shader& SetValue(int uniformLoc, const void* value, int uniformType, int count) {
+
141 ::SetShaderValueV(*this, uniformLoc, value, uniformType, count);
+
142 return *this;
+
143 }
+
144
+
150 inline Shader& SetValue(int uniformLoc, const ::Matrix& mat) {
+
151 ::SetShaderValueMatrix(*this, uniformLoc, mat);
+
152 return *this;
+
153 }
+
154
+
160 inline Shader& SetValue(int uniformLoc, const ::Texture2D& texture) {
+
161 ::SetShaderValueTexture(*this, uniformLoc, texture);
+
162 return *this;
+
163 }
+
164
+
168 bool IsReady() const {
+
169 return id != 0 && locs != nullptr;
+
170 }
+
171
+
172 private:
+
173 inline void set(const ::Shader& shader) {
+
174 id = shader.id;
+
175 locs = shader.locs;
+
176 }
+
177};
+
178} // namespace raylib
+
179
+
180#endif // RAYLIB_CPP_INCLUDE_SHADER_HPP_
+
Shader type (generic)
Definition: Shader.hpp:14
+
Shader & SetValue(int uniformLoc, const ::Texture2D &texture)
Set shader uniform value for texture.
Definition: Shader.hpp:160
+
Shader & operator=(Shader &&other) noexcept
Definition: Shader.hpp:67
+
Shader & operator=(const Shader &)=delete
+
void Unload()
Definition: Shader.hpp:85
+ +
Shader(const ::Shader &shader)
Definition: Shader.hpp:16
+
::Shader Load(const std::string &vsFileName, const std::string &fsFileName)
Load shader from files and bind default locations.
Definition: Shader.hpp:44
+
Shader & BeginMode()
Begin custom shader drawing.
Definition: Shader.hpp:94
+
Shader(const std::string &vsFileName, const std::string &fsFileName)
Definition: Shader.hpp:22
+
Shader & SetValue(int uniformLoc, const void *value, int uniformType)
Set shader uniform value.
Definition: Shader.hpp:130
+
Shader & EndMode()
End custom shader drawing (use default shader).
Definition: Shader.hpp:102
::Shader LoadFromMemory(const std::string &vsCode, const std::string &fsCode)
Load a shader from memory.
Definition: Shader.hpp:53
-
Shader & SetValue(int uniformLoc, const ::Matrix &mat)
Set shader uniform value (matrix 4x4)
Definition: Shader.hpp:150
int GetLocation(const std::string &uniformName) const
Get shader uniform location.
Definition: Shader.hpp:112
-
Shader & EndMode()
End custom shader drawing (use default shader).
Definition: Shader.hpp:102
-
Shader type (generic)
Definition: Shader.hpp:14
-
Shader & BeginMode()
Begin custom shader drawing.
Definition: Shader.hpp:94
int GetLocationAttrib(const std::string &attribName) const
Get shader attribute location.
Definition: Shader.hpp:121
-
::Shader Load(const std::string &vsFileName, const std::string &fsFileName)
Load shader from files and bind default locations.
Definition: Shader.hpp:44
-
Shader & SetValue(int uniformLoc, const ::Texture2D &texture)
Set shader uniform value for texture.
Definition: Shader.hpp:160
-
Shader & SetValue(int uniformLoc, const void *value, int uniformType)
Set shader uniform value.
Definition: Shader.hpp:130
+
Shader & SetValue(int uniformLoc, const ::Matrix &mat)
Set shader uniform value (matrix 4x4)
Definition: Shader.hpp:150
bool IsReady() const
Retrieves whether or not the shader is ready.
Definition: Shader.hpp:168
+
Shader & SetValue(int uniformLoc, const void *value, int uniformType, int count)
Set shader uniform value vector.
Definition: Shader.hpp:140
+
Shader(const Shader &)=delete
+
Shader(const char *vsFileName, const char *fsFileName)
Definition: Shader.hpp:26
+
Shader(unsigned int id, int *locs=nullptr)
Definition: Shader.hpp:20
+
Shader(Shader &&other)
Definition: Shader.hpp:32
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_sound_8hpp_source.html b/docs/_sound_8hpp_source.html index f03e7b5f..660097da 100644 --- a/docs/_sound_8hpp_source.html +++ b/docs/_sound_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Sound.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Sound.hpp
+
Sound.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_SOUND_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_SOUND_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "./RaylibException.hpp"
-
9 
-
10 namespace raylib {
-
19 class Sound : public ::Sound {
-
20  public:
-
21  Sound(const Sound&) = delete;
-
22  Sound& operator=(const Sound&) = delete;
-
23 
-
24  Sound() {
-
25  frameCount = 0;
-
26  stream.buffer = nullptr;
-
27  }
-
28 
-
29  Sound(::AudioStream stream, unsigned int frameCount) : ::Sound{stream, frameCount} {
-
30  // Nothing.
-
31  }
-
32 
-
33  Sound(Sound&& other) {
-
34  set(other);
-
35 
-
36  other.frameCount = 0;
-
37  other.stream = { 0, 0, 0, 0 };
-
38  }
-
39 
-
45  Sound(const std::string& fileName) {
-
46  if (!Load(fileName)) {
-
47  throw RaylibException(TextFormat("Failed to load Sound from file: %s", fileName.c_str()));
-
48  }
-
49  }
-
50 
-
56  Sound(const ::Wave& wave) {
-
57  if (!Load(wave)) {
-
58  throw RaylibException("Failed to load Sound from Wave");
-
59  }
-
60  }
-
61 
-
62  ~Sound() {
-
63  Unload();
-
64  }
-
65 
-
66  GETTERSETTER(unsigned int, FrameCount, frameCount)
-
67  GETTERSETTER(::AudioStream, Stream, stream)
-
68 
-
69  Sound& operator=(Sound&& other) noexcept {
-
70  if (this == &other) {
-
71  return *this;
-
72  }
-
73 
-
74  Unload();
-
75  set(other);
-
76  other.frameCount = 0;
-
77  other.stream = { 0, 0, 0, 0 };
-
78 
-
79  return *this;
-
80  }
-
81 
-
85  inline Sound& Update(const void *data, int samplesCount) {
-
86  ::UpdateSound(*this, data, samplesCount);
-
87  return *this;
-
88  }
-
89 
-
93  inline Sound& Update(const void *data) {
-
94  ::UpdateSound(*this, data, static_cast<int>(frameCount));
-
95  return *this;
-
96  }
-
97 
-
101  inline void Unload() {
-
102  ::UnloadSound(*this);
-
103  }
-
104 
-
108  inline Sound& Play() {
-
109  ::PlaySound(*this);
-
110  return *this;
-
111  }
-
112 
-
116  inline Sound& Stop() {
-
117  ::StopSound(*this);
-
118  return *this;
-
119  }
-
120 
-
124  inline Sound& Pause() {
-
125  ::PauseSound(*this);
-
126  return *this;
-
127  }
-
128 
-
132  inline Sound& Resume() {
-
133  ::ResumeSound(*this);
-
134  return *this;
-
135  }
-
136 
-
140  inline Sound& PlayMulti() {
-
141  ::PlaySoundMulti(*this);
-
142  return *this;
-
143  }
-
144 
-
148  inline Sound& StopMulti() {
-
149  ::StopSoundMulti();
-
150  return *this;
-
151  }
-
152 
-
156  inline bool IsPlaying() const {
-
157  return ::IsSoundPlaying(*this);
-
158  }
-
159 
-
163  inline Sound& SetVolume(float volume) {
-
164  ::SetSoundVolume(*this, volume);
-
165  return *this;
-
166  }
-
167 
-
171  inline Sound& SetPitch(float pitch) {
-
172  ::SetSoundPitch(*this, pitch);
-
173  return *this;
-
174  }
-
175 
-
181  bool Load(const std::string& fileName) {
-
182  set(::LoadSound(fileName.c_str()));
-
183  return IsReady();
-
184  }
-
185 
-
189  bool Load(const ::Wave& wave) {
-
190  set(::LoadSoundFromWave(wave));
-
191  return IsReady();
-
192  }
-
193 
-
194 
-
200  bool IsReady() const {
-
201  return stream.buffer != nullptr;
-
202  }
-
203 
-
204  private:
-
205  inline void set(const ::Sound& sound) {
-
206  frameCount = sound.frameCount;
-
207  stream = sound.stream;
-
208  }
-
209 };
-
210 } // namespace raylib
-
211 
-
212 #endif // RAYLIB_CPP_INCLUDE_SOUND_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
bool Load(const ::Wave &wave)
Loads the given Wave object into the Sound.
Definition: Sound.hpp:189
-
Sound & StopMulti()
Stop any sound playing (using multichannel buffer pool)
Definition: Sound.hpp:148
-
Sound & SetVolume(float volume)
Set volume for a sound (1.0 is max level)
Definition: Sound.hpp:163
-
Sound & Update(const void *data, int samplesCount)
Update sound buffer with new data.
Definition: Sound.hpp:85
+
1#ifndef RAYLIB_CPP_INCLUDE_SOUND_HPP_
+
2#define RAYLIB_CPP_INCLUDE_SOUND_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "./RaylibException.hpp"
+
9
+
10namespace raylib {
+
19class Sound : public ::Sound {
+
20 public:
+
21 Sound(const Sound&) = delete;
+
22 Sound& operator=(const Sound&) = delete;
+
23
+ +
25 frameCount = 0;
+
26 stream.buffer = nullptr;
+
27 }
+
28
+
29 Sound(::AudioStream stream, unsigned int frameCount) : ::Sound{stream, frameCount} {
+
30 // Nothing.
+
31 }
+
32
+
33 Sound(Sound&& other) {
+
34 set(other);
+
35
+
36 other.frameCount = 0;
+
37 other.stream = { 0, 0, 0, 0 };
+
38 }
+
39
+
45 Sound(const std::string& fileName) {
+
46 if (!Load(fileName)) {
+
47 throw RaylibException(TextFormat("Failed to load Sound from file: %s", fileName.c_str()));
+
48 }
+
49 }
+
50
+
56 Sound(const ::Wave& wave) {
+
57 if (!Load(wave)) {
+
58 throw RaylibException("Failed to load Sound from Wave");
+
59 }
+
60 }
+
61
+ +
63 Unload();
+
64 }
+
65
+
66 GETTERSETTER(unsigned int, FrameCount, frameCount)
+
67 GETTERSETTER(::AudioStream, Stream, stream)
+
68
+
69 Sound& operator=(Sound&& other) noexcept {
+
70 if (this == &other) {
+
71 return *this;
+
72 }
+
73
+
74 Unload();
+
75 set(other);
+
76 other.frameCount = 0;
+
77 other.stream = { 0, 0, 0, 0 };
+
78
+
79 return *this;
+
80 }
+
81
+
85 inline Sound& Update(const void *data, int samplesCount) {
+
86 ::UpdateSound(*this, data, samplesCount);
+
87 return *this;
+
88 }
+
89
+
93 inline Sound& Update(const void *data) {
+
94 ::UpdateSound(*this, data, static_cast<int>(frameCount));
+
95 return *this;
+
96 }
+
97
+
101 inline void Unload() {
+
102 ::UnloadSound(*this);
+
103 }
+
104
+
108 inline Sound& Play() {
+
109 ::PlaySound(*this);
+
110 return *this;
+
111 }
+
112
+
116 inline Sound& Stop() {
+
117 ::StopSound(*this);
+
118 return *this;
+
119 }
+
120
+
124 inline Sound& Pause() {
+
125 ::PauseSound(*this);
+
126 return *this;
+
127 }
+
128
+
132 inline Sound& Resume() {
+
133 ::ResumeSound(*this);
+
134 return *this;
+
135 }
+
136
+
140 inline Sound& PlayMulti() {
+
141 ::PlaySoundMulti(*this);
+
142 return *this;
+
143 }
+
144
+
148 inline Sound& StopMulti() {
+
149 ::StopSoundMulti();
+
150 return *this;
+
151 }
+
152
+
156 inline bool IsPlaying() const {
+
157 return ::IsSoundPlaying(*this);
+
158 }
+
159
+
163 inline Sound& SetVolume(float volume) {
+
164 ::SetSoundVolume(*this, volume);
+
165 return *this;
+
166 }
+
167
+
171 inline Sound& SetPitch(float pitch) {
+
172 ::SetSoundPitch(*this, pitch);
+
173 return *this;
+
174 }
+
175
+
181 bool Load(const std::string& fileName) {
+
182 set(::LoadSound(fileName.c_str()));
+
183 return IsReady();
+
184 }
+
185
+
189 bool Load(const ::Wave& wave) {
+
190 set(::LoadSoundFromWave(wave));
+
191 return IsReady();
+
192 }
+
193
+
194
+
200 bool IsReady() const {
+
201 return stream.buffer != nullptr;
+
202 }
+
203
+
204 private:
+
205 inline void set(const ::Sound& sound) {
+
206 frameCount = sound.frameCount;
+
207 stream = sound.stream;
+
208 }
+
209};
+
210} // namespace raylib
+
211
+
212#endif // RAYLIB_CPP_INCLUDE_SOUND_HPP_
+
AudioStream management functions.
Definition: AudioStream.hpp:12
+
Exception used for most raylib-related exceptions.
Wave/Sound management functions.
Definition: Sound.hpp:19
-
Sound & Pause()
Pause a sound.
Definition: Sound.hpp:124
-
bool IsReady() const
Retrieve whether or not the Sound buffer is loaded.
Definition: Sound.hpp:200
-
Sound & Resume()
Resume a paused sound.
Definition: Sound.hpp:132
-
Sound & Stop()
Stop playing a sound.
Definition: Sound.hpp:116
+
Sound & operator=(const Sound &)=delete
+
Sound(const std::string &fileName)
Loads a sound from the given file.
Definition: Sound.hpp:45
+
void Unload()
Unload sound.
Definition: Sound.hpp:101
bool Load(const std::string &fileName)
Load a sound from the given file.
Definition: Sound.hpp:181
+
Sound & Stop()
Stop playing a sound.
Definition: Sound.hpp:116
+
Sound & SetVolume(float volume)
Set volume for a sound (1.0 is max level)
Definition: Sound.hpp:163
+ +
Sound(const Sound &)=delete
+
Sound & Pause()
Pause a sound.
Definition: Sound.hpp:124
+
bool IsReady() const
Retrieve whether or not the Sound buffer is loaded.
Definition: Sound.hpp:200
+
Sound & Update(const void *data)
Update sound buffer with new data, assuming it's the same sample count.
Definition: Sound.hpp:93
+
Sound & Resume()
Resume a paused sound.
Definition: Sound.hpp:132
+
Sound & Update(const void *data, int samplesCount)
Update sound buffer with new data.
Definition: Sound.hpp:85
+
Sound & StopMulti()
Stop any sound playing (using multichannel buffer pool)
Definition: Sound.hpp:148
+ +
Sound & Play()
Play a sound.
Definition: Sound.hpp:108
+
Sound(Sound &&other)
Definition: Sound.hpp:33
bool IsPlaying() const
Check if a sound is currently playing.
Definition: Sound.hpp:156
-
void Unload()
Unload sound.
Definition: Sound.hpp:101
-
AudioStream management functions.
Definition: AudioStream.hpp:12
+
Sound & PlayMulti()
Play a sound (using multichannel buffer pool)
Definition: Sound.hpp:140
+
Sound(::AudioStream stream, unsigned int frameCount)
Definition: Sound.hpp:29
Sound(const ::Wave &wave)
Loads a sound from the given Wave.
Definition: Sound.hpp:56
-
Sound & Update(const void *data)
Update sound buffer with new data, assuming it's the same sample count.
Definition: Sound.hpp:93
-
Sound & SetPitch(float pitch)
Set pitch for a sound (1.0 is base level)
Definition: Sound.hpp:171
-
Exception used for most raylib-related exceptions.
-
Sound & Play()
Play a sound.
Definition: Sound.hpp:108
-
Sound & PlayMulti()
Play a sound (using multichannel buffer pool)
Definition: Sound.hpp:140
-
Sound(const std::string &fileName)
Loads a sound from the given file.
Definition: Sound.hpp:45
+
Sound & SetPitch(float pitch)
Set pitch for a sound (1.0 is base level)
Definition: Sound.hpp:171
+
bool Load(const ::Wave &wave)
Loads the given Wave object into the Sound.
Definition: Sound.hpp:189
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_text_8hpp_source.html b/docs/_text_8hpp_source.html index cf3254fd..7956a0d4 100644 --- a/docs/_text_8hpp_source.html +++ b/docs/_text_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Text.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Text.hpp
+
Text.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_TEXT_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_TEXT_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./RaylibException.hpp"
-
8 #include "./raylib-cpp-utils.hpp"
-
9 
-
10 namespace raylib {
-
14 class Text {
-
15  public:
-
19  std::string text;
-
20 
-
24  float fontSize;
-
25 
- -
30 
- -
35 
-
39  float spacing;
-
40 
- -
51  const std::string& text = "",
-
52  float fontSize = 10,
-
53  const ::Color& color = WHITE,
-
54  const ::Font& font = ::GetFontDefault(),
-
55  float spacing = 0) :
-
56  text(text),
- -
58  color(color),
-
59  font(font),
-
60  spacing(spacing) {
-
61  // Nothing.
-
62  }
-
63 
- -
74  const ::Font& font,
-
75  const std::string& text = "",
-
76  float fontSize = 10,
-
77  float spacing = 0,
-
78  const ::Color& color = WHITE) :
-
79  text(text),
- -
81  color(color),
-
82  font(font),
-
83  spacing(spacing) {
-
84  // Nothing.
-
85  }
-
86 
-
87  GETTERSETTER(std::string, Text, text)
-
88  GETTERSETTER(float, FontSize, fontSize)
-
89  GETTERSETTER(::Font, Font, font)
-
90  GETTERSETTER(::Color, Color, color)
-
91  GETTERSETTER(float, Spacing, spacing)
-
92 
-
96  inline void Draw(const ::Vector2& position) {
-
97  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
-
98  }
-
99 
-
103  inline void Draw(int posX, int posY) {
- -
105  text.c_str(),
-
106  { static_cast<float>(posX), static_cast<float>(posY) },
-
107  fontSize,
-
108  spacing,
-
109  color);
-
110  }
-
111 
-
117  inline void Draw(const ::Vector2& position, float rotation, const Vector2& origin = {0, 0}) {
-
118  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
-
119  }
-
120 
-
124  inline int Measure() {
-
125  return ::MeasureText(text.c_str(), static_cast<int>(fontSize));
-
126  }
-
127 
-
131  inline Vector2 MeasureEx() {
-
132  return ::MeasureTextEx(font, text.c_str(), fontSize, spacing);
-
133  }
-
134 
-
135  Text& operator=(const Text& other) {
-
136  if (this == &other) {
-
137  return *this;
-
138  }
-
139 
-
140  text = other.text;
-
141  fontSize = other.fontSize;
-
142  color = other.color;
-
143  font = other.font;
-
144  spacing = other.spacing;
-
145 
-
146  return *this;
-
147  }
-
148 
-
154  static inline void Draw(
-
155  const std::string& text,
-
156  const int posX,
-
157  const int posY,
-
158  const int fontSize,
-
159  const ::Color& color) {
-
160  ::DrawText(text.c_str(), posX, posY, fontSize, color);
-
161  }
-
162 
-
168  static inline void Draw(
-
169  const std::string& text,
-
170  const ::Vector2& pos,
-
171  const int fontSize,
-
172  const ::Color& color) {
-
173  ::DrawText(text.c_str(), static_cast<int>(pos.x), static_cast<int>(pos.y), fontSize, color);
-
174  }
-
175 
-
181  static inline void Draw(
-
182  const ::Font& font,
-
183  const std::string& text,
-
184  const ::Vector2& position,
-
185  const float fontSize,
-
186  const float spacing,
-
187  const ::Color& color) {
-
188  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
-
189  }
-
190 
-
196  static inline void Draw(
-
197  const ::Font& font,
-
198  const std::string& text,
-
199  const ::Vector2& position,
-
200  const ::Vector2& origin,
-
201  const float rotation,
-
202  const float fontSize,
-
203  const float spacing,
-
204  const ::Color& color) {
-
205  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
-
206  }
-
207 };
-
208 } // namespace raylib
-
209 
-
210 #endif // RAYLIB_CPP_INCLUDE_TEXT_HPP_
-
-
static void Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
Draw text using font and color.
Definition: Text.hpp:154
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
int Measure()
Measure string width for default font.
Definition: Text.hpp:124
-
Vector2 MeasureEx()
Measure string size for Font.
Definition: Text.hpp:131
-
Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
Initializes a new Text object with a custom font.
Definition: Text.hpp:73
-
std::string text
The internal text.
Definition: Text.hpp:19
-
float fontSize
The size of the text.
Definition: Text.hpp:24
-
float spacing
The character spacing for the text.
Definition: Text.hpp:39
-
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
+
1#ifndef RAYLIB_CPP_INCLUDE_TEXT_HPP_
+
2#define RAYLIB_CPP_INCLUDE_TEXT_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./RaylibException.hpp"
+
8#include "./raylib-cpp-utils.hpp"
+
9
+
10namespace raylib {
+
14class Text {
+
15 public:
+
19 std::string text;
+
20
+
24 float fontSize;
+
25
+
29 ::Color color;
+
30
+
34 ::Font font;
+
35
+
39 float spacing;
+
40
+ +
51 const std::string& text = "",
+
52 float fontSize = 10,
+
53 const ::Color& color = WHITE,
+
54 const ::Font& font = ::GetFontDefault(),
+
55 float spacing = 0) :
+
56 text(text),
+ +
58 color(color),
+
59 font(font),
+ +
61 // Nothing.
+
62 }
+
63
+ +
74 const ::Font& font,
+
75 const std::string& text = "",
+
76 float fontSize = 10,
+
77 float spacing = 0,
+
78 const ::Color& color = WHITE) :
+
79 text(text),
+ +
81 color(color),
+
82 font(font),
+ +
84 // Nothing.
+
85 }
+
86
+
87 GETTERSETTER(std::string, Text, text)
+
88 GETTERSETTER(float, FontSize, fontSize)
+
89 GETTERSETTER(::Font, Font, font)
+
90 GETTERSETTER(::Color, Color, color)
+
91 GETTERSETTER(float, Spacing, spacing)
+
92
+
96 inline void Draw(const ::Vector2& position) {
+
97 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
+
98 }
+
99
+
103 inline void Draw(int posX, int posY) {
+ +
105 text.c_str(),
+
106 { static_cast<float>(posX), static_cast<float>(posY) },
+
107 fontSize,
+
108 spacing,
+
109 color);
+
110 }
+
111
+
117 inline void Draw(const ::Vector2& position, float rotation, const Vector2& origin = {0, 0}) {
+
118 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
+
119 }
+
120
+
124 inline int Measure() {
+
125 return ::MeasureText(text.c_str(), static_cast<int>(fontSize));
+
126 }
+
127
+ +
132 return ::MeasureTextEx(font, text.c_str(), fontSize, spacing);
+
133 }
+
134
+
135 Text& operator=(const Text& other) {
+
136 if (this == &other) {
+
137 return *this;
+
138 }
+
139
+
140 text = other.text;
+
141 fontSize = other.fontSize;
+
142 color = other.color;
+
143 font = other.font;
+
144 spacing = other.spacing;
+
145
+
146 return *this;
+
147 }
+
148
+
154 static inline void Draw(
+
155 const std::string& text,
+
156 const int posX,
+
157 const int posY,
+
158 const int fontSize,
+
159 const ::Color& color) {
+
160 ::DrawText(text.c_str(), posX, posY, fontSize, color);
+
161 }
+
162
+
168 static inline void Draw(
+
169 const std::string& text,
+
170 const ::Vector2& pos,
+
171 const int fontSize,
+
172 const ::Color& color) {
+
173 ::DrawText(text.c_str(), static_cast<int>(pos.x), static_cast<int>(pos.y), fontSize, color);
+
174 }
+
175
+
181 static inline void Draw(
+
182 const ::Font& font,
+
183 const std::string& text,
+
184 const ::Vector2& position,
+
185 const float fontSize,
+
186 const float spacing,
+
187 const ::Color& color) {
+
188 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
+
189 }
+
190
+
196 static inline void Draw(
+
197 const ::Font& font,
+
198 const std::string& text,
+
199 const ::Vector2& position,
+
200 const ::Vector2& origin,
+
201 const float rotation,
+
202 const float fontSize,
+
203 const float spacing,
+
204 const ::Color& color) {
+
205 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
+
206 }
+
207};
+
208} // namespace raylib
+
209
+
210#endif // RAYLIB_CPP_INCLUDE_TEXT_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
Font type, includes texture and charSet array data.
Definition: Font.hpp:14
+
Text Functions.
Definition: Text.hpp:14
+
void Draw(const ::Vector2 &position)
Draw text with values in class.
Definition: Text.hpp:96
+
float fontSize
The size of the text.
Definition: Text.hpp:24
+
void Draw(int posX, int posY)
Draw text with values in class.
Definition: Text.hpp:103
+
Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
Initializes a new Text object with a custom font.
Definition: Text.hpp:73
+
static void Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
Draw text using font and color, with position defined as Vector2.
Definition: Text.hpp:168
static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
Draw text using font, color, position, font size and spacing.
Definition: Text.hpp:181
-
Vector2 type.
Definition: Vector2.hpp:16
+
float spacing
The character spacing for the text.
Definition: Text.hpp:39
+
int Measure()
Measure string width for default font.
Definition: Text.hpp:124
void Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})
Draw text using Font and pro parameters (rotation).
Definition: Text.hpp:117
-
void Draw(int posX, int posY)
Draw text with values in class.
Definition: Text.hpp:103
-
::Color color
The color of the text.
Definition: Text.hpp:29
-
void Draw(const ::Vector2 &position)
Draw text with values in class.
Definition: Text.hpp:96
+
::Font font
The internal raylib font to use for the text.
Definition: Text.hpp:34
Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
Initializes a new Text object.
Definition: Text.hpp:50
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
static void Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
Draw text using font and color, with position defined as Vector2.
Definition: Text.hpp:168
-
static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
Draw text (using default font)
Definition: Functions.hpp:256
-
Text Functions.
Definition: Text.hpp:14
+
static void Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
Draw text using font and color.
Definition: Text.hpp:154
+
Text & operator=(const Text &other)
Definition: Text.hpp:135
+
Vector2 MeasureEx()
Measure string size for Font.
Definition: Text.hpp:131
+
::Color color
The color of the text.
Definition: Text.hpp:29
+
std::string text
The internal text.
Definition: Text.hpp:19
static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
Draw text using font, color, position, origin, font size and spacing.
Definition: Text.hpp:196
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
Draw text (using default font)
Definition: Functions.hpp:256
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:271
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:263
-
::Font font
The internal raylib font to use for the text.
Definition: Text.hpp:34
+
+ - + diff --git a/docs/_texture_8hpp_source.html b/docs/_texture_8hpp_source.html index 5f843932..129fc42c 100644 --- a/docs/_texture_8hpp_source.html +++ b/docs/_texture_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Texture.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Texture.hpp
+
Texture.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "./Vector2.hpp"
-
9 #include "./Material.hpp"
-
10 #include "./RaylibException.hpp"
-
11 
-
12 namespace raylib {
-
16 class Texture : public ::Texture {
-
17  public:
-
21  Texture(unsigned int id = 0,
-
22  int width = 0,
-
23  int height = 0,
-
24  int mipmaps = 0,
-
25  int format = 0) : ::Texture{id, width, height, mipmaps, format} {
-
26  // Nothing.
-
27  }
-
28 
-
32  Texture(const ::Texture& texture) {
-
33  set(texture);
-
34  }
-
35 
-
41  Texture(const ::Image& image) {
-
42  if (!Load(image)) {
-
43  throw RaylibException("Failed to load Texture from Image");
-
44  }
-
45  }
-
46 
-
54  Texture(const ::Image& image, int layout) {
-
55  if (!Load(image, layout)) {
-
56  throw RaylibException("Failed to load Texture from Cubemap");
-
57  }
-
58  }
-
59 
-
65  Texture(const std::string& fileName) {
-
66  if (!Load(fileName)) {
-
67  throw RaylibException(TextFormat("Failed to load Texture from file: %s", fileName.c_str()));
-
68  }
-
69  }
-
70 
-
71  Texture(const Texture&) = delete;
-
72 
-
73  Texture(Texture&& other) {
-
74  set(other);
-
75 
-
76  other.id = 0;
-
77  other.width = 0;
-
78  other.height = 0;
-
79  other.mipmaps = 0;
-
80  other.format = 0;
-
81  }
-
82 
-
83  ~Texture() {
-
84  Unload();
-
85  }
-
86 
-
87  GETTERSETTER(unsigned int, Id, id)
-
88  GETTERSETTER(int, Width, width)
-
89  GETTERSETTER(int, Height, height)
-
90  GETTERSETTER(int, Mipmaps, mipmaps)
-
91  GETTERSETTER(int, Format, format)
-
92 
-
93  Texture& operator=(const ::Texture& texture) {
-
94  set(texture);
-
95  return *this;
-
96  }
-
97 
-
98  Texture& operator=(const Texture&) = delete;
-
99 
-
100  Texture& operator=(Texture&& other) noexcept {
-
101  if (this == &other) {
-
102  return *this;
-
103  }
-
104 
-
105  Unload();
-
106  set(other);
-
107 
-
108  other.id = 0;
-
109  other.width = 0;
-
110  other.height = 0;
-
111  other.mipmaps = 0;
-
112  other.format = 0;
-
113 
-
114  return *this;
-
115  }
-
116 
-
120  inline ::Vector2 GetSize() const {
-
121  return {static_cast<float>(width), static_cast<float>(height)};
-
122  }
-
123 
-
127  bool Load(const ::Image& image) {
-
128  set(::LoadTextureFromImage(image));
-
129  return IsReady();
-
130  }
-
131 
-
135  bool Load(const ::Image& image, int layoutType) {
-
136  set(::LoadTextureCubemap(image, layoutType));
-
137  return IsReady();
-
138  }
-
139 
-
143  bool Load(const std::string& fileName) {
-
144  set(::LoadTexture(fileName.c_str()));
-
145  return IsReady();
-
146  }
-
147 
-
151  inline void Unload() {
-
152  ::UnloadTexture(*this);
-
153  }
-
154 
-
158  inline Texture& Update(const void *pixels) {
-
159  ::UpdateTexture(*this, pixels);
-
160  return *this;
-
161  }
-
162 
-
166  inline Texture& Update(::Rectangle rec, const void *pixels) {
-
167  UpdateTextureRec(*this, rec, pixels);
-
168  return *this;
-
169  }
-
170 
-
174  inline ::Image GetData() const {
-
175  return ::LoadImageFromTexture(*this);
-
176  }
-
177 
-
181  inline operator raylib::Image() {
-
182  return GetData();
-
183  }
-
184 
-
188  inline Texture& GenMipmaps() {
-
189  ::GenTextureMipmaps(this);
-
190  return *this;
-
191  }
-
192 
-
196  inline Texture& SetFilter(int filterMode) {
-
197  ::SetTextureFilter(*this, filterMode);
-
198  return *this;
-
199  }
-
200 
-
204  inline Texture& SetWrap(int wrapMode) {
-
205  ::SetTextureWrap(*this, wrapMode);
-
206  return *this;
-
207  }
-
208 
-
212  inline Texture& Draw(int posX = 0, int posY = 0, ::Color tint = {255, 255, 255, 255}) {
-
213  ::DrawTexture(*this, posX, posY, tint);
-
214  return *this;
-
215  }
-
216 
-
217  inline Texture& Draw(::Vector2 position, ::Color tint = {255, 255, 255, 255}) {
-
218  ::DrawTextureV(*this, position, tint);
-
219  return *this;
-
220  }
-
221 
-
222  inline Texture& Draw(::Vector2 position, float rotation, float scale = 1.0f,
-
223  ::Color tint = {255, 255, 255, 255}) {
-
224  ::DrawTextureEx(*this, position, rotation, scale, tint);
-
225  return *this;
-
226  }
-
227 
-
228  inline Texture& Draw(::Rectangle sourceRec, ::Vector2 position = {0, 0},
-
229  ::Color tint = {255, 255, 255, 255}) {
-
230  ::DrawTextureRec(*this, sourceRec, position, tint);
-
231  return *this;
-
232  }
-
233 
-
234  inline Texture& Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad,
-
235  ::Color tint = {255, 255, 255, 255}) {
-
236  ::DrawTextureQuad(*this, tiling, offset, quad, tint);
-
237  return *this;
-
238  }
-
239 
-
240  inline Texture& Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
-
241  float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
-
242  ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
-
243  return *this;
-
244  }
-
245 
-
246  inline Texture& Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin = {0, 0},
-
247  float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
-
248  ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
-
249  return *this;
-
250  }
-
251 
-
252  inline Texture& Draw(::Vector3 position, float width, float height, float length,
-
253  ::Color tint = {255, 255, 255, 255}) {
-
254  ::DrawCubeTexture(*this, position, width, height, length, tint);
-
255  return *this;
-
256  }
-
257 
-
258  inline Texture& DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
-
259  float rotation = 0, float scale = 1, Color tint = {255, 255, 255, 255}) {
-
260  ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint);
-
261  return *this;
-
262  }
-
263 
-
264  inline Texture& DrawPoly(Vector2 center, Vector2 *points,
-
265  Vector2 *texcoords, int pointsCount,
-
266  Color tint = {255, 255, 255, 255}) {
-
267  ::DrawTexturePoly(*this, center, points, texcoords, pointsCount, tint);
-
268  return *this;
-
269  }
-
270 
-
274  inline Texture& SetMaterial(::Material *material, int mapType = MATERIAL_MAP_NORMAL) {
-
275  ::SetMaterialTexture(material, mapType, *this);
-
276  return *this;
-
277  }
-
278 
-
279  inline Texture& SetMaterial(const ::Material& material, int mapType = MATERIAL_MAP_NORMAL) {
-
280  ::SetMaterialTexture((::Material*)(&material), mapType, *this);
-
281  return *this;
-
282  }
-
283 
-
287  inline Texture& SetShapes(const ::Rectangle& source) {
-
288  ::SetShapesTexture(*this, source);
-
289  return *this;
-
290  }
-
291 
-
295  inline Texture& SetShaderValue(const ::Shader& shader, int locIndex) {
-
296  ::SetShaderValueTexture(shader, locIndex, *this);
-
297  return *this;
-
298  }
-
299 
-
305  bool IsReady() const {
-
306  return id != 0;
-
307  }
-
308 
-
309  private:
-
310  inline void set(const ::Texture& texture) {
-
311  id = texture.id;
-
312  width = texture.width;
-
313  height = texture.height;
-
314  mipmaps = texture.mipmaps;
-
315  format = texture.format;
-
316  }
-
317 };
-
318 
-
319 // Create the Texture aliases.
-
320 typedef Texture Texture2D;
-
321 typedef Texture TextureCubemap;
-
322 
-
323 } // namespace raylib
-
324 
-
325 #endif // RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Texture & SetWrap(int wrapMode)
Set texture wrapping mode.
Definition: Texture.hpp:204
-
bool Load(const ::Image &image)
Load texture from image data.
Definition: Texture.hpp:127
+
1#ifndef RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
+
2#define RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "./Vector2.hpp"
+
9#include "./Material.hpp"
+
10#include "./RaylibException.hpp"
+
11
+
12namespace raylib {
+
16class Texture : public ::Texture {
+
17 public:
+
21 Texture(unsigned int id = 0,
+
22 int width = 0,
+
23 int height = 0,
+
24 int mipmaps = 0,
+
25 int format = 0) : ::Texture{id, width, height, mipmaps, format} {
+
26 // Nothing.
+
27 }
+
28
+
32 Texture(const ::Texture& texture) {
+
33 set(texture);
+
34 }
+
35
+
41 Texture(const ::Image& image) {
+
42 if (!Load(image)) {
+
43 throw RaylibException("Failed to load Texture from Image");
+
44 }
+
45 }
+
46
+
54 Texture(const ::Image& image, int layout) {
+
55 if (!Load(image, layout)) {
+
56 throw RaylibException("Failed to load Texture from Cubemap");
+
57 }
+
58 }
+
59
+
65 Texture(const std::string& fileName) {
+
66 if (!Load(fileName)) {
+
67 throw RaylibException(TextFormat("Failed to load Texture from file: %s", fileName.c_str()));
+
68 }
+
69 }
+
70
+
71 Texture(const Texture&) = delete;
+
72
+
73 Texture(Texture&& other) {
+
74 set(other);
+
75
+
76 other.id = 0;
+
77 other.width = 0;
+
78 other.height = 0;
+
79 other.mipmaps = 0;
+
80 other.format = 0;
+
81 }
+
82
+ +
84 Unload();
+
85 }
+
86
+
87 GETTERSETTER(unsigned int, Id, id)
+
88 GETTERSETTER(int, Width, width)
+
89 GETTERSETTER(int, Height, height)
+
90 GETTERSETTER(int, Mipmaps, mipmaps)
+
91 GETTERSETTER(int, Format, format)
+
92
+
93 Texture& operator=(const ::Texture& texture) {
+
94 set(texture);
+
95 return *this;
+
96 }
+
97
+
98 Texture& operator=(const Texture&) = delete;
+
99
+
100 Texture& operator=(Texture&& other) noexcept {
+
101 if (this == &other) {
+
102 return *this;
+
103 }
+
104
+
105 Unload();
+
106 set(other);
+
107
+
108 other.id = 0;
+
109 other.width = 0;
+
110 other.height = 0;
+
111 other.mipmaps = 0;
+
112 other.format = 0;
+
113
+
114 return *this;
+
115 }
+
116
+
120 inline ::Vector2 GetSize() const {
+
121 return {static_cast<float>(width), static_cast<float>(height)};
+
122 }
+
123
+
127 bool Load(const ::Image& image) {
+
128 set(::LoadTextureFromImage(image));
+
129 return IsReady();
+
130 }
+
131
+
135 bool Load(const ::Image& image, int layoutType) {
+
136 set(::LoadTextureCubemap(image, layoutType));
+
137 return IsReady();
+
138 }
+
139
+
143 bool Load(const std::string& fileName) {
+
144 set(::LoadTexture(fileName.c_str()));
+
145 return IsReady();
+
146 }
+
147
+
151 inline void Unload() {
+
152 ::UnloadTexture(*this);
+
153 }
+
154
+
158 inline Texture& Update(const void *pixels) {
+
159 ::UpdateTexture(*this, pixels);
+
160 return *this;
+
161 }
+
162
+
166 inline Texture& Update(::Rectangle rec, const void *pixels) {
+
167 UpdateTextureRec(*this, rec, pixels);
+
168 return *this;
+
169 }
+
170
+
174 inline ::Image GetData() const {
+
175 return ::LoadImageFromTexture(*this);
+
176 }
+
177
+
181 inline operator raylib::Image() {
+
182 return GetData();
+
183 }
+
184
+
188 inline Texture& GenMipmaps() {
+
189 ::GenTextureMipmaps(this);
+
190 return *this;
+
191 }
+
192
+
196 inline Texture& SetFilter(int filterMode) {
+
197 ::SetTextureFilter(*this, filterMode);
+
198 return *this;
+
199 }
+
200
+
204 inline Texture& SetWrap(int wrapMode) {
+
205 ::SetTextureWrap(*this, wrapMode);
+
206 return *this;
+
207 }
+
208
+
212 inline Texture& Draw(int posX = 0, int posY = 0, ::Color tint = {255, 255, 255, 255}) {
+
213 ::DrawTexture(*this, posX, posY, tint);
+
214 return *this;
+
215 }
+
216
+
217 inline Texture& Draw(::Vector2 position, ::Color tint = {255, 255, 255, 255}) {
+
218 ::DrawTextureV(*this, position, tint);
+
219 return *this;
+
220 }
+
221
+
222 inline Texture& Draw(::Vector2 position, float rotation, float scale = 1.0f,
+
223 ::Color tint = {255, 255, 255, 255}) {
+
224 ::DrawTextureEx(*this, position, rotation, scale, tint);
+
225 return *this;
+
226 }
+
227
+
228 inline Texture& Draw(::Rectangle sourceRec, ::Vector2 position = {0, 0},
+
229 ::Color tint = {255, 255, 255, 255}) {
+
230 ::DrawTextureRec(*this, sourceRec, position, tint);
+
231 return *this;
+
232 }
+
233
+
234 inline Texture& Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad,
+
235 ::Color tint = {255, 255, 255, 255}) {
+
236 ::DrawTextureQuad(*this, tiling, offset, quad, tint);
+
237 return *this;
+
238 }
+
239
+
240 inline Texture& Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
+
241 float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
+
242 ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
+
243 return *this;
+
244 }
+
245
+
246 inline Texture& Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin = {0, 0},
+
247 float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
+
248 ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
+
249 return *this;
+
250 }
+
251
+
252 inline Texture& Draw(::Vector3 position, float width, float height, float length,
+
253 ::Color tint = {255, 255, 255, 255}) {
+
254 ::DrawCubeTexture(*this, position, width, height, length, tint);
+
255 return *this;
+
256 }
+
257
+
258 inline Texture& DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
+
259 float rotation = 0, float scale = 1, Color tint = {255, 255, 255, 255}) {
+
260 ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint);
+
261 return *this;
+
262 }
+
263
+
264 inline Texture& DrawPoly(Vector2 center, Vector2 *points,
+
265 Vector2 *texcoords, int pointsCount,
+
266 Color tint = {255, 255, 255, 255}) {
+
267 ::DrawTexturePoly(*this, center, points, texcoords, pointsCount, tint);
+
268 return *this;
+
269 }
+
270
+
274 inline Texture& SetMaterial(::Material *material, int mapType = MATERIAL_MAP_NORMAL) {
+
275 ::SetMaterialTexture(material, mapType, *this);
+
276 return *this;
+
277 }
+
278
+
279 inline Texture& SetMaterial(const ::Material& material, int mapType = MATERIAL_MAP_NORMAL) {
+
280 ::SetMaterialTexture((::Material*)(&material), mapType, *this);
+
281 return *this;
+
282 }
+
283
+
287 inline Texture& SetShapes(const ::Rectangle& source) {
+
288 ::SetShapesTexture(*this, source);
+
289 return *this;
+
290 }
+
291
+
295 inline Texture& SetShaderValue(const ::Shader& shader, int locIndex) {
+
296 ::SetShaderValueTexture(shader, locIndex, *this);
+
297 return *this;
+
298 }
+
299
+
305 bool IsReady() const {
+
306 return id != 0;
+
307 }
+
308
+
309 private:
+
310 inline void set(const ::Texture& texture) {
+
311 id = texture.id;
+
312 width = texture.width;
+
313 height = texture.height;
+
314 mipmaps = texture.mipmaps;
+
315 format = texture.format;
+
316 }
+
317};
+
318
+
319// Create the Texture aliases.
+ + +
322
+
323} // namespace raylib
+
324
+
325#endif // RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:16
+
Exception used for most raylib-related exceptions.
+
Texture type.
Definition: Texture.hpp:16
+
Texture & Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
Draw a Texture2D.
Definition: Texture.hpp:212
+
Texture & operator=(Texture &&other) noexcept
Definition: Texture.hpp:100
+
Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
Default constructor to create an empty Texture object.
Definition: Texture.hpp:21
+
void Unload()
Unload texture from GPU memory (VRAM)
Definition: Texture.hpp:151
+
bool Load(const std::string &fileName)
Load texture from file into GPU memory (VRAM)
Definition: Texture.hpp:143
+
Texture & Update(::Rectangle rec, const void *pixels)
Update GPU texture rectangle with new data.
Definition: Texture.hpp:166
+
Texture(const ::Texture &texture)
Creates a texture object based on the given Texture struct data.
Definition: Texture.hpp:32
+
Texture & Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})
Definition: Texture.hpp:217
+
Texture & DrawPoly(Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})
Definition: Texture.hpp:264
+
Texture & Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})
Definition: Texture.hpp:228
+
Texture & SetShaderValue(const ::Shader &shader, int locIndex)
Set shader uniform value for texture (sampler2d)
Definition: Texture.hpp:295
inline ::Vector2 GetSize() const
Retrieve the width and height of the texture.
Definition: Texture.hpp:120
+
inline ::Image GetData() const
Get pixel data from GPU texture and return an Image.
Definition: Texture.hpp:174
Texture(const ::Image &image)
Creates a texture from the given Image.
Definition: Texture.hpp:41
+
bool Load(const ::Image &image, int layoutType)
Load cubemap from image, multiple image cubemap layouts supported.
Definition: Texture.hpp:135
+
Texture(const Texture &)=delete
+
Texture & DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})
Definition: Texture.hpp:258
bool IsReady() const
Determines whether or not the Texture has been loaded and is ready.
Definition: Texture.hpp:305
-
Texture & SetShapes(const ::Rectangle &source)
Set texture and rectangle to be used on shapes drawing.
Definition: Texture.hpp:287
-
Rectangle type.
Definition: Rectangle.hpp:12
-
Texture & Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
Draw a Texture2D.
Definition: Texture.hpp:212
-
Texture(const std::string &fileName)
Load texture from file into GPU memory (VRAM)
Definition: Texture.hpp:65
+
Texture(Texture &&other)
Definition: Texture.hpp:73
+
Texture & Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
Definition: Texture.hpp:246
+
Texture & operator=(const Texture &)=delete
+
Texture & SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
Definition: Texture.hpp:279
+
Texture & GenMipmaps()
Generate GPU mipmaps for a texture.
Definition: Texture.hpp:188
Texture(const ::Image &image, int layout)
Load cubemap from image, multiple image cubemap layouts supported.
Definition: Texture.hpp:54
-
Texture & SetFilter(int filterMode)
Set texture scaling filter mode.
Definition: Texture.hpp:196
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
bool Load(const std::string &fileName)
Load texture from file into GPU memory (VRAM)
Definition: Texture.hpp:143
-
inline ::Image GetData() const
Get pixel data from GPU texture and return an Image.
Definition: Texture.hpp:174
-
bool Load(const ::Image &image, int layoutType)
Load cubemap from image, multiple image cubemap layouts supported.
Definition: Texture.hpp:135
-
Texture & SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)
Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
Definition: Texture.hpp:274
-
Texture type.
Definition: Texture.hpp:16
-
void Unload()
Unload texture from GPU memory (VRAM)
Definition: Texture.hpp:151
-
Exception used for most raylib-related exceptions.
-
Texture & GenMipmaps()
Generate GPU mipmaps for a texture.
Definition: Texture.hpp:188
-
Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
Default constructor to create an empty Texture object.
Definition: Texture.hpp:21
-
Texture(const ::Texture &texture)
Creates a texture object based on the given Texture struct data.
Definition: Texture.hpp:32
-
Material type (generic)
Definition: Material.hpp:14
-
Texture & SetShaderValue(const ::Shader &shader, int locIndex)
Set shader uniform value for texture (sampler2d)
Definition: Texture.hpp:295
-
Texture & Update(::Rectangle rec, const void *pixels)
Update GPU texture rectangle with new data.
Definition: Texture.hpp:166
-
Texture & Update(const void *pixels)
Update GPU texture with new data.
Definition: Texture.hpp:158
+
Texture & SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)
Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
Definition: Texture.hpp:274
+
Texture & SetWrap(int wrapMode)
Set texture wrapping mode.
Definition: Texture.hpp:204
+
Texture(const std::string &fileName)
Load texture from file into GPU memory (VRAM)
Definition: Texture.hpp:65
+
Texture & Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
Definition: Texture.hpp:240
+
Texture & SetShapes(const ::Rectangle &source)
Set texture and rectangle to be used on shapes drawing.
Definition: Texture.hpp:287
+
Texture & Update(const void *pixels)
Update GPU texture with new data.
Definition: Texture.hpp:158
+
Texture & SetFilter(int filterMode)
Set texture scaling filter mode.
Definition: Texture.hpp:196
+
Texture & Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})
Definition: Texture.hpp:234
+
Texture & Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})
Definition: Texture.hpp:222
+
Texture & Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})
Definition: Texture.hpp:252
+ +
bool Load(const ::Image &image)
Load texture from image data.
Definition: Texture.hpp:127
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
Texture TextureCubemap
Definition: Texture.hpp:321
+
Texture Texture2D
Definition: Texture.hpp:320
+
+ - + diff --git a/docs/_vector2_8hpp_source.html b/docs/_vector2_8hpp_source.html index b229d3fb..c60406ce 100644 --- a/docs/_vector2_8hpp_source.html +++ b/docs/_vector2_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Vector2.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Vector2.hpp
+
Vector2.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
-
3 
-
4 #ifndef RAYLIB_CPP_NO_MATH
-
5 #include <cmath>
-
6 #endif
-
7 
-
8 #include "./raylib.hpp"
-
9 #include "./raymath.hpp"
-
10 #include "./raylib-cpp-utils.hpp"
-
11 
-
12 namespace raylib {
-
16 class Vector2 : public ::Vector2 {
-
17  public:
-
18  Vector2(const ::Vector2& vec) {
-
19  set(vec);
-
20  }
-
21 
-
22  Vector2(float x, float y) : ::Vector2{x, y} {}
-
23  Vector2(float x) : ::Vector2{x, 0} {}
-
24  Vector2() : ::Vector2{0, 0} {}
-
25 
-
26  GETTERSETTER(float, X, x)
-
27  GETTERSETTER(float, Y, y)
-
28 
-
29  Vector2& operator=(const ::Vector2& vector2) {
-
30  set(vector2);
-
31  return *this;
-
32  }
-
33 
-
34  bool operator==(const ::Vector2& other) {
-
35  return x == other.x
-
36  && y == other.y;
-
37  }
-
38 
-
39  bool operator!=(const ::Vector2& other) {
-
40  return !(*this == other);
-
41  }
-
42 
-
43 #ifndef RAYLIB_CPP_NO_MATH
-
44  Vector2 Add(const ::Vector2& vector2) const {
-
45  return Vector2Add(*this, vector2);
-
46  }
-
47 
-
48  Vector2 operator+(const ::Vector2& vector2) const {
-
49  return Vector2Add(*this, vector2);
-
50  }
-
51 
-
52  Vector2 Subtract(const ::Vector2& vector2) const {
-
53  return Vector2Subtract(*this, vector2);
-
54  }
-
55 
-
56  Vector2 operator-(const ::Vector2& vector2) const {
-
57  return Vector2Subtract(*this, vector2);
-
58  }
-
59 
-
60  Vector2 Negate() const {
-
61  return Vector2Negate(*this);
-
62  }
-
63 
-
64  Vector2 operator-() const {
-
65  return Vector2Negate(*this);
-
66  }
-
67 
-
68  Vector2 Multiply(const ::Vector2& vector2) const {
-
69  return Vector2Multiply(*this, vector2);
-
70  }
-
71 
-
72  Vector2 operator*(const ::Vector2& vector2) const {
-
73  return Vector2Multiply(*this, vector2);
-
74  }
-
75 
-
76  Vector2 Scale(const float scale) const {
-
77  return Vector2Scale(*this, scale);
-
78  }
-
79 
-
80  Vector2 operator*(const float scale) const {
-
81  return Vector2Scale(*this, scale);
-
82  }
-
83 
-
84  Vector2 Divide(const ::Vector2& vector2) const {
-
85  return Vector2Divide(*this, vector2);
-
86  }
-
87 
-
88  Vector2 operator/(const ::Vector2& vector2) const {
-
89  return Vector2Divide(*this, vector2);
-
90  }
-
91 
-
92  Vector2 Divide(const float div) const {
-
93  return ::Vector2{x / div, y / div};
-
94  }
-
95 
-
96  Vector2 operator/(const float div) const {
-
97  return Divide(div);
-
98  }
-
99 
-
100  Vector2& operator+=(const ::Vector2& vector2) {
-
101  set(Vector2Add(*this, vector2));
-
102 
-
103  return *this;
-
104  }
-
105 
-
106  Vector2& operator-=(const ::Vector2& vector2) {
-
107  set(Vector2Subtract(*this, vector2));
-
108 
-
109  return *this;
-
110  }
-
111 
-
112 
-
113  Vector2& operator*=(const ::Vector2& vector2) {
-
114  set(Vector2Multiply(*this, vector2));
-
115 
-
116  return *this;
-
117  }
-
118 
-
119  Vector2& operator*=(const float scale) {
-
120  set(Vector2Scale(*this, scale));
-
121 
-
122  return *this;
-
123  }
-
124 
-
125  Vector2& operator/=(const ::Vector2& vector2) {
-
126  set(Vector2Divide(*this, vector2));
-
127 
-
128  return *this;
-
129  }
-
130 
-
131  Vector2& operator/=(const float div) {
-
132  this->x /= div;
-
133  this->y /= div;
-
134 
-
135  return *this;
-
136  }
-
137 
-
141  float Length() const {
-
142  return Vector2Length(*this);
-
143  }
-
144 
-
148  float LengthSqr() const {
-
149  return Vector2LengthSqr(*this);
-
150  }
-
151 
-
155  Vector2 Normalize() const {
-
156  return Vector2Normalize(*this);
-
157  }
-
158 
-
162  float DotProduct(const ::Vector2& vector2) const {
-
163  return Vector2DotProduct(*this, vector2);
-
164  }
-
165 
-
169  float Angle(const ::Vector2& vector2) const {
-
170  return Vector2Angle(*this, vector2);
-
171  }
-
172 
-
176  float Distance(const ::Vector2& vector2) const {
-
177  return Vector2Distance(*this, vector2);
-
178  }
-
179 
-
183  Vector2 Lerp(const ::Vector2& vector2, float amount) const {
-
184  return Vector2Lerp(*this, vector2, amount);
-
185  }
-
186 
-
190  Vector2 Reflect(const ::Vector2& normal) const {
-
191  return Vector2Reflect(*this, normal);
-
192  }
-
193 
-
197  Vector2 Rotate(float degrees) const {
-
198  return Vector2Rotate(*this, degrees);
-
199  }
-
200 
-
204  Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
-
205  return Vector2MoveTowards(*this, target, maxDistance);
-
206  }
-
207 
-
211  static Vector2 Zero() {
-
212  return Vector2Zero();
-
213  }
-
214 
-
218  static Vector2 One() {
-
219  return Vector2One();
-
220  }
-
221 #endif
-
222 
-
223  inline Vector2& DrawPixel(::Color color) {
-
224  ::DrawPixelV(*this, color);
-
225  return *this;
-
226  }
-
227 
-
228  inline Vector2& DrawLine(::Vector2 endPos, ::Color color) {
-
229  ::DrawLineV(*this, endPos, color);
-
230  return *this;
-
231  }
-
232 
-
233  inline Vector2& DrawLine(::Vector2 endPos, float thick, ::Color color) {
-
234  ::DrawLineEx(*this, endPos, thick, color);
-
235  return *this;
-
236  }
-
237 
-
238  inline Vector2& DrawLineBezier(::Vector2 endPos, float thick, ::Color color) {
-
239  ::DrawLineBezier(*this, endPos, thick, color);
-
240  return *this;
-
241  }
-
242 
- -
247  ::Vector2 endPos,
-
248  ::Vector2 controlPos,
-
249  float thick,
-
250  ::Color color) {
-
251  ::DrawLineBezierQuad(*this, endPos, controlPos, thick, color);
-
252  return *this;
-
253  }
-
254 
-
258  inline Vector2& DrawCircle(float radius, ::Color color) {
-
259  ::DrawCircleV(*this, radius, color);
-
260  return *this;
-
261  }
-
262 
-
263  inline Vector2& DrawRectangle(::Vector2 size, ::Color color) {
-
264  ::DrawRectangleV(*this, size, color);
-
265  return *this;
-
266  }
-
267 
-
268  inline Vector2& DrawPoly(int sides, float radius, float rotation, ::Color color) {
-
269  ::DrawPoly(*this, sides, radius, rotation, color);
-
270  return *this;
-
271  }
-
272 
-
276  inline bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const {
-
277  return ::CheckCollisionCircles(*this, radius1, center2, radius2);
-
278  }
-
279 
-
283  inline bool CheckCollisionCircle(float radius, ::Rectangle rec) const {
-
284  return ::CheckCollisionCircleRec(*this, radius, rec);
-
285  }
-
286 
-
290  inline bool CheckCollision(::Rectangle rec) const {
-
291  return ::CheckCollisionPointRec(*this, rec);
-
292  }
-
293 
-
297  inline bool CheckCollision(::Vector2 center, float radius) const {
-
298  return ::CheckCollisionPointCircle(*this, center, radius);
-
299  }
-
300 
-
304  inline bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const {
-
305  return ::CheckCollisionPointTriangle(*this, p1, p2, p3);
-
306  }
-
307 
-
311  inline bool CheckCollisionLines(
-
312  ::Vector2 endPos1,
-
313  ::Vector2 startPos2, ::Vector2 endPos2,
-
314  ::Vector2 *collisionPoint) const {
-
315  return ::CheckCollisionLines(*this, endPos1, startPos2, endPos2, collisionPoint);
-
316  }
-
317 
-
318  private:
-
319  inline void set(const ::Vector2& vec) {
-
320  x = vec.x;
-
321  y = vec.y;
-
322  }
-
323 };
-
324 
-
325 } // namespace raylib
-
326 
-
327 #endif // RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
-
+
1#ifndef RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
+
2#define RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
+
3
+
4#ifndef RAYLIB_CPP_NO_MATH
+
5#include <cmath>
+
6#endif
+
7
+
8#include "./raylib.hpp"
+
9#include "./raymath.hpp"
+
10#include "./raylib-cpp-utils.hpp"
+
11
+
12namespace raylib {
+
16class Vector2 : public ::Vector2 {
+
17 public:
+
18 Vector2(const ::Vector2& vec) {
+
19 set(vec);
+
20 }
+
21
+
22 Vector2(float x, float y) : ::Vector2{x, y} {}
+
23 Vector2(float x) : ::Vector2{x, 0} {}
+
24 Vector2() : ::Vector2{0, 0} {}
+
25
+
26 GETTERSETTER(float, X, x)
+
27 GETTERSETTER(float, Y, y)
+
28
+
29 Vector2& operator=(const ::Vector2& vector2) {
+
30 set(vector2);
+
31 return *this;
+
32 }
+
33
+
34 bool operator==(const ::Vector2& other) {
+
35 return x == other.x
+
36 && y == other.y;
+
37 }
+
38
+
39 bool operator!=(const ::Vector2& other) {
+
40 return !(*this == other);
+
41 }
+
42
+
43#ifndef RAYLIB_CPP_NO_MATH
+
44 Vector2 Add(const ::Vector2& vector2) const {
+
45 return Vector2Add(*this, vector2);
+
46 }
+
47
+
48 Vector2 operator+(const ::Vector2& vector2) const {
+
49 return Vector2Add(*this, vector2);
+
50 }
+
51
+
52 Vector2 Subtract(const ::Vector2& vector2) const {
+
53 return Vector2Subtract(*this, vector2);
+
54 }
+
55
+
56 Vector2 operator-(const ::Vector2& vector2) const {
+
57 return Vector2Subtract(*this, vector2);
+
58 }
+
59
+
60 Vector2 Negate() const {
+
61 return Vector2Negate(*this);
+
62 }
+
63
+ +
65 return Vector2Negate(*this);
+
66 }
+
67
+
68 Vector2 Multiply(const ::Vector2& vector2) const {
+
69 return Vector2Multiply(*this, vector2);
+
70 }
+
71
+
72 Vector2 operator*(const ::Vector2& vector2) const {
+
73 return Vector2Multiply(*this, vector2);
+
74 }
+
75
+
76 Vector2 Scale(const float scale) const {
+
77 return Vector2Scale(*this, scale);
+
78 }
+
79
+
80 Vector2 operator*(const float scale) const {
+
81 return Vector2Scale(*this, scale);
+
82 }
+
83
+
84 Vector2 Divide(const ::Vector2& vector2) const {
+
85 return Vector2Divide(*this, vector2);
+
86 }
+
87
+
88 Vector2 operator/(const ::Vector2& vector2) const {
+
89 return Vector2Divide(*this, vector2);
+
90 }
+
91
+
92 Vector2 Divide(const float div) const {
+
93 return ::Vector2{x / div, y / div};
+
94 }
+
95
+
96 Vector2 operator/(const float div) const {
+
97 return Divide(div);
+
98 }
+
99
+
100 Vector2& operator+=(const ::Vector2& vector2) {
+
101 set(Vector2Add(*this, vector2));
+
102
+
103 return *this;
+
104 }
+
105
+
106 Vector2& operator-=(const ::Vector2& vector2) {
+
107 set(Vector2Subtract(*this, vector2));
+
108
+
109 return *this;
+
110 }
+
111
+
112
+
113 Vector2& operator*=(const ::Vector2& vector2) {
+
114 set(Vector2Multiply(*this, vector2));
+
115
+
116 return *this;
+
117 }
+
118
+
119 Vector2& operator*=(const float scale) {
+
120 set(Vector2Scale(*this, scale));
+
121
+
122 return *this;
+
123 }
+
124
+
125 Vector2& operator/=(const ::Vector2& vector2) {
+
126 set(Vector2Divide(*this, vector2));
+
127
+
128 return *this;
+
129 }
+
130
+
131 Vector2& operator/=(const float div) {
+
132 this->x /= div;
+
133 this->y /= div;
+
134
+
135 return *this;
+
136 }
+
137
+
141 float Length() const {
+
142 return Vector2Length(*this);
+
143 }
+
144
+
148 float LengthSqr() const {
+
149 return Vector2LengthSqr(*this);
+
150 }
+
151
+ +
156 return Vector2Normalize(*this);
+
157 }
+
158
+
162 float DotProduct(const ::Vector2& vector2) const {
+
163 return Vector2DotProduct(*this, vector2);
+
164 }
+
165
+
169 float Angle(const ::Vector2& vector2) const {
+
170 return Vector2Angle(*this, vector2);
+
171 }
+
172
+
176 float Distance(const ::Vector2& vector2) const {
+
177 return Vector2Distance(*this, vector2);
+
178 }
+
179
+
183 Vector2 Lerp(const ::Vector2& vector2, float amount) const {
+
184 return Vector2Lerp(*this, vector2, amount);
+
185 }
+
186
+
190 Vector2 Reflect(const ::Vector2& normal) const {
+
191 return Vector2Reflect(*this, normal);
+
192 }
+
193
+
197 Vector2 Rotate(float degrees) const {
+
198 return Vector2Rotate(*this, degrees);
+
199 }
+
200
+
204 Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
+
205 return Vector2MoveTowards(*this, target, maxDistance);
+
206 }
+
207
+
211 static Vector2 Zero() {
+
212 return Vector2Zero();
+
213 }
+
214
+
218 static Vector2 One() {
+
219 return Vector2One();
+
220 }
+
221#endif
+
222
+
223 inline Vector2& DrawPixel(::Color color) {
+
224 ::DrawPixelV(*this, color);
+
225 return *this;
+
226 }
+
227
+
228 inline Vector2& DrawLine(::Vector2 endPos, ::Color color) {
+
229 ::DrawLineV(*this, endPos, color);
+
230 return *this;
+
231 }
+
232
+
233 inline Vector2& DrawLine(::Vector2 endPos, float thick, ::Color color) {
+
234 ::DrawLineEx(*this, endPos, thick, color);
+
235 return *this;
+
236 }
+
237
+
238 inline Vector2& DrawLineBezier(::Vector2 endPos, float thick, ::Color color) {
+
239 ::DrawLineBezier(*this, endPos, thick, color);
+
240 return *this;
+
241 }
+
242
+ +
247 ::Vector2 endPos,
+
248 ::Vector2 controlPos,
+
249 float thick,
+
250 ::Color color) {
+
251 ::DrawLineBezierQuad(*this, endPos, controlPos, thick, color);
+
252 return *this;
+
253 }
+
254
+
258 inline Vector2& DrawCircle(float radius, ::Color color) {
+
259 ::DrawCircleV(*this, radius, color);
+
260 return *this;
+
261 }
+
262
+
263 inline Vector2& DrawRectangle(::Vector2 size, ::Color color) {
+
264 ::DrawRectangleV(*this, size, color);
+
265 return *this;
+
266 }
+
267
+
268 inline Vector2& DrawPoly(int sides, float radius, float rotation, ::Color color) {
+
269 ::DrawPoly(*this, sides, radius, rotation, color);
+
270 return *this;
+
271 }
+
272
+
276 inline bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const {
+
277 return ::CheckCollisionCircles(*this, radius1, center2, radius2);
+
278 }
+
279
+
283 inline bool CheckCollisionCircle(float radius, ::Rectangle rec) const {
+
284 return ::CheckCollisionCircleRec(*this, radius, rec);
+
285 }
+
286
+
290 inline bool CheckCollision(::Rectangle rec) const {
+
291 return ::CheckCollisionPointRec(*this, rec);
+
292 }
+
293
+
297 inline bool CheckCollision(::Vector2 center, float radius) const {
+
298 return ::CheckCollisionPointCircle(*this, center, radius);
+
299 }
+
300
+
304 inline bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const {
+
305 return ::CheckCollisionPointTriangle(*this, p1, p2, p3);
+
306 }
+
307
+ +
312 ::Vector2 endPos1,
+
313 ::Vector2 startPos2, ::Vector2 endPos2,
+
314 ::Vector2 *collisionPoint) const {
+
315 return ::CheckCollisionLines(*this, endPos1, startPos2, endPos2, collisionPoint);
+
316 }
+
317
+
318 private:
+
319 inline void set(const ::Vector2& vec) {
+
320 x = vec.x;
+
321 y = vec.y;
+
322 }
+
323};
+
324
+
325} // namespace raylib
+
326
+
327#endif // RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
+
Vector2 type.
Definition: Vector2.hpp:16
+
Vector2 & DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
Draw line using quadratic bezier curves with a control point.
Definition: Vector2.hpp:246
+
Vector2 & operator-=(const ::Vector2 &vector2)
Definition: Vector2.hpp:106
bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
Check if point is inside a triangle.
Definition: Vector2.hpp:304
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Vector2 Reflect(const ::Vector2 &normal) const
Calculate reflected vector to normal.
Definition: Vector2.hpp:190
+
Vector2 & DrawCircle(float radius, ::Color color)
Draw a color-filled circle (Vector version)
Definition: Vector2.hpp:258
Vector2 MoveTowards(const ::Vector2 &target, float maxDistance) const
Move Vector towards target.
Definition: Vector2.hpp:204
-
float Length() const
Calculate vector length.
Definition: Vector2.hpp:141
-
Vector2 Normalize() const
Normalize provided vector.
Definition: Vector2.hpp:155
-
static Vector2 Zero()
Vector with components value 0.0f.
Definition: Vector2.hpp:211
+
Vector2 Subtract(const ::Vector2 &vector2) const
Definition: Vector2.hpp:52
+
Vector2 operator*(const float scale) const
Definition: Vector2.hpp:80
bool CheckCollision(::Rectangle rec) const
Check if point is inside rectangle.
Definition: Vector2.hpp:290
-
bool CheckCollision(::Vector2 center, float radius) const
Check if point is inside circle.
Definition: Vector2.hpp:297
Vector2 Lerp(const ::Vector2 &vector2, float amount) const
Calculate linear interpolation between two vectors.
Definition: Vector2.hpp:183
-
static Vector2 One()
Vector with components value 1.0f.
Definition: Vector2.hpp:218
-
float LengthSqr() const
Calculate vector square length.
Definition: Vector2.hpp:148
-
Rectangle type.
Definition: Rectangle.hpp:12
-
Vector2 type.
Definition: Vector2.hpp:16
-
Vector2 & DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
Draw line using quadratic bezier curves with a control point.
Definition: Vector2.hpp:246
-
bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const
Check collision between two circles.
Definition: Vector2.hpp:276
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
bool CheckCollisionCircle(float radius, ::Rectangle rec) const
Check collision between circle and rectangle.
Definition: Vector2.hpp:283
+
Vector2 & DrawLine(::Vector2 endPos, float thick, ::Color color)
Definition: Vector2.hpp:233
+
Vector2 & operator*=(const float scale)
Definition: Vector2.hpp:119
+
Vector2 & operator/=(const ::Vector2 &vector2)
Definition: Vector2.hpp:125
+
Vector2 & DrawPixel(::Color color)
Definition: Vector2.hpp:223
+
float Length() const
Calculate vector length.
Definition: Vector2.hpp:141
+
float DotProduct(const ::Vector2 &vector2) const
Calculate two vectors dot product.
Definition: Vector2.hpp:162
Vector2 Rotate(float degrees) const
Rotate Vector by float in Degrees.
Definition: Vector2.hpp:197
+
float LengthSqr() const
Calculate vector square length.
Definition: Vector2.hpp:148
float Distance(const ::Vector2 &vector2) const
Calculate distance between two vectors.
Definition: Vector2.hpp:176
-
float Angle(const ::Vector2 &vector2) const
Calculate angle from two vectors in X-axis.
Definition: Vector2.hpp:169
-
float DotProduct(const ::Vector2 &vector2) const
Calculate two vectors dot product.
Definition: Vector2.hpp:162
-
Vector2 & DrawCircle(float radius, ::Color color)
Draw a color-filled circle (Vector version)
Definition: Vector2.hpp:258
+
Vector2 & operator+=(const ::Vector2 &vector2)
Definition: Vector2.hpp:100
+
bool CheckCollision(::Vector2 center, float radius) const
Check if point is inside circle.
Definition: Vector2.hpp:297
+
Vector2 Divide(const ::Vector2 &vector2) const
Definition: Vector2.hpp:84
+
bool CheckCollisionCircle(float radius, ::Rectangle rec) const
Check collision between circle and rectangle.
Definition: Vector2.hpp:283
+
static Vector2 Zero()
Vector with components value 0.0f.
Definition: Vector2.hpp:211
+
bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const
Check collision between two circles.
Definition: Vector2.hpp:276
+
Vector2 Reflect(const ::Vector2 &normal) const
Calculate reflected vector to normal.
Definition: Vector2.hpp:190
+
Vector2 Multiply(const ::Vector2 &vector2) const
Definition: Vector2.hpp:68
+
Vector2 operator+(const ::Vector2 &vector2) const
Definition: Vector2.hpp:48
+
Vector2 operator/(const ::Vector2 &vector2) const
Definition: Vector2.hpp:88
+
bool operator==(const ::Vector2 &other)
Definition: Vector2.hpp:34
+
Vector2 Negate() const
Definition: Vector2.hpp:60
+
Vector2 Scale(const float scale) const
Definition: Vector2.hpp:76
+
Vector2 Add(const ::Vector2 &vector2) const
Definition: Vector2.hpp:44
+
Vector2 operator*(const ::Vector2 &vector2) const
Definition: Vector2.hpp:72
+
Vector2 operator/(const float div) const
Definition: Vector2.hpp:96
+
Vector2(float x)
Definition: Vector2.hpp:23
+
Vector2 & DrawPoly(int sides, float radius, float rotation, ::Color color)
Definition: Vector2.hpp:268
+
Vector2(float x, float y)
Definition: Vector2.hpp:22
+
Vector2 & operator*=(const ::Vector2 &vector2)
Definition: Vector2.hpp:113
bool CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
Check the collision between two lines defined by two points each, returns collision point by referenc...
Definition: Vector2.hpp:311
+
static Vector2 One()
Vector with components value 1.0f.
Definition: Vector2.hpp:218
+
Vector2 & DrawLineBezier(::Vector2 endPos, float thick, ::Color color)
Definition: Vector2.hpp:238
+
Vector2 & DrawLine(::Vector2 endPos, ::Color color)
Definition: Vector2.hpp:228
+
Vector2 & operator/=(const float div)
Definition: Vector2.hpp:131
+ +
bool operator!=(const ::Vector2 &other)
Definition: Vector2.hpp:39
+
Vector2 Normalize() const
Normalize provided vector.
Definition: Vector2.hpp:155
+
Vector2 operator-() const
Definition: Vector2.hpp:64
+
Vector2(const ::Vector2 &vec)
Definition: Vector2.hpp:18
+
Vector2 & DrawRectangle(::Vector2 size, ::Color color)
Definition: Vector2.hpp:263
+
Vector2 operator-(const ::Vector2 &vector2) const
Definition: Vector2.hpp:56
+
float Angle(const ::Vector2 &vector2) const
Calculate angle from two vectors in X-axis.
Definition: Vector2.hpp:169
+
Vector2 Divide(const float div) const
Definition: Vector2.hpp:92
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_vector3_8hpp_source.html b/docs/_vector3_8hpp_source.html index 9b45aa17..81bf441b 100644 --- a/docs/_vector3_8hpp_source.html +++ b/docs/_vector3_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Vector3.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Vector3.hpp
+
Vector3.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
-
3 
-
4 #ifndef RAYLIB_CPP_NO_MATH
-
5 #include <cmath>
-
6 #endif
-
7 
-
8 #include "./raylib.hpp"
-
9 #include "./raymath.hpp"
-
10 #include "./raylib-cpp-utils.hpp"
-
11 
-
12 namespace raylib {
-
16 class Vector3 : public ::Vector3 {
-
17  public:
-
18  Vector3(const ::Vector3& vec) {
-
19  set(vec);
-
20  }
-
21 
-
22  Vector3(float x, float y, float z) : ::Vector3{x, y, z} {}
-
23  Vector3(float x, float y) : ::Vector3{x, y, 0} {}
-
24  Vector3(float x) : ::Vector3{x, 0, 0} {}
-
25  Vector3() {}
-
26 
-
27  Vector3(::Color color) {
-
28  set(ColorToHSV(color));
-
29  }
-
30 
-
31  GETTERSETTER(float, X, x)
-
32  GETTERSETTER(float, Y, y)
-
33  GETTERSETTER(float, Z, z)
-
34 
-
35  Vector3& operator=(const ::Vector3& vector3) {
-
36  set(vector3);
-
37  return *this;
-
38  }
-
39 
-
40  bool operator==(const ::Vector3& other) {
-
41  return x == other.x
-
42  && y == other.y
-
43  && z == other.z;
-
44  }
-
45 
-
46  bool operator!=(const ::Vector3& other) {
-
47  return !(*this == other);
-
48  }
-
49 
-
50 #ifndef RAYLIB_CPP_NO_MATH
-
51  Vector3 Add(const ::Vector3& vector3) {
-
52  return Vector3Add(*this, vector3);
-
53  }
-
54 
-
55  Vector3 operator+(const ::Vector3& vector3) {
-
56  return Vector3Add(*this, vector3);
-
57  }
-
58 
-
59  Vector3 Subtract(const ::Vector3& vector3) {
-
60  return Vector3Subtract(*this, vector3);
-
61  }
-
62 
-
63  Vector3 operator-(const ::Vector3& vector3) {
-
64  return Vector3Subtract(*this, vector3);
-
65  }
-
66 
-
67  Vector3 Negate() {
-
68  return Vector3Negate(*this);
-
69  }
-
70 
-
71  Vector3 operator-() {
-
72  return Vector3Negate(*this);
-
73  }
-
74 
-
75  Vector3 Multiply(const ::Vector3& vector3) const {
-
76  return Vector3Multiply(*this, vector3);
-
77  }
-
78 
-
79  Vector3 operator*(const ::Vector3& vector3) const {
-
80  return Vector3Multiply(*this, vector3);
-
81  }
-
82 
-
83  Vector3 Scale(const float scale) const {
-
84  return Vector3Scale(*this, scale);
-
85  }
-
86 
-
87  Vector3 operator*(const float scale) const {
-
88  return Vector3Scale(*this, scale);
-
89  }
-
90 
-
91  Vector3 Divide(const ::Vector3& vector3) const {
-
92  return Vector3Divide(*this, vector3);
-
93  }
-
94 
-
95  Vector3 operator/(const ::Vector3& vector3) const {
-
96  return Vector3Divide(*this, vector3);
-
97  }
-
98 
-
99  Vector3 Divide(const float div) const {
-
100  return ::Vector3{x / div, y / div, z / div};
-
101  }
-
102 
-
103  Vector3 operator/(const float div) const {
-
104  return Divide(div);
-
105  }
-
106 
-
107  Vector3& operator+=(const ::Vector3& vector3) {
-
108  set(Vector3Add(*this, vector3));
-
109 
-
110  return *this;
-
111  }
-
112 
-
113  Vector3& operator-=(const ::Vector3& vector3) {
-
114  set(Vector3Subtract(*this, vector3));
-
115 
-
116  return *this;
-
117  }
-
118 
-
119 
-
120  Vector3& operator*=(const ::Vector3& vector3) {
-
121  set(Vector3Multiply(*this, vector3));
-
122 
-
123  return *this;
-
124  }
-
125 
-
126  Vector3& operator*=(const float scale) {
-
127  set(Vector3Scale(*this, scale));
-
128 
-
129  return *this;
-
130  }
-
131 
-
132  Vector3& operator/=(const ::Vector3& vector3) {
-
133  x /= vector3.x;
-
134  y /= vector3.y;
-
135  z /= vector3.z;
-
136 
-
137  return *this;
-
138  }
-
139 
-
140  Vector3& operator/=(const float div) {
-
141  x /= div;
-
142  y /= div;
-
143  z /= div;
-
144 
-
145  return *this;
-
146  }
-
147 
-
148  float Length() const {
-
149  return Vector3Length(*this);
-
150  }
-
151 
-
152  Vector3 Normalize() const {
-
153  return Vector3Normalize(*this);
-
154  }
-
155 
-
156  float DotProduct(const ::Vector3& vector3) {
-
157  return Vector3DotProduct(*this, vector3);
-
158  }
-
159 
-
160  float Distance(const ::Vector3& vector3) const {
-
161  return Vector3Distance(*this, vector3);
-
162  }
-
163 
-
164  Vector3 Lerp(const ::Vector3& vector3, const float amount) const {
-
165  return Vector3Lerp(*this, vector3, amount);
-
166  }
-
167 
-
168  Vector3 CrossProduct(const ::Vector3& vector3) const {
-
169  return Vector3CrossProduct(*this, vector3);
-
170  }
-
171 
-
172  Vector3 Perpendicular() const {
-
173  return Vector3Perpendicular(*this);
-
174  }
-
175 
-
176  void OrthoNormalize(::Vector3* vector3) {
-
177  Vector3OrthoNormalize(this, vector3);
-
178  }
-
179 
-
180  Vector3 Transform(const ::Matrix& matrix) const {
-
181  return Vector3Transform(*this, matrix);
-
182  }
-
183 
-
184  Vector3 RotateByQuaternion(const ::Quaternion& quaternion) {
-
185  return Vector3RotateByQuaternion(*this, quaternion);
-
186  }
-
187 
-
188  Vector3 Reflect(const ::Vector3& normal) const {
-
189  return Vector3Reflect(*this, normal);
-
190  }
-
191 
-
192  Vector3 Min(const ::Vector3& vector3) {
-
193  return Vector3Min(*this, vector3);
-
194  }
-
195 
-
196  Vector3 Max(const ::Vector3& vector3) {
-
197  return Vector3Max(*this, vector3);
-
198  }
-
199 
-
200  Vector3 Barycenter(const ::Vector3& a, const ::Vector3& b, const ::Vector3& c) {
-
201  return Vector3Barycenter(*this, a, b, c);
-
202  }
-
203 
-
204  static Vector3 Zero() {
-
205  return Vector3Zero();
-
206  }
-
207 
-
208  static Vector3 One() {
-
209  return Vector3One();
-
210  }
-
211 #endif
-
212 
-
213  inline Vector3& DrawLine3D(const ::Vector3& endPos, ::Color color) {
-
214  ::DrawLine3D(*this, endPos, color);
-
215  return *this;
-
216  }
-
217 
-
218  inline Vector3& DrawPoint3D(::Color color) {
-
219  ::DrawPoint3D(*this, color);
-
220  return *this;
-
221  }
-
222 
-
223  inline Vector3& DrawCircle3D(
-
224  float radius,
-
225  const ::Vector3& rotationAxis,
-
226  float rotationAngle,
-
227  Color color) {
-
228  ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
-
229  return *this;
-
230  }
-
231 
-
232  inline Vector3& DrawCube(float width, float height, float length, ::Color color) {
-
233  ::DrawCube(*this, width, height, length, color);
-
234  return *this;
-
235  }
-
236 
-
237  inline Vector3& DrawCube(const ::Vector3& size, ::Color color) {
-
238  ::DrawCubeV(*this, size, color);
-
239  return *this;
-
240  }
-
241 
-
242  inline Vector3& DrawCubeWires(float width, float height, float length, ::Color color) {
-
243  ::DrawCubeWires(*this, width, height, length, color);
-
244  return *this;
-
245  }
-
246 
-
247  inline Vector3& DrawCubeWires(const ::Vector3& size, ::Color color) {
-
248  ::DrawCubeWiresV(*this, size, color);
-
249  return *this;
-
250  }
-
251 
-
252  inline Vector3& DrawCubeTexture(
-
253  const ::Texture2D& texture,
-
254  float width,
-
255  float height,
-
256  float length,
-
257  ::Color color) {
-
258  ::DrawCubeTexture(texture, *this, width, height, length, color);
-
259  return *this;
-
260  }
-
261 
-
262  inline Vector3& DrawSphere(float radius, ::Color color) {
-
263  ::DrawSphere(*this, radius, color);
-
264  return *this;
-
265  }
-
266 
-
267  inline Vector3& DrawSphere(float radius, int rings, int slices, ::Color color) {
-
268  ::DrawSphereEx(*this, radius, rings, slices, color);
-
269  return *this;
-
270  }
-
271 
-
272  inline Vector3& DrawSphereWires(float radius, int rings, int slices, ::Color color) {
-
273  ::DrawSphereWires(*this, radius, rings, slices, color);
-
274  return *this;
-
275  }
-
276 
-
277  inline Vector3& DrawCylinder(float radiusTop, float radiusBottom, float height,
-
278  int slices, Color color) {
-
279  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
-
280  return *this;
-
281  }
-
282 
-
283  inline Vector3& DrawCylinderWires(float radiusTop, float radiusBottom, float height,
-
284  int slices, Color color) {
-
285  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
-
286  return *this;
-
287  }
-
288 
-
289  inline Vector3& DrawPlane(const ::Vector2& size, ::Color color) {
-
290  ::DrawPlane(*this, size, color);
-
291  return *this;
-
292  }
-
293 
-
297  inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
-
298  return CheckCollisionSpheres(*this, radius1, center2, radius2);
-
299  }
-
300 
-
301  private:
-
302  inline void set(const ::Vector3& vec) {
-
303  x = vec.x;
-
304  y = vec.y;
-
305  z = vec.z;
-
306  }
-
307 };
-
308 } // namespace raylib
-
309 
-
310 #endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Vector3 type.
Definition: Vector3.hpp:16
+
1#ifndef RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
+
2#define RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
+
3
+
4#ifndef RAYLIB_CPP_NO_MATH
+
5#include <cmath>
+
6#endif
+
7
+
8#include "./raylib.hpp"
+
9#include "./raymath.hpp"
+
10#include "./raylib-cpp-utils.hpp"
+
11
+
12namespace raylib {
+
16class Vector3 : public ::Vector3 {
+
17 public:
+
18 Vector3(const ::Vector3& vec) {
+
19 set(vec);
+
20 }
+
21
+
22 Vector3(float x, float y, float z) : ::Vector3{x, y, z} {}
+
23 Vector3(float x, float y) : ::Vector3{x, y, 0} {}
+
24 Vector3(float x) : ::Vector3{x, 0, 0} {}
+ +
26
+
27 Vector3(::Color color) {
+
28 set(ColorToHSV(color));
+
29 }
+
30
+
31 GETTERSETTER(float, X, x)
+
32 GETTERSETTER(float, Y, y)
+
33 GETTERSETTER(float, Z, z)
+
34
+
35 Vector3& operator=(const ::Vector3& vector3) {
+
36 set(vector3);
+
37 return *this;
+
38 }
+
39
+
40 bool operator==(const ::Vector3& other) {
+
41 return x == other.x
+
42 && y == other.y
+
43 && z == other.z;
+
44 }
+
45
+
46 bool operator!=(const ::Vector3& other) {
+
47 return !(*this == other);
+
48 }
+
49
+
50#ifndef RAYLIB_CPP_NO_MATH
+
51 Vector3 Add(const ::Vector3& vector3) {
+
52 return Vector3Add(*this, vector3);
+
53 }
+
54
+
55 Vector3 operator+(const ::Vector3& vector3) {
+
56 return Vector3Add(*this, vector3);
+
57 }
+
58
+
59 Vector3 Subtract(const ::Vector3& vector3) {
+
60 return Vector3Subtract(*this, vector3);
+
61 }
+
62
+
63 Vector3 operator-(const ::Vector3& vector3) {
+
64 return Vector3Subtract(*this, vector3);
+
65 }
+
66
+ +
68 return Vector3Negate(*this);
+
69 }
+
70
+ +
72 return Vector3Negate(*this);
+
73 }
+
74
+
75 Vector3 Multiply(const ::Vector3& vector3) const {
+
76 return Vector3Multiply(*this, vector3);
+
77 }
+
78
+
79 Vector3 operator*(const ::Vector3& vector3) const {
+
80 return Vector3Multiply(*this, vector3);
+
81 }
+
82
+
83 Vector3 Scale(const float scale) const {
+
84 return Vector3Scale(*this, scale);
+
85 }
+
86
+
87 Vector3 operator*(const float scale) const {
+
88 return Vector3Scale(*this, scale);
+
89 }
+
90
+
91 Vector3 Divide(const ::Vector3& vector3) const {
+
92 return Vector3Divide(*this, vector3);
+
93 }
+
94
+
95 Vector3 operator/(const ::Vector3& vector3) const {
+
96 return Vector3Divide(*this, vector3);
+
97 }
+
98
+
99 Vector3 Divide(const float div) const {
+
100 return ::Vector3{x / div, y / div, z / div};
+
101 }
+
102
+
103 Vector3 operator/(const float div) const {
+
104 return Divide(div);
+
105 }
+
106
+
107 Vector3& operator+=(const ::Vector3& vector3) {
+
108 set(Vector3Add(*this, vector3));
+
109
+
110 return *this;
+
111 }
+
112
+
113 Vector3& operator-=(const ::Vector3& vector3) {
+
114 set(Vector3Subtract(*this, vector3));
+
115
+
116 return *this;
+
117 }
+
118
+
119
+
120 Vector3& operator*=(const ::Vector3& vector3) {
+
121 set(Vector3Multiply(*this, vector3));
+
122
+
123 return *this;
+
124 }
+
125
+
126 Vector3& operator*=(const float scale) {
+
127 set(Vector3Scale(*this, scale));
+
128
+
129 return *this;
+
130 }
+
131
+
132 Vector3& operator/=(const ::Vector3& vector3) {
+
133 x /= vector3.x;
+
134 y /= vector3.y;
+
135 z /= vector3.z;
+
136
+
137 return *this;
+
138 }
+
139
+
140 Vector3& operator/=(const float div) {
+
141 x /= div;
+
142 y /= div;
+
143 z /= div;
+
144
+
145 return *this;
+
146 }
+
147
+
148 float Length() const {
+
149 return Vector3Length(*this);
+
150 }
+
151
+ +
153 return Vector3Normalize(*this);
+
154 }
+
155
+
156 float DotProduct(const ::Vector3& vector3) {
+
157 return Vector3DotProduct(*this, vector3);
+
158 }
+
159
+
160 float Distance(const ::Vector3& vector3) const {
+
161 return Vector3Distance(*this, vector3);
+
162 }
+
163
+
164 Vector3 Lerp(const ::Vector3& vector3, const float amount) const {
+
165 return Vector3Lerp(*this, vector3, amount);
+
166 }
+
167
+
168 Vector3 CrossProduct(const ::Vector3& vector3) const {
+
169 return Vector3CrossProduct(*this, vector3);
+
170 }
+
171
+ +
173 return Vector3Perpendicular(*this);
+
174 }
+
175
+
176 void OrthoNormalize(::Vector3* vector3) {
+
177 Vector3OrthoNormalize(this, vector3);
+
178 }
+
179
+
180 Vector3 Transform(const ::Matrix& matrix) const {
+
181 return Vector3Transform(*this, matrix);
+
182 }
+
183
+
184 Vector3 RotateByQuaternion(const ::Quaternion& quaternion) {
+
185 return Vector3RotateByQuaternion(*this, quaternion);
+
186 }
+
187
+
188 Vector3 Reflect(const ::Vector3& normal) const {
+
189 return Vector3Reflect(*this, normal);
+
190 }
+
191
+
192 Vector3 Min(const ::Vector3& vector3) {
+
193 return Vector3Min(*this, vector3);
+
194 }
+
195
+
196 Vector3 Max(const ::Vector3& vector3) {
+
197 return Vector3Max(*this, vector3);
+
198 }
+
199
+
200 Vector3 Barycenter(const ::Vector3& a, const ::Vector3& b, const ::Vector3& c) {
+
201 return Vector3Barycenter(*this, a, b, c);
+
202 }
+
203
+
204 static Vector3 Zero() {
+
205 return Vector3Zero();
+
206 }
+
207
+
208 static Vector3 One() {
+
209 return Vector3One();
+
210 }
+
211#endif
+
212
+
213 inline Vector3& DrawLine3D(const ::Vector3& endPos, ::Color color) {
+
214 ::DrawLine3D(*this, endPos, color);
+
215 return *this;
+
216 }
+
217
+
218 inline Vector3& DrawPoint3D(::Color color) {
+
219 ::DrawPoint3D(*this, color);
+
220 return *this;
+
221 }
+
222
+ +
224 float radius,
+
225 const ::Vector3& rotationAxis,
+
226 float rotationAngle,
+
227 Color color) {
+
228 ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
+
229 return *this;
+
230 }
+
231
+
232 inline Vector3& DrawCube(float width, float height, float length, ::Color color) {
+
233 ::DrawCube(*this, width, height, length, color);
+
234 return *this;
+
235 }
+
236
+
237 inline Vector3& DrawCube(const ::Vector3& size, ::Color color) {
+
238 ::DrawCubeV(*this, size, color);
+
239 return *this;
+
240 }
+
241
+
242 inline Vector3& DrawCubeWires(float width, float height, float length, ::Color color) {
+
243 ::DrawCubeWires(*this, width, height, length, color);
+
244 return *this;
+
245 }
+
246
+
247 inline Vector3& DrawCubeWires(const ::Vector3& size, ::Color color) {
+
248 ::DrawCubeWiresV(*this, size, color);
+
249 return *this;
+
250 }
+
251
+ +
253 const ::Texture2D& texture,
+
254 float width,
+
255 float height,
+
256 float length,
+
257 ::Color color) {
+
258 ::DrawCubeTexture(texture, *this, width, height, length, color);
+
259 return *this;
+
260 }
+
261
+
262 inline Vector3& DrawSphere(float radius, ::Color color) {
+
263 ::DrawSphere(*this, radius, color);
+
264 return *this;
+
265 }
+
266
+
267 inline Vector3& DrawSphere(float radius, int rings, int slices, ::Color color) {
+
268 ::DrawSphereEx(*this, radius, rings, slices, color);
+
269 return *this;
+
270 }
+
271
+
272 inline Vector3& DrawSphereWires(float radius, int rings, int slices, ::Color color) {
+
273 ::DrawSphereWires(*this, radius, rings, slices, color);
+
274 return *this;
+
275 }
+
276
+
277 inline Vector3& DrawCylinder(float radiusTop, float radiusBottom, float height,
+
278 int slices, Color color) {
+
279 ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
+
280 return *this;
+
281 }
+
282
+
283 inline Vector3& DrawCylinderWires(float radiusTop, float radiusBottom, float height,
+
284 int slices, Color color) {
+
285 ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
+
286 return *this;
+
287 }
+
288
+
289 inline Vector3& DrawPlane(const ::Vector2& size, ::Color color) {
+
290 ::DrawPlane(*this, size, color);
+
291 return *this;
+
292 }
+
293
+
297 inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
+
298 return CheckCollisionSpheres(*this, radius1, center2, radius2);
+
299 }
+
300
+
301 private:
+
302 inline void set(const ::Vector3& vec) {
+
303 x = vec.x;
+
304 y = vec.y;
+
305 z = vec.z;
+
306 }
+
307};
+
308} // namespace raylib
+
309
+
310#endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Vector3 type.
Definition: Vector3.hpp:16
+
Vector3 & DrawSphere(float radius, ::Color color)
Definition: Vector3.hpp:262
+
Vector3 operator*(const float scale) const
Definition: Vector3.hpp:87
+
Vector3 operator/(const ::Vector3 &vector3) const
Definition: Vector3.hpp:95
+
Vector3(float x, float y)
Definition: Vector3.hpp:23
+
bool operator!=(const ::Vector3 &other)
Definition: Vector3.hpp:46
+
Vector3 & operator/=(const ::Vector3 &vector3)
Definition: Vector3.hpp:132
+
Vector3 operator*(const ::Vector3 &vector3) const
Definition: Vector3.hpp:79
+
Vector3 Scale(const float scale) const
Definition: Vector3.hpp:83
+
Vector3(const ::Vector3 &vec)
Definition: Vector3.hpp:18
+
Vector3 & operator*=(const ::Vector3 &vector3)
Definition: Vector3.hpp:120
+
Vector3 & DrawPlane(const ::Vector2 &size, ::Color color)
Definition: Vector3.hpp:289
+
Vector3 & DrawSphereWires(float radius, int rings, int slices, ::Color color)
Definition: Vector3.hpp:272
+
Vector3 & DrawSphere(float radius, int rings, int slices, ::Color color)
Definition: Vector3.hpp:267
+
void OrthoNormalize(::Vector3 *vector3)
Definition: Vector3.hpp:176
+
Vector3 operator/(const float div) const
Definition: Vector3.hpp:103
+
Vector3(float x, float y, float z)
Definition: Vector3.hpp:22
+
Vector3 Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)
Definition: Vector3.hpp:200
+
Vector3 Normalize() const
Definition: Vector3.hpp:152
+
Vector3 RotateByQuaternion(const ::Quaternion &quaternion)
Definition: Vector3.hpp:184
+
Vector3 & operator*=(const float scale)
Definition: Vector3.hpp:126
+
Vector3 operator+(const ::Vector3 &vector3)
Definition: Vector3.hpp:55
+
Vector3 Negate()
Definition: Vector3.hpp:67
+
Vector3 Transform(const ::Matrix &matrix) const
Definition: Vector3.hpp:180
+
Vector3 & DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color)
Definition: Vector3.hpp:252
+
Vector3 & DrawCubeWires(float width, float height, float length, ::Color color)
Definition: Vector3.hpp:242
+
Vector3(float x)
Definition: Vector3.hpp:24
+
Vector3 Max(const ::Vector3 &vector3)
Definition: Vector3.hpp:196
+
Vector3 & DrawCubeWires(const ::Vector3 &size, ::Color color)
Definition: Vector3.hpp:247
+
Vector3 Add(const ::Vector3 &vector3)
Definition: Vector3.hpp:51
+
Vector3 Reflect(const ::Vector3 &normal) const
Definition: Vector3.hpp:188
+
Vector3 Min(const ::Vector3 &vector3)
Definition: Vector3.hpp:192
bool CheckCollision(float radius1, const ::Vector3 &center2, float radius2)
Detect collision between two spheres.
Definition: Vector3.hpp:297
+
Vector3 Perpendicular() const
Definition: Vector3.hpp:172
+
Vector3 & DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)
Definition: Vector3.hpp:277
+
Vector3 Lerp(const ::Vector3 &vector3, const float amount) const
Definition: Vector3.hpp:164
+
Vector3 operator-(const ::Vector3 &vector3)
Definition: Vector3.hpp:63
+
bool operator==(const ::Vector3 &other)
Definition: Vector3.hpp:40
+
float Length() const
Definition: Vector3.hpp:148
+
Vector3 & DrawCube(float width, float height, float length, ::Color color)
Definition: Vector3.hpp:232
+
Vector3 Divide(const ::Vector3 &vector3) const
Definition: Vector3.hpp:91
+
Vector3 operator-()
Definition: Vector3.hpp:71
+
Vector3 CrossProduct(const ::Vector3 &vector3) const
Definition: Vector3.hpp:168
+
Vector3 Divide(const float div) const
Definition: Vector3.hpp:99
+
Vector3 & operator+=(const ::Vector3 &vector3)
Definition: Vector3.hpp:107
+
Vector3 & operator-=(const ::Vector3 &vector3)
Definition: Vector3.hpp:113
+
Vector3(::Color color)
Definition: Vector3.hpp:27
+
Vector3 & DrawPoint3D(::Color color)
Definition: Vector3.hpp:218
+
static Vector3 One()
Definition: Vector3.hpp:208
+
Vector3 & DrawLine3D(const ::Vector3 &endPos, ::Color color)
Definition: Vector3.hpp:213
+
Vector3 & DrawCube(const ::Vector3 &size, ::Color color)
Definition: Vector3.hpp:237
+
Vector3 & operator/=(const float div)
Definition: Vector3.hpp:140
+
Vector3 Multiply(const ::Vector3 &vector3) const
Definition: Vector3.hpp:75
+
float Distance(const ::Vector3 &vector3) const
Definition: Vector3.hpp:160
+
float DotProduct(const ::Vector3 &vector3)
Definition: Vector3.hpp:156
+ +
static Vector3 Zero()
Definition: Vector3.hpp:204
+
Vector3 & DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)
Definition: Vector3.hpp:283
+
Vector3 & DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)
Definition: Vector3.hpp:223
+
Vector3 Subtract(const ::Vector3 &vector3)
Definition: Vector3.hpp:59
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_vector4_8hpp_source.html b/docs/_vector4_8hpp_source.html index 6f369060..7e3017c1 100644 --- a/docs/_vector4_8hpp_source.html +++ b/docs/_vector4_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Vector4.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Vector4.hpp
+
Vector4.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
-
3 
-
4 #ifndef RAYLIB_CPP_NO_MATH
-
5 #include <cmath>
-
6 #include <utility>
-
7 #endif
-
8 
-
9 #include "./raylib.hpp"
-
10 #include "./raymath.hpp"
-
11 #include "./raylib-cpp-utils.hpp"
-
12 
-
13 namespace raylib {
-
17 class Vector4 : public ::Vector4 {
-
18  public:
-
19  Vector4(const ::Vector4& vec) {
-
20  set(vec);
-
21  }
-
22 
-
23  Vector4(float x, float y, float z, float w) : ::Vector4{x, y, z, w} {}
-
24  Vector4(float x, float y, float z) : ::Vector4{x, y, z, 0} {}
-
25  Vector4(float x, float y) : ::Vector4{x, y, 0, 0} {}
-
26  Vector4(float x) : ::Vector4{x, 0, 0, 0} {}
-
27  Vector4() {}
-
28  Vector4(::Rectangle rect) : ::Vector4{rect.x, rect.y, rect.width, rect.height} {}
-
29 
-
30  Vector4(::Color color) {
-
31  set(ColorNormalize(color));
-
32  }
-
33 
-
34  GETTERSETTER(float, X, x)
-
35  GETTERSETTER(float, Y, y)
-
36  GETTERSETTER(float, Z, z)
-
37  GETTERSETTER(float, W, w)
-
38 
-
39  Vector4& operator=(const ::Vector4& vector4) {
-
40  set(vector4);
-
41  return *this;
-
42  }
-
43 
-
44  bool operator==(const ::Vector4& other) {
-
45  return x == other.x
-
46  && y == other.y
-
47  && z == other.z
-
48  && w == other.w;
-
49  }
-
50 
-
51  bool operator!=(const ::Vector4& other) {
-
52  return !(*this == other);
-
53  }
-
54 
-
55  inline ::Rectangle ToRectangle() {
-
56  return {x, y, z, w};
-
57  }
-
58 
-
59  operator ::Rectangle() const {
-
60  return {x, y, z, w};
-
61  }
-
62 
-
63 #ifndef RAYLIB_CPP_NO_MATH
-
64  Vector4 Multiply(const ::Vector4& vector4) const {
-
65  return QuaternionMultiply(*this, vector4);
-
66  }
-
67 
-
68  Vector4 operator*(const ::Vector4& vector4) const {
-
69  return QuaternionMultiply(*this, vector4);
-
70  }
-
71 
-
72  Vector4 Lerp(const ::Vector4& vector4, float amount) const {
-
73  return QuaternionLerp(*this, vector4, amount);
-
74  }
-
75 
-
76  Vector4 Nlerp(const ::Vector4& vector4, float amount) const {
-
77  return QuaternionNlerp(*this, vector4, amount);
-
78  }
-
79 
-
80  Vector4 Slerp(const ::Vector4& vector4, float amount) const {
-
81  return QuaternionSlerp(*this, vector4, amount);
-
82  }
-
83 
-
84  Matrix ToMatrix() const {
-
85  return QuaternionToMatrix(*this);
-
86  }
-
87 
-
88  float Length() const {
-
89  return QuaternionLength(*this);
-
90  }
-
91 
-
92  Vector4 Normalize() const {
-
93  return QuaternionNormalize(*this);
-
94  }
-
95 
-
96  Vector4 Invert() const {
-
97  return QuaternionInvert(*this);
-
98  }
-
99 
-
100  void ToAxisAngle(::Vector3 *outAxis, float *outAngle) {
-
101  QuaternionToAxisAngle(*this, outAxis, outAngle);
-
102  }
-
103 
-
104  std::pair<Vector3, float> ToAxisAngle() {
-
105  Vector3 outAxis;
-
106  float outAngle;
-
107 
-
108  QuaternionToAxisAngle(*this, &outAxis, &outAngle);
-
109 
-
110  std::pair<Vector3, float> out(outAxis, outAngle);
-
111 
-
112  return out;
-
113  }
-
114 
-
115  Vector4 Transform(const ::Matrix& matrix) {
-
116  return ::QuaternionTransform(*this, matrix);
-
117  }
-
118 
-
119  static Vector4 Identity() {
-
120  return ::QuaternionIdentity();
-
121  }
-
122 
-
123  static Vector4 FromVector3ToVector3(const ::Vector3& from , const ::Vector3& to) {
-
124  return ::QuaternionFromVector3ToVector3(from , to);
-
125  }
-
126 
-
127  static Vector4 FromMatrix(const ::Matrix& matrix) {
-
128  return ::QuaternionFromMatrix(matrix);
-
129  }
-
130 
-
131  static Vector4 FromAxisAngle(const ::Vector3& axis, const float angle) {
-
132  return ::QuaternionFromAxisAngle(axis, angle);
-
133  }
-
134 
-
135  static Vector4 FromEuler(const float yaw, const float pitch, const float roll) {
-
136  return ::QuaternionFromEuler(yaw, pitch, roll);
-
137  }
-
138 
-
139  static Vector4 FromEuler(const ::Vector3& vector3) {
-
140  return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
-
141  }
-
142 
-
143  Vector3 ToEuler() {
-
144  return ::QuaternionToEuler(*this);
-
145  }
-
146 #endif
-
147 
-
148  inline Color ColorFromNormalized() const {
-
149  return ::ColorFromNormalized(*this);
-
150  }
-
151 
-
152  operator Color() {
-
153  return ColorFromNormalized();
-
154  }
-
155 
-
156  private:
-
157  inline void set(const ::Vector4& vec4) {
-
158  x = vec4.x;
-
159  y = vec4.y;
-
160  z = vec4.z;
-
161  w = vec4.w;
-
162  }
-
163 };
-
164 
-
165 // Alias the Vector4 as Quaternion.
-
166 typedef Vector4 Quaternion;
-
167 } // namespace raylib
-
168 
-
169 #endif // RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Vector4 type.
Definition: Vector4.hpp:17
-
Rectangle type.
Definition: Rectangle.hpp:12
+
1#ifndef RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
+
2#define RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
+
3
+
4#ifndef RAYLIB_CPP_NO_MATH
+
5#include <cmath>
+
6#include <utility>
+
7#endif
+
8
+
9#include "./raylib.hpp"
+
10#include "./raymath.hpp"
+
11#include "./raylib-cpp-utils.hpp"
+
12
+
13namespace raylib {
+
17class Vector4 : public ::Vector4 {
+
18 public:
+
19 Vector4(const ::Vector4& vec) {
+
20 set(vec);
+
21 }
+
22
+
23 Vector4(float x, float y, float z, float w) : ::Vector4{x, y, z, w} {}
+
24 Vector4(float x, float y, float z) : ::Vector4{x, y, z, 0} {}
+
25 Vector4(float x, float y) : ::Vector4{x, y, 0, 0} {}
+
26 Vector4(float x) : ::Vector4{x, 0, 0, 0} {}
+ +
28 Vector4(::Rectangle rect) : ::Vector4{rect.x, rect.y, rect.width, rect.height} {}
+
29
+
30 Vector4(::Color color) {
+
31 set(ColorNormalize(color));
+
32 }
+
33
+
34 GETTERSETTER(float, X, x)
+
35 GETTERSETTER(float, Y, y)
+
36 GETTERSETTER(float, Z, z)
+
37 GETTERSETTER(float, W, w)
+
38
+
39 Vector4& operator=(const ::Vector4& vector4) {
+
40 set(vector4);
+
41 return *this;
+
42 }
+
43
+
44 bool operator==(const ::Vector4& other) {
+
45 return x == other.x
+
46 && y == other.y
+
47 && z == other.z
+
48 && w == other.w;
+
49 }
+
50
+
51 bool operator!=(const ::Vector4& other) {
+
52 return !(*this == other);
+
53 }
+
54
+
55 inline ::Rectangle ToRectangle() {
+
56 return {x, y, z, w};
+
57 }
+
58
+
59 operator ::Rectangle() const {
+
60 return {x, y, z, w};
+
61 }
+
62
+
63#ifndef RAYLIB_CPP_NO_MATH
+
64 Vector4 Multiply(const ::Vector4& vector4) const {
+
65 return QuaternionMultiply(*this, vector4);
+
66 }
+
67
+
68 Vector4 operator*(const ::Vector4& vector4) const {
+
69 return QuaternionMultiply(*this, vector4);
+
70 }
+
71
+
72 Vector4 Lerp(const ::Vector4& vector4, float amount) const {
+
73 return QuaternionLerp(*this, vector4, amount);
+
74 }
+
75
+
76 Vector4 Nlerp(const ::Vector4& vector4, float amount) const {
+
77 return QuaternionNlerp(*this, vector4, amount);
+
78 }
+
79
+
80 Vector4 Slerp(const ::Vector4& vector4, float amount) const {
+
81 return QuaternionSlerp(*this, vector4, amount);
+
82 }
+
83
+
84 Matrix ToMatrix() const {
+
85 return QuaternionToMatrix(*this);
+
86 }
+
87
+
88 float Length() const {
+
89 return QuaternionLength(*this);
+
90 }
+
91
+ +
93 return QuaternionNormalize(*this);
+
94 }
+
95
+
96 Vector4 Invert() const {
+
97 return QuaternionInvert(*this);
+
98 }
+
99
+
100 void ToAxisAngle(::Vector3 *outAxis, float *outAngle) {
+
101 QuaternionToAxisAngle(*this, outAxis, outAngle);
+
102 }
+
103
+
104 std::pair<Vector3, float> ToAxisAngle() {
+
105 Vector3 outAxis;
+
106 float outAngle;
+
107
+
108 QuaternionToAxisAngle(*this, &outAxis, &outAngle);
+
109
+
110 std::pair<Vector3, float> out(outAxis, outAngle);
+
111
+
112 return out;
+
113 }
+
114
+
115 Vector4 Transform(const ::Matrix& matrix) {
+
116 return ::QuaternionTransform(*this, matrix);
+
117 }
+
118
+
119 static Vector4 Identity() {
+
120 return ::QuaternionIdentity();
+
121 }
+
122
+
123 static Vector4 FromVector3ToVector3(const ::Vector3& from , const ::Vector3& to) {
+
124 return ::QuaternionFromVector3ToVector3(from , to);
+
125 }
+
126
+
127 static Vector4 FromMatrix(const ::Matrix& matrix) {
+
128 return ::QuaternionFromMatrix(matrix);
+
129 }
+
130
+
131 static Vector4 FromAxisAngle(const ::Vector3& axis, const float angle) {
+
132 return ::QuaternionFromAxisAngle(axis, angle);
+
133 }
+
134
+
135 static Vector4 FromEuler(const float yaw, const float pitch, const float roll) {
+
136 return ::QuaternionFromEuler(yaw, pitch, roll);
+
137 }
+
138
+
139 static Vector4 FromEuler(const ::Vector3& vector3) {
+
140 return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
+
141 }
+
142
+ +
144 return ::QuaternionToEuler(*this);
+
145 }
+
146#endif
+
147
+
148 inline Color ColorFromNormalized() const {
+
149 return ::ColorFromNormalized(*this);
+
150 }
+
151
+
152 operator Color() {
+
153 return ColorFromNormalized();
+
154 }
+
155
+
156 private:
+
157 inline void set(const ::Vector4& vec4) {
+
158 x = vec4.x;
+
159 y = vec4.y;
+
160 z = vec4.z;
+
161 w = vec4.w;
+
162 }
+
163};
+
164
+
165// Alias the Vector4 as Quaternion.
+ +
167} // namespace raylib
+
168
+
169#endif // RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Vector3 type.
Definition: Vector3.hpp:16
+
Vector4 type.
Definition: Vector4.hpp:17
+
bool operator==(const ::Vector4 &other)
Definition: Vector4.hpp:44
+
Vector4(float x, float y, float z)
Definition: Vector4.hpp:24
+
Vector4 Lerp(const ::Vector4 &vector4, float amount) const
Definition: Vector4.hpp:72
+
static Vector4 FromEuler(const ::Vector3 &vector3)
Definition: Vector4.hpp:139
+
bool operator!=(const ::Vector4 &other)
Definition: Vector4.hpp:51
+
Vector4(const ::Vector4 &vec)
Definition: Vector4.hpp:19
+
Vector4(::Rectangle rect)
Definition: Vector4.hpp:28
+
Vector3 ToEuler()
Definition: Vector4.hpp:143
+
Color ColorFromNormalized() const
Definition: Vector4.hpp:148
+
Vector4(float x)
Definition: Vector4.hpp:26
+
static Vector4 FromAxisAngle(const ::Vector3 &axis, const float angle)
Definition: Vector4.hpp:131
+
float Length() const
Definition: Vector4.hpp:88
+
Vector4 Normalize() const
Definition: Vector4.hpp:92
+
static Vector4 Identity()
Definition: Vector4.hpp:119
+
Vector4(float x, float y, float z, float w)
Definition: Vector4.hpp:23
+
Vector4 Invert() const
Definition: Vector4.hpp:96
+
Vector4 Nlerp(const ::Vector4 &vector4, float amount) const
Definition: Vector4.hpp:76
+
Vector4(::Color color)
Definition: Vector4.hpp:30
+
static Vector4 FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to)
Definition: Vector4.hpp:123
+
static Vector4 FromMatrix(const ::Matrix &matrix)
Definition: Vector4.hpp:127
+
Vector4 Multiply(const ::Vector4 &vector4) const
Definition: Vector4.hpp:64
+
Vector4(float x, float y)
Definition: Vector4.hpp:25
+
inline ::Rectangle ToRectangle()
Definition: Vector4.hpp:55
+ +
Vector4 Transform(const ::Matrix &matrix)
Definition: Vector4.hpp:115
+
Vector4 Slerp(const ::Vector4 &vector4, float amount) const
Definition: Vector4.hpp:80
+
void ToAxisAngle(::Vector3 *outAxis, float *outAngle)
Definition: Vector4.hpp:100
+
Vector4 operator*(const ::Vector4 &vector4) const
Definition: Vector4.hpp:68
+
Matrix ToMatrix() const
Definition: Vector4.hpp:84
+
static Vector4 FromEuler(const float yaw, const float pitch, const float roll)
Definition: Vector4.hpp:135
+
std::pair< Vector3, float > ToAxisAngle()
Definition: Vector4.hpp:104
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
Vector4 Quaternion
Definition: Vector4.hpp:166
+
+ - + diff --git a/docs/_vr_stereo_config_8hpp_source.html b/docs/_vr_stereo_config_8hpp_source.html index 85067975..680e1742 100644 --- a/docs/_vr_stereo_config_8hpp_source.html +++ b/docs/_vr_stereo_config_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: VrStereoConfig.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
VrStereoConfig.hpp
+
VrStereoConfig.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
-
3 
-
4 #include "./raylib.hpp"
-
5 #include "./raylib-cpp-utils.hpp"
-
6 
-
7 namespace raylib {
- -
12  public:
-
13  VrStereoConfig(const ::VrDeviceInfo& info) {
-
14  Init(info);
-
15  }
-
16 
-
20  inline void Init(const ::VrDeviceInfo& info) {
-
21  set(LoadVrStereoConfig(info));
-
22  }
-
23 
- -
28  Unload();
-
29  }
-
30 
- -
35  ::BeginVrStereoMode(*this);
-
36  return *this;
-
37  }
-
38 
- -
43  ::EndVrStereoMode();
-
44  return *this;
-
45  }
-
46 
-
50  inline void Unload() {
-
51  ::UnloadVrStereoConfig(*this);
-
52  }
-
53 
-
54  private:
-
55  inline void set(const ::VrStereoConfig& config) {
-
56  projection[0] = config.projection[0];
-
57  viewOffset[1] = config.viewOffset[1];
-
58  projection[0] = config.projection[0];
-
59  viewOffset[1] = config.viewOffset[1];
-
60  leftLensCenter[0] = config.leftLensCenter[0];
-
61  leftLensCenter[1] = config.leftLensCenter[1];
-
62  rightLensCenter[0] = config.leftLensCenter[0];
-
63  rightLensCenter[1] = config.leftLensCenter[1];
-
64  leftScreenCenter[0] = config.leftLensCenter[0];
-
65  leftScreenCenter[1] = config.leftLensCenter[1];
-
66  rightScreenCenter[0] = config.leftLensCenter[0];
-
67  rightScreenCenter[1] = config.leftLensCenter[1];
-
68  scale[0] = config.leftLensCenter[0];
-
69  scale[1] = config.leftLensCenter[1];
-
70  scaleIn[0] = config.leftLensCenter[0];
-
71  scaleIn[1] = config.leftLensCenter[1];
-
72  }
-
73 };
-
74 } // namespace raylib
-
75 
-
76 #endif // RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
1#ifndef RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
+
2#define RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
+
3
+
4#include "./raylib.hpp"
+
5#include "./raylib-cpp-utils.hpp"
+
6
+
7namespace raylib {
+
11class VrStereoConfig : public ::VrStereoConfig {
+
12 public:
+
13 VrStereoConfig(const ::VrDeviceInfo& info) {
+
14 Init(info);
+
15 }
+
16
+
20 inline void Init(const ::VrDeviceInfo& info) {
+
21 set(LoadVrStereoConfig(info));
+
22 }
+
23
+ +
28 Unload();
+
29 }
+
30
+ +
35 ::BeginVrStereoMode(*this);
+
36 return *this;
+
37 }
+
38
+ +
43 ::EndVrStereoMode();
+
44 return *this;
+
45 }
+
46
+
50 inline void Unload() {
+
51 ::UnloadVrStereoConfig(*this);
+
52 }
+
53
+
54 private:
+
55 inline void set(const ::VrStereoConfig& config) {
+
56 projection[0] = config.projection[0];
+
57 viewOffset[1] = config.viewOffset[1];
+
58 projection[0] = config.projection[0];
+
59 viewOffset[1] = config.viewOffset[1];
+
60 leftLensCenter[0] = config.leftLensCenter[0];
+
61 leftLensCenter[1] = config.leftLensCenter[1];
+
62 rightLensCenter[0] = config.leftLensCenter[0];
+
63 rightLensCenter[1] = config.leftLensCenter[1];
+
64 leftScreenCenter[0] = config.leftLensCenter[0];
+
65 leftScreenCenter[1] = config.leftLensCenter[1];
+
66 rightScreenCenter[0] = config.leftLensCenter[0];
+
67 rightScreenCenter[1] = config.leftLensCenter[1];
+
68 scale[0] = config.leftLensCenter[0];
+
69 scale[1] = config.leftLensCenter[1];
+
70 scaleIn[0] = config.leftLensCenter[0];
+
71 scaleIn[1] = config.leftLensCenter[1];
+
72 }
+
73};
+
74} // namespace raylib
+
75
+
76#endif // RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
+
VR stereo config functions for VR simulator.
+
VrStereoConfig & BeginMode()
Begin stereo rendering.
+
VrStereoConfig(const ::VrDeviceInfo &info)
+
VrStereoConfig & EndDrawing()
End stereo rendering.
void Init(const ::VrDeviceInfo &info)
Load VR stereo config for VR simulator device parameters.
void Unload()
Unload VR stereo config.
-
VrStereoConfig & BeginMode()
Begin stereo rendering.
-
VR stereo config functions for VR simulator.
-
VrStereoConfig & EndDrawing()
End stereo rendering.
~VrStereoConfig()
Unload VR stereo config.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_wave_8hpp_source.html b/docs/_wave_8hpp_source.html index 499a8a36..ac5f9799 100644 --- a/docs/_wave_8hpp_source.html +++ b/docs/_wave_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Wave.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Wave.hpp
+
Wave.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_WAVE_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_WAVE_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./raylib-cpp-utils.hpp"
-
8 #include "./RaylibException.hpp"
-
9 
-
10 namespace raylib {
-
14 class Wave : public ::Wave {
-
15  public:
-
16  Wave(const ::Wave& wave) {
-
17  set(wave);
-
18  }
-
19 
-
20  Wave(
-
21  unsigned int frameCount = 0,
-
22  unsigned int sampleRate = 0,
-
23  unsigned int sampleSize = 0,
-
24  unsigned int channels = 0,
-
25  void *data = nullptr) : ::Wave{frameCount, sampleRate, sampleSize, channels, data} {
-
26  // Nothing.
-
27  }
-
28 
-
32  Wave(const std::string& fileName) {
-
33  if (!Load(fileName)) {
-
34  throw RaylibException(TextFormat("Failed to load Wave from file: %s", fileName.c_str()));
-
35  }
-
36  }
-
37 
-
41  Wave(const std::string& fileType, const unsigned char *fileData, int dataSize) {
-
42  if (!Load(fileType, fileData, dataSize)) {
-
43  throw RaylibException("Failed to load Wave from memory");
-
44  }
-
45  }
-
46 
-
47  Wave(const Wave& other) {
-
48  set(other.Copy());
-
49  }
-
50 
-
51  Wave(Wave&& other) {
-
52  set(other);
-
53 
-
54  other.frameCount = 0;
-
55  other.sampleRate = 0;
-
56  other.sampleSize = 0;
-
57  other.channels = 0;
-
58  other.data = nullptr;
-
59  }
-
60 
-
64  ~Wave() {
-
65  Unload();
-
66  }
-
67 
-
68  GETTERSETTER(unsigned int, FrameCount, frameCount)
-
69  GETTERSETTER(unsigned int, SampleRate, sampleRate)
-
70  GETTERSETTER(unsigned int, SampleSize, sampleSize)
-
71  GETTERSETTER(unsigned int, Channels, channels)
-
72  GETTERSETTER(void *, Data, data)
-
73 
-
74  Wave& operator=(const ::Wave& wave) {
-
75  set(wave);
-
76  return *this;
-
77  }
-
78 
-
79  Wave& operator=(const Wave& other) {
-
80  if (this == &other) {
-
81  return *this;
-
82  }
-
83 
-
84  Unload();
-
85  set(other.Copy());
-
86 
-
87  return *this;
-
88  }
-
89 
-
90  Wave& operator=(Wave&& other) noexcept {
-
91  if (this != &other) {
-
92  return *this;
-
93  }
-
94 
-
95  Unload();
-
96  set(other);
-
97 
-
98  other.frameCount = 0;
-
99  other.sampleRate = 0;
-
100  other.sampleSize = 0;
-
101  other.channels = 0;
-
102  other.data = nullptr;
-
103 
-
104  return *this;
-
105  }
-
106 
-
110  inline Wave& Format(int SampleRate, int SampleSize, int Channels = 2) {
-
111  ::WaveFormat(this, SampleRate, SampleSize, Channels);
-
112  return *this;
-
113  }
-
114 
-
118  inline ::Wave Copy() const {
-
119  return ::WaveCopy(*this);
-
120  }
-
121 
-
125  inline Wave& Crop(int initSample, int finalSample) {
-
126  ::WaveCrop(this, initSample, finalSample);
-
127  return *this;
-
128  }
-
129 
-
133  inline float* LoadSamples() {
-
134  return ::LoadWaveSamples(*this);
-
135  }
-
136 
-
140  inline void UnloadSamples(float *samples) {
-
141  ::UnloadWaveSamples(samples);
-
142  }
-
143 
-
147  inline bool Export(const std::string& fileName) {
-
148  // TODO(RobLoach): Throw exception on error.
-
149  return ::ExportWave(*this, fileName.c_str());
-
150  }
-
151 
-
155  inline bool ExportAsCode(const std::string& fileName) {
-
156  // TODO(RobLoach): Throw exception on error.
-
157  return ::ExportWaveAsCode(*this, fileName.c_str());
-
158  }
-
159 
-
163  void Unload() {
-
164  if (data != nullptr) {
-
165  ::UnloadWave(*this);
-
166  data = nullptr;
-
167  }
-
168  }
-
169 
-
173  inline ::Sound LoadSound() {
-
174  return ::LoadSoundFromWave(*this);
-
175  }
-
176 
-
180  inline operator ::Sound() {
-
181  return LoadSound();
-
182  }
-
183 
-
189  bool Load(const std::string& fileName) {
-
190  set(::LoadWave(fileName.c_str()));
-
191  return IsReady();
-
192  }
-
193 
-
199  bool Load(const std::string& fileType, const unsigned char *fileData, int dataSize) {
-
200  set(::LoadWaveFromMemory(fileType.c_str(), fileData, dataSize));
-
201  return IsReady();
-
202  }
-
203 
-
209  inline bool IsReady() const {
-
210  return data != nullptr;
-
211  }
-
212 
-
213  private:
-
214  inline void set(const ::Wave& wave) {
-
215  frameCount = wave.frameCount;
-
216  sampleRate = wave.sampleRate;
-
217  sampleSize = wave.sampleSize;
-
218  channels = wave.channels;
-
219  data = wave.data;
-
220  }
-
221 };
-
222 
-
223 } // namespace raylib
-
224 
-
225 #endif // RAYLIB_CPP_INCLUDE_WAVE_HPP_
-
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load wave from memory buffer, fileType refers to extension: i.e.
Definition: Wave.hpp:199
+
1#ifndef RAYLIB_CPP_INCLUDE_WAVE_HPP_
+
2#define RAYLIB_CPP_INCLUDE_WAVE_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./raylib-cpp-utils.hpp"
+
8#include "./RaylibException.hpp"
+
9
+
10namespace raylib {
+
14class Wave : public ::Wave {
+
15 public:
+
16 Wave(const ::Wave& wave) {
+
17 set(wave);
+
18 }
+
19
+ +
21 unsigned int frameCount = 0,
+
22 unsigned int sampleRate = 0,
+
23 unsigned int sampleSize = 0,
+
24 unsigned int channels = 0,
+
25 void *data = nullptr) : ::Wave{frameCount, sampleRate, sampleSize, channels, data} {
+
26 // Nothing.
+
27 }
+
28
+
32 Wave(const std::string& fileName) {
+
33 if (!Load(fileName)) {
+
34 throw RaylibException(TextFormat("Failed to load Wave from file: %s", fileName.c_str()));
+
35 }
+
36 }
+
37
+
41 Wave(const std::string& fileType, const unsigned char *fileData, int dataSize) {
+
42 if (!Load(fileType, fileData, dataSize)) {
+
43 throw RaylibException("Failed to load Wave from memory");
+
44 }
+
45 }
+
46
+
47 Wave(const Wave& other) {
+
48 set(other.Copy());
+
49 }
+
50
+
51 Wave(Wave&& other) {
+
52 set(other);
+
53
+
54 other.frameCount = 0;
+
55 other.sampleRate = 0;
+
56 other.sampleSize = 0;
+
57 other.channels = 0;
+
58 other.data = nullptr;
+
59 }
+
60
+ +
65 Unload();
+
66 }
+
67
+
68 GETTERSETTER(unsigned int, FrameCount, frameCount)
+
69 GETTERSETTER(unsigned int, SampleRate, sampleRate)
+
70 GETTERSETTER(unsigned int, SampleSize, sampleSize)
+
71 GETTERSETTER(unsigned int, Channels, channels)
+
72 GETTERSETTER(void *, Data, data)
+
73
+
74 Wave& operator=(const ::Wave& wave) {
+
75 set(wave);
+
76 return *this;
+
77 }
+
78
+
79 Wave& operator=(const Wave& other) {
+
80 if (this == &other) {
+
81 return *this;
+
82 }
+
83
+
84 Unload();
+
85 set(other.Copy());
+
86
+
87 return *this;
+
88 }
+
89
+
90 Wave& operator=(Wave&& other) noexcept {
+
91 if (this != &other) {
+
92 return *this;
+
93 }
+
94
+
95 Unload();
+
96 set(other);
+
97
+
98 other.frameCount = 0;
+
99 other.sampleRate = 0;
+
100 other.sampleSize = 0;
+
101 other.channels = 0;
+
102 other.data = nullptr;
+
103
+
104 return *this;
+
105 }
+
106
+
110 inline Wave& Format(int SampleRate, int SampleSize, int Channels = 2) {
+
111 ::WaveFormat(this, SampleRate, SampleSize, Channels);
+
112 return *this;
+
113 }
+
114
+
118 inline ::Wave Copy() const {
+
119 return ::WaveCopy(*this);
+
120 }
+
121
+
125 inline Wave& Crop(int initSample, int finalSample) {
+
126 ::WaveCrop(this, initSample, finalSample);
+
127 return *this;
+
128 }
+
129
+
133 inline float* LoadSamples() {
+
134 return ::LoadWaveSamples(*this);
+
135 }
+
136
+
140 inline void UnloadSamples(float *samples) {
+
141 ::UnloadWaveSamples(samples);
+
142 }
+
143
+
147 inline bool Export(const std::string& fileName) {
+
148 // TODO(RobLoach): Throw exception on error.
+
149 return ::ExportWave(*this, fileName.c_str());
+
150 }
+
151
+
155 inline bool ExportAsCode(const std::string& fileName) {
+
156 // TODO(RobLoach): Throw exception on error.
+
157 return ::ExportWaveAsCode(*this, fileName.c_str());
+
158 }
+
159
+
163 void Unload() {
+
164 if (data != nullptr) {
+
165 ::UnloadWave(*this);
+
166 data = nullptr;
+
167 }
+
168 }
+
169
+
173 inline ::Sound LoadSound() {
+
174 return ::LoadSoundFromWave(*this);
+
175 }
+
176
+
180 inline operator ::Sound() {
+
181 return LoadSound();
+
182 }
+
183
+
189 bool Load(const std::string& fileName) {
+
190 set(::LoadWave(fileName.c_str()));
+
191 return IsReady();
+
192 }
+
193
+
199 bool Load(const std::string& fileType, const unsigned char *fileData, int dataSize) {
+
200 set(::LoadWaveFromMemory(fileType.c_str(), fileData, dataSize));
+
201 return IsReady();
+
202 }
+
203
+
209 inline bool IsReady() const {
+
210 return data != nullptr;
+
211 }
+
212
+
213 private:
+
214 inline void set(const ::Wave& wave) {
+
215 frameCount = wave.frameCount;
+
216 sampleRate = wave.sampleRate;
+
217 sampleSize = wave.sampleSize;
+
218 channels = wave.channels;
+
219 data = wave.data;
+
220 }
+
221};
+
222
+
223} // namespace raylib
+
224
+
225#endif // RAYLIB_CPP_INCLUDE_WAVE_HPP_
+
Exception used for most raylib-related exceptions.
Wave type, defines audio wave data.
Definition: Wave.hpp:14
-
Wave & Crop(int initSample, int finalSample)
Crop a wave to defined samples range.
Definition: Wave.hpp:125
-
void Unload()
Unload wave data.
Definition: Wave.hpp:163
-
float * LoadSamples()
Load samples data from wave as a floats array.
Definition: Wave.hpp:133
+
float * LoadSamples()
Load samples data from wave as a floats array.
Definition: Wave.hpp:133
bool Load(const std::string &fileName)
Load wave data from file.
Definition: Wave.hpp:189
-
bool Export(const std::string &fileName)
Export wave data to file, returns true on success.
Definition: Wave.hpp:147
-
~Wave()
Unload wave data.
Definition: Wave.hpp:64
-
Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load wave from memory buffer, fileType refers to extension: i.e.
Definition: Wave.hpp:41
inline ::Wave Copy() const
Copy a wave to a new wave.
Definition: Wave.hpp:118
-
Wave(const std::string &fileName)
Load wave data from file.
Definition: Wave.hpp:32
+
Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load wave from memory buffer, fileType refers to extension: i.e.
Definition: Wave.hpp:41
+
Wave(const Wave &other)
Definition: Wave.hpp:47
bool ExportAsCode(const std::string &fileName)
Export wave sample data to code (.h), returns true on success.
Definition: Wave.hpp:155
-
void UnloadSamples(float *samples)
Unload samples data loaded with LoadWaveSamples()
Definition: Wave.hpp:140
-
bool IsReady() const
Retrieve whether or not the Wave data has been loaded.
Definition: Wave.hpp:209
-
Wave & Format(int SampleRate, int SampleSize, int Channels=2)
Convert wave data to desired format.
Definition: Wave.hpp:110
-
Exception used for most raylib-related exceptions.
+
Wave(const ::Wave &wave)
Definition: Wave.hpp:16
+
~Wave()
Unload wave data.
Definition: Wave.hpp:64
+
Wave & Crop(int initSample, int finalSample)
Crop a wave to defined samples range.
Definition: Wave.hpp:125
+
Wave & operator=(Wave &&other) noexcept
Definition: Wave.hpp:90
+
void Unload()
Unload wave data.
Definition: Wave.hpp:163
inline ::Sound LoadSound()
Load sound from wave data.
Definition: Wave.hpp:173
+
Wave & Format(int SampleRate, int SampleSize, int Channels=2)
Convert wave data to desired format.
Definition: Wave.hpp:110
+
bool IsReady() const
Retrieve whether or not the Wave data has been loaded.
Definition: Wave.hpp:209
+
Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)
Definition: Wave.hpp:20
+
bool Export(const std::string &fileName)
Export wave data to file, returns true on success.
Definition: Wave.hpp:147
+
Wave & operator=(const Wave &other)
Definition: Wave.hpp:79
+
Wave(const std::string &fileName)
Load wave data from file.
Definition: Wave.hpp:32
+
Wave(Wave &&other)
Definition: Wave.hpp:51
+
void UnloadSamples(float *samples)
Unload samples data loaded with LoadWaveSamples()
Definition: Wave.hpp:140
+
bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load wave from memory buffer, fileType refers to extension: i.e.
Definition: Wave.hpp:199
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ - + diff --git a/docs/_window_8hpp_source.html b/docs/_window_8hpp_source.html index b9dfeb87..6ea2b849 100644 --- a/docs/_window_8hpp_source.html +++ b/docs/_window_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Window.hpp Source File + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
Window.hpp
+
Window.hpp
-
1 #ifndef RAYLIB_CPP_INCLUDE_WINDOW_HPP_
-
2 #define RAYLIB_CPP_INCLUDE_WINDOW_HPP_
-
3 
-
4 #include <string>
-
5 
-
6 #include "./raylib.hpp"
-
7 #include "./RaylibException.hpp"
-
8 
-
9 namespace raylib {
-
13 class Window {
-
14  public:
-
20  Window(int width = 800, int height = 450, const std::string& title = "raylib",
-
21  bool lateInit = false) {
-
22  if (!lateInit) {
-
23  if (!Init(width, height, title)) {
-
24  throw RaylibException("Failed to create Window");
-
25  }
-
26  }
-
27  }
-
28 
-
32  ~Window() {
-
33  Close();
-
34  }
-
35 
-
41  bool Init(int width = 800, int height = 450, const std::string& title = "raylib") {
-
42  ::InitWindow(width, height, title.c_str());
-
43  return IsWindowReady();
-
44  }
-
45 
-
49  inline bool ShouldClose() const {
-
50  return ::WindowShouldClose();
-
51  }
-
52 
-
56  inline void Close() {
-
57  ::CloseWindow();
-
58  }
-
59 
-
63  inline bool IsCursorOnScreen() const {
-
64  return ::IsCursorOnScreen();
-
65  }
-
66 
-
70  inline static bool IsReady() {
-
71  return ::IsWindowReady();
-
72  }
-
73 
-
77  inline bool IsFullscreen() const {
-
78  return ::IsWindowFullscreen();
-
79  }
-
80 
-
84  inline bool IsHidden() const {
-
85  return ::IsWindowHidden();
-
86  }
-
87 
-
91  inline bool IsMinimized() const {
-
92  return ::IsWindowMinimized();
-
93  }
-
94 
-
98  inline bool IsMaximized() const {
-
99  return ::IsWindowMaximized();
-
100  }
-
101 
-
105  inline bool IsFocused() const {
-
106  return ::IsWindowFocused();
-
107  }
-
108 
-
112  inline bool IsResized() const {
-
113  return ::IsWindowResized();
-
114  }
-
115 
-
119  inline bool IsState(unsigned int flag) const {
-
120  return ::IsWindowState(flag);
-
121  }
-
122 
-
126  inline Window& SetState(unsigned int flag) {
-
127  ::SetWindowState(flag);
-
128  return *this;
-
129  }
-
130 
-
134  inline Window& ClearState(unsigned int flag) {
-
135  ::ClearWindowState(flag);
-
136  return *this;
-
137  }
-
138 
-
142  inline Window& ClearBackground(const ::Color& color = BLACK) {
-
143  ::ClearBackground(color);
-
144  return *this;
-
145  }
-
146 
- - -
152  return *this;
-
153  }
-
154 
-
158  inline Window& SetFullscreen(bool fullscreen) {
-
159  if (fullscreen) {
-
160  if (!IsFullscreen()) {
- -
162  }
-
163  } else {
-
164  if (IsFullscreen()) {
- -
166  }
-
167  }
-
168 
-
169  return *this;
-
170  }
-
171 
-
175  inline Window& Maximize() {
-
176  ::MaximizeWindow();
-
177  return *this;
-
178  }
-
179 
-
183  inline Window& Minimize() {
-
184  ::MinimizeWindow();
-
185  return *this;
-
186  }
-
187 
-
191  inline Window& Restore() {
-
192  ::RestoreWindow();
-
193  return *this;
-
194  }
-
195 
-
199  inline Window& SetIcon(const ::Image& image) {
-
200  ::SetWindowIcon(image);
-
201  return *this;
-
202  }
-
203 
-
207  inline Window& SetTitle(const std::string& title) {
-
208  ::SetWindowTitle(title.c_str());
-
209  return *this;
-
210  }
-
211 
-
215  inline Window& SetPosition(int x, int y) {
-
216  ::SetWindowPosition(x, y);
-
217  return *this;
-
218  }
-
219 
-
223  inline Window& SetPosition(const ::Vector2& position) {
-
224  return SetPosition(static_cast<int>(position.x), static_cast<int>(position.y));
-
225  }
-
226 
-
230  inline Window& SetMonitor(int monitor) {
-
231  ::SetWindowMonitor(monitor);
-
232  return *this;
-
233  }
-
234 
-
238  inline Window& SetMinSize(int width, int height) {
-
239  ::SetWindowMinSize(width, height);
-
240  return *this;
-
241  }
-
242 
-
246  inline Window& SetMinSize(const ::Vector2& size) {
-
247  ::SetWindowMinSize(static_cast<int>(size.x), static_cast<int>(size.y));
-
248  return *this;
-
249  }
-
250 
-
254  inline Window& SetSize(int width, int height) {
-
255  ::SetWindowSize(width, height);
-
256  return *this;
-
257  }
-
258 
-
262  inline Window& SetSize(const ::Vector2& size) {
-
263  return SetSize(static_cast<int>(size.x), static_cast<int>(size.y));
-
264  }
-
265 
-
269  inline Vector2 GetSize() const {
-
270  return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
-
271  }
-
272 
-
276  inline void* GetHandle() const {
-
277  return ::GetWindowHandle();
-
278  }
-
279 
-
283  inline Window& BeginDrawing() {
-
284  ::BeginDrawing();
-
285  return *this;
-
286  }
-
287 
-
291  inline Window& EndDrawing() {
-
292  ::EndDrawing();
-
293  return *this;
-
294  }
-
295 
-
299  inline int GetWidth() const {
-
300  return ::GetScreenWidth();
-
301  }
-
302 
-
306  inline int GetHeight() const {
-
307  return ::GetScreenHeight();
-
308  }
-
309 
-
313  inline ::Vector2 GetPosition() const {
-
314  return ::GetWindowPosition();
-
315  }
-
316 
-
320  inline ::Vector2 GetScaleDPI() const {
-
321  return ::GetWindowScaleDPI();
-
322  }
-
323 
-
327  inline Window& SetTargetFPS(int fps) {
-
328  ::SetTargetFPS(fps);
-
329  return *this;
-
330  }
-
331 
-
335  inline int GetFPS() const {
-
336  return ::GetFPS();
-
337  }
-
338 
-
342  inline Window& DrawFPS(int posX = 10, int posY = 10) {
-
343  ::DrawFPS(posX, posY);
-
344  return *this;
-
345  }
-
346 
-
350  inline float GetFrameTime() const {
-
351  return ::GetFrameTime();
-
352  }
-
353 
-
357  inline double GetTime() const {
-
358  return ::GetTime();
-
359  }
-
360 };
-
361 } // namespace raylib
-
362 
-
363 #endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
-
+
1#ifndef RAYLIB_CPP_INCLUDE_WINDOW_HPP_
+
2#define RAYLIB_CPP_INCLUDE_WINDOW_HPP_
+
3
+
4#include <string>
+
5
+
6#include "./raylib.hpp"
+
7#include "./RaylibException.hpp"
+
8
+
9namespace raylib {
+
13class Window {
+
14 public:
+
20 Window(int width = 800, int height = 450, const std::string& title = "raylib",
+
21 bool lateInit = false) {
+
22 if (!lateInit) {
+
23 if (!Init(width, height, title)) {
+
24 throw RaylibException("Failed to create Window");
+
25 }
+
26 }
+
27 }
+
28
+ +
33 Close();
+
34 }
+
35
+
41 bool Init(int width = 800, int height = 450, const std::string& title = "raylib") {
+
42 ::InitWindow(width, height, title.c_str());
+
43 return IsWindowReady();
+
44 }
+
45
+
49 inline bool ShouldClose() const {
+
50 return ::WindowShouldClose();
+
51 }
+
52
+
56 inline void Close() {
+
57 ::CloseWindow();
+
58 }
+
59
+
63 inline bool IsCursorOnScreen() const {
+
64 return ::IsCursorOnScreen();
+
65 }
+
66
+
70 inline static bool IsReady() {
+
71 return ::IsWindowReady();
+
72 }
+
73
+
77 inline bool IsFullscreen() const {
+
78 return ::IsWindowFullscreen();
+
79 }
+
80
+
84 inline bool IsHidden() const {
+
85 return ::IsWindowHidden();
+
86 }
+
87
+
91 inline bool IsMinimized() const {
+
92 return ::IsWindowMinimized();
+
93 }
+
94
+
98 inline bool IsMaximized() const {
+
99 return ::IsWindowMaximized();
+
100 }
+
101
+
105 inline bool IsFocused() const {
+
106 return ::IsWindowFocused();
+
107 }
+
108
+
112 inline bool IsResized() const {
+
113 return ::IsWindowResized();
+
114 }
+
115
+
119 inline bool IsState(unsigned int flag) const {
+
120 return ::IsWindowState(flag);
+
121 }
+
122
+
126 inline Window& SetState(unsigned int flag) {
+
127 ::SetWindowState(flag);
+
128 return *this;
+
129 }
+
130
+
134 inline Window& ClearState(unsigned int flag) {
+
135 ::ClearWindowState(flag);
+
136 return *this;
+
137 }
+
138
+
142 inline Window& ClearBackground(const ::Color& color = BLACK) {
+
143 ::ClearBackground(color);
+
144 return *this;
+
145 }
+
146
+ + +
152 return *this;
+
153 }
+
154
+
158 inline Window& SetFullscreen(bool fullscreen) {
+
159 if (fullscreen) {
+
160 if (!IsFullscreen()) {
+ +
162 }
+
163 } else {
+
164 if (IsFullscreen()) {
+ +
166 }
+
167 }
+
168
+
169 return *this;
+
170 }
+
171
+
175 inline Window& Maximize() {
+
176 ::MaximizeWindow();
+
177 return *this;
+
178 }
+
179
+
183 inline Window& Minimize() {
+
184 ::MinimizeWindow();
+
185 return *this;
+
186 }
+
187
+
191 inline Window& Restore() {
+
192 ::RestoreWindow();
+
193 return *this;
+
194 }
+
195
+
199 inline Window& SetIcon(const ::Image& image) {
+
200 ::SetWindowIcon(image);
+
201 return *this;
+
202 }
+
203
+
207 inline Window& SetTitle(const std::string& title) {
+
208 ::SetWindowTitle(title.c_str());
+
209 return *this;
+
210 }
+
211
+
215 inline Window& SetPosition(int x, int y) {
+
216 ::SetWindowPosition(x, y);
+
217 return *this;
+
218 }
+
219
+
223 inline Window& SetPosition(const ::Vector2& position) {
+
224 return SetPosition(static_cast<int>(position.x), static_cast<int>(position.y));
+
225 }
+
226
+
230 inline Window& SetMonitor(int monitor) {
+
231 ::SetWindowMonitor(monitor);
+
232 return *this;
+
233 }
+
234
+
238 inline Window& SetMinSize(int width, int height) {
+
239 ::SetWindowMinSize(width, height);
+
240 return *this;
+
241 }
+
242
+
246 inline Window& SetMinSize(const ::Vector2& size) {
+
247 ::SetWindowMinSize(static_cast<int>(size.x), static_cast<int>(size.y));
+
248 return *this;
+
249 }
+
250
+
254 inline Window& SetSize(int width, int height) {
+
255 ::SetWindowSize(width, height);
+
256 return *this;
+
257 }
+
258
+
262 inline Window& SetSize(const ::Vector2& size) {
+
263 return SetSize(static_cast<int>(size.x), static_cast<int>(size.y));
+
264 }
+
265
+
269 inline Vector2 GetSize() const {
+
270 return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
+
271 }
+
272
+
276 inline void* GetHandle() const {
+
277 return ::GetWindowHandle();
+
278 }
+
279
+ + +
285 return *this;
+
286 }
+
287
+
291 inline Window& EndDrawing() {
+
292 ::EndDrawing();
+
293 return *this;
+
294 }
+
295
+
299 inline int GetWidth() const {
+
300 return ::GetScreenWidth();
+
301 }
+
302
+
306 inline int GetHeight() const {
+
307 return ::GetScreenHeight();
+
308 }
+
309
+
313 inline ::Vector2 GetPosition() const {
+
314 return ::GetWindowPosition();
+
315 }
+
316
+
320 inline ::Vector2 GetScaleDPI() const {
+
321 return ::GetWindowScaleDPI();
+
322 }
+
323
+
327 inline Window& SetTargetFPS(int fps) {
+
328 ::SetTargetFPS(fps);
+
329 return *this;
+
330 }
+
331
+
335 inline int GetFPS() const {
+
336 return ::GetFPS();
+
337 }
+
338
+
342 inline Window& DrawFPS(int posX = 10, int posY = 10) {
+
343 ::DrawFPS(posX, posY);
+
344 return *this;
+
345 }
+
346
+
350 inline float GetFrameTime() const {
+
351 return ::GetFrameTime();
+
352 }
+
353
+
357 inline double GetTime() const {
+
358 return ::GetTime();
+
359 }
+
360};
+
361} // namespace raylib
+
362
+
363#endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
+
Exception used for most raylib-related exceptions.
+
Vector2 type.
Definition: Vector2.hpp:16
+
Window and Graphics Device Functions.
Definition: Window.hpp:13
+
int GetHeight() const
Get current screen height.
Definition: Window.hpp:306
+
bool Init(int width=800, int height=450, const std::string &title="raylib")
Initializes the window.
Definition: Window.hpp:41
+
Window & ToggleFullscreen()
Toggle window state: fullscreen/windowed.
Definition: Window.hpp:150
+
Window & SetPosition(int x, int y)
Set window position on screen.
Definition: Window.hpp:215
int GetWidth() const
Get current screen width.
Definition: Window.hpp:299
-
void * GetHandle() const
Get native window handle.
Definition: Window.hpp:276
-
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
-
Window & SetMonitor(int monitor)
Set monitor for the current window.
Definition: Window.hpp:230
-
double GetTime() const
Returns elapsed time in seconds since InitWindow()
Definition: Window.hpp:357
-
~Window()
Close window and unload OpenGL context.
Definition: Window.hpp:32
-
bool IsHidden() const
Check if window is currently hidden.
Definition: Window.hpp:84
-
static void SetWindowTitle(const std::string &title)
Set title for window.
Definition: Functions.hpp:31
+
Window & ClearState(unsigned int flag)
Clear window configuration state flags.
Definition: Window.hpp:134
+
Window & Restore()
Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
Definition: Window.hpp:191
+
Window & SetSize(const ::Vector2 &size)
Set window dimensions.
Definition: Window.hpp:262
+
inline ::Vector2 GetPosition() const
Get window position XY on monitor.
Definition: Window.hpp:313
+
Window & SetState(unsigned int flag)
Set window configuration state using flags.
Definition: Window.hpp:126
+
Window & SetTitle(const std::string &title)
Set title for window.
Definition: Window.hpp:207
+
Window & SetMonitor(int monitor)
Set monitor for the current window.
Definition: Window.hpp:230
+
Window & BeginDrawing()
Setup canvas (framebuffer) to start drawing.
Definition: Window.hpp:283
+
Window & SetMinSize(const ::Vector2 &size)
Set window minimum dimensions.
Definition: Window.hpp:246
+
Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
Initialize window and OpenGL context.
Definition: Window.hpp:20
+
bool IsFullscreen() const
Check if window is currently fullscreen.
Definition: Window.hpp:77
+
Window & Maximize()
Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
Definition: Window.hpp:175
void Close()
Close window and unload OpenGL context.
Definition: Window.hpp:56
-
Window & ClearBackground(const ::Color &color=BLACK)
Clear window with given color.
Definition: Window.hpp:142
-
Window & SetMinSize(int width, int height)
Set window minimum dimensions.
Definition: Window.hpp:238
-
Window & SetState(unsigned int flag)
Set window configuration state using flags.
Definition: Window.hpp:126
-
float GetFrameTime() const
Returns time in seconds for last frame drawn.
Definition: Window.hpp:350
+
bool IsState(unsigned int flag) const
Check if one specific window flag is enabled.
Definition: Window.hpp:119
bool ShouldClose() const
Check if KEY_ESCAPE pressed or Close icon pressed.
Definition: Window.hpp:49
-
static void InitWindow(int width, int height, const std::string &title="raylib")
Initialize window and OpenGL context.
Definition: Functions.hpp:24
-
Window & SetFullscreen(bool fullscreen)
Set whether or not the application should be fullscreen.
Definition: Window.hpp:158
-
Window & SetPosition(int x, int y)
Set window position on screen.
Definition: Window.hpp:215
-
Window & SetSize(const ::Vector2 &size)
Set window dimensions.
Definition: Window.hpp:262
-
bool IsMaximized() const
Check if window is currently minimized.
Definition: Window.hpp:98
-
inline ::Vector2 GetScaleDPI() const
Get window scale DPI factor.
Definition: Window.hpp:320
-
Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
Initialize window and OpenGL context.
Definition: Window.hpp:20
-
bool IsFocused() const
Check if window is currently focused.
Definition: Window.hpp:105
-
bool IsResized() const
Check if window has been resized last frame.
Definition: Window.hpp:112
-
int GetHeight() const
Get current screen height.
Definition: Window.hpp:306
-
bool Init(int width=800, int height=450, const std::string &title="raylib")
Initializes the window.
Definition: Window.hpp:41
-
Window & EndDrawing()
End canvas drawing and swap buffers (double buffering)
Definition: Window.hpp:291
-
Window & SetSize(int width, int height)
Set window dimensions.
Definition: Window.hpp:254
-
Vector2 type.
Definition: Vector2.hpp:16
+
~Window()
Close window and unload OpenGL context.
Definition: Window.hpp:32
+
double GetTime() const
Returns elapsed time in seconds since InitWindow()
Definition: Window.hpp:357
+
Window & ClearBackground(const ::Color &color=BLACK)
Clear window with given color.
Definition: Window.hpp:142
+
Window & SetTargetFPS(int fps)
Set target FPS (maximum)
Definition: Window.hpp:327
+
Window & SetSize(int width, int height)
Set window dimensions.
Definition: Window.hpp:254
int GetFPS() const
Returns current FPS.
Definition: Window.hpp:335
-
Window & Minimize()
Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
Definition: Window.hpp:183
-
Window & ToggleFullscreen()
Toggle window state: fullscreen/windowed.
Definition: Window.hpp:150
-
Window & Maximize()
Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
Definition: Window.hpp:175
-
Window & SetMinSize(const ::Vector2 &size)
Set window minimum dimensions.
Definition: Window.hpp:246
-
Window & SetTitle(const std::string &title)
Set title for window.
Definition: Window.hpp:207
-
bool IsCursorOnScreen() const
Check if cursor is on the current screen.
Definition: Window.hpp:63
-
bool IsFullscreen() const
Check if window is currently fullscreen.
Definition: Window.hpp:77
+
Window & SetPosition(const ::Vector2 &position)
Set window position on screen.
Definition: Window.hpp:223
+
Window & SetFullscreen(bool fullscreen)
Set whether or not the application should be fullscreen.
Definition: Window.hpp:158
static bool IsReady()
Check if window has been initialized successfully.
Definition: Window.hpp:70
-
Window & BeginDrawing()
Setup canvas (framebuffer) to start drawing.
Definition: Window.hpp:283
-
Window & ClearState(unsigned int flag)
Clear window configuration state flags.
Definition: Window.hpp:134
-
Window & DrawFPS(int posX=10, int posY=10)
Draw current FPS.
Definition: Window.hpp:342
+
float GetFrameTime() const
Returns time in seconds for last frame drawn.
Definition: Window.hpp:350
+
bool IsCursorOnScreen() const
Check if cursor is on the current screen.
Definition: Window.hpp:63
Vector2 GetSize() const
Get the screen's width and height.
Definition: Window.hpp:269
-
bool IsState(unsigned int flag) const
Check if one specific window flag is enabled.
Definition: Window.hpp:119
-
Window & SetPosition(const ::Vector2 &position)
Set window position on screen.
Definition: Window.hpp:223
-
Exception used for most raylib-related exceptions.
-
Window & SetTargetFPS(int fps)
Set target FPS (maximum)
Definition: Window.hpp:327
-
inline ::Vector2 GetPosition() const
Get window position XY on monitor.
Definition: Window.hpp:313
+
bool IsHidden() const
Check if window is currently hidden.
Definition: Window.hpp:84
+
inline ::Vector2 GetScaleDPI() const
Get window scale DPI factor.
Definition: Window.hpp:320
+
Window & DrawFPS(int posX=10, int posY=10)
Draw current FPS.
Definition: Window.hpp:342
+
Window & EndDrawing()
End canvas drawing and swap buffers (double buffering)
Definition: Window.hpp:291
+
bool IsResized() const
Check if window has been resized last frame.
Definition: Window.hpp:112
+
Window & SetIcon(const ::Image &image)
Set icon for window.
Definition: Window.hpp:199
+
Window & Minimize()
Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
Definition: Window.hpp:183
+
bool IsFocused() const
Check if window is currently focused.
Definition: Window.hpp:105
+
bool IsMaximized() const
Check if window is currently minimized.
Definition: Window.hpp:98
bool IsMinimized() const
Check if window is currently minimized.
Definition: Window.hpp:91
-
Window & Restore()
Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
Definition: Window.hpp:191
-
Window & SetIcon(const ::Image &image)
Set icon for window.
Definition: Window.hpp:199
-
Window and Graphics Device Functions.
Definition: Window.hpp:13
+
Window & SetMinSize(int width, int height)
Set window minimum dimensions.
Definition: Window.hpp:238
+
void * GetHandle() const
Get native window handle.
Definition: Window.hpp:276
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static void SetWindowTitle(const std::string &title)
Set title for window.
Definition: Functions.hpp:31
+
static void InitWindow(int width, int height, const std::string &title="raylib")
Initialize window and OpenGL context.
Definition: Functions.hpp:24
+
+ - + diff --git a/docs/annotated.html b/docs/annotated.html index ff5e3c6d..22c2b1c8 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
-
Class List
+
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
@@ -102,14 +123,40 @@  CVrStereoConfigVR stereo config functions for VR simulator  CWaveWave type, defines audio wave data  CWindowWindow and Graphics Device Functions + CAudioStream + CBoundingBox + CCamera2D + CCamera3D + CColor + CFont + CImage + CMaterial + CMatrix + CMesh + CModel + CModelAnimation + CMusic + CRay + CRayCollision + CRectangle + CRenderTexture + CShader + CSound + CTexture + CVector2 + CVector3 + CVector4 + CVrStereoConfig + CWave
+
- + diff --git a/docs/annotated_dup.js b/docs/annotated_dup.js new file mode 100644 index 00000000..fe422c48 --- /dev/null +++ b/docs/annotated_dup.js @@ -0,0 +1,62 @@ +var annotated_dup = +[ + [ "raylib", "namespaceraylib.html", [ + [ "AudioDevice", "classraylib_1_1_audio_device.html", "classraylib_1_1_audio_device" ], + [ "AudioStream", "classraylib_1_1_audio_stream.html", "classraylib_1_1_audio_stream" ], + [ "BoundingBox", "classraylib_1_1_bounding_box.html", "classraylib_1_1_bounding_box" ], + [ "Camera2D", "classraylib_1_1_camera2_d.html", "classraylib_1_1_camera2_d" ], + [ "Camera3D", "classraylib_1_1_camera3_d.html", "classraylib_1_1_camera3_d" ], + [ "Color", "classraylib_1_1_color.html", "classraylib_1_1_color" ], + [ "Font", "classraylib_1_1_font.html", "classraylib_1_1_font" ], + [ "Gamepad", "classraylib_1_1_gamepad.html", "classraylib_1_1_gamepad" ], + [ "Image", "classraylib_1_1_image.html", "classraylib_1_1_image" ], + [ "Material", "classraylib_1_1_material.html", "classraylib_1_1_material" ], + [ "Matrix", "classraylib_1_1_matrix.html", "classraylib_1_1_matrix" ], + [ "Mesh", "classraylib_1_1_mesh.html", "classraylib_1_1_mesh" ], + [ "Model", "classraylib_1_1_model.html", "classraylib_1_1_model" ], + [ "ModelAnimation", "classraylib_1_1_model_animation.html", "classraylib_1_1_model_animation" ], + [ "Mouse", "classraylib_1_1_mouse.html", "classraylib_1_1_mouse" ], + [ "Music", "classraylib_1_1_music.html", "classraylib_1_1_music" ], + [ "Physics", "classraylib_1_1_physics.html", "classraylib_1_1_physics" ], + [ "Ray", "classraylib_1_1_ray.html", "classraylib_1_1_ray" ], + [ "RayCollision", "classraylib_1_1_ray_collision.html", "classraylib_1_1_ray_collision" ], + [ "RaylibException", "classraylib_1_1_raylib_exception.html", "classraylib_1_1_raylib_exception" ], + [ "Rectangle", "classraylib_1_1_rectangle.html", "classraylib_1_1_rectangle" ], + [ "RenderTexture", "classraylib_1_1_render_texture.html", "classraylib_1_1_render_texture" ], + [ "Shader", "classraylib_1_1_shader.html", "classraylib_1_1_shader" ], + [ "Sound", "classraylib_1_1_sound.html", "classraylib_1_1_sound" ], + [ "Text", "classraylib_1_1_text.html", "classraylib_1_1_text" ], + [ "Texture", "classraylib_1_1_texture.html", "classraylib_1_1_texture" ], + [ "Vector2", "classraylib_1_1_vector2.html", "classraylib_1_1_vector2" ], + [ "Vector3", "classraylib_1_1_vector3.html", "classraylib_1_1_vector3" ], + [ "Vector4", "classraylib_1_1_vector4.html", "classraylib_1_1_vector4" ], + [ "VrStereoConfig", "classraylib_1_1_vr_stereo_config.html", "classraylib_1_1_vr_stereo_config" ], + [ "Wave", "classraylib_1_1_wave.html", "classraylib_1_1_wave" ], + [ "Window", "classraylib_1_1_window.html", "classraylib_1_1_window" ] + ] ], + [ "AudioStream", "class_audio_stream.html", null ], + [ "BoundingBox", "class_bounding_box.html", null ], + [ "Camera2D", "class_camera2_d.html", null ], + [ "Camera3D", "class_camera3_d.html", null ], + [ "Color", "class_color.html", null ], + [ "Font", "class_font.html", null ], + [ "Image", "class_image.html", null ], + [ "Material", "class_material.html", null ], + [ "Matrix", "class_matrix.html", null ], + [ "Mesh", "class_mesh.html", null ], + [ "Model", "class_model.html", null ], + [ "ModelAnimation", "class_model_animation.html", null ], + [ "Music", "class_music.html", null ], + [ "Ray", "class_ray.html", null ], + [ "RayCollision", "class_ray_collision.html", null ], + [ "Rectangle", "class_rectangle.html", null ], + [ "RenderTexture", "class_render_texture.html", null ], + [ "Shader", "class_shader.html", null ], + [ "Sound", "class_sound.html", null ], + [ "Texture", "class_texture.html", null ], + [ "Vector2", "class_vector2.html", null ], + [ "Vector3", "class_vector3.html", null ], + [ "Vector4", "class_vector4.html", null ], + [ "VrStereoConfig", "class_vr_stereo_config.html", null ], + [ "Wave", "class_wave.html", null ] +]; \ No newline at end of file diff --git a/docs/bc_s.png b/docs/bc_s.png index 224b29aa9847d5a4b3902efd602b7ddf7d33e6c2..5d3c4cb9343562c0086034a837f256071c21e149 100644 GIT binary patch delta 620 zcmV-y0+aou1%(BWB!5gvL_t(|0qvd3YZFlv#=kQ&P9|xR$wN!3O*Cms!3U_QAXI|l z3sDLM-DFj$T~u08DdNHhQhZeq!L0~}Y8RH$A}9!g)Y>kTf)kJ z%*YJ6q5s0icR4fX{y6vCGxG;f%^hvAxsjl&{z(eo0dS_kZGZN#DU3}aH~Mv;7XWAS z^|D>614H{`Y*~Mg4Wy{V0q&cc5#Jn)k>4ZZ{6Lxwmjj}F;Ia{yON@4hs<1Kr14*ue z>jpETED-yAq@Ki80*en$(MKCluA4^~>e(8iLs1pugHx>22IOmI1w-p(k);mTk&%cD zXRv4j)MEpN`hWE+Hw2yR!BB?onE(Lt4QqBv#j=< zaAgSq=k^*^?$}&SvoErLnhBSF0^sa~Abs5vbqJDx9fXSo0H|EIqSc;wtrxEd7v=$= zavhW0fv)W}G$#PS3acgTCBMdyk)Ztrz*z-}Evf<(HGkYEbk70cd|LL`w$=rZO?~=u zoNz7&fb;usWP@9g(3YLaza*T=mTxve@js5P4KC$orp-x8VD{HEhvZU&-}JK|S$Vxl zd(;7aKu1*vGnz|Uc|zw03pfkk`owCVCq18^OxXVeI^J2&X(hbPDT_!H@)NJEq}9Vd zIJ_=_=w(+S_txJ0U!i@>hU86TQEk$-3@6lp@Y=H;bM!MmP zoPZjh#O!D*0M5oW+u;f-dh9B@av2~gOCVtZ`4O|3O8o=Y#I{JLod31}0000q>1)Qzt{4D1zwZ(S@W4 z67LKq-BiGOX{bs%684A^L3@%PlP z2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~ z3P5N3-)Y{65c;ywYiAh-1*hZcToLHKtpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~f zBz8?J>XHsbZhyQfee(V~r&w>|4TCd^+OGpAufHw@f@Z-m>~)Gc@=X0|fMy>yxFxFr zGe>5W)Fae$Z5#k79V{35!)q$alCw&x1%J2>`HiT_q(4 zZ5D1EbzOQ60I+g3Tg}F>tJ?CF0RUKKwUUNO`8>$z(0|2e06obBnFFXYR zO2-_M&`~J~@wtU`8`|IZ1OO;a`&>3N=|g91A^igFJO8*e*=XYNJ@;DcGC8exlHJm@ zw-kt0JIYKLGlOa-H>tO}z4u`uNrnL_>+2*f_Qw{}`T(<=8;dt|NmjmA;PKS_VrHl~ z5246|LVrB(tF>uuZvULf6o-TjY~Q2#9Ri2jL<^TA$p|%*ttZAbKkTfs_)P*Hk`tMm z6tKHztb%+s#pe>Wy+=-D(-hEheDsvVCWP!FH!CNz9RNTHHHSyyo*I$I7=_}=tX@0y mWKl;*<`rmYDeW16 zZ&Gcy*9!25z1gcyfC#%=GRKFZvrN)a;uinu!sR;jt;NVlEW^kH*gP7*vvk2>00000 LNkvXXu0mjf!#pr) delta 118 zcmV-+0Ez#G0h0lcByU - - + + raylib-cpp: AudioStream Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
AudioStream Class Reference
+
AudioStream Class Reference
+
- + diff --git a/docs/class_bounding_box.html b/docs/class_bounding_box.html index 1b65da7d..f688fc4a 100644 --- a/docs/class_bounding_box.html +++ b/docs/class_bounding_box.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: BoundingBox Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
BoundingBox Class Reference
+
BoundingBox Class Reference
+ - + diff --git a/docs/class_camera2_d.html b/docs/class_camera2_d.html index 9a9acbfd..0cb9ba5d 100644 --- a/docs/class_camera2_d.html +++ b/docs/class_camera2_d.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Camera2D Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Camera2D Class Reference
+
Camera2D Class Reference
+ - + diff --git a/docs/class_camera3_d.html b/docs/class_camera3_d.html index 85eca2ae..6cab8304 100644 --- a/docs/class_camera3_d.html +++ b/docs/class_camera3_d.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Camera3D Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Camera3D Class Reference
+
Camera3D Class Reference
+ - + diff --git a/docs/class_color.html b/docs/class_color.html index 0f5e864c..24a89acd 100644 --- a/docs/class_color.html +++ b/docs/class_color.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Color Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Color Class Reference
+
Color Class Reference
+ - + diff --git a/docs/class_font.html b/docs/class_font.html index b28129b0..dc8bbfe0 100644 --- a/docs/class_font.html +++ b/docs/class_font.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Font Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Font Class Reference
+
Font Class Reference
+ - + diff --git a/docs/class_image.html b/docs/class_image.html index 4b6787c6..62ecd10f 100644 --- a/docs/class_image.html +++ b/docs/class_image.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Image Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Image Class Reference
+
Image Class Reference
+ - + diff --git a/docs/class_material.html b/docs/class_material.html index e50189f6..9688c4b6 100644 --- a/docs/class_material.html +++ b/docs/class_material.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Material Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Material Class Reference
+
Material Class Reference
+ - + diff --git a/docs/class_matrix.html b/docs/class_matrix.html index 73bee2a3..a17c02f5 100644 --- a/docs/class_matrix.html +++ b/docs/class_matrix.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Matrix Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Matrix Class Reference
+
Matrix Class Reference
+ - + diff --git a/docs/class_mesh.html b/docs/class_mesh.html index bc6f35c5..de6d8a8d 100644 --- a/docs/class_mesh.html +++ b/docs/class_mesh.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Mesh Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Mesh Class Reference
+
Mesh Class Reference
+ - + diff --git a/docs/class_model.html b/docs/class_model.html index 6455c187..12ad86a3 100644 --- a/docs/class_model.html +++ b/docs/class_model.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Model Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Model Class Reference
+
Model Class Reference
+ - + diff --git a/docs/class_model_animation.html b/docs/class_model_animation.html index 722c3831..a5b86a3a 100644 --- a/docs/class_model_animation.html +++ b/docs/class_model_animation.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: ModelAnimation Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
ModelAnimation Class Reference
+
ModelAnimation Class Reference
+ - + diff --git a/docs/class_music.html b/docs/class_music.html index f4c4d1d3..4b8607eb 100644 --- a/docs/class_music.html +++ b/docs/class_music.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Music Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Music Class Reference
+
Music Class Reference
+ - + diff --git a/docs/class_ray.html b/docs/class_ray.html index 774642a1..ec52cec3 100644 --- a/docs/class_ray.html +++ b/docs/class_ray.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Ray Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Ray Class Reference
+
Ray Class Reference
+ - + diff --git a/docs/class_ray_collision.html b/docs/class_ray_collision.html new file mode 100644 index 00000000..4de449f4 --- /dev/null +++ b/docs/class_ray_collision.html @@ -0,0 +1,101 @@ + + + + + + + +raylib-cpp: RayCollision Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
RayCollision Class Reference
+
+
+
+
+ + + + diff --git a/docs/class_rectangle.html b/docs/class_rectangle.html index 940afaa1..b788acda 100644 --- a/docs/class_rectangle.html +++ b/docs/class_rectangle.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Rectangle Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Rectangle Class Reference
+
Rectangle Class Reference
+ - + diff --git a/docs/class_render_texture.html b/docs/class_render_texture.html index c3715da3..5a63eee1 100644 --- a/docs/class_render_texture.html +++ b/docs/class_render_texture.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: RenderTexture Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
RenderTexture Class Reference
+
RenderTexture Class Reference
+ - + diff --git a/docs/class_shader.html b/docs/class_shader.html index 1c4feb36..cd50e7cf 100644 --- a/docs/class_shader.html +++ b/docs/class_shader.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Shader Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Shader Class Reference
+
Shader Class Reference
+ - + diff --git a/docs/class_sound.html b/docs/class_sound.html index c6c77421..bbf283e9 100644 --- a/docs/class_sound.html +++ b/docs/class_sound.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Sound Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Sound Class Reference
+
Sound Class Reference
+ - + diff --git a/docs/class_texture.html b/docs/class_texture.html index 860394ce..4a76668b 100644 --- a/docs/class_texture.html +++ b/docs/class_texture.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Texture Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Texture Class Reference
+
Texture Class Reference
+ - + diff --git a/docs/class_vector2.html b/docs/class_vector2.html index 2a1fff3c..c6963c67 100644 --- a/docs/class_vector2.html +++ b/docs/class_vector2.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Vector2 Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Vector2 Class Reference
+
Vector2 Class Reference
+ - + diff --git a/docs/class_vector3.html b/docs/class_vector3.html index 0caa2605..718b3612 100644 --- a/docs/class_vector3.html +++ b/docs/class_vector3.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Vector3 Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Vector3 Class Reference
+
Vector3 Class Reference
+ - + diff --git a/docs/class_vector4.html b/docs/class_vector4.html index 40161c72..f629cbd7 100644 --- a/docs/class_vector4.html +++ b/docs/class_vector4.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Vector4 Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Vector4 Class Reference
+
Vector4 Class Reference
+ - + diff --git a/docs/class_vr_stereo_config.html b/docs/class_vr_stereo_config.html new file mode 100644 index 00000000..b8725152 --- /dev/null +++ b/docs/class_vr_stereo_config.html @@ -0,0 +1,101 @@ + + + + + + + +raylib-cpp: VrStereoConfig Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
VrStereoConfig Class Reference
+
+
+
+
+ + + + diff --git a/docs/class_wave.html b/docs/class_wave.html index 2f75727a..2485bc7d 100644 --- a/docs/class_wave.html +++ b/docs/class_wave.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Wave Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
-
Wave Class Reference
+
Wave Class Reference
+ - + diff --git a/docs/classes.html b/docs/classes.html index 44d8bdba..76f15811 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Index + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
-
Class Index
+
Class Index
-
a | b | c | f | g | i | m | p | r | s | t | v | w
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  a  
-
  f  
-
Matrix (raylib)   RayCollision (raylib)   
  v  
-
Mesh (raylib)   RaylibException (raylib)   
AudioDevice (raylib)   Font (raylib)   Model (raylib)   Rectangle (raylib)   Vector2 (raylib)   
AudioStream (raylib)   
  g  
-
ModelAnimation (raylib)   RenderTexture (raylib)   Vector3 (raylib)   
  b  
-
Mouse (raylib)   
  s  
-
Vector4 (raylib)   
Gamepad (raylib)   Music (raylib)   VrStereoConfig (raylib)   
BoundingBox (raylib)   
  i  
-
  p  
-
Shader (raylib)   
  w  
-
  c  
-
Sound (raylib)   
Image (raylib)   Physics (raylib)   
  t  
-
Wave (raylib)   
Camera2D (raylib)   
  m  
-
  r  
-
Window (raylib)   
Camera3D (raylib)   Text (raylib)   
Color (raylib)   Material (raylib)   Ray (raylib)   Texture (raylib)   
-
a | b | c | f | g | i | m | p | r | s | t | v | w
+
A | B | C | F | G | I | M | P | R | S | T | V | W
+
+
- + diff --git a/docs/classraylib_1_1_audio_device-members.html b/docs/classraylib_1_1_audio_device-members.html index f80f46b9..3c3eeed8 100644 --- a/docs/classraylib_1_1_audio_device-members.html +++ b/docs/classraylib_1_1_audio_device-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::AudioDevice Member List
+
raylib::AudioDevice Member List

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

- + - - - + + +
AudioDevice(bool lateInit=false)raylib::AudioDeviceinline
Close()raylib::AudioDeviceinline
Close()raylib::AudioDeviceinline
Init()raylib::AudioDeviceinline
IsReady() constraylib::AudioDeviceinline
SetVolume(float volume)raylib::AudioDeviceinline
~AudioDevice()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 98d3a13b..eba99447 100644 --- a/docs/classraylib_1_1_audio_device.html +++ b/docs/classraylib_1_1_audio_device.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::AudioDevice Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::AudioDevice Class Reference
+
raylib::AudioDevice Class Reference

Audio device management functions. More...

+ +

#include <AudioDevice.hpp>

- - - + + - - + + - - + + - - + + - - - + + +

+

Public Member Functions

 AudioDevice (bool lateInit=false)
 Initialize audio device and context. More...
 
~AudioDevice ()
 Close the audio device and context.
 ~AudioDevice ()
 Close the audio device and context. More...
 
-void Close ()
 Close the audio device and context.
void Close ()
 Close the audio device and context. More...
 
-bool Init ()
 Initialize audio device and context.
bool Init ()
 Initialize audio device and context. More...
 
-bool IsReady () const
 Check if audio device has been initialized successfully.
bool IsReady () const
 Check if audio device has been initialized successfully. More...
 
AudioDeviceSetVolume (float volume)
 Set master volume (listener). More...
 
AudioDeviceSetVolume (float volume)
 Set master volume (listener). More...
 

Detailed Description

-

Audio device management functions.

+

Audio device management functions.

Definition at line 12 of file AudioDevice.hpp.

Constructor & Destructor Documentation

- +

◆ AudioDevice()

@@ -150,11 +165,73 @@

References Init().

+

+
+ +

◆ ~AudioDevice()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::AudioDevice::~AudioDevice ()
+
+inline
+
+ +

Close the audio device and context.

+ +

Definition at line 32 of file AudioDevice.hpp.

+ +

References Close().

+

Member Function Documentation

- -

◆ SetVolume()

+ +

◆ Close()

+ +
+
+ + + + + +
+ + + + + + + +
void raylib::AudioDevice::Close ()
+
+inline
+
+ +

Close the audio device and context.

+ +

Definition at line 47 of file AudioDevice.hpp.

+ +

Referenced by ~AudioDevice().

+ +
+
+ +

◆ Init()

+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::AudioDevice::IsReady () const
+
+inline
+
+ +

Check if audio device has been initialized successfully.

+ +

Definition at line 54 of file AudioDevice.hpp.

+ +

Referenced by Init().

+ +
+
+ +

◆ SetVolume()

+ +
+
+ + + - + @@ -230,7 +552,7 @@

+

◆ SetMin()

- + @@ -267,11 +589,13 @@

+ diff --git a/docs/classraylib_1_1_bounding_box.js b/docs/classraylib_1_1_bounding_box.js new file mode 100644 index 00000000..8a9d1ee5 --- /dev/null +++ b/docs/classraylib_1_1_bounding_box.js @@ -0,0 +1,17 @@ +var classraylib_1_1_bounding_box = +[ + [ "BoundingBox", "classraylib_1_1_bounding_box.html#a2d5d6d98333d7a2e15b3703b1c383fe9", null ], + [ "BoundingBox", "classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611", null ], + [ "BoundingBox", "classraylib_1_1_bounding_box.html#a6e0d7b4af3123898d6fa541ed2fd2672", null ], + [ "BoundingBox", "classraylib_1_1_bounding_box.html#ad7e2ee18a319a9ea834e46add4b0dbc8", null ], + [ "CheckCollision", "classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b", null ], + [ "CheckCollision", "classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2", null ], + [ "CheckCollision", "classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3", null ], + [ "Draw", "classraylib_1_1_bounding_box.html#a85e385b01a3736d58b90370181f4a25d", null ], + [ "GetCollision", "classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e", null ], + [ "GetMax", "classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18", null ], + [ "GetMin", "classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6", null ], + [ "operator=", "classraylib_1_1_bounding_box.html#a859067d25368a27b8743e23ebc24d46c", null ], + [ "SetMax", "classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1", null ], + [ "SetMin", "classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_camera2_d-members.html b/docs/classraylib_1_1_camera2_d-members.html index d9913dff..39003212 100644 --- a/docs/classraylib_1_1_camera2_d-members.html +++ b/docs/classraylib_1_1_camera2_d-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +

+ + + @@ -190,11 +331,13 @@

+ diff --git a/docs/classraylib_1_1_audio_device.js b/docs/classraylib_1_1_audio_device.js new file mode 100644 index 00000000..424eafd3 --- /dev/null +++ b/docs/classraylib_1_1_audio_device.js @@ -0,0 +1,9 @@ +var classraylib_1_1_audio_device = +[ + [ "AudioDevice", "classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261", null ], + [ "~AudioDevice", "classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9", null ], + [ "Close", "classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0", null ], + [ "Init", "classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc", null ], + [ "IsReady", "classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc", null ], + [ "SetVolume", "classraylib_1_1_audio_device.html#a24fc065b613b6230e415d83194273d89", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_audio_stream-members.html b/docs/classraylib_1_1_audio_stream-members.html index 405d1fc0..6cfeb67f 100644 --- a/docs/classraylib_1_1_audio_stream-members.html +++ b/docs/classraylib_1_1_audio_stream-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +

AudioDevice & raylib::AudioDevice::SetVolume ( float  volume)
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + + +
+ +
+
+
+ +
-
-
raylib::AudioStream Member List
+
raylib::AudioStream Member List

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

- - + + - - - + + + - + - + - + - - - - - - - + + + + + + + - - - + + + - - - - - + + + + +
AudioStream(const ::AudioStream &music) (defined in raylib::AudioStream)raylib::AudioStreaminline
AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0) (defined in raylib::AudioStream)raylib::AudioStreaminline
AudioStream(const ::AudioStream &music)raylib::AudioStreaminline
AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)raylib::AudioStreaminline
AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)raylib::AudioStreaminline
AudioStream(const AudioStream &)=delete (defined in raylib::AudioStream)raylib::AudioStream
AudioStream(AudioStream &&other) (defined in raylib::AudioStream)raylib::AudioStreaminline
GetBuffer() constraylib::AudioStreaminline
AudioStream(const AudioStream &)=deleteraylib::AudioStream
AudioStream(AudioStream &&other)raylib::AudioStreaminline
GetBuffer() constraylib::AudioStreaminline
GetChannels() constraylib::AudioStreaminline
GetSampleRate() constraylib::AudioStreaminline
GetSampleRate() constraylib::AudioStreaminline
GetSampleSize() constraylib::AudioStreaminline
IsPlaying() constraylib::AudioStreaminline
IsPlaying() constraylib::AudioStreaminline
IsProcessed() constraylib::AudioStreaminline
IsReady()raylib::AudioStreaminline
IsReady()raylib::AudioStreaminline
Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)raylib::AudioStreaminline
operator=(const ::AudioStream &stream) (defined in raylib::AudioStream)raylib::AudioStreaminline
operator=(const AudioStream &)=delete (defined in raylib::AudioStream)raylib::AudioStream
operator=(AudioStream &&other) noexcept (defined in raylib::AudioStream)raylib::AudioStreaminline
Pause()raylib::AudioStreaminline
Play()raylib::AudioStreaminline
Resume()raylib::AudioStreaminline
SetBuffer(rAudioBuffer *value)raylib::AudioStreaminline
operator=(const ::AudioStream &stream)raylib::AudioStreaminline
operator=(const AudioStream &)=deleteraylib::AudioStream
operator=(AudioStream &&other) noexceptraylib::AudioStreaminline
Pause()raylib::AudioStreaminline
Play()raylib::AudioStreaminline
Resume()raylib::AudioStreaminline
SetBuffer(rAudioBuffer *value)raylib::AudioStreaminline
SetBufferSizeDefault(int size)raylib::AudioStreaminlinestatic
SetChannels(unsigned int value)raylib::AudioStreaminline
SetPitch(float pitch)raylib::AudioStreaminline
SetSampleRate(unsigned int value)raylib::AudioStreaminline
SetChannels(unsigned int value)raylib::AudioStreaminline
SetPitch(float pitch)raylib::AudioStreaminline
SetSampleRate(unsigned int value)raylib::AudioStreaminline
SetSampleSize(unsigned int value)raylib::AudioStreaminline
SetVolume(float volume)raylib::AudioStreaminline
Stop()raylib::AudioStreaminline
Unload()raylib::AudioStreaminline
Update(const void *data, int samplesCount)raylib::AudioStreaminline
~AudioStream() (defined in raylib::AudioStream)raylib::AudioStreaminline
SetVolume(float volume)raylib::AudioStreaminline
Stop()raylib::AudioStreaminline
Unload()raylib::AudioStreaminline
Update(const void *data, int samplesCount)raylib::AudioStreaminline
~AudioStream()raylib::AudioStreaminline
+ - + diff --git a/docs/classraylib_1_1_audio_stream.html b/docs/classraylib_1_1_audio_stream.html index 85404716..1807cb97 100644 --- a/docs/classraylib_1_1_audio_stream.html +++ b/docs/classraylib_1_1_audio_stream.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::AudioStream Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::AudioStream Class Reference
+
raylib::AudioStream Class Reference

AudioStream management functions. More...

+ +

#include <AudioStream.hpp>

- - + - + - + - + - - - + + + + + @@ -108,89 +125,152 @@ - - + + - - + + - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + - - - - - - - - + + + + + + + + - - - + + +

+

Public Member Functions

AudioStream (AudioStream &&other)
 AudioStream (AudioStream &&other)
 
AudioStream (const ::AudioStream &music)
 AudioStream (const ::AudioStream &music)
 
AudioStream (const AudioStream &)=delete
 AudioStream (const AudioStream &)=delete
 
AudioStream (rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)
 AudioStream (rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)
 
 AudioStream (unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
 Init audio stream (to stream raw audio pcm data) More...
 
rAudioBuffer * GetBuffer () const
 Retrieves the buffer value for the object. More...
 
 ~AudioStream ()
 
rAudioBuffer * GetBuffer () const
 Retrieves the buffer value for the object. More...
 
unsigned int GetChannels () const
 Retrieves the channels value for the object. More...
 
unsigned int GetSampleSize () const
 Retrieves the sampleSize value for the object. More...
 
-bool IsPlaying () const
 Check if audio stream is playing.
bool IsPlaying () const
 Check if audio stream is playing. More...
 
-bool IsProcessed () const
 Check if any audio stream buffers requires refill.
bool IsProcessed () const
 Check if any audio stream buffers requires refill. More...
 
-bool IsReady ()
 Retrieve whether or not the audio stream is ready.
bool IsReady ()
 Retrieve whether or not the audio stream is ready. More...
 
bool Load (unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
 Init audio stream (to stream raw audio pcm data) More...
 
-AudioStreamoperator= (AudioStream &&other) noexcept
 
-AudioStreamoperator= (const ::AudioStream &stream)
 
-AudioStreamoperator= (const AudioStream &)=delete
 
-AudioStreamPause ()
 Pause audio stream.
 
-AudioStreamPlay ()
 Play audio stream.
 
-AudioStreamResume ()
 Resume audio stream.
 
AudioStreamoperator= (AudioStream &&other) noexcept
 
AudioStreamoperator= (const ::AudioStream &stream)
 
AudioStreamoperator= (const AudioStream &)=delete
 
AudioStreamPause ()
 Pause audio stream. More...
 
AudioStreamPlay ()
 Play audio stream. More...
 
AudioStreamResume ()
 Resume audio stream. More...
 
void SetBuffer (rAudioBuffer *value)
 Sets the buffer value for the object. More...
 
void SetChannels (unsigned int value)
 Sets the channels value for the object. More...
 
-AudioStreamSetPitch (float pitch)
 Set pitch for audio stream (1.0 is base level)
 
AudioStreamSetPitch (float pitch)
 Set pitch for audio stream (1.0 is base level) More...
 
void SetSampleRate (unsigned int value)
 Sets the sampleRate value for the object. More...
 
void SetSampleSize (unsigned int value)
 Sets the sampleSize value for the object. More...
 
-AudioStreamSetVolume (float volume)
 Set volume for audio stream (1.0 is max level)
 
-AudioStreamStop ()
 Stop audio stream.
 
-void Unload ()
 Unload audio stream and free memory.
AudioStreamSetVolume (float volume)
 Set volume for audio stream (1.0 is max level) More...
 
AudioStreamStop ()
 Stop audio stream. More...
 
void Unload ()
 Unload audio stream and free memory. More...
 
-AudioStreamUpdate (const void *data, int samplesCount)
 Update audio stream buffers with data.
 
AudioStreamUpdate (const void *data, int samplesCount)
 Update audio stream buffers with data. More...
 
- - - + +

+

Static Public Member Functions

-static void SetBufferSizeDefault (int size)
 Default size for new audio streams.
static void SetBufferSizeDefault (int size)
 Default size for new audio streams. More...
 

Detailed Description

-

AudioStream management functions.

+

AudioStream management functions.

Definition at line 12 of file AudioStream.hpp.

Constructor & Destructor Documentation

- -

◆ AudioStream()

+ +

◆ AudioStream() [1/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::AudioStream::AudioStream (const ::AudioStream & music)
+
+inline
+
+ +

Definition at line 14 of file AudioStream.hpp.

+ +
+
+ +

◆ AudioStream() [2/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::AudioStream::AudioStream (rAudioBuffer * buffer = nullptr,
unsigned int sampleRate = 0,
unsigned int sampleSize = 0,
unsigned int channels = 0 
)
+
+inline
+
+ +

Definition at line 18 of file AudioStream.hpp.

+ +
+
+ +

◆ AudioStream() [3/5]

@@ -241,11 +321,94 @@

References Load().

+

+
+ +

◆ AudioStream() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::AudioStream::AudioStream (const AudioStream)
+
+delete
+
+ +
+
+ +

◆ AudioStream() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::AudioStream::AudioStream (AudioStream && other)
+
+inline
+
+ +

Definition at line 38 of file AudioStream.hpp.

+ +
+
+ +

◆ ~AudioStream()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::AudioStream::~AudioStream ()
+
+inline
+
+ +

Definition at line 47 of file AudioStream.hpp.

+ +

References Unload().

+

Member Function Documentation

- -

◆ GetBuffer()

+ +

◆ GetBuffer()

+ +

◆ IsProcessed()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::AudioStream::IsProcessed () const
+
+inline
+
+ +

Check if any audio stream buffers requires refill.

+ +

Definition at line 97 of file AudioStream.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::AudioStream::IsReady ()
+
+inline
+
+ +

Retrieve whether or not the audio stream is ready.

+ +

Definition at line 166 of file AudioStream.hpp.

+ +

Referenced by Load().

+ +
+
+

◆ Load()

@@ -415,7 +667,178 @@

+ +

◆ operator=() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
AudioStream & raylib::AudioStream::operator= (AudioStream && other)
+
+inlinenoexcept
+
+ +

Definition at line 63 of file AudioStream.hpp.

+ +

References Unload().

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
AudioStream & raylib::AudioStream::operator= (const ::AudioStreamstream)
+
+inline
+
+ +

Definition at line 56 of file AudioStream.hpp.

+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
AudioStream & raylib::AudioStream::operator= (const AudioStream)
+
+delete
+
+ +
+
+ +

◆ Pause()

+ +
+
+ + + + + +
+ + + + + + + +
AudioStream & raylib::AudioStream::Pause ()
+
+inline
+
+ +

Pause audio stream.

+ +

Definition at line 112 of file AudioStream.hpp.

+ +
+
+ +

◆ Play()

+ +
+
+ + + + + +
+ + + + + + + +
AudioStream & raylib::AudioStream::Play ()
+
+inline
+
+ +

Play audio stream.

+ +

Definition at line 104 of file AudioStream.hpp.

+ +
+
+ +

◆ Resume()

+ +
+
+ + + + + +
+ + + + + + + +
AudioStream & raylib::AudioStream::Resume ()
+
+inline
+
+ +

Resume audio stream.

+ +

Definition at line 120 of file AudioStream.hpp.

+ +
+
+

◆ SetBuffer()

@@ -451,7 +874,37 @@

+ +

◆ SetBufferSizeDefault()

+ +
+
+ + + + + +
+ + + + + + + + +
static void raylib::AudioStream::SetBufferSizeDefault (int size)
+
+inlinestatic
+
+ +

Default size for new audio streams.

+ +

Definition at line 159 of file AudioStream.hpp.

+ +
+
+

◆ SetChannels()

@@ -487,7 +940,37 @@

+ +

◆ SetPitch()

+ +
+
+ + + + + +
+ + + + + + + + +
AudioStream & raylib::AudioStream::SetPitch (float pitch)
+
+inline
+
+ +

Set pitch for audio stream (1.0 is base level)

+ +

Definition at line 151 of file AudioStream.hpp.

+ +
+
+

◆ SetSampleRate()

@@ -523,7 +1006,7 @@

+

◆ SetSampleSize()

@@ -557,14 +1040,146 @@

Definition at line 53 of file AudioStream.hpp.

+

+

+ +

◆ SetVolume()

+ +
+
+ + + + + +
+ + + + + + + + +
AudioStream & raylib::AudioStream::SetVolume (float volume)
+
+inline
+
+ +

Set volume for audio stream (1.0 is max level)

+ +

Definition at line 143 of file AudioStream.hpp.

+ +
+
+ +

◆ Stop()

+ +
+
+ + + + + +
+ + + + + + + +
AudioStream & raylib::AudioStream::Stop ()
+
+inline
+
+ +

Stop audio stream.

+ +

Definition at line 135 of file AudioStream.hpp.

+ +
+
+ +

◆ Unload()

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

Unload audio stream and free memory.

+ +

Definition at line 90 of file AudioStream.hpp.

+ +

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

+ +
+
+ +

◆ Update()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
AudioStream & raylib::AudioStream::Update (const void * data,
int samplesCount 
)
+
+inline
+
+ +

Update audio stream buffers with data.

+ +

Definition at line 82 of file AudioStream.hpp.

+

+

- + diff --git a/docs/classraylib_1_1_audio_stream.js b/docs/classraylib_1_1_audio_stream.js new file mode 100644 index 00000000..d7b83f11 --- /dev/null +++ b/docs/classraylib_1_1_audio_stream.js @@ -0,0 +1,33 @@ +var classraylib_1_1_audio_stream = +[ + [ "AudioStream", "classraylib_1_1_audio_stream.html#a894b806cbf3e016b9cc7d9f413758012", null ], + [ "AudioStream", "classraylib_1_1_audio_stream.html#a8da5fee94a06fb1bf797d93e94472d9f", null ], + [ "AudioStream", "classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba", null ], + [ "AudioStream", "classraylib_1_1_audio_stream.html#ad8a74cd0657258f1fe495d2dc7fd6881", null ], + [ "AudioStream", "classraylib_1_1_audio_stream.html#a1d47b4e6c51959d9a6408ff6660cd629", null ], + [ "~AudioStream", "classraylib_1_1_audio_stream.html#a264e3bcd80f5c47651d82ce64b84bdc0", null ], + [ "GetBuffer", "classraylib_1_1_audio_stream.html#adbd0270efa40ecaced9116691ed95cdc", null ], + [ "GetChannels", "classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f", null ], + [ "GetSampleRate", "classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239", null ], + [ "GetSampleSize", "classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627", null ], + [ "IsPlaying", "classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9", null ], + [ "IsProcessed", "classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251", null ], + [ "IsReady", "classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e", null ], + [ "Load", "classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8", null ], + [ "operator=", "classraylib_1_1_audio_stream.html#abaef9e064218e8728e7131de8f001bc1", null ], + [ "operator=", "classraylib_1_1_audio_stream.html#aafe56bfe817da16012d7c2efb4bd7a9c", null ], + [ "operator=", "classraylib_1_1_audio_stream.html#ac284487daf53d5f3cabc535918ab5222", null ], + [ "Pause", "classraylib_1_1_audio_stream.html#acb2ae2e3c331c91af0d3ca86733e1f52", null ], + [ "Play", "classraylib_1_1_audio_stream.html#a3aed292652e082b37396a66e48bf9858", null ], + [ "Resume", "classraylib_1_1_audio_stream.html#ae949d3dea0a03fa4554153ab1c591fb9", null ], + [ "SetBuffer", "classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d", null ], + [ "SetBufferSizeDefault", "classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c", null ], + [ "SetChannels", "classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc", null ], + [ "SetPitch", "classraylib_1_1_audio_stream.html#a13ebfc6323dd52a529c652b50d981160", null ], + [ "SetSampleRate", "classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea", null ], + [ "SetSampleSize", "classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962", null ], + [ "SetVolume", "classraylib_1_1_audio_stream.html#a51894536c50841878536ed87c94ef9ca", null ], + [ "Stop", "classraylib_1_1_audio_stream.html#a0ebdf88ff0b76d024c7d49036cb0701f", null ], + [ "Unload", "classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095", null ], + [ "Update", "classraylib_1_1_audio_stream.html#af0aa29e7eb3fb305eaa224bd62402622", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_bounding_box-members.html b/docs/classraylib_1_1_bounding_box-members.html index d88db4b9..3a66d502 100644 --- a/docs/classraylib_1_1_bounding_box-members.html +++ b/docs/classraylib_1_1_bounding_box-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::BoundingBox Member List
+
raylib::BoundingBox Member List

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

- - - - + + + + - + - + - + - + - +
BoundingBox(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
BoundingBox(const ::Mesh &mesh)raylib::BoundingBoxinline
BoundingBox(::Vector3 minMax) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
BoundingBox(::Vector3 min, ::Vector3 max) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
BoundingBox(const ::BoundingBox &box)raylib::BoundingBoxinline
BoundingBox(const ::Mesh &mesh)raylib::BoundingBoxinline
BoundingBox(::Vector3 minMax)raylib::BoundingBoxinline
BoundingBox(::Vector3 min, ::Vector3 max)raylib::BoundingBoxinline
CheckCollision(const ::BoundingBox &box2) constraylib::BoundingBoxinline
CheckCollision(::Vector3 center, float radius) constraylib::BoundingBoxinline
CheckCollision(::Vector3 center, float radius) constraylib::BoundingBoxinline
CheckCollision(const ::Ray &ray) constraylib::BoundingBoxinline
Draw(::Color color={255, 255, 255, 255})raylib::BoundingBoxinline
Draw(::Color color={255, 255, 255, 255})raylib::BoundingBoxinline
GetCollision(const ::Ray &ray) constraylib::BoundingBoxinline
GetMax() constraylib::BoundingBoxinline
GetMax() constraylib::BoundingBoxinline
GetMin() constraylib::BoundingBoxinline
operator=(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
operator=(const ::BoundingBox &box)raylib::BoundingBoxinline
SetMax(::Vector3 value)raylib::BoundingBoxinline
SetMin(::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 4f54c6ca..e6a55d4f 100644 --- a/docs/classraylib_1_1_bounding_box.html +++ b/docs/classraylib_1_1_bounding_box.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::BoundingBox Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::BoundingBox Class Reference
+
raylib::BoundingBox Class Reference

Bounding box type. More...

+ +

#include <BoundingBox.hpp>

- - + - + - + - - + + - - + + - - + + - - + + - - - - - + + + + + - + - + - - - + + + - +

+

Public Member Functions

BoundingBox (::Vector3 min, ::Vector3 max)
 BoundingBox (::Vector3 min, ::Vector3 max)
 
BoundingBox (::Vector3 minMax)
 BoundingBox (::Vector3 minMax)
 
BoundingBox (const ::BoundingBox &box)
 BoundingBox (const ::BoundingBox &box)
 
BoundingBox (const ::Mesh &mesh)
 Compute mesh bounding box limits.
 BoundingBox (const ::Mesh &mesh)
 Compute mesh bounding box limits. More...
 
-bool CheckCollision (::Vector3 center, float radius) const
 Detect collision between box and sphere.
bool CheckCollision (::Vector3 center, float radius) const
 Detect collision between box and sphere. More...
 
-bool CheckCollision (const ::BoundingBox &box2) const
 Detect collision between two boxes.
bool CheckCollision (const ::BoundingBox &box2) const
 Detect collision between two boxes. More...
 
-bool CheckCollision (const ::Ray &ray) const
 Detect collision between ray and bounding box.
bool CheckCollision (const ::Ray &ray) const
 Detect collision between ray and bounding box. More...
 
-BoundingBoxDraw (::Color color={255, 255, 255, 255})
 Draw a bounding box with wires.
 
-RayCollision GetCollision (const ::Ray &ray) const
 Get collision information between ray and bounding box.
BoundingBoxDraw (::Color color={255, 255, 255, 255})
 Draw a bounding box with wires. More...
 
RayCollision GetCollision (const ::Ray &ray) const
 Get collision information between ray and bounding box. More...
 
::Vector3 GetMax () const
::Vector3 GetMax () const
 Retrieves the max value for the object. More...
 
::Vector3 GetMin () const
::Vector3 GetMin () const
 Retrieves the min value for the object. More...
 
-BoundingBoxoperator= (const ::BoundingBox &box)
 
void SetMax (::Vector3 value)
BoundingBoxoperator= (const ::BoundingBox &box)
 
void SetMax (::Vector3 value)
 Sets the max value for the object. More...
 
void SetMin (::Vector3 value)
void SetMin (::Vector3 value)
 Sets the min value for the object. More...
 

Detailed Description

-

Bounding box type.

+

Bounding box type.

Definition at line 11 of file BoundingBox.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ BoundingBox() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::BoundingBox::BoundingBox (const ::BoundingBox & box)
+
+inline
+
+ +

Definition at line 13 of file BoundingBox.hpp.

+ +
+
+ +

◆ BoundingBox() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::BoundingBox::BoundingBox (const ::Mesh & mesh)
+
+inline
+
+ +

Compute mesh bounding box limits.

+ +

Definition at line 20 of file BoundingBox.hpp.

+ +
+
+ +

◆ BoundingBox() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::BoundingBox::BoundingBox (::Vector3 minMax)
+
+inline
+
+ +

Definition at line 24 of file BoundingBox.hpp.

+ +
+
+ +

◆ BoundingBox() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::BoundingBox::BoundingBox (::Vector3 min,
::Vector3 max 
)
+
+inline
+
+ +

Definition at line 25 of file BoundingBox.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ CheckCollision() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool raylib::BoundingBox::CheckCollision (::Vector3 center,
float radius 
) const
+
+inline
+
+ +

Detect collision between box and sphere.

+ +

Definition at line 53 of file BoundingBox.hpp.

+ +
+
+ +

◆ CheckCollision() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::BoundingBox::CheckCollision (const ::BoundingBoxbox2) const
+
+inline
+
+ +

Detect collision between two boxes.

+ +

Definition at line 46 of file BoundingBox.hpp.

+ +
+
+ +

◆ CheckCollision() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::BoundingBox::CheckCollision (const ::Ray & ray) const
+
+inline
+
+ +

Detect collision between ray and bounding box.

+ +

Definition at line 60 of file BoundingBox.hpp.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + +
BoundingBox & raylib::BoundingBox::Draw (::Color color = {255, 255, 255, 255})
+
+inline
+
+ +

Draw a bounding box with wires.

+ +

Definition at line 38 of file BoundingBox.hpp.

+ +
+
+ +

◆ GetCollision()

+ +
+
+ + + + + +
+ + + + + + + + +
RayCollision raylib::BoundingBox::GetCollision (const ::Ray & ray) const
+
+inline
+
+ +

Get collision information between ray and bounding box.

+ +

Definition at line 67 of file BoundingBox.hpp.

+ +
+
+

◆ GetMax()

@@ -144,7 +438,7 @@

- + @@ -164,7 +458,7 @@

+

◆ GetMin()

@@ -174,7 +468,7 @@

::Vector3 raylib::BoundingBox::GetMax ::Vector3 raylib::BoundingBox::GetMax ( ) const
- + @@ -194,7 +488,35 @@

+ +

◆ operator=()

+ +
+
+
::Vector3 raylib::BoundingBox::GetMin ::Vector3 raylib::BoundingBox::GetMin ( ) const
+ + + + +
+ + + + + + + + +
BoundingBox & raylib::BoundingBox::operator= (const ::BoundingBoxbox)
+
+inline
+

+ +

Definition at line 30 of file BoundingBox.hpp.

+ +
+
+

◆ SetMax()

(::Vector3 ::Vector3  value)
(::Vector3 ::Vector3  value)
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Camera2D Member List
+
raylib::Camera2D Member List

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

- - - - - - + + + + + + - + - + - - - + + + - +
BeginMode() (defined in raylib::Camera2D)raylib::Camera2Dinline
Camera2D(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinline
Camera2D() (defined in raylib::Camera2D)raylib::Camera2Dinline
Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f) (defined in raylib::Camera2D)raylib::Camera2Dinline
EndMode() (defined in raylib::Camera2D)raylib::Camera2Dinline
GetMatrix() constraylib::Camera2Dinline
BeginMode()raylib::Camera2Dinline
Camera2D(const ::Camera2D &camera)raylib::Camera2Dinline
Camera2D()raylib::Camera2Dinline
Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)raylib::Camera2Dinline
EndMode()raylib::Camera2Dinline
GetMatrix() constraylib::Camera2Dinline
GetOffset() constraylib::Camera2Dinline
GetRotation() constraylib::Camera2Dinline
GetRotation() constraylib::Camera2Dinline
GetScreenToWorld(::Vector2 position) constraylib::Camera2Dinline
GetTarget() constraylib::Camera2Dinline
GetTarget() constraylib::Camera2Dinline
GetWorldToScreen(::Vector2 position) constraylib::Camera2Dinline
GetZoom() constraylib::Camera2Dinline
operator=(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinline
SetOffset(::Vector2 value)raylib::Camera2Dinline
GetZoom() constraylib::Camera2Dinline
operator=(const ::Camera2D &camera)raylib::Camera2Dinline
SetOffset(::Vector2 value)raylib::Camera2Dinline
SetRotation(float value)raylib::Camera2Dinline
SetTarget(::Vector2 value)raylib::Camera2Dinline
SetTarget(::Vector2 value)raylib::Camera2Dinline
SetZoom(float value)raylib::Camera2Dinline
+
- + diff --git a/docs/classraylib_1_1_camera2_d.html b/docs/classraylib_1_1_camera2_d.html index f354a0c8..3515c8ae 100644 --- a/docs/classraylib_1_1_camera2_d.html +++ b/docs/classraylib_1_1_camera2_d.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Camera2D Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Camera2D Class Reference
+
raylib::Camera2D Class Reference

Camera2D type, defines a 2d camera. More...

+ +

#include <Camera2D.hpp>

- - + + + - + - - - - - - + + + + + + - + - - + + - + - - + + - - - + + + - + @@ -133,11 +146,200 @@

+

Public Member Functions

Camera2D (::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)
 Camera2D ()
 
 Camera2D (::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)
 
Camera2D (const ::Camera2D &camera)
 Camera2D (const ::Camera2D &camera)
 
-Camera2DBeginMode ()
 
-Camera2DEndMode ()
 
-Matrix GetMatrix () const
 Returns camera 2d transform matrix.
Camera2DBeginMode ()
 
Camera2DEndMode ()
 
Matrix GetMatrix () const
 Returns camera 2d transform matrix. More...
 
::Vector2 GetOffset () const
::Vector2 GetOffset () const
 Retrieves the offset value for the object. More...
 
float GetRotation () const
 Retrieves the rotation value for the object. More...
 
-Vector2 GetScreenToWorld (::Vector2 position) const
 Returns the world space position for a 2d camera screen space position.
Vector2 GetScreenToWorld (::Vector2 position) const
 Returns the world space position for a 2d camera screen space position. More...
 
::Vector2 GetTarget () const
::Vector2 GetTarget () const
 Retrieves the target value for the object. More...
 
-Vector2 GetWorldToScreen (::Vector2 position) const
 Returns the screen space position for a 3d world space position.
Vector2 GetWorldToScreen (::Vector2 position) const
 Returns the screen space position for a 3d world space position. More...
 
float GetZoom () const
 Retrieves the zoom value for the object. More...
 
-Camera2Doperator= (const ::Camera2D &camera)
 
void SetOffset (::Vector2 value)
Camera2Doperator= (const ::Camera2D &camera)
 
void SetOffset (::Vector2 value)
 Sets the offset value for the object. More...
 
void SetRotation (float value)
 Sets the rotation value for the object. More...
 
void SetTarget (::Vector2 value)
void SetTarget (::Vector2 value)
 Sets the target value for the object. More...
 
void SetZoom (float value)
 

Detailed Description

-

Camera2D type, defines a 2d camera.

+

Camera2D type, defines a 2d camera.

Definition at line 12 of file Camera2D.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ Camera2D() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Camera2D::Camera2D (const ::Camera2D & camera)
+
+inline
+
+ +

Definition at line 14 of file Camera2D.hpp.

+ +
+
+ +

◆ Camera2D() [2/3]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Camera2D::Camera2D ()
+
+inline
+
+ +

Definition at line 18 of file Camera2D.hpp.

+ +
+
+ +

◆ Camera2D() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Camera2D::Camera2D (::Vector2 offset,
::Vector2 target,
float rotation = 0.0f,
float zoom = 1.0f 
)
+
+inline
+
+ +

Definition at line 19 of file Camera2D.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ BeginMode()

+ +
+
+ + + + + +
+ + + + + + + +
Camera2D & raylib::Camera2D::BeginMode ()
+
+inline
+
+ +

Definition at line 22 of file Camera2D.hpp.

+ +
+
+ +

◆ EndMode()

+ +
+
+ + + + + +
+ + + + + + + +
Camera2D & raylib::Camera2D::EndMode ()
+
+inline
+
+ +

Definition at line 27 of file Camera2D.hpp.

+ +
+
+ +

◆ GetMatrix()

+ +
+
+ + + + + +
+ + + + + + + +
Matrix raylib::Camera2D::GetMatrix () const
+
+inline
+
+ +

Returns camera 2d transform matrix.

+ +

Definition at line 45 of file Camera2D.hpp.

+ +
+
+

◆ GetOffset()

+ +

Returns the world space position for a 2d camera screen space position.

+ +

Definition at line 59 of file Camera2D.hpp.

+ +
+
+

◆ GetTarget()

@@ -207,7 +439,7 @@

- + @@ -227,7 +459,37 @@

+ +

◆ GetWorldToScreen()

+ +
+
+

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

+ +

Returns the screen space position for a 3d world space position.

+ +

Definition at line 52 of file Camera2D.hpp.

+ +
+ +

◆ GetZoom()

@@ -257,7 +519,35 @@

+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Camera2D & raylib::Camera2D::operator= (const ::Camera2Dcamera)
+
+inline
+
+ +

Definition at line 37 of file Camera2D.hpp.

+ +
+
+

◆ SetOffset()

@@ -269,7 +559,7 @@

void raylib::Camera2D::SetOffset ( - ::Vector2  + ::Vector2  value) @@ -293,7 +583,7 @@

+

◆ SetRotation()

@@ -329,7 +619,7 @@

+

◆ SetTarget()

@@ -341,7 +631,7 @@

void raylib::Camera2D::SetTarget ( - ::Vector2  + ::Vector2  value) @@ -365,7 +655,7 @@

+

◆ SetZoom()

@@ -402,11 +692,13 @@

+ diff --git a/docs/classraylib_1_1_camera2_d.js b/docs/classraylib_1_1_camera2_d.js new file mode 100644 index 00000000..5086e854 --- /dev/null +++ b/docs/classraylib_1_1_camera2_d.js @@ -0,0 +1,20 @@ +var classraylib_1_1_camera2_d = +[ + [ "Camera2D", "classraylib_1_1_camera2_d.html#a05e4b432a014c69d68d37c643073c709", null ], + [ "Camera2D", "classraylib_1_1_camera2_d.html#a2038c9432fdae18a744f9dd395da30bf", null ], + [ "Camera2D", "classraylib_1_1_camera2_d.html#ade6e4f7d7a0bb165e65c0a08ae09e742", null ], + [ "BeginMode", "classraylib_1_1_camera2_d.html#a39d12d507baf5ba6112ea31d9ff8b01f", null ], + [ "EndMode", "classraylib_1_1_camera2_d.html#a1ed1e6b78525562b480e8f2d2a0e11a5", null ], + [ "GetMatrix", "classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1", null ], + [ "GetOffset", "classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01", null ], + [ "GetRotation", "classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e", null ], + [ "GetScreenToWorld", "classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42", null ], + [ "GetTarget", "classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e", null ], + [ "GetWorldToScreen", "classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64", null ], + [ "GetZoom", "classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d", null ], + [ "operator=", "classraylib_1_1_camera2_d.html#a3eca1be4b1f2ab30dc377dcd76eff0ef", null ], + [ "SetOffset", "classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb", null ], + [ "SetRotation", "classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403", null ], + [ "SetTarget", "classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8", null ], + [ "SetZoom", "classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_camera3_d-members.html b/docs/classraylib_1_1_camera3_d-members.html index 8706b739..6440f6e0 100644 --- a/docs/classraylib_1_1_camera3_d-members.html +++ b/docs/classraylib_1_1_camera3_d-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Camera3D Member List
+
raylib::Camera3D Member List

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

- - + + - - - - - + + + + + - + - + - + - - - - - + + + + + - - - + + + - +
BeginMode()raylib::Camera3Dinline
Camera3D(const ::Camera3D &camera) (defined in raylib::Camera3D)raylib::Camera3Dinline
BeginMode()raylib::Camera3Dinline
Camera3D(const ::Camera3D &camera)raylib::Camera3Dinline
Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)raylib::Camera3Dinline
Camera3D() (defined in raylib::Camera3D)raylib::Camera3Dinline
DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
EndMode()raylib::Camera3Dinline
GetFovy() constraylib::Camera3Dinline
Camera3D()raylib::Camera3Dinline
DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
EndMode()raylib::Camera3Dinline
GetFovy() constraylib::Camera3Dinline
GetMatrix() constraylib::Camera3Dinline
GetMouseRay(::Vector2 mousePosition) constraylib::Camera3Dinline
GetMouseRay(::Vector2 mousePosition) constraylib::Camera3Dinline
GetPosition() constraylib::Camera3Dinline
GetProjection() constraylib::Camera3Dinline
GetProjection() constraylib::Camera3Dinline
GetTarget() constraylib::Camera3Dinline
GetUp() constraylib::Camera3Dinline
GetUp() constraylib::Camera3Dinline
GetWorldToScreen(::Vector3 position) constraylib::Camera3Dinline
operator=(const ::Camera3D &camera) (defined in raylib::Camera3D)raylib::Camera3Dinline
SetAltControl(int altKey)raylib::Camera3Dinline
SetFovy(float value)raylib::Camera3Dinline
SetMode(int mode)raylib::Camera3Dinline
SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)raylib::Camera3Dinline
operator=(const ::Camera3D &camera)raylib::Camera3Dinline
SetAltControl(int altKey)raylib::Camera3Dinline
SetFovy(float value)raylib::Camera3Dinline
SetMode(int mode)raylib::Camera3Dinline
SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)raylib::Camera3Dinline
SetPosition(::Vector3 value)raylib::Camera3Dinline
SetProjection(int value)raylib::Camera3Dinline
SetSmoothZoomControl(int szKey)raylib::Camera3Dinline
SetTarget(::Vector3 value)raylib::Camera3Dinline
SetProjection(int value)raylib::Camera3Dinline
SetSmoothZoomControl(int szKey)raylib::Camera3Dinline
SetTarget(::Vector3 value)raylib::Camera3Dinline
SetUp(::Vector3 value)raylib::Camera3Dinline
Update()raylib::Camera3Dinline
Update()raylib::Camera3Dinline
+

- + diff --git a/docs/classraylib_1_1_camera3_d.html b/docs/classraylib_1_1_camera3_d.html index fdabf904..f365d679 100644 --- a/docs/classraylib_1_1_camera3_d.html +++ b/docs/classraylib_1_1_camera3_d.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Camera3D Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Camera3D Class Reference
+
raylib::Camera3D Class Reference

Camera type, defines a camera position/orientation in 3d space. More...

+ +

#include <Camera3D.hpp>

- - + + + - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - + + - + - + - + - - + + - - - - - + + + + + - - - - - - - + + + + + + + - - - - + + + + - + - - - + + +

+

Public Member Functions

 Camera3D (::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
 Camera3D ()
 
 Camera3D (::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
 Create a new Camera3D. More...
 
Camera3D (const ::Camera3D &camera)
 Camera3D (const ::Camera3D &camera)
 
-Camera3DBeginMode ()
 Initializes 3D mode with custom camera (3D)
 
-Camera3DDrawBillboard (const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
 Draw a billboard texture defined by source.
 
-Camera3DDrawBillboard (const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
 Draw a billboard texture.
 
-Camera3DEndMode ()
 Ends 3D mode and returns to default 2D orthographic mode.
 
Camera3DBeginMode ()
 Initializes 3D mode with custom camera (3D) More...
 
Camera3DDrawBillboard (const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
 Draw a billboard texture defined by source. More...
 
Camera3DDrawBillboard (const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
 Draw a billboard texture. More...
 
Camera3DEndMode ()
 Ends 3D mode and returns to default 2D orthographic mode. More...
 
float GetFovy () const
 Retrieves the fovy value for the object. More...
 
-Matrix GetMatrix () const
 Get transform matrix for camera.
Matrix GetMatrix () const
 Get transform matrix for camera. More...
 
-Ray GetMouseRay (::Vector2 mousePosition) const
 Returns a ray trace from mouse position.
Ray GetMouseRay (::Vector2 mousePosition) const
 Returns a ray trace from mouse position. More...
 
::Vector3 GetPosition () const
::Vector3 GetPosition () const
 Retrieves the position value for the object. More...
 
int GetProjection () const
 Retrieves the projection value for the object. More...
 
::Vector3 GetTarget () const
::Vector3 GetTarget () const
 Retrieves the target value for the object. More...
 
::Vector3 GetUp () const
::Vector3 GetUp () const
 Retrieves the up value for the object. More...
 
-Vector2 GetWorldToScreen (::Vector3 position) const
 Returns the screen space position for a 3d world space position.
Vector2 GetWorldToScreen (::Vector3 position) const
 Returns the screen space position for a 3d world space position. More...
 
-Camera3Doperator= (const ::Camera3D &camera)
 
-Camera3DSetAltControl (int altKey)
 Set camera alt key to combine with mouse movement (free camera)
 
Camera3Doperator= (const ::Camera3D &camera)
 
Camera3DSetAltControl (int altKey)
 Set camera alt key to combine with mouse movement (free camera) More...
 
void SetFovy (float value)
 Sets the fovy value for the object. More...
 
-Camera3DSetMode (int mode)
 Set camera mode (multiple camera modes available)
 
-Camera3DSetMoveControls (int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
 Set camera move controls (1st person and 3rd person cameras)
 
void SetPosition (::Vector3 value)
Camera3DSetMode (int mode)
 Set camera mode (multiple camera modes available) More...
 
Camera3DSetMoveControls (int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
 Set camera move controls (1st person and 3rd person cameras) More...
 
void SetPosition (::Vector3 value)
 Sets the position value for the object. More...
 
void SetProjection (int value)
 Sets the projection value for the object. More...
 
-Camera3DSetSmoothZoomControl (int szKey)
 Set camera smooth zoom key to combine with mouse (free camera)
 
void SetTarget (::Vector3 value)
Camera3DSetSmoothZoomControl (int szKey)
 Set camera smooth zoom key to combine with mouse (free camera) More...
 
void SetTarget (::Vector3 value)
 Sets the target value for the object. More...
 
void SetUp (::Vector3 value)
void SetUp (::Vector3 value)
 Sets the up value for the object. More...
 
-Camera3DUpdate ()
 Update camera position for selected mode.
 
Camera3DUpdate ()
 Update camera position for selected mode. More...
 

Detailed Description

-

Camera type, defines a camera position/orientation in 3d space.

+

Camera type, defines a camera position/orientation in 3d space.

Definition at line 12 of file Camera3D.hpp.

Constructor & Destructor Documentation

- -

◆ Camera3D()

+ +

◆ Camera3D() [1/3]

@@ -185,20 +192,48 @@

raylib::Camera3D::Camera3D ( - ::Vector3  + const ::Camera3D &  + camera) + + + + + +inline + + +

+ +

Definition at line 14 of file Camera3D.hpp.

+ +
+
+ +

◆ Camera3D() [2/3]

+ +
+
+ + + - + @@ -464,7 +935,7 @@

+

◆ SetProjection()

@@ -500,7 +971,37 @@

+ +

◆ SetSmoothZoomControl()

+ +
+
+

+ + + + + - - + + - - + + @@ -239,10 +274,205 @@

Definition at line 27 of file Camera3D.hpp.

+ + + +

◆ Camera3D() [3/3]

+ +
+
+

raylib::Camera3D::Camera3D (::Vector3  position,
::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f}, ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
+ + + + +
+ + + + + + + +
raylib::Camera3D::Camera3D ()
+
+inline
+
+ +

Definition at line 33 of file Camera3D.hpp.

+

Member Function Documentation

- + +

◆ BeginMode()

+ +
+
+ + + + + +
+ + + + + + + +
Camera3D & raylib::Camera3D::BeginMode ()
+
+inline
+
+ +

Initializes 3D mode with custom camera (3D)

+ +

Definition at line 49 of file Camera3D.hpp.

+ +
+
+ +

◆ DrawBillboard() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Camera3D & raylib::Camera3D::DrawBillboard (const ::Texture2Dtexture,
::Rectangle sourceRec,
::Vector3 center,
::Vector2 size,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw a billboard texture defined by source.

+ +

Definition at line 141 of file Camera3D.hpp.

+ +
+
+ +

◆ DrawBillboard() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Camera3D & raylib::Camera3D::DrawBillboard (const ::Texture2Dtexture,
::Vector3 center,
float size,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw a billboard texture.

+ +

Definition at line 129 of file Camera3D.hpp.

+ +
+
+ +

◆ EndMode()

+ +
+
+ + + + + +
+ + + + + + + +
Camera3D & raylib::Camera3D::EndMode ()
+
+inline
+
+ +

Ends 3D mode and returns to default 2D orthographic mode.

+ +

Definition at line 57 of file Camera3D.hpp.

+ +
+
+

◆ GetFovy()

@@ -272,7 +502,66 @@

+ +

◆ GetMatrix()

+ +
+
+ + + + + +
+ + + + + + + +
Matrix raylib::Camera3D::GetMatrix () const
+
+inline
+
+ +

Get transform matrix for camera.

+ +

Definition at line 65 of file Camera3D.hpp.

+ +
+
+ +

◆ GetMouseRay()

+ +
+
+ + + + + +
+ + + + + + + + +
Ray raylib::Camera3D::GetMouseRay (::Vector2 mousePosition) const
+
+inline
+
+ +

Returns a ray trace from mouse position.

+ +

Definition at line 115 of file Camera3D.hpp.

+ +
+
+

◆ GetPosition()

@@ -282,7 +571,7 @@

- + @@ -302,7 +591,7 @@

+

◆ GetProjection()

@@ -332,7 +621,7 @@

+

◆ GetTarget()

@@ -342,7 +631,7 @@

::Vector3 raylib::Camera3D::GetPosition ::Vector3 raylib::Camera3D::GetPosition ( ) const
- + @@ -362,7 +651,7 @@

+

◆ GetUp()

@@ -372,7 +661,7 @@

::Vector3 raylib::Camera3D::GetTarget ::Vector3 raylib::Camera3D::GetTarget ( ) const
- + @@ -392,7 +681,95 @@

+ +

◆ GetWorldToScreen()

+ +
+
+
::Vector3 raylib::Camera3D::GetUp ::Vector3 raylib::Camera3D::GetUp ( ) const
+ + + + +
+ + + + + + + + +
Vector2 raylib::Camera3D::GetWorldToScreen (::Vector3 position) const
+
+inline
+

+ +

Returns the screen space position for a 3d world space position.

+ +

Definition at line 122 of file Camera3D.hpp.

+ +
+

+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Camera3D & raylib::Camera3D::operator= (const ::Camera3Dcamera)
+
+inline
+
+ +

Definition at line 41 of file Camera3D.hpp.

+ +
+
+ +

◆ SetAltControl()

+ +
+
+ + + + + +
+ + + + + + + + +
Camera3D & raylib::Camera3D::SetAltControl (int altKey)
+
+inline
+
+ +

Set camera alt key to combine with mouse movement (free camera)

+ +

Definition at line 80 of file Camera3D.hpp.

+ +
+
+

◆ SetFovy()

@@ -428,7 +805,101 @@

+ +

◆ SetMode()

+ +
+
+ + + + + +
+ + + + + + + + +
Camera3D & raylib::Camera3D::SetMode (int mode)
+
+inline
+
+ +

Set camera mode (multiple camera modes available)

+ +

Definition at line 72 of file Camera3D.hpp.

+ +
+
+ +

◆ SetMoveControls()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Camera3D & raylib::Camera3D::SetMoveControls (int frontKey,
int backKey,
int rightKey,
int leftKey,
int upKey,
int downKey 
)
+
+inline
+
+ +

Set camera move controls (1st person and 3rd person cameras)

+ +

Definition at line 96 of file Camera3D.hpp.

+ +
+
+

◆ SetPosition()

(::Vector3 ::Vector3  value)
+ + + + +
+ + + + + + + + +
Camera3D & raylib::Camera3D::SetSmoothZoomControl (int szKey)
+
+inline
+
+ +

Set camera smooth zoom key to combine with mouse (free camera)

+ +

Definition at line 88 of file Camera3D.hpp.

+ +
+
+

◆ SetTarget()

@@ -512,7 +1013,7 @@

void raylib::Camera3D::SetTarget ( - ::Vector3  + ::Vector3  value) @@ -536,7 +1037,7 @@

+

◆ SetUp()

@@ -548,7 +1049,7 @@

void raylib::Camera3D::SetUp ( - ::Vector3  + ::Vector3  value) @@ -570,14 +1071,47 @@

Definition at line 37 of file Camera3D.hpp.

+

+

+ +

◆ Update()

+ +
+
+ + + + + +
+ + + + + + + +
Camera3D & raylib::Camera3D::Update ()
+
+inline
+
+ +

Update camera position for selected mode.

+ +

Definition at line 107 of file Camera3D.hpp.

+ +

References raylib::UpdateCamera().

+
+
- + diff --git a/docs/classraylib_1_1_camera3_d.js b/docs/classraylib_1_1_camera3_d.js new file mode 100644 index 00000000..8cc92ad5 --- /dev/null +++ b/docs/classraylib_1_1_camera3_d.js @@ -0,0 +1,29 @@ +var classraylib_1_1_camera3_d = +[ + [ "Camera3D", "classraylib_1_1_camera3_d.html#a8ec807581f3610db4830f6ff5c96d1dd", null ], + [ "Camera3D", "classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771", null ], + [ "Camera3D", "classraylib_1_1_camera3_d.html#a79f19d069575d1c0f825ecb188e961fc", null ], + [ "BeginMode", "classraylib_1_1_camera3_d.html#a23437f027bbd7608ca9e5f2370344271", null ], + [ "DrawBillboard", "classraylib_1_1_camera3_d.html#aa4b970e07fe839d0a5f549411232243c", null ], + [ "DrawBillboard", "classraylib_1_1_camera3_d.html#a19e03b4f8eb63e21c988dcb15aba0049", null ], + [ "EndMode", "classraylib_1_1_camera3_d.html#a37fbcad2f93a9a578b75b49fc44523fe", null ], + [ "GetFovy", "classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c", null ], + [ "GetMatrix", "classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f", null ], + [ "GetMouseRay", "classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961", null ], + [ "GetPosition", "classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755", null ], + [ "GetProjection", "classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce", null ], + [ "GetTarget", "classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684", null ], + [ "GetUp", "classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6", null ], + [ "GetWorldToScreen", "classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc", null ], + [ "operator=", "classraylib_1_1_camera3_d.html#ab9af3cd1ec71d4c52dd09f47b7a55864", null ], + [ "SetAltControl", "classraylib_1_1_camera3_d.html#a1e12a532ca2837c7a00b1658b0d0be28", null ], + [ "SetFovy", "classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1", null ], + [ "SetMode", "classraylib_1_1_camera3_d.html#a60bdd6bd9c6b7294350d60e495454d73", null ], + [ "SetMoveControls", "classraylib_1_1_camera3_d.html#a7b6ea87fe4de834303c03ca62eaf73b9", null ], + [ "SetPosition", "classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4", null ], + [ "SetProjection", "classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4", null ], + [ "SetSmoothZoomControl", "classraylib_1_1_camera3_d.html#aab26a4c99183b18ec9c714b98b0688cb", null ], + [ "SetTarget", "classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95", null ], + [ "SetUp", "classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d", null ], + [ "Update", "classraylib_1_1_camera3_d.html#aacd0a082c65a9089e2a2bcf3c327cfe0", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_color-members.html b/docs/classraylib_1_1_color-members.html index 3939563a..d5c16380 100644 --- a/docs/classraylib_1_1_color-members.html +++ b/docs/classraylib_1_1_color-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Color Member List
+
raylib::Color Member List

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

- - - - - - - - - + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - + - - - + + + - - - + + +
Alpha(float alpha) constraylib::Colorinline
AlphaBlend(::Color dst, ::Color tint) constraylib::Colorinline
Beige() (defined in raylib::Color)raylib::Colorinlinestatic
Black() (defined in raylib::Color)raylib::Colorinlinestatic
Blank() (defined in raylib::Color)raylib::Colorinlinestatic
Blue() (defined in raylib::Color)raylib::Colorinlinestatic
Brown() (defined in raylib::Color)raylib::Colorinlinestatic
ClearBackground()raylib::Colorinline
Color(const ::Color &color) (defined in raylib::Color)raylib::Colorinline
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255) (defined in raylib::Color)raylib::Colorinline
AlphaBlend(::Color dst, ::Color tint) constraylib::Colorinline
Beige()raylib::Colorinlinestatic
Black()raylib::Colorinlinestatic
Blank()raylib::Colorinlinestatic
Blue()raylib::Colorinlinestatic
Brown()raylib::Colorinlinestatic
ClearBackground()raylib::Colorinline
Color(const ::Color &color)raylib::Colorinline
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)raylib::Colorinline
Color()raylib::Colorinline
Color(::Vector3 hsv)raylib::Colorinline
Color(::Vector3 hsv)raylib::Colorinline
Color(unsigned int hexValue)raylib::Colorinline
Color(::Vector4 normalized)raylib::Colorinline
DarkBlue() (defined in raylib::Color)raylib::Colorinlinestatic
DarkBrown() (defined in raylib::Color)raylib::Colorinlinestatic
DarkGray() (defined in raylib::Color)raylib::Colorinlinestatic
DarkGreen() (defined in raylib::Color)raylib::Colorinlinestatic
DarkPurple() (defined in raylib::Color)raylib::Colorinlinestatic
DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)raylib::Colorinline
DrawLine(::Vector2 startPos, ::Vector2 endPos) (defined in raylib::Color)raylib::Colorinline
DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) (defined in raylib::Color)raylib::Colorinline
DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick) (defined in raylib::Color)raylib::Colorinline
DrawLineStrip(::Vector2 *points, int numPoints) (defined in raylib::Color)raylib::Colorinline
DrawPixel(int x, int y) (defined in raylib::Color)raylib::Colorinline
DrawPixel(::Vector2 pos)raylib::Colorinline
DrawRectangle(int posX, int posY, int width, int height) (defined in raylib::Color)raylib::Colorinline
DrawRectangle(::Vector2 position, ::Vector2 size) (defined in raylib::Color)raylib::Colorinline
DrawRectangle(::Rectangle rec) (defined in raylib::Color)raylib::Colorinline
DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) (defined in raylib::Color)raylib::Colorinline
DrawRectangleLines(int posX, int posY, int width, int height) (defined in raylib::Color)raylib::Colorinline
DrawRectangleLines(::Rectangle rec, float lineThick) (defined in raylib::Color)raylib::Colorinline
DrawText(const std::string &text, int posX, int posY, int fontSize) (defined in raylib::Color)raylib::Colorinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing) (defined in raylib::Color)raylib::Colorinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing) (defined in raylib::Color)raylib::Colorinline
Fade(float alpha) constraylib::Colorinline
Color(::Vector4 normalized)raylib::Colorinline
DarkBlue()raylib::Colorinlinestatic
DarkBrown()raylib::Colorinlinestatic
DarkGray()raylib::Colorinlinestatic
DarkGreen()raylib::Colorinlinestatic
DarkPurple()raylib::Colorinlinestatic
DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)raylib::Colorinline
DrawLine(::Vector2 startPos, ::Vector2 endPos)raylib::Colorinline
DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)raylib::Colorinline
DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick)raylib::Colorinline
DrawLineStrip(::Vector2 *points, int numPoints)raylib::Colorinline
DrawPixel(int x, int y)raylib::Colorinline
DrawPixel(::Vector2 pos)raylib::Colorinline
DrawRectangle(int posX, int posY, int width, int height)raylib::Colorinline
DrawRectangle(::Vector2 position, ::Vector2 size)raylib::Colorinline
DrawRectangle(::Rectangle rec)raylib::Colorinline
DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)raylib::Colorinline
DrawRectangleLines(int posX, int posY, int width, int height)raylib::Colorinline
DrawRectangleLines(::Rectangle rec, float lineThick)raylib::Colorinline
DrawText(const std::string &text, int posX, int posY, int fontSize)raylib::Colorinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)raylib::Colorinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)raylib::Colorinline
Fade(float alpha) constraylib::Colorinline
FromHSV(float hue, float saturation, float value)raylib::Colorinlinestatic
GetA() constraylib::Colorinline
GetA() constraylib::Colorinline
GetB() constraylib::Colorinline
GetG() constraylib::Colorinline
GetG() constraylib::Colorinline
GetR() constraylib::Colorinline
Gold() (defined in raylib::Color)raylib::Colorinlinestatic
Gray() (defined in raylib::Color)raylib::Colorinlinestatic
Green() (defined in raylib::Color)raylib::Colorinlinestatic
LightGray() (defined in raylib::Color)raylib::Colorinlinestatic
Lime() (defined in raylib::Color)raylib::Colorinlinestatic
Magenta() (defined in raylib::Color)raylib::Colorinlinestatic
Maroon() (defined in raylib::Color)raylib::Colorinlinestatic
Gold()raylib::Colorinlinestatic
Gray()raylib::Colorinlinestatic
Green()raylib::Colorinlinestatic
LightGray()raylib::Colorinlinestatic
Lime()raylib::Colorinlinestatic
Magenta()raylib::Colorinlinestatic
Maroon()raylib::Colorinlinestatic
Normalize() constraylib::Colorinline
operator int() constraylib::Colorinline
operator=(const ::Color &color) (defined in raylib::Color)raylib::Colorinline
Orange() (defined in raylib::Color)raylib::Colorinlinestatic
Pink() (defined in raylib::Color)raylib::Colorinlinestatic
Purple() (defined in raylib::Color)raylib::Colorinlinestatic
RayWhite() (defined in raylib::Color)raylib::Colorinlinestatic
Red() (defined in raylib::Color)raylib::Colorinlinestatic
operator int() constraylib::Colorinline
operator=(const ::Color &color)raylib::Colorinline
Orange()raylib::Colorinlinestatic
Pink()raylib::Colorinlinestatic
Purple()raylib::Colorinlinestatic
RayWhite()raylib::Colorinlinestatic
Red()raylib::Colorinlinestatic
SetA(unsigned char value)raylib::Colorinline
SetB(unsigned char value)raylib::Colorinline
SetB(unsigned char value)raylib::Colorinline
SetG(unsigned char value)raylib::Colorinline
SetR(unsigned char value)raylib::Colorinline
SkyBlue() (defined in raylib::Color)raylib::Colorinlinestatic
ToHSV() constraylib::Colorinline
SetR(unsigned char value)raylib::Colorinline
SkyBlue()raylib::Colorinlinestatic
ToHSV() constraylib::Colorinline
ToInt() constraylib::Colorinline
Violet() (defined in raylib::Color)raylib::Colorinlinestatic
White() (defined in raylib::Color)raylib::Colorinlinestatic
Yellow() (defined in raylib::Color)raylib::Colorinlinestatic
Violet()raylib::Colorinlinestatic
White()raylib::Colorinlinestatic
Yellow()raylib::Colorinlinestatic
+

- + diff --git a/docs/classraylib_1_1_color.html b/docs/classraylib_1_1_color.html index b3cce8a8..440dcf58 100644 --- a/docs/classraylib_1_1_color.html +++ b/docs/classraylib_1_1_color.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Color Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Color Class Reference
+
raylib::Color Class Reference

Color type, RGBA (32bit) More...

+ +

#include <Color.hpp>

- - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -181,17 +174,14 @@ - - + + - - + + - - + + @@ -204,107 +194,78 @@ - - + + - - + +

+

Public Member Functions

Color ()
 Black.
 Color ()
 Black. More...
 
Color (::Vector3 hsv)
 Returns a Color from HSV values.
 Color (::Vector3 hsv)
 Returns a Color from HSV values. More...
 
Color (::Vector4 normalized)
 Returns Color from normalized values [0..1].
 Color (::Vector4 normalized)
 Returns Color from normalized values [0..1]. More...
 
Color (const ::Color &color)
 Color (const ::Color &color)
 
Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
 Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
 
Color (unsigned int hexValue)
 Get Color structure from hexadecimal value.
 Color (unsigned int hexValue)
 Get Color structure from hexadecimal value. More...
 
-Color Alpha (float alpha) const
 Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
Color Alpha (float alpha) const
 Returns color with alpha applied, alpha goes from 0.0f to 1.0f. More...
 
-Color AlphaBlend (::Color dst, ::Color tint) const
 Returns src alpha-blended into dst color with tint.
Color AlphaBlend (::Color dst, ::Color tint) const
 Returns src alpha-blended into dst color with tint. More...
 
-ColorClearBackground ()
 Set background color (framebuffer clear color)
 
-ColorDrawLine (::Vector2 startPos, ::Vector2 endPos)
 
-ColorDrawLine (::Vector2 startPos, ::Vector2 endPos, float thick)
 
-ColorDrawLine (int startPosX, int startPosY, int endPosX, int endPosY)
 Draw a line.
 
-ColorDrawLineBezier (::Vector2 startPos, ::Vector2 endPos, float thick)
 
-ColorDrawLineStrip (::Vector2 *points, int numPoints)
 
-ColorDrawPixel (::Vector2 pos)
 Draw a pixel.
 
-ColorDrawPixel (int x, int y)
 
-ColorDrawRectangle (::Rectangle rec)
 
-ColorDrawRectangle (::Rectangle rec, ::Vector2 origin, float rotation)
 
-ColorDrawRectangle (::Vector2 position, ::Vector2 size)
 
-ColorDrawRectangle (int posX, int posY, int width, int height)
 
-ColorDrawRectangleLines (::Rectangle rec, float lineThick)
 
-ColorDrawRectangleLines (int posX, int posY, int width, int height)
 
-ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)
 
-ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
 
-ColorDrawText (const std::string &text, int posX, int posY, int fontSize)
 
-Color Fade (float alpha) const
 Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
ColorClearBackground ()
 Set background color (framebuffer clear color) More...
 
ColorDrawLine (::Vector2 startPos, ::Vector2 endPos)
 
ColorDrawLine (::Vector2 startPos, ::Vector2 endPos, float thick)
 
ColorDrawLine (int startPosX, int startPosY, int endPosX, int endPosY)
 Draw a line. More...
 
ColorDrawLineBezier (::Vector2 startPos, ::Vector2 endPos, float thick)
 
ColorDrawLineStrip (::Vector2 *points, int numPoints)
 
ColorDrawPixel (::Vector2 pos)
 Draw a pixel. More...
 
ColorDrawPixel (int x, int y)
 
ColorDrawRectangle (::Rectangle rec)
 
ColorDrawRectangle (::Rectangle rec, ::Vector2 origin, float rotation)
 
ColorDrawRectangle (::Vector2 position, ::Vector2 size)
 
ColorDrawRectangle (int posX, int posY, int width, int height)
 
ColorDrawRectangleLines (::Rectangle rec, float lineThick)
 
ColorDrawRectangleLines (int posX, int posY, int width, int height)
 
ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)
 
ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
 
ColorDrawText (const std::string &text, int posX, int posY, int fontSize)
 
Color Fade (float alpha) const
 Returns color with alpha applied, alpha goes from 0.0f to 1.0f. More...
 
unsigned char GetA () const
 Retrieves the a value for the object. More...
unsigned char GetR () const
 Retrieves the r value for the object. More...
 
-Vector4 Normalize () const
 Returns Color normalized as float [0..1].
Vector4 Normalize () const
 Returns Color normalized as float [0..1]. More...
 
operator int () const
 Returns hexadecimal value for a Color.
 operator int () const
 Returns hexadecimal value for a Color. More...
 
-Coloroperator= (const ::Color &color)
 
Coloroperator= (const ::Color &color)
 
void SetA (unsigned char value)
 Sets the a value for the object. More...
 
void SetR (unsigned char value)
 Sets the r value for the object. More...
 
-Vector3 ToHSV () const
 Returns HSV values for a Color.
Vector3 ToHSV () const
 Returns HSV values for a Color. More...
 
-int ToInt () const
 Returns hexadecimal value for a Color.
int ToInt () const
 Returns hexadecimal value for a Color. More...
 
- - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

+

Static Public Member Functions

-static Color Beige ()
static Color Beige ()
 
-static Color Black ()
static Color Black ()
 
-static Color Blank ()
static Color Blank ()
 
-static Color Blue ()
static Color Blue ()
 
-static Color Brown ()
static Color Brown ()
 
-static Color DarkBlue ()
static Color DarkBlue ()
 
-static Color DarkBrown ()
static Color DarkBrown ()
 
-static Color DarkGray ()
static Color DarkGray ()
 
-static Color DarkGreen ()
static Color DarkGreen ()
 
-static Color DarkPurple ()
static Color DarkPurple ()
 
-::Color FromHSV (float hue, float saturation, float value)
 Returns a Color from HSV values.
::Color FromHSV (float hue, float saturation, float value)
 Returns a Color from HSV values. More...
 
-static Color Gold ()
static Color Gold ()
 
-static Color Gray ()
static Color Gray ()
 
-static Color Green ()
static Color Green ()
 
-static Color LightGray ()
static Color LightGray ()
 
-static Color Lime ()
static Color Lime ()
 
-static Color Magenta ()
static Color Magenta ()
 
-static Color Maroon ()
static Color Maroon ()
 
-static Color Orange ()
static Color Orange ()
 
-static Color Pink ()
static Color Pink ()
 
-static Color Purple ()
static Color Purple ()
 
-static Color RayWhite ()
static Color RayWhite ()
 
-static Color Red ()
static Color Red ()
 
-static Color SkyBlue ()
static Color SkyBlue ()
 
-static Color Violet ()
static Color Violet ()
 
-static Color White ()
static Color White ()
 
-static Color Yellow ()
static Color Yellow ()
 

Detailed Description

-

Color type, RGBA (32bit)

+

Color type, RGBA (32bit)

Definition at line 14 of file Color.hpp.

-

Member Function Documentation

- -

◆ GetA()

+

Constructor & Destructor Documentation

+ +

◆ Color() [1/6]

+ +

◆ Color() [2/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Color::Color (unsigned char red,
unsigned char green,
unsigned char blue,
unsigned char alpha = 255 
)
+
+inline
+
+ +

Definition at line 20 of file Color.hpp.

- -

◆ GetB()

+ +

◆ Color() [3/6]

- -

◆ GetG()

+ +

◆ Color() [4/6]

- -

◆ GetR()

+ +

◆ Color() [5/6]

- -

◆ SetA()

+ +

◆ Color() [6/6]

- -

◆ SetB()

+

Member Function Documentation

+ +

◆ Alpha()

- -

◆ SetG()

+ +

◆ AlphaBlend()

- -

◆ SetR()

+ +

◆ Beige()

+ +

◆ Black()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Black ()
+
+inlinestatic
+
+ +

Definition at line 242 of file Color.hpp.

+ +
+
+ +

◆ Blank()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Blank ()
+
+inlinestatic
+
+ +

Definition at line 243 of file Color.hpp.

+ +
+
+ +

◆ Blue()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Blue ()
+
+inlinestatic
+
+ +

Definition at line 233 of file Color.hpp.

+ +
+
+ +

◆ Brown()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Brown ()
+
+inlinestatic
+
+ +

Definition at line 239 of file Color.hpp.

+ +
+
+ +

◆ ClearBackground()

+ +
+
+ + + - + - + @@ -365,8 +489,8 @@

-

◆ Font() [4/4]

+ +

◆ Font() [7/9]

@@ -438,9 +562,8 @@

Member Function Documentation

- -

◆ GetBaseSize()

+ +

◆ Font() [8/9]

@@ -449,28 +572,24 @@

+ + + + +
Color & raylib::Color::ClearBackground ()
@@ -555,24 +690,1813 @@

-

Sets the r value for the object.

-
Parameters
- - -
valueThe value of which to set r to.
-
-
+

Set background color (framebuffer clear color)

-

Definition at line 94 of file Color.hpp.

+

Definition at line 107 of file Color.hpp.

+ +

References ClearBackground().

+ +

Referenced by ClearBackground().

- - - + +

◆ DarkBlue()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::DarkBlue ()
+
+inlinestatic
+
+ +

Definition at line 234 of file Color.hpp.

+ +
+
+ +

◆ DarkBrown()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::DarkBrown ()
+
+inlinestatic
+
+ +

Definition at line 240 of file Color.hpp.

+ +
+
+ +

◆ DarkGray()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::DarkGray ()
+
+inlinestatic
+
+ +

Definition at line 222 of file Color.hpp.

+ +
+
+ +

◆ DarkGreen()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::DarkGreen ()
+
+inlinestatic
+
+ +

Definition at line 231 of file Color.hpp.

+ +
+
+ +

◆ DarkPurple()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::DarkPurple ()
+
+inlinestatic
+
+ +

Definition at line 237 of file Color.hpp.

+ +
+
+ +

◆ DrawLine() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawLine (::Vector2 startPos,
::Vector2 endPos 
)
+
+inline
+
+ +

Definition at line 133 of file Color.hpp.

+ +
+
+ +

◆ DrawLine() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawLine (::Vector2 startPos,
::Vector2 endPos,
float thick 
)
+
+inline
+
+ +

Definition at line 138 of file Color.hpp.

+ +
+
+ +

◆ DrawLine() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawLine (int startPosX,
int startPosY,
int endPosX,
int endPosY 
)
+
+inline
+
+ +

Draw a line.

+ +

Definition at line 128 of file Color.hpp.

+ +

References DrawLine().

+ +

Referenced by DrawLine().

+ +
+
+ +

◆ DrawLineBezier()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawLineBezier (::Vector2 startPos,
::Vector2 endPos,
float thick 
)
+
+inline
+
+ +

Definition at line 143 of file Color.hpp.

+ +

References DrawLineBezier().

+ +

Referenced by DrawLineBezier().

+ +
+
+ +

◆ DrawLineStrip()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawLineStrip (::Vector2 * points,
int numPoints 
)
+
+inline
+
+ +

Definition at line 148 of file Color.hpp.

+ +

References DrawLineStrip().

+ +

Referenced by DrawLineStrip().

+ +
+
+ +

◆ DrawPixel() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Color & raylib::Color::DrawPixel (::Vector2 pos)
+
+inline
+
+ +

Draw a pixel.

+ +

Definition at line 120 of file Color.hpp.

+ +
+
+ +

◆ DrawPixel() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawPixel (int x,
int y 
)
+
+inline
+
+ +

Definition at line 112 of file Color.hpp.

+ +

References DrawPixel().

+ +

Referenced by DrawPixel().

+ +
+
+ +

◆ DrawRectangle() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + +
Color & raylib::Color::DrawRectangle (::Rectangle rec)
+
+inline
+
+ +

Definition at line 186 of file Color.hpp.

+ +
+
+ +

◆ DrawRectangle() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawRectangle (::Rectangle rec,
::Vector2 origin,
float rotation 
)
+
+inline
+
+ +

Definition at line 191 of file Color.hpp.

+ +
+
+ +

◆ DrawRectangle() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawRectangle (::Vector2 position,
::Vector2 size 
)
+
+inline
+
+ +

Definition at line 181 of file Color.hpp.

+ +
+
+ +

◆ DrawRectangle() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawRectangle (int posX,
int posY,
int width,
int height 
)
+
+inline
+
+ +

Definition at line 176 of file Color.hpp.

+ +

References DrawRectangle().

+ +

Referenced by DrawRectangle().

+ +
+
+ +

◆ DrawRectangleLines() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawRectangleLines (::Rectangle rec,
float lineThick 
)
+
+inline
+
+ +

Definition at line 201 of file Color.hpp.

+ +
+
+ +

◆ DrawRectangleLines() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawRectangleLines (int posX,
int posY,
int width,
int height 
)
+
+inline
+
+ +

Definition at line 196 of file Color.hpp.

+ +

References DrawRectangleLines().

+ +

Referenced by DrawRectangleLines().

+ +
+
+ +

◆ DrawText() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawText (const ::Font & font,
const std::string & text,
::Vector2 position,
::Vector2 origin,
float rotation,
float fontSize,
float spacing 
)
+
+inline
+
+ +

Definition at line 164 of file Color.hpp.

+ +

References raylib::DrawTextPro().

+ +
+
+ +

◆ DrawText() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawText (const ::Font & font,
const std::string & text,
::Vector2 position,
float fontSize,
float spacing 
)
+
+inline
+
+ +

Definition at line 158 of file Color.hpp.

+ +

References raylib::DrawTextEx().

+ +
+
+ +

◆ DrawText() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Color & raylib::Color::DrawText (const std::string & text,
int posX,
int posY,
int fontSize 
)
+
+inline
+
+ +

Definition at line 153 of file Color.hpp.

+ +

References DrawText().

+ +

Referenced by DrawText().

+ +
+
+ +

◆ Fade()

+ +
+
+ + + + + +
+ + + + + + + + +
Color raylib::Color::Fade (float alpha) const
+
+inline
+
+ +

Returns color with alpha applied, alpha goes from 0.0f to 1.0f.

+ +

Definition at line 76 of file Color.hpp.

+ +
+
+ +

◆ FromHSV()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
::Color raylib::Color::FromHSV (float hue,
float saturation,
float value 
)
+
+inlinestatic
+
+ +

Returns a Color from HSV values.

+ +

Definition at line 41 of file Color.hpp.

+ +
+
+ +

◆ GetA()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetA () const
+
+inline
+
+ +

Retrieves the a value for the object.

+
Returns
The a value of the object.
+ +

Definition at line 97 of file Color.hpp.

+ +
+
+ +

◆ GetB()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetB () const
+
+inline
+
+ +

Retrieves the b value for the object.

+
Returns
The b value of the object.
+ +

Definition at line 96 of file Color.hpp.

+ +
+
+ +

◆ GetG()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetG () const
+
+inline
+
+ +

Retrieves the g value for the object.

+
Returns
The g value of the object.
+ +

Definition at line 95 of file Color.hpp.

+ +
+
+ +

◆ GetR()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetR () const
+
+inline
+
+ +

Retrieves the r value for the object.

+
Returns
The r value of the object.
+ +

Definition at line 94 of file Color.hpp.

+ +
+
+ +

◆ Gold()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Gold ()
+
+inlinestatic
+
+ +

Definition at line 224 of file Color.hpp.

+ +
+
+ +

◆ Gray()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Gray ()
+
+inlinestatic
+
+ +

Definition at line 221 of file Color.hpp.

+ +
+
+ +

◆ Green()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Green ()
+
+inlinestatic
+
+ +

Definition at line 229 of file Color.hpp.

+ +
+
+ +

◆ LightGray()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::LightGray ()
+
+inlinestatic
+
+ +

Definition at line 220 of file Color.hpp.

+ +
+
+ +

◆ Lime()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Lime ()
+
+inlinestatic
+
+ +

Definition at line 230 of file Color.hpp.

+ +
+
+ +

◆ Magenta()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Magenta ()
+
+inlinestatic
+
+ +

Definition at line 244 of file Color.hpp.

+ +
+
+ +

◆ Maroon()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Maroon ()
+
+inlinestatic
+
+ +

Definition at line 228 of file Color.hpp.

+ +
+
+ +

◆ Normalize()

+ +
+
+ + + + + +
+ + + + + + + +
Vector4 raylib::Color::Normalize () const
+
+inline
+
+ +

Returns Color normalized as float [0..1].

+ +

Definition at line 83 of file Color.hpp.

+ +
+
+ +

◆ operator int()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Color::operator int () const
+
+inline
+
+ +

Returns hexadecimal value for a Color.

+ +

Definition at line 69 of file Color.hpp.

+ +
+
+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Color & raylib::Color::operator= (const ::Colorcolor)
+
+inline
+
+ +

Definition at line 99 of file Color.hpp.

+ +
+
+ +

◆ Orange()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Orange ()
+
+inlinestatic
+
+ +

Definition at line 225 of file Color.hpp.

+ +
+
+ +

◆ Pink()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Pink ()
+
+inlinestatic
+
+ +

Definition at line 226 of file Color.hpp.

+ +
+
+ +

◆ Purple()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Purple ()
+
+inlinestatic
+
+ +

Definition at line 235 of file Color.hpp.

+ +
+
+ +

◆ RayWhite()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::RayWhite ()
+
+inlinestatic
+
+ +

Definition at line 245 of file Color.hpp.

+ +
+
+ +

◆ Red()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Red ()
+
+inlinestatic
+
+ +

Definition at line 227 of file Color.hpp.

+ +
+
+ +

◆ SetA()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetA (unsigned char value)
+
+inline
+
+ +

Sets the a value for the object.

+
Parameters
+ + +
valueThe value of which to set a to.
+
+
+ +

Definition at line 97 of file Color.hpp.

+ +
+
+ +

◆ SetB()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetB (unsigned char value)
+
+inline
+
+ +

Sets the b value for the object.

+
Parameters
+ + +
valueThe value of which to set b to.
+
+
+ +

Definition at line 96 of file Color.hpp.

+ +
+
+ +

◆ SetG()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetG (unsigned char value)
+
+inline
+
+ +

Sets the g value for the object.

+
Parameters
+ + +
valueThe value of which to set g to.
+
+
+ +

Definition at line 95 of file Color.hpp.

+ +
+
+ +

◆ SetR()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetR (unsigned char value)
+
+inline
+
+ +

Sets the r value for the object.

+
Parameters
+ + +
valueThe value of which to set r to.
+
+
+ +

Definition at line 94 of file Color.hpp.

+ +
+
+ +

◆ SkyBlue()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::SkyBlue ()
+
+inlinestatic
+
+ +

Definition at line 232 of file Color.hpp.

+ +
+
+ +

◆ ToHSV()

+ +
+
+ + + + + +
+ + + + + + + +
Vector3 raylib::Color::ToHSV () const
+
+inline
+
+ +

Returns HSV values for a Color.

+ +

Definition at line 90 of file Color.hpp.

+ +
+
+ +

◆ ToInt()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Color::ToInt () const
+
+inline
+
+ +

Returns hexadecimal value for a Color.

+ +

Definition at line 62 of file Color.hpp.

+ +
+
+ +

◆ Violet()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Violet ()
+
+inlinestatic
+
+ +

Definition at line 236 of file Color.hpp.

+ +
+
+ +

◆ White()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::White ()
+
+inlinestatic
+
+ +

Definition at line 241 of file Color.hpp.

+ +
+
+ +

◆ Yellow()

+ +
+
+ + + + + +
+ + + + + + + +
static Color raylib::Color::Yellow ()
+
+inlinestatic
+
+ +

Definition at line 223 of file Color.hpp.

+ +
+
+ + + + diff --git a/docs/classraylib_1_1_color.js b/docs/classraylib_1_1_color.js new file mode 100644 index 00000000..fb057267 --- /dev/null +++ b/docs/classraylib_1_1_color.js @@ -0,0 +1,69 @@ +var classraylib_1_1_color = +[ + [ "Color", "classraylib_1_1_color.html#ab0221dcd700b9a6add471cbceb718ac6", null ], + [ "Color", "classraylib_1_1_color.html#ab6c57e01798eb39092b260e7c6c008ac", null ], + [ "Color", "classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952", null ], + [ "Color", "classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19", null ], + [ "Color", "classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a", null ], + [ "Color", "classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4", null ], + [ "Alpha", "classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8", null ], + [ "AlphaBlend", "classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88", null ], + [ "Beige", "classraylib_1_1_color.html#a13dc46e6133581a791e918af361fdfcc", null ], + [ "Black", "classraylib_1_1_color.html#a6d4168bda8afca4a98d4e4a6a74c2d63", null ], + [ "Blank", "classraylib_1_1_color.html#a7833da21008e487f44324007b9d8e6c1", null ], + [ "Blue", "classraylib_1_1_color.html#a8bd1ba9bc65bae856d0b716aa85c407d", null ], + [ "Brown", "classraylib_1_1_color.html#aee8f4a4e55fe68cf5d3854208e16c5b7", null ], + [ "ClearBackground", "classraylib_1_1_color.html#ae84cc25e0c83510324e0d30104255cdf", null ], + [ "DarkBlue", "classraylib_1_1_color.html#aaa36d9ed5825ea9ae6795e18038f602c", null ], + [ "DarkBrown", "classraylib_1_1_color.html#a039f0f5467102ffb543109e534c032bd", null ], + [ "DarkGray", "classraylib_1_1_color.html#a862ca7295e95d4783d17538203f8ea3b", null ], + [ "DarkGreen", "classraylib_1_1_color.html#a35a96f8b49a63537fc3b8ab98bb3bc53", null ], + [ "DarkPurple", "classraylib_1_1_color.html#ab8c0bf2dac476d593a1b13a22f436486", null ], + [ "DrawLine", "classraylib_1_1_color.html#a3c3329d71a380e4975824c86ab47fc3d", null ], + [ "DrawLine", "classraylib_1_1_color.html#a31cb01e3e863db20ff5db8167a7d0645", null ], + [ "DrawLine", "classraylib_1_1_color.html#a64c1ccc93aaf5ab30b831d61f9e596bb", null ], + [ "DrawLineBezier", "classraylib_1_1_color.html#a7b18fbaa004f3dc3c07f88e6c136c7ec", null ], + [ "DrawLineStrip", "classraylib_1_1_color.html#a055c8c6241107d615f6e1e700b2b1aff", null ], + [ "DrawPixel", "classraylib_1_1_color.html#aab05b1d70b027f90a8c5a4c55f2d0a28", null ], + [ "DrawPixel", "classraylib_1_1_color.html#af0f2bae5883697ddc2b07762f838a855", null ], + [ "DrawRectangle", "classraylib_1_1_color.html#a65ee3de078230377435d861dc1f10fc2", null ], + [ "DrawRectangle", "classraylib_1_1_color.html#a59da76c14ee59edf6539d221ae119246", null ], + [ "DrawRectangle", "classraylib_1_1_color.html#af75f37960f7ace789d04bb4bdf069e30", null ], + [ "DrawRectangle", "classraylib_1_1_color.html#a5596fcd6409294829c0638c54638da10", null ], + [ "DrawRectangleLines", "classraylib_1_1_color.html#aeae8501be8cb2b5ecd7f30c661fc89ce", null ], + [ "DrawRectangleLines", "classraylib_1_1_color.html#aabca38cee8e5788168eb4aa956a16c19", null ], + [ "DrawText", "classraylib_1_1_color.html#a060f07ce766143cfb243eefe1333052c", null ], + [ "DrawText", "classraylib_1_1_color.html#ac67590e345ada0349145795e080275f1", null ], + [ "DrawText", "classraylib_1_1_color.html#ab3e313480ab7b00435f12188d04027df", null ], + [ "Fade", "classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395", null ], + [ "FromHSV", "classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef", null ], + [ "GetA", "classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08", null ], + [ "GetB", "classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba", null ], + [ "GetG", "classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5", null ], + [ "GetR", "classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06", null ], + [ "Gold", "classraylib_1_1_color.html#ae6bbd8683085506173a48e5fdeccb57a", null ], + [ "Gray", "classraylib_1_1_color.html#aa24ed6bbb02c861b38b6a423dbe902e1", null ], + [ "Green", "classraylib_1_1_color.html#a35c7c0acf332be287b697e6a6a23ccb4", null ], + [ "LightGray", "classraylib_1_1_color.html#adbb50ad15745dddeaa73d04f8b40ad35", null ], + [ "Lime", "classraylib_1_1_color.html#adae7384969481494b66202b43ae2d43e", null ], + [ "Magenta", "classraylib_1_1_color.html#a5dca3460a1ebad5d2db36e4f2da019bb", null ], + [ "Maroon", "classraylib_1_1_color.html#a9400242f7e944453fadc1613507109ce", null ], + [ "Normalize", "classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32", null ], + [ "operator int", "classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf", null ], + [ "operator=", "classraylib_1_1_color.html#a2af61a938ad2780917be855e06621d2d", null ], + [ "Orange", "classraylib_1_1_color.html#afb83cd892356b66cc0603cbe1e147285", null ], + [ "Pink", "classraylib_1_1_color.html#ad93a284f0ef61bf88be66b8bebd14427", null ], + [ "Purple", "classraylib_1_1_color.html#a98e5330224e52e9599c060d82a50609d", null ], + [ "RayWhite", "classraylib_1_1_color.html#a5a43482f133efe9ed65ee6e2899c19db", null ], + [ "Red", "classraylib_1_1_color.html#a649937964940232edccf5cb3c427378b", null ], + [ "SetA", "classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6", null ], + [ "SetB", "classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2", null ], + [ "SetG", "classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77", null ], + [ "SetR", "classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515", null ], + [ "SkyBlue", "classraylib_1_1_color.html#ab630e67b888947c289a25a4a1000671f", null ], + [ "ToHSV", "classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5", null ], + [ "ToInt", "classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606", null ], + [ "Violet", "classraylib_1_1_color.html#a33a800381c93a8a57900fa7d092a00cf", null ], + [ "White", "classraylib_1_1_color.html#ac92b0a8cb0bfc268863553ff5a2af7fb", null ], + [ "Yellow", "classraylib_1_1_color.html#a3e7a0f02d796ca9b8845023c7fd0dbf5", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_font-members.html b/docs/classraylib_1_1_font-members.html index e04d72f0..192868e3 100644 --- a/docs/classraylib_1_1_font-members.html +++ b/docs/classraylib_1_1_font-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Font Member List
+
raylib::Font Member List

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

- - - - - - + + + + + + - + - - - + + + - + - - - + + + - + - - - + + + - - - + + + - + - + - - - + + +
DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)raylib::Fontinline
DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) (defined in raylib::Font)raylib::Fontinline
DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })raylib::Fontinline
Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr) (defined in raylib::Font)raylib::Fontinline
Font() (defined in raylib::Font)raylib::Fontinline
Font(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)raylib::Fontinline
DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)raylib::Fontinline
DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })raylib::Fontinline
Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)raylib::Fontinline
Font()raylib::Fontinline
Font(const ::Font &font)raylib::Fontinline
Font(const std::string &fileName)raylib::Fontinline
Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)raylib::Fontinline
Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)raylib::Fontinline
Font(const ::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
Font(const Font &)=delete (defined in raylib::Font)raylib::Font
Font(Font &&other) (defined in raylib::Font)raylib::Fontinline
Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline
Font(const Font &)=deleteraylib::Font
Font(Font &&other)raylib::Fontinline
GetBaseSize() constraylib::Fontinline
GetGlyphCount() constraylib::Fontinline
GetGlyphCount() constraylib::Fontinline
GetGlyphIndex(int character) constraylib::Fontinline
GetGlyphPadding() constraylib::Fontinline
GetGlyphs() constraylib::Fontinline
GetRecs() constraylib::Fontinline
GetGlyphPadding() constraylib::Fontinline
GetGlyphs() constraylib::Fontinline
GetRecs() constraylib::Fontinline
GetTexture() constraylib::Fontinline
ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
Load(const std::string &fileName)raylib::Fontinline
Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)raylib::Fontinline
Load(const ::Image &image, ::Color key, int firstChar) (defined in raylib::Font)raylib::Fontinline
Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) (defined in raylib::Font)raylib::Fontinline
Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)raylib::Fontinline
Load(const ::Image &image, ::Color key, int firstChar)raylib::Fontinline
Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline
MeasureText(const std::string &text, float fontSize, float spacing) constraylib::Fontinline
operator=(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
operator=(const Font &)=delete (defined in raylib::Font)raylib::Font
operator=(Font &&other) noexcept (defined in raylib::Font)raylib::Fontinline
operator=(const ::Font &font)raylib::Fontinline
operator=(const Font &)=deleteraylib::Font
operator=(Font &&other) noexceptraylib::Fontinline
SetBaseSize(int value)raylib::Fontinline
SetGlyphCount(int value)raylib::Fontinline
SetGlyphCount(int value)raylib::Fontinline
SetGlyphPadding(int value)raylib::Fontinline
SetGlyphs(::GlyphInfo *value)raylib::Fontinline
SetGlyphs(::GlyphInfo *value)raylib::Fontinline
SetRecs(::Rectangle *value)raylib::Fontinline
SetTexture(::Texture2D value)raylib::Fontinline
Unload() (defined in raylib::Font)raylib::Fontinline
~Font() (defined in raylib::Font)raylib::Fontinline
SetTexture(::Texture2D value)raylib::Fontinline
Unload()raylib::Fontinline
~Font()raylib::Fontinline
+ - + diff --git a/docs/classraylib_1_1_font.html b/docs/classraylib_1_1_font.html index b63e2596..571b76c2 100644 --- a/docs/classraylib_1_1_font.html +++ b/docs/classraylib_1_1_font.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Font Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Font Class Reference
+
raylib::Font Class Reference

Font type, includes texture and charSet array data. More...

+ +

#include <Font.hpp>

- - + + + - + - + @@ -98,51 +117,45 @@ - + - + - - - - - - - - + + + + + + + + + + - - + + - - - - - - - + + + + + + + - - + + - + @@ -150,22 +163,17 @@ - + - - + + - - - - - - + + + + + + @@ -178,23 +186,139 @@ - + - + - +

+

Public Member Functions

Font (const ::Font &font)
 Font ()
 
 Font (const ::Font &font)
 
 Font (const ::Image &image, ::Color key, int firstChar)
 Font (const ::Image &image, ::Color key, int firstChar)
 Loads a Font from the given image with a color key. More...
 
Font (const Font &)=delete
 Font (const Font &)=delete
 
 Font (const std::string &fileName)
 Loads a Font from the given file. More...
 Font (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
 Loads a font from memory, based on the given file type and file data. More...
 
Font (Font &&other)
 Font (Font &&other)
 
Font (int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)
 Font (int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)
 
-FontDrawText (const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)
 
-FontDrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
 Draw text using font and additional parameters.
 
-FontDrawText (int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
 Draw one character (codepoint)
 
 ~Font ()
 
FontDrawText (const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)
 
FontDrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
 Draw text using font and additional parameters. More...
 
FontDrawText (int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
 Draw one character (codepoint) More...
 
int GetBaseSize () const
 Retrieves the baseSize value for the object. More...
 
int GetGlyphCount () const
 Retrieves the glyphCount value for the object. More...
 
-int GetGlyphIndex (int character) const
 Get index position for a unicode character on font.
int GetGlyphIndex (int character) const
 Get index position for a unicode character on font. More...
 
int GetGlyphPadding () const
 Retrieves the glyphPadding value for the object. More...
 
::GlyphInfo * GetGlyphs () const
 Retrieves the glyphs value for the object. More...
 
::RectangleGetRecs () const
 Retrieves the recs value for the object. More...
 
::Texture2D GetTexture () const
::GlyphInfo * GetGlyphs () const
 Retrieves the glyphs value for the object. More...
 
::Rectangle * GetRecs () const
 Retrieves the recs value for the object. More...
 
::Texture2D GetTexture () const
 Retrieves the texture value for the object. More...
 
-inline ::Image ImageText (const std::string &text, float fontSize, float spacing, ::Color tint) const
 Create an image from text (custom sprite font)
inline ::Image ImageText (const std::string &text, float fontSize, float spacing, ::Color tint) const
 Create an image from text (custom sprite font) More...
 
-bool Load (const ::Image &image, ::Color key, int firstChar)
bool Load (const ::Image &image, ::Color key, int firstChar)
 
bool Load (const std::string &fileName)
 Loads a font from a given file. More...
bool Load (const std::string &fileName, int fontSize, int *fontChars, int charCount)
 Loads a font from a given file with generation parameters. More...
 
-bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
 
-Vector2 MeasureText (const std::string &text, float fontSize, float spacing) const
 Measure string size for Font.
Vector2 MeasureText (const std::string &text, float fontSize, float spacing) const
 Measure string size for Font. More...
 
-Fontoperator= (const ::Font &font)
 
-Fontoperator= (const Font &)=delete
 
-Fontoperator= (Font &&other) noexcept
 
Fontoperator= (const ::Font &font)
 
Fontoperator= (const Font &)=delete
 
Fontoperator= (Font &&other) noexcept
 
void SetBaseSize (int value)
 Sets the baseSize value for the object. More...
 
void SetGlyphs (::GlyphInfo *value)
 Sets the glyphs value for the object. More...
 
void SetRecs (::Rectangle *value)
void SetRecs (::Rectangle *value)
 Sets the recs value for the object. More...
 
void SetTexture (::Texture2D value)
void SetTexture (::Texture2D value)
 Sets the texture value for the object. More...
 
-void Unload ()
void Unload ()
 

Detailed Description

-

Font type, includes texture and charSet array data.

+

Font type, includes texture and charSet array data.

Definition at line 14 of file Font.hpp.

Constructor & Destructor Documentation

- -

◆ Font() [1/4]

+ +

◆ Font() [1/9]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Font::Font (int baseSize,
int glyphCount,
int glyphPadding,
::Texture2D texture,
::Rectangle * recs = nullptr,
::GlyphInfo * glyphs = nullptr 
)
+
+inline
+
+ +

Definition at line 16 of file Font.hpp.

+ +
+
+ +

◆ Font() [2/9]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Font::Font ()
+
+inline
+
+ +

Definition at line 25 of file Font.hpp.

+ +
+
+ +

◆ Font() [3/9]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Font::Font (const ::Font & font)
+
+inline
+
+ +

Definition at line 29 of file Font.hpp.

+ +
+
+ +

◆ Font() [4/9]

@@ -237,8 +361,8 @@

-

◆ Font() [2/4]

+ +

◆ Font() [5/9]

@@ -304,8 +428,8 @@

-

◆ Font() [3/4]

+ +

◆ Font() [6/9]

@@ -316,13 +440,13 @@

raylib::Font::Font

(const ::Imageconst ::Image &  image,
::Color ::Color  key,
- + + - +
int raylib::Font::GetBaseSize raylib::Font::Font (const Font ) const
-inline +delete
- -

◆ GetGlyphCount()

+ +

◆ Font() [9/9]

- -

◆ GetGlyphPadding()

+ +

◆ ~Font()

- -

◆ GetGlyphs()

+

Member Function Documentation

+ +

◆ DrawText() [1/3]

- -

◆ GetRecs()

+ +

◆ DrawText() [2/3]

- -

◆ GetTexture()

+ +

◆ DrawText() [3/3]

- -

◆ Load() [1/2]

+ +

◆ GetBaseSize()

- -

◆ Load() [2/2]

+ +

◆ GetGlyphCount()

+ +

◆ GetGlyphIndex()

+ +
+
+ + + + + +
+ + + + + + + + +
int raylib::Font::GetGlyphIndex (int character) const
+
+inline
+
+ +

Get index position for a unicode character on font.

+ +

Definition at line 227 of file Font.hpp.

+ +
+
+ +

◆ GetGlyphPadding()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Font::GetGlyphPadding () const
+
+inline
+
+ +

Retrieves the glyphPadding value for the object.

+
Returns
The glyphPadding value of the object.
+ +

Definition at line 113 of file Font.hpp.

+ +
+
+ +

◆ GetGlyphs()

+ +
+
+ + + + + +
+ + + + + + + +
::GlyphInfo * raylib::Font::GetGlyphs () const
+
+inline
+
+ +

Retrieves the glyphs value for the object.

+
Returns
The glyphs value of the object.
+ +

Definition at line 116 of file Font.hpp.

+ +
+
+ +

◆ GetRecs()

+ +
+
+ + + + + +
+ + + + + + + +
::Rectangle * raylib::Font::GetRecs () const
+
+inline
+
+ +

Retrieves the recs value for the object.

+
Returns
The recs value of the object.
+ +

Definition at line 115 of file Font.hpp.

+ +
+
+ +

◆ GetTexture()

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

Retrieves the texture value for the object.

+
Returns
The texture value of the object.
+ +

Definition at line 114 of file Font.hpp.

+ +
+
+ +

◆ ImageText()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
inline ::Image raylib::Font::ImageText (const std::string & text,
float fontSize,
float spacing,
::Color tint 
) const
+
+inline
+
+ +

Create an image from text (custom sprite font)

+ +

Definition at line 234 of file Font.hpp.

+ +
+
+ +

◆ Load() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool raylib::Font::Load (const ::Image & image,
::Color key,
int firstChar 
)
+
+inline
+
+ +

Definition at line 173 of file Font.hpp.

+ +
+
+ +

◆ Load() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Font::Load (const std::string & fileName)
+
+inline
+
+ +

Loads a font from a given file.

+
Parameters
+ + +
fileNameThe filename of the font to load.
+
+
+
Returns
True of false depending on if the font loaded successfully.
+
See also
LoadFont()
+ +

Definition at line 153 of file Font.hpp.

+ +

References raylib::LoadFont().

+ +

Referenced by Font().

+ +
+
+ +

◆ Load() [3/4]

+ +
+
+ + + - + @@ -904,7 +1613,7 @@

+

◆ SetTexture()

@@ -916,7 +1625,7 @@

void raylib::Font::SetTexture

- + @@ -938,14 +1647,45 @@

Definition at line 114 of file Font.hpp.

+ + + +

◆ Unload()

+ +
+
+
+ + + @@ -724,7 +1239,201 @@

+ +

◆ Load() [4/4]

+ +
+
+

bool raylib::Font::Load ( const std::string &  fileName,
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool raylib::Font::Load (const std::string & fileType,
const unsigned char * fileData,
int dataSize,
int fontSize,
int * fontChars,
int charsCount 
)
+
+inline
+
+ +

Definition at line 178 of file Font.hpp.

+ +
+ + +

◆ MeasureText()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Vector2 raylib::Font::MeasureText (const std::string & text,
float fontSize,
float spacing 
) const
+
+inline
+
+ +

Measure string size for Font.

+ +

Definition at line 220 of file Font.hpp.

+ +
+
+ +

◆ operator=() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Font & raylib::Font::operator= (const ::Fontfont)
+
+inline
+
+ +

Definition at line 118 of file Font.hpp.

+ +

References Unload().

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Font & raylib::Font::operator= (const Font)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Font & raylib::Font::operator= (Font && other)
+
+inlinenoexcept
+
+ +

Definition at line 126 of file Font.hpp.

+ +

References Unload().

+ +
+
+

◆ SetBaseSize()

@@ -760,7 +1469,7 @@

+

◆ SetGlyphCount()

@@ -796,7 +1505,7 @@

+

◆ SetGlyphPadding()

@@ -832,7 +1541,7 @@

+

◆ SetGlyphs()

@@ -868,7 +1577,7 @@

+

◆ SetRecs()

@@ -880,7 +1589,7 @@

void raylib::Font::SetRecs

(::Rectangle::Rectangle *  value)
(::Texture2D ::Texture2D  value)
+ + + + +
+ + + + + + + +
void raylib::Font::Unload ()
+
+inline
+
+ +

Definition at line 107 of file Font.hpp.

+ +

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

+
+

- + diff --git a/docs/classraylib_1_1_font.js b/docs/classraylib_1_1_font.js new file mode 100644 index 00000000..fc708e72 --- /dev/null +++ b/docs/classraylib_1_1_font.js @@ -0,0 +1,39 @@ +var classraylib_1_1_font = +[ + [ "Font", "classraylib_1_1_font.html#a748d8c50e914b82a1ad9ef1aea17cda3", null ], + [ "Font", "classraylib_1_1_font.html#a583656ce94c5ade2bf4a47717f767764", null ], + [ "Font", "classraylib_1_1_font.html#a53f097120183d34ad5474989a450bf43", null ], + [ "Font", "classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d", null ], + [ "Font", "classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36", null ], + [ "Font", "classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2", null ], + [ "Font", "classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab", null ], + [ "Font", "classraylib_1_1_font.html#a075661783e8267f508e285d6ce39e959", null ], + [ "Font", "classraylib_1_1_font.html#afde2bd6bb51a7fe6fa02f4d9be73087f", null ], + [ "~Font", "classraylib_1_1_font.html#ac26732eaa27d5984b2c356941b5762ad", null ], + [ "DrawText", "classraylib_1_1_font.html#add919de80266984a0e6edd9ed7a369ef", null ], + [ "DrawText", "classraylib_1_1_font.html#a405b1ea5719be1635ce1d8c285b808a4", null ], + [ "DrawText", "classraylib_1_1_font.html#abf655ac8083416f713aae42a0b6a7ebc", null ], + [ "GetBaseSize", "classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c", null ], + [ "GetGlyphCount", "classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f", null ], + [ "GetGlyphIndex", "classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42", null ], + [ "GetGlyphPadding", "classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e", null ], + [ "GetGlyphs", "classraylib_1_1_font.html#ac972978ae2c9eeae6e8eb84c7862fdbf", null ], + [ "GetRecs", "classraylib_1_1_font.html#a2cf2de21c55bb097a8b6b008ca1330e1", null ], + [ "GetTexture", "classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291", null ], + [ "ImageText", "classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22", null ], + [ "Load", "classraylib_1_1_font.html#ac5609b3df50ef4099b37b5d80c297046", null ], + [ "Load", "classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf", null ], + [ "Load", "classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d", null ], + [ "Load", "classraylib_1_1_font.html#aae929ad00282f7fd0f527702039dd362", null ], + [ "MeasureText", "classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553", null ], + [ "operator=", "classraylib_1_1_font.html#a372d60f4b8911722eefdff34f10eab13", null ], + [ "operator=", "classraylib_1_1_font.html#aaedf5057acbe7cf503d074a9a6343879", null ], + [ "operator=", "classraylib_1_1_font.html#a8858311926baabe96b51cb015241568e", null ], + [ "SetBaseSize", "classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94", null ], + [ "SetGlyphCount", "classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073", null ], + [ "SetGlyphPadding", "classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1", null ], + [ "SetGlyphs", "classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4", null ], + [ "SetRecs", "classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9", null ], + [ "SetTexture", "classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8", null ], + [ "Unload", "classraylib_1_1_font.html#a626232061626ccd76870cf9d81e56ca5", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_gamepad-members.html b/docs/classraylib_1_1_gamepad-members.html index f5c0999d..20ad6d33 100644 --- a/docs/classraylib_1_1_gamepad-members.html +++ b/docs/classraylib_1_1_gamepad-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Gamepad Member List
+
raylib::Gamepad Member List

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

- - + + - + - + - + - + - - - + + + - - - + + +
Gamepad(int gamepadNumber=0) (defined in raylib::Gamepad)raylib::Gamepadinline
GetAxisCount() constraylib::Gamepadinline
Gamepad(int gamepadNumber=0)raylib::Gamepadinline
GetAxisCount() constraylib::Gamepadinline
GetAxisMovement(int axis) constraylib::Gamepadinline
GetButtonPressed() constraylib::Gamepadinline
GetButtonPressed() constraylib::Gamepadinline
GetName() constraylib::Gamepadinline
GetNumber() constraylib::Gamepadinline
GetNumber() constraylib::Gamepadinline
IsAvailable() constraylib::Gamepadinline
IsAvailable(int number)raylib::Gamepadinlinestatic
IsAvailable(int number)raylib::Gamepadinlinestatic
IsButtonDown(int button) constraylib::Gamepadinline
IsButtonPressed(int button) constraylib::Gamepadinline
IsButtonPressed(int button) constraylib::Gamepadinline
IsButtonReleased(int button) constraylib::Gamepadinline
IsButtonUp(int button) constraylib::Gamepadinline
number (defined in raylib::Gamepad)raylib::Gamepad
operator int() const (defined in raylib::Gamepad)raylib::Gamepadinline
IsButtonUp(int button) constraylib::Gamepadinline
numberraylib::Gamepad
operator int() constraylib::Gamepadinline
operator std::string() constraylib::Gamepadinline
operator=(const Gamepad &gamepad) (defined in raylib::Gamepad)raylib::Gamepadinline
operator=(int gamepadNumber) (defined in raylib::Gamepad)raylib::Gamepadinline
SetNumber(int value)raylib::Gamepadinline
operator=(const Gamepad &gamepad)raylib::Gamepadinline
operator=(int gamepadNumber)raylib::Gamepadinline
SetNumber(int value)raylib::Gamepadinline
+

- + diff --git a/docs/classraylib_1_1_gamepad.html b/docs/classraylib_1_1_gamepad.html index 666e3d8a..62138fb6 100644 --- a/docs/classraylib_1_1_gamepad.html +++ b/docs/classraylib_1_1_gamepad.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Gamepad Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Gamepad Class Reference
+
raylib::Gamepad Class Reference

Input-related functions: gamepads. More...

+ +

#include <Gamepad.hpp>

- - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - - - + + + +

+

Public Member Functions

Gamepad (int gamepadNumber=0)
 Gamepad (int gamepadNumber=0)
 
-int GetAxisCount () const
 Return gamepad axis count for a gamepad.
int GetAxisCount () const
 Return gamepad axis count for a gamepad. More...
 
-float GetAxisMovement (int axis) const
 Return axis movement value for a gamepad axis.
float GetAxisMovement (int axis) const
 Return axis movement value for a gamepad axis. More...
 
-int GetButtonPressed () const
 Get the last gamepad button pressed.
int GetButtonPressed () const
 Get the last gamepad button pressed. More...
 
-std::string GetName () const
 Return gamepad internal name id.
std::string GetName () const
 Return gamepad internal name id. More...
 
int GetNumber () const
 Retrieves the number value for the object. More...
 
-bool IsAvailable () const
 Detect if a gamepad is available.
bool IsAvailable () const
 Detect if a gamepad is available. More...
 
-bool IsButtonDown (int button) const
 Detect if a gamepad button is being pressed.
bool IsButtonDown (int button) const
 Detect if a gamepad button is being pressed. More...
 
-bool IsButtonPressed (int button) const
 Detect if a gamepad button has been pressed once.
bool IsButtonPressed (int button) const
 Detect if a gamepad button has been pressed once. More...
 
-bool IsButtonReleased (int button) const
 Detect if a gamepad button has been released once.
bool IsButtonReleased (int button) const
 Detect if a gamepad button has been released once. More...
 
-bool IsButtonUp (int button) const
 Detect if a gamepad button is NOT being pressed.
bool IsButtonUp (int button) const
 Detect if a gamepad button is NOT being pressed. More...
 
operator int () const
 operator int () const
 
operator std::string () const
 Return gamepad internal name id.
 operator std::string () const
 Return gamepad internal name id. More...
 
-Gamepadoperator= (const Gamepad &gamepad)
 
-Gamepadoperator= (int gamepadNumber)
 
Gamepadoperator= (const Gamepad &gamepad)
 
Gamepadoperator= (int gamepadNumber)
 
void SetNumber (int value)
 Sets the number value for the object. More...
 
- - - + +

+

Static Public Member Functions

-static bool IsAvailable (int number)
 Detect if a gamepad is available.
static bool IsAvailable (int number)
 Detect if a gamepad is available. More...
 
- - +

+

Public Attributes

-int number
int number
 

Detailed Description

-

Input-related functions: gamepads.

+

Input-related functions: gamepads.

Definition at line 13 of file Gamepad.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ Gamepad()

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Gamepad::Gamepad (int gamepadNumber = 0)
+
+inline
+
+ +

Definition at line 15 of file Gamepad.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ GetAxisCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Gamepad::GetAxisCount () const
+
+inline
+
+ +

Return gamepad axis count for a gamepad.

+ +

Definition at line 100 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ GetAxisMovement()

+ +
+
+ + + + + +
+ + + + + + + + +
float raylib::Gamepad::GetAxisMovement (int axis) const
+
+inline
+
+ +

Return axis movement value for a gamepad axis.

+ +

Definition at line 107 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ GetButtonPressed()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Gamepad::GetButtonPressed () const
+
+inline
+
+ +

Get the last gamepad button pressed.

+ +

Definition at line 93 of file Gamepad.hpp.

+ +
+
+ +

◆ GetName()

+ +
+
+ + + + + +
+ + + + + + + +
std::string raylib::Gamepad::GetName () const
+
+inline
+
+ +

Return gamepad internal name id.

+ +

Definition at line 51 of file Gamepad.hpp.

+ +

References number.

+ +

Referenced by operator std::string().

+ +
+
+

◆ GetNumber()

@@ -189,7 +346,314 @@

+ +

◆ IsAvailable() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Gamepad::IsAvailable () const
+
+inline
+
+ +

Detect if a gamepad is available.

+ +

Definition at line 37 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ IsAvailable() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
static bool raylib::Gamepad::IsAvailable (int number)
+
+inlinestatic
+
+ +

Detect if a gamepad is available.

+ +

Definition at line 44 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ IsButtonDown()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Gamepad::IsButtonDown (int button) const
+
+inline
+
+ +

Detect if a gamepad button is being pressed.

+ +

Definition at line 72 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ IsButtonPressed()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Gamepad::IsButtonPressed (int button) const
+
+inline
+
+ +

Detect if a gamepad button has been pressed once.

+ +

Definition at line 65 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ IsButtonReleased()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Gamepad::IsButtonReleased (int button) const
+
+inline
+
+ +

Detect if a gamepad button has been released once.

+ +

Definition at line 79 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ IsButtonUp()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Gamepad::IsButtonUp (int button) const
+
+inline
+
+ +

Detect if a gamepad button is NOT being pressed.

+ +

Definition at line 86 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ operator int()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Gamepad::operator int () const
+
+inline
+
+ +

Definition at line 32 of file Gamepad.hpp.

+ +

References number.

+ +
+
+ +

◆ operator std::string()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Gamepad::operator std::string () const
+
+inline
+
+ +

Return gamepad internal name id.

+ +

Definition at line 58 of file Gamepad.hpp.

+ +

References GetName().

+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Gamepad & raylib::Gamepad::operator= (const Gamepadgamepad)
+
+inline
+
+ +

Definition at line 22 of file Gamepad.hpp.

+ +
+
+ +

◆ operator=() [2/2]

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

Definition at line 27 of file Gamepad.hpp.

+ +
+
+

◆ SetNumber()

@@ -223,14 +687,35 @@

Definition at line 20 of file Gamepad.hpp.

+

+

+

Member Data Documentation

+ +

◆ number

+ +
+
+ + + + +
int raylib::Gamepad::number
+
+

- + diff --git a/docs/classraylib_1_1_gamepad.js b/docs/classraylib_1_1_gamepad.js new file mode 100644 index 00000000..8db1f899 --- /dev/null +++ b/docs/classraylib_1_1_gamepad.js @@ -0,0 +1,21 @@ +var classraylib_1_1_gamepad = +[ + [ "Gamepad", "classraylib_1_1_gamepad.html#a21fe706b843ce2196f52c1c08ea0d92a", null ], + [ "GetAxisCount", "classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9", null ], + [ "GetAxisMovement", "classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95", null ], + [ "GetButtonPressed", "classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11", null ], + [ "GetName", "classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984", null ], + [ "GetNumber", "classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b", null ], + [ "IsAvailable", "classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912", null ], + [ "IsAvailable", "classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85", null ], + [ "IsButtonDown", "classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5", null ], + [ "IsButtonPressed", "classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c", null ], + [ "IsButtonReleased", "classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201", null ], + [ "IsButtonUp", "classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b", null ], + [ "operator int", "classraylib_1_1_gamepad.html#ab735b8107395f0694baf4ef8bb92092d", null ], + [ "operator std::string", "classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c", null ], + [ "operator=", "classraylib_1_1_gamepad.html#af0d08d3ed4fdb915aea6c2dda49828ef", null ], + [ "operator=", "classraylib_1_1_gamepad.html#a2d72d578a8a7815e74cfdf811fe9e6cb", null ], + [ "SetNumber", "classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b", null ], + [ "number", "classraylib_1_1_gamepad.html#a66632b63f6edf508a980e9198f60a8f3", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_image-members.html b/docs/classraylib_1_1_image-members.html index fd5be961..ea194073 100644 --- a/docs/classraylib_1_1_image-members.html +++ b/docs/classraylib_1_1_image-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Image Member List
+
raylib::Image Member List

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

- - - - + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - + - + - + - + - + - - - + + + - + - + - - - - - + + + + + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - - - + + + - + - - + +
AlphaClear(::Color color, float threshold)raylib::Imageinline
AlphaCrop(float threshold)raylib::Imageinline
AlphaMask(const ::Image &alphaMask)raylib::Imageinline
AlphaPremultiply()raylib::Imageinline
AlphaClear(::Color color, float threshold)raylib::Imageinline
AlphaCrop(float threshold)raylib::Imageinline
AlphaMask(const ::Image &alphaMask)raylib::Imageinline
AlphaPremultiply()raylib::Imageinline
Cellular(int width, int height, int tileSize)raylib::Imageinlinestatic
Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})raylib::Imageinlinestatic
ClearBackground(::Color color={0, 0, 0, 255})raylib::Imageinline
Color(int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinlinestatic
ColorBrightness(int brightness)raylib::Imageinline
ColorContrast(float contrast)raylib::Imageinline
ColorGrayscale()raylib::Imageinline
ColorInvert()raylib::Imageinline
ColorReplace(::Color color, ::Color replace)raylib::Imageinline
ColorTint(::Color color={255, 255, 255, 255})raylib::Imageinline
Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})raylib::Imageinlinestatic
ClearBackground(::Color color={0, 0, 0, 255})raylib::Imageinline
Color(int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinlinestatic
ColorBrightness(int brightness)raylib::Imageinline
ColorContrast(float contrast)raylib::Imageinline
ColorGrayscale()raylib::Imageinline
ColorInvert()raylib::Imageinline
ColorReplace(::Color color, ::Color replace)raylib::Imageinline
ColorTint(::Color color={255, 255, 255, 255})raylib::Imageinline
Copy() constraylib::Imageinline
Crop(::Rectangle crop)raylib::Imageinline
Crop(int newWidth, int newHeight)raylib::Imageinline
Crop(::Vector2 size)raylib::Imageinline
Crop(int offsetX, int offsetY, int newWidth, int newHeight)raylib::Imageinline
Dither(int rBpp, int gBpp, int bBpp, int aBpp)raylib::Imageinline
Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Crop(::Rectangle crop)raylib::Imageinline
Crop(int newWidth, int newHeight)raylib::Imageinline
Crop(::Vector2 size)raylib::Imageinline
Crop(int offsetX, int offsetY, int newWidth, int newHeight)raylib::Imageinline
Dither(int rBpp, int gBpp, int bBpp, int aBpp)raylib::Imageinline
Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})raylib::Imageinline
DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})raylib::Imageinline
Export(const std::string &fileName) constraylib::Imageinline
ExportAsCode(const std::string &fileName) constraylib::Imageinline
FlipHorizontal()raylib::Imageinline
FlipVertical()raylib::Imageinline
Format(int newFormat)raylib::Imageinline
FromImage(::Rectangle rec) constraylib::Imageinline
ExportAsCode(const std::string &fileName) constraylib::Imageinline
FlipHorizontal()raylib::Imageinline
FlipVertical()raylib::Imageinline
Format(int newFormat)raylib::Imageinline
FromImage(::Rectangle rec) constraylib::Imageinline
GetAlphaBorder(float threshold) constraylib::Imageinline
GetData() constraylib::Imageinline
GetData() constraylib::Imageinline
GetFormat() constraylib::Imageinline
GetHeight() constraylib::Imageinline
GetHeight() constraylib::Imageinline
GetMipmaps() constraylib::Imageinline
GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)raylib::Imageinlinestatic
GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)raylib::Imageinlinestatic
GetPixelDataSize() constraylib::Imageinline
GetSize() constraylib::Imageinline
GetSize() constraylib::Imageinline
GetWidth() constraylib::Imageinline
GradientH(int width, int height, ::Color left, ::Color right)raylib::Imageinlinestatic
GradientH(int width, int height, ::Color left, ::Color right)raylib::Imageinlinestatic
GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)raylib::Imageinlinestatic
GradientV(int width, int height, ::Color top, ::Color bottom)raylib::Imageinlinestatic
Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0) (defined in raylib::Image)raylib::Imageinline
Image(const ::Image &image) (defined in raylib::Image)raylib::Imageinline
GradientV(int width, int height, ::Color top, ::Color bottom)raylib::Imageinlinestatic
Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)raylib::Imageinline
Image(const ::Image &image)raylib::Imageinline
Image(const std::string &fileName)raylib::Imageinline
Image(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline
Image(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline
Image(const std::string &fileName, int *frames)raylib::Imageinline
Image(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
Image(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
Image(const ::Texture2D &texture)raylib::Imageinline
Image(int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Image(const Image &other) (defined in raylib::Image)raylib::Imageinline
Image(Image &&other) (defined in raylib::Image)raylib::Imageinline
Image(int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinline
Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinline
Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})raylib::Imageinline
Image(const Image &other)raylib::Imageinline
Image(Image &&other)raylib::Imageinline
IsReady() constraylib::Imageinline
Load(const std::string &fileName)raylib::Imageinline
Load(const std::string &fileName)raylib::Imageinline
Load(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline
Load(const std::string &fileName, int *frames)raylib::Imageinline
Load(const std::string &fileName, int *frames)raylib::Imageinline
Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
Load(const ::Texture2D &texture)raylib::Imageinline
LoadColors() constraylib::Imageinline
LoadFromScreen()raylib::Imageinlinestatic
LoadPalette(int maxPaletteSize, int *colorsCount) constraylib::Imageinline
LoadTexture() constraylib::Imageinline
Mipmaps()raylib::Imageinline
operator::Texture2D()raylib::Imageinline
operator=(const ::Image &image) (defined in raylib::Image)raylib::Imageinline
operator=(const Image &other) (defined in raylib::Image)raylib::Imageinline
operator=(Image &&other) noexcept (defined in raylib::Image)raylib::Imageinline
Resize(int newWidth, int newHeight)raylib::Imageinline
ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})raylib::Imageinline
ResizeNN(int newWidth, int newHeight)raylib::Imageinline
RotateCCW()raylib::Imageinline
RotateCW()raylib::Imageinline
Load(const ::Texture2D &texture)raylib::Imageinline
LoadColors() constraylib::Imageinline
LoadFromScreen()raylib::Imageinlinestatic
LoadPalette(int maxPaletteSize, int *colorsCount) constraylib::Imageinline
LoadTexture() constraylib::Imageinline
Mipmaps()raylib::Imageinline
operator::Texture2D()raylib::Imageinline
operator=(const ::Image &image)raylib::Imageinline
operator=(const Image &other)raylib::Imageinline
operator=(Image &&other) noexceptraylib::Imageinline
Resize(int newWidth, int newHeight)raylib::Imageinline
ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})raylib::Imageinline
ResizeNN(int newWidth, int newHeight)raylib::Imageinline
RotateCCW()raylib::Imageinline
RotateCW()raylib::Imageinline
SetData(void *value)raylib::Imageinline
SetFormat(int value)raylib::Imageinline
SetFormat(int value)raylib::Imageinline
SetHeight(int value)raylib::Imageinline
SetMipmaps(int value)raylib::Imageinline
SetMipmaps(int value)raylib::Imageinline
SetWidth(int value)raylib::Imageinline
Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic
Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic
ToPOT(::Color fillColor)raylib::Imageinline
Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinlinestatic
Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})raylib::Imageinlinestatic
ToPOT(::Color fillColor)raylib::Imageinline
Unload()raylib::Imageinline
UnloadColors(::Color *colors) constraylib::Imageinline
UnloadColors(::Color *colors) constraylib::Imageinline
UnloadPalette(::Color *colors) constraylib::Imageinline
WhiteNoise(int width, int height, float factor)raylib::Imageinlinestatic
~Image() (defined in raylib::Image)raylib::Imageinline
WhiteNoise(int width, int height, float factor)raylib::Imageinlinestatic
~Image()raylib::Imageinline
+ - + diff --git a/docs/classraylib_1_1_image.html b/docs/classraylib_1_1_image.html index f231aa7b..9394d529 100644 --- a/docs/classraylib_1_1_image.html +++ b/docs/classraylib_1_1_image.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Image Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Image Class Reference
+
raylib::Image Class Reference

Image type, bpp always RGBA (32bit) More...

+ +

#include <Image.hpp>

- - + - + - + - + @@ -105,157 +121,120 @@ - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - + + + @@ -268,9 +247,8 @@ - - + + @@ -278,7 +256,7 @@ - + @@ -293,54 +271,42 @@ - - - - - - - - + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -356,75 +322,145 @@ - - - - - + + + + + - - + + - - + +

+

Public Member Functions

Image (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 Image (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 
Image (const ::Image &image)
 Image (const ::Image &image)
 
 Image (const ::Texture2D &texture)
 Image (const ::Texture2D &texture)
 Load an image from the given file. More...
 
Image (const Image &other)
 Image (const Image &other)
 
 Image (const std::string &fileName)
 Load an image from the given file. More...
 Image (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load an image from the given file. More...
 
Image (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
 Image (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
 
Image (Image &&other)
 Image (Image &&other)
 
Image (int width, int height, ::Color color={255, 255, 255, 255})
 Image (int width, int height, ::Color color={255, 255, 255, 255})
 
Image (void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)
 Image (void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)
 
-ImageAlphaClear (::Color color, float threshold)
 Clear alpha channel to desired color.
 
-ImageAlphaCrop (float threshold)
 Crop image depending on alpha value.
 
-ImageAlphaMask (const ::Image &alphaMask)
 Apply alpha mask to image.
 
-ImageAlphaPremultiply ()
 Premultiply alpha channel.
 
-ImageClearBackground (::Color color={0, 0, 0, 255})
 Clear image background with given color.
 
ImageColorBrightness (int brightness)
 Modify image color: brightness. More...
 
ImageColorContrast (float contrast)
 Modify image color: contrast. More...
 
-ImageColorGrayscale ()
 Modify image color: grayscale.
 
-ImageColorInvert ()
 Modify image color: invert.
 
-ImageColorReplace (::Color color, ::Color replace)
 Modify image color: replace color.
 
-ImageColorTint (::Color color={255, 255, 255, 255})
 Modify image color: tint.
 
-inline ::Image Copy () const
 Create an image duplicate (useful for transformations)
 ~Image ()
 
ImageAlphaClear (::Color color, float threshold)
 Clear alpha channel to desired color. More...
 
ImageAlphaCrop (float threshold)
 Crop image depending on alpha value. More...
 
ImageAlphaMask (const ::Image &alphaMask)
 Apply alpha mask to image. More...
 
ImageAlphaPremultiply ()
 Premultiply alpha channel. More...
 
ImageClearBackground (::Color color={0, 0, 0, 255})
 Clear image background with given color. More...
 
ImageColorBrightness (int brightness)
 Modify image color: brightness. More...
 
ImageColorContrast (float contrast)
 Modify image color: contrast. More...
 
ImageColorGrayscale ()
 Modify image color: grayscale. More...
 
ImageColorInvert ()
 Modify image color: invert. More...
 
ImageColorReplace (::Color color, ::Color replace)
 Modify image color: replace color. More...
 
ImageColorTint (::Color color={255, 255, 255, 255})
 Modify image color: tint. More...
 
inline ::Image Copy () const
 Create an image duplicate (useful for transformations) More...
 
-ImageCrop (::Rectangle crop)
 Crop an image to area defined by a rectangle.
 
-ImageCrop (::Vector2 size)
 Crop an image to a new given width and height based on a vector.
 
-ImageCrop (int newWidth, int newHeight)
 Crop an image to a new given width and height.
 
-ImageCrop (int offsetX, int offsetY, int newWidth, int newHeight)
 Crop an image to area defined by a rectangle.
 
-ImageDither (int rBpp, int gBpp, int bBpp, int aBpp)
 Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
 
-ImageDraw (const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})
 
-ImageDrawCircle (::Vector2 center, int radius, ::Color color={255, 255, 255, 255})
 
-ImageDrawCircle (int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})
 
-ImageDrawLine (::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})
 
-ImageDrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})
 
-ImageDrawPixel (::Vector2 position, ::Color color={255, 255, 255, 255})
 
-ImageDrawPixel (int posX, int posY, ::Color color={255, 255, 255, 255})
 Draw pixel within an image.
 
-ImageDrawRectangle (::Rectangle rec, ::Color color={255, 255, 255, 255})
 
-ImageDrawRectangle (int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})
 
-ImageDrawRectangle (Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})
 
-ImageDrawRectangleLines (::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})
 
-ImageDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 
-ImageDrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})
 
-ImageDrawText (const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})
 
-bool Export (const std::string &fileName) const
 Export image data to file, returns true on success.
ImageCrop (::Rectangle crop)
 Crop an image to area defined by a rectangle. More...
 
ImageCrop (::Vector2 size)
 Crop an image to a new given width and height based on a vector. More...
 
ImageCrop (int newWidth, int newHeight)
 Crop an image to a new given width and height. More...
 
ImageCrop (int offsetX, int offsetY, int newWidth, int newHeight)
 Crop an image to area defined by a rectangle. More...
 
ImageDither (int rBpp, int gBpp, int bBpp, int aBpp)
 Dither image data to 16bpp or lower (Floyd-Steinberg dithering) More...
 
ImageDraw (const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})
 
ImageDrawCircle (::Vector2 center, int radius, ::Color color={255, 255, 255, 255})
 
ImageDrawCircle (int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})
 
ImageDrawLine (::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})
 
ImageDrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})
 
ImageDrawPixel (::Vector2 position, ::Color color={255, 255, 255, 255})
 
ImageDrawPixel (int posX, int posY, ::Color color={255, 255, 255, 255})
 Draw pixel within an image. More...
 
ImageDrawRectangle (::Rectangle rec, ::Color color={255, 255, 255, 255})
 
ImageDrawRectangle (int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})
 
ImageDrawRectangle (Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})
 
ImageDrawRectangleLines (::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})
 
ImageDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 
ImageDrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})
 
ImageDrawText (const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})
 
bool Export (const std::string &fileName) const
 Export image data to file, returns true on success. More...
 
-bool ExportAsCode (const std::string &fileName) const
 Export image as code file defining an array of bytes, returns true on success.
bool ExportAsCode (const std::string &fileName) const
 Export image as code file defining an array of bytes, returns true on success. More...
 
-ImageFlipHorizontal ()
 Flip image horizontally.
 
-ImageFlipVertical ()
 Flip image vertically.
 
-ImageFormat (int newFormat)
 Convert image data to desired format.
 
-inline ::Image FromImage (::Rectangle rec) const
 Create an image from another image piece.
ImageFlipHorizontal ()
 Flip image horizontally. More...
 
ImageFlipVertical ()
 Flip image vertically. More...
 
ImageFormat (int newFormat)
 Convert image data to desired format. More...
 
inline ::Image FromImage (::Rectangle rec) const
 Create an image from another image piece. More...
 
Rectangle GetAlphaBorder (float threshold) const
 Get image alpha border rectangle. More...
 
void * GetData () const
 Retrieves the data value for the object. More...
 
void * GetData () const
 Retrieves the data value for the object. More...
 
int GetFormat () const
 Retrieves the format value for the object. More...
 
int GetPixelDataSize () const
 Returns the pixel data size based on the current image. More...
 
-inline ::Vector2 GetSize () const
 Retrieve the width and height of the image.
inline ::Vector2 GetSize () const
 Retrieve the width and height of the image. More...
 
int GetWidth () const
 Retrieves the width value for the object. More...
bool IsReady () const
 Retrieve whether or not the Image has been loaded. More...
 
bool Load (const ::Texture2D &texture)
bool Load (const ::Texture2D &texture)
 Load an image from the given file. More...
 
bool Load (const std::string &fileName)
bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load image from memory buffer, fileType refers to extension: i.e. More...
 
-inline ::ColorLoadColors () const
 Load color data from image as a Color array (RGBA - 32bit)
 
-inline ::ColorLoadPalette (int maxPaletteSize, int *colorsCount) const
 Load colors palette from image as a Color array (RGBA - 32bit)
 
-inline ::Texture2D LoadTexture () const
 Load texture from image data.
inline ::ColorLoadColors () const
 Load color data from image as a Color array (RGBA - 32bit) More...
 
inline ::ColorLoadPalette (int maxPaletteSize, int *colorsCount) const
 Load colors palette from image as a Color array (RGBA - 32bit) More...
 
inline ::Texture2D LoadTexture () const
 Load texture from image data. More...
 
-ImageMipmaps ()
 Generate all mipmap levels for a provided image.
 
ImageMipmaps ()
 Generate all mipmap levels for a provided image. More...
 
 operator::Texture2D ()
 Loads a texture from the image data. More...
 
-Imageoperator= (const ::Image &image)
 
-Imageoperator= (const Image &other)
 
-Imageoperator= (Image &&other) noexcept
 
-ImageResize (int newWidth, int newHeight)
 Resize and image to new size.
 
-ImageResizeCanvas (int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
 Resize canvas and fill with color.
 
-ImageResizeNN (int newWidth, int newHeight)
 Resize and image to new size using Nearest-Neighbor scaling algorithm.
 
-ImageRotateCCW ()
 Rotate image counter-clockwise 90deg.
 
-ImageRotateCW ()
 Rotate image clockwise 90deg.
 
Imageoperator= (const ::Image &image)
 
Imageoperator= (const Image &other)
 
Imageoperator= (Image &&other) noexcept
 
ImageResize (int newWidth, int newHeight)
 Resize and image to new size. More...
 
ImageResizeCanvas (int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
 Resize canvas and fill with color. More...
 
ImageResizeNN (int newWidth, int newHeight)
 Resize and image to new size using Nearest-Neighbor scaling algorithm. More...
 
ImageRotateCCW ()
 Rotate image counter-clockwise 90deg. More...
 
ImageRotateCW ()
 Rotate image clockwise 90deg. More...
 
void SetData (void *value)
 Sets the data value for the object. More...
 
void SetWidth (int value)
 Sets the width value for the object. More...
 
-ImageToPOT (::Color fillColor)
 Convert image to POT (power-of-two)
 
-void Unload ()
 Unload image from CPU memory (RAM)
ImageToPOT (::Color fillColor)
 Convert image to POT (power-of-two) More...
 
void Unload ()
 Unload image from CPU memory (RAM) More...
 
-void UnloadColors (::Color *colors) const
 Unload color data loaded with LoadImageColors()
void UnloadColors (::Color *colors) const
 Unload color data loaded with LoadImageColors() More...
 
-void UnloadPalette (::Color *colors) const
 Unload colors palette loaded with LoadImagePalette()
void UnloadPalette (::Color *colors) const
 Unload colors palette loaded with LoadImagePalette() More...
 
- - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + +

+

Static Public Member Functions

::Image Cellular (int width, int height, int tileSize)
::Image Cellular (int width, int height, int tileSize)
 Generate image: cellular algorithm. More...
 
-::Image Checked (int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
 Generate image: checked.
::Image Checked (int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
 Generate image: checked. More...
 
-::Image Color (int width, int height, ::Color color={255, 255, 255, 255})
 Generate image: plain color.
::Image Color (int width, int height, ::Color color={255, 255, 255, 255})
 Generate image: plain color. More...
 
-static int GetPixelDataSize (int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
 Get pixel data size in bytes for certain format.
static int GetPixelDataSize (int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
 Get pixel data size in bytes for certain format. More...
 
-::Image GradientH (int width, int height, ::Color left, ::Color right)
 Generate image: horizontal gradient.
::Image GradientH (int width, int height, ::Color left, ::Color right)
 Generate image: horizontal gradient. More...
 
-::Image GradientRadial (int width, int height, float density, ::Color inner, ::Color outer)
 Generate image: radial gradient.
::Image GradientRadial (int width, int height, float density, ::Color inner, ::Color outer)
 Generate image: radial gradient. More...
 
-::Image GradientV (int width, int height, ::Color top, ::Color bottom)
 Generate image: vertical gradient.
::Image GradientV (int width, int height, ::Color top, ::Color bottom)
 Generate image: vertical gradient. More...
 
-::Image LoadFromScreen ()
 Get pixel data from screen buffer and return an Image (screenshot)
::Image LoadFromScreen ()
 Get pixel data from screen buffer and return an Image (screenshot) More...
 
-::Image Text (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
::Image Text (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 
-::Image Text (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
::Image Text (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
 
-::Image WhiteNoise (int width, int height, float factor)
 Generate image: white noise.
::Image WhiteNoise (int width, int height, float factor)
 Generate image: white noise. More...
 

Detailed Description

-

Image type, bpp always RGBA (32bit)

-

Data stored in CPU memory (RAM)

+

Image type, bpp always RGBA (32bit)

+

Data stored in CPU memory (RAM)

Definition at line 16 of file Image.hpp.

Constructor & Destructor Documentation

- -

◆ Image() [1/5]

+ +

◆ Image() [1/12]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Image::Image (void * data = nullptr,
int width = 0,
int height = 0,
int mipmaps = 0,
int format = 0 
)
+
+inline
+
+ +

Definition at line 18 of file Image.hpp.

+ +
+
+ +

◆ Image() [2/12]

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

Definition at line 26 of file Image.hpp.

+ +
+
+ +

◆ Image() [3/12]

@@ -462,8 +498,8 @@

-

◆ Image() [2/5]

+ +

◆ Image() [4/12]

@@ -529,8 +565,8 @@

-

◆ Image() [3/5]

+ +

◆ Image() [5/12]

@@ -578,8 +614,8 @@

-

◆ Image() [4/5]

+ +

◆ Image() [6/12]

@@ -632,8 +668,8 @@

-

◆ Image() [5/5]

+ +

◆ Image() [7/12]

@@ -644,7 +680,7 @@

raylib::Image::Image ( - const ::Texture2D &  + const ::Texture2Dtexture) @@ -670,9 +706,8 @@

Member Function Documentation

- -

◆ Cellular()

+ +

◆ Image() [8/12]

- -

◆ ColorBrightness()

+ +

◆ Image() [9/12]

- -

◆ ColorContrast()

+ +

◆ Image() [10/12]

- -

◆ GetAlphaBorder()

+ +

◆ Image() [11/12]

- -

◆ GetData()

+ +

◆ Image() [12/12]

- -

◆ GetFormat()

+ +

◆ ~Image()

- -

◆ GetHeight()

+

Member Function Documentation

+ +

◆ AlphaClear()

- -

◆ GetMipmaps()

+ +

◆ AlphaCrop()

- -

◆ GetPixelDataSize()

+ +

◆ AlphaMask()

- -

◆ GetWidth()

+ +

◆ AlphaPremultiply()

- -

◆ IsReady()

+ +

◆ Cellular()

-

Retrieve whether or not the Image has been loaded.

-
Returns
True or false depending on whether the Image has been loaded.
- -

Definition at line 717 of file Image.hpp.

+

Generate image: cellular algorithm.

+

Bigger tileSize means bigger cells

-

Referenced by Load().

+

Definition at line 182 of file Image.hpp.

- -

◆ Load() [1/5]

+ +

◆ Checked()

+ +

◆ ClearBackground()

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::ClearBackground (::Color color = {0, 0, 0, 255})
+
+inline
+
+ +

Clear image background with given color.

+ +

Definition at line 559 of file Image.hpp.

+ +
+
+ +

◆ Color()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
::Image raylib::Image::Color (int width,
int height,
::Color color = {255, 255, 255, 255} 
)
+
+inlinestatic
+
+ +

Generate image: plain color.

+ +

Definition at line 138 of file Image.hpp.

+ +
+
+ +

◆ ColorBrightness()

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::ColorBrightness (int brightness)
+
+inline
+
+ +

Modify image color: brightness.

+
Parameters
+ + +
brightnessBrightness values between -255 and 255
+
+
+ +

Definition at line 534 of file Image.hpp.

+ +
+
+ +

◆ ColorContrast()

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::ColorContrast (float contrast)
+
+inline
+
+ +

Modify image color: contrast.

+
Parameters
+ + +
contrastContrast values between -100 and 100
+
+
+ +

Definition at line 524 of file Image.hpp.

+ +
+
+ +

◆ ColorGrayscale()

+ +
+
+ + + + + +
+ + + + + + + +
Image & raylib::Image::ColorGrayscale ()
+
+inline
+
+ +

Modify image color: grayscale.

+ +

Definition at line 514 of file Image.hpp.

+ +
+
+ +

◆ ColorInvert()

+ +
+
+ + + + + +
+ + + + + + + +
Image & raylib::Image::ColorInvert ()
+
+inline
+
+ +

Modify image color: invert.

+ +

Definition at line 506 of file Image.hpp.

+ +
+
+ +

◆ ColorReplace()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Image & raylib::Image::ColorReplace (::Color color,
::Color replace 
)
+
+inline
+
+ +

Modify image color: replace color.

+ +

Definition at line 542 of file Image.hpp.

+ +
+
+ +

◆ ColorTint()

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::ColorTint (::Color color = {255, 255, 255, 255})
+
+inline
+
+ +

Modify image color: tint.

+ +

Definition at line 498 of file Image.hpp.

+ +
+
+ +

◆ Copy()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Image raylib::Image::Copy () const
+
+inline
+
+ +

Create an image duplicate (useful for transformations)

+ +

Definition at line 327 of file Image.hpp.

+ +

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

+ +
+
+ +

◆ Crop() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::Crop (::Rectangle crop)
+
+inline
+
+ +

Crop an image to area defined by a rectangle.

+ +

Definition at line 389 of file Image.hpp.

+ +

Referenced by Crop().

+ +
+
+ +

◆ Crop() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::Crop (::Vector2 size)
+
+inline
+
+ +

Crop an image to a new given width and height based on a vector.

+ +

Definition at line 404 of file Image.hpp.

+ +

References Crop().

+ +
+
+ +

◆ Crop() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Image & raylib::Image::Crop (int newWidth,
int newHeight 
)
+
+inline
+
+ +

Crop an image to a new given width and height.

+ +

Definition at line 397 of file Image.hpp.

+ +

References Crop().

+ +
+
+ +

◆ Crop() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::Crop (int offsetX,
int offsetY,
int newWidth,
int newHeight 
)
+
+inline
+
+ +

Crop an image to area defined by a rectangle.

+ +

Definition at line 411 of file Image.hpp.

+ +
+
+ +

◆ Dither()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::Dither (int rBpp,
int gBpp,
int bBpp,
int aBpp 
)
+
+inline
+
+ +

Dither image data to 16bpp or lower (Floyd-Steinberg dithering)

+ +

Definition at line 458 of file Image.hpp.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::Draw (const ::Imagesrc,
::Rectangle srcRec,
::Rectangle dstRec,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 623 of file Image.hpp.

+ +
+
+ +

◆ DrawCircle() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawCircle (::Vector2 center,
int radius,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 594 of file Image.hpp.

+ +
+
+ +

◆ DrawCircle() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawCircle (int centerX,
int centerY,
int radius,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 588 of file Image.hpp.

+ +
+
+ +

◆ DrawLine() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawLine (::Vector2 start,
::Vector2 end,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 583 of file Image.hpp.

+ +
+
+ +

◆ DrawLine() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawLine (int startPosX,
int startPosY,
int endPosX,
int endPosY,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 577 of file Image.hpp.

+ +
+
+ +

◆ DrawPixel() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawPixel (::Vector2 position,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 572 of file Image.hpp.

+ +
+
+ +

◆ DrawPixel() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawPixel (int posX,
int posY,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw pixel within an image.

+ +

Definition at line 567 of file Image.hpp.

+ +
+
+ +

◆ DrawRectangle() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawRectangle (::Rectangle rec,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 612 of file Image.hpp.

+ +
+
+ +

◆ DrawRectangle() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawRectangle (int posX,
int posY,
int width,
int height,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 600 of file Image.hpp.

+ +
+
+ +

◆ DrawRectangle() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawRectangle (Vector2 position,
Vector2 size,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 606 of file Image.hpp.

+ +
+
+ +

◆ DrawRectangleLines()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawRectangleLines (::Rectangle rec,
int thick = 1,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 617 of file Image.hpp.

+ +
+
+ +

◆ DrawText() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawText (const ::Font & font,
const std::string & text,
::Vector2 position,
float fontSize,
float spacing,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 646 of file Image.hpp.

+ +
+
+ +

◆ DrawText() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawText (const std::string & text,
::Vector2 position,
int fontSize,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 629 of file Image.hpp.

+ +
+
+ +

◆ DrawText() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::DrawText (const std::string & text,
int x,
int y,
int fontSize,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 640 of file Image.hpp.

+ +
+
+ +

◆ Export()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Image::Export (const std::string & fileName) const
+
+inline
+
+ +

Export image data to file, returns true on success.

+ +

Definition at line 299 of file Image.hpp.

+ +
+
+ +

◆ ExportAsCode()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Image::ExportAsCode (const std::string & fileName) const
+
+inline
+
+ +

Export image as code file defining an array of bytes, returns true on success.

+ +

Definition at line 307 of file Image.hpp.

+ +
+
+ +

◆ FlipHorizontal()

+ +
+
+ + + + + +
+ + + + + + + +
Image & raylib::Image::FlipHorizontal ()
+
+inline
+
+ +

Flip image horizontally.

+ +

Definition at line 474 of file Image.hpp.

+ +
+
+ +

◆ FlipVertical()

+ +
+
+ + + + + +
+ + + + + + + +
Image & raylib::Image::FlipVertical ()
+
+inline
+
+ +

Flip image vertically.

+ +

Definition at line 466 of file Image.hpp.

+ +
+
+ +

◆ Format()

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::Format (int newFormat)
+
+inline
+
+ +

Convert image data to desired format.

+ +

Definition at line 349 of file Image.hpp.

+ +
+
+ +

◆ FromImage()

+ +
+
+ + + + + +
+ + + + + + + + +
inline ::Image raylib::Image::FromImage (::Rectangle rec) const
+
+inline
+
+ +

Create an image from another image piece.

+ +

Definition at line 334 of file Image.hpp.

+ +
+
+ +

◆ GetAlphaBorder()

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle raylib::Image::GetAlphaBorder (float threshold) const
+
+inline
+
+ +

Get image alpha border rectangle.

+
Parameters
+ + +
thresholdThreshold is defined as a percentatge: 0.0f -> 1.0f
+
+
+ +

Definition at line 552 of file Image.hpp.

+ +
+
+ +

◆ GetData()

+ +
+
+ + + + + +
+ + + + + + + +
void * raylib::Image::GetData () const
+
+inline
+
+ +

Retrieves the data value for the object.

+
Returns
The data value of the object.
+ +

Definition at line 311 of file Image.hpp.

+ +
+
+ +

◆ GetFormat()

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

Retrieves the format value for the object.

+
Returns
The format value of the object.
+ +

Definition at line 315 of file Image.hpp.

+ +
+
+ +

◆ GetHeight()

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

Retrieves the height value for the object.

+
Returns
The height value of the object.
+ +

Definition at line 313 of file Image.hpp.

+ +
+
+ +

◆ GetMipmaps()

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

Retrieves the mipmaps value for the object.

+
Returns
The mipmaps value of the object.
+ +

Definition at line 314 of file Image.hpp.

+ +
+
+ +

◆ GetPixelDataSize() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Image::GetPixelDataSize () const
+
+inline
+
+ +

Returns the pixel data size based on the current image.

+
Returns
The pixel data size of the image.
+ +

Definition at line 708 of file Image.hpp.

+ +
+
+ +

◆ GetPixelDataSize() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static int raylib::Image::GetPixelDataSize (int width,
int height,
int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 
)
+
+inlinestatic
+
+ +

Get pixel data size in bytes for certain format.

+ +

Definition at line 699 of file Image.hpp.

+ +
+
+ +

◆ GetSize()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Vector2 raylib::Image::GetSize () const
+
+inline
+
+ +

Retrieve the width and height of the image.

+ +

Definition at line 320 of file Image.hpp.

+ +
+
+ +

◆ GetWidth()

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

Retrieves the width value for the object.

+
Returns
The width value of the object.
+ +

Definition at line 312 of file Image.hpp.

+ +
+
+ +

◆ GradientH()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
::Image raylib::Image::GradientH (int width,
int height,
::Color left,
::Color right 
)
+
+inlinestatic
+
+ +

Generate image: horizontal gradient.

+ +

Definition at line 152 of file Image.hpp.

+ +
+
+ +

◆ GradientRadial()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
::Image raylib::Image::GradientRadial (int width,
int height,
float density,
::Color inner,
::Color outer 
)
+
+inlinestatic
+
+ +

Generate image: radial gradient.

+ +

Definition at line 159 of file Image.hpp.

+ +
+
+ +

◆ GradientV()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
::Image raylib::Image::GradientV (int width,
int height,
::Color top,
::Color bottom 
)
+
+inlinestatic
+
+ +

Generate image: vertical gradient.

+ +

Definition at line 145 of file Image.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Image::IsReady () const
+
+inline
+
+ +

Retrieve whether or not the Image has been loaded.

+
Returns
True or false depending on whether the Image has been loaded.
+ +

Definition at line 717 of file Image.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ Load() [1/5]

+ +
+
+ + + + + +
+ + + + + @@ -1062,18 +3060,757 @@

-

Load an image from the given file.

-
Returns
True or false depending on whether or not the image was loaded from the texture.
-
See also
::LoadImageFromTexture()
- -

Definition at line 281 of file Image.hpp.

+

Load an image from the given file.

+
Returns
True or false depending on whether or not the image was loaded from the texture.
+
See also
::LoadImageFromTexture()
+ +

Definition at line 281 of file Image.hpp.

+ +

References IsReady().

+ + + + +

◆ Load() [2/5]

+ +
+
+

bool raylib::Image::Load (const ::Texture2D texture)
+ + + + +
+ + + + + + + + +
bool raylib::Image::Load (const std::string & fileName)
+
+inline
+
+ +

Load image from file into CPU memory (RAM)

+
Returns
Whether or not the image was loaded successfully.
+
See also
LoadImage()
+ +

Definition at line 230 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImage().

+ +

Referenced by Image().

+ +
+ + +

◆ Load() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool raylib::Image::Load (const std::string & fileName,
int * frames 
)
+
+inline
+
+ +

Load image sequence from file (frames appended to image.data).

+
Returns
Whether or not the image animation was loaded successfully.
+
See also
LoadImageAnim()
+ +

Definition at line 254 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImageAnim().

+ +
+
+ +

◆ Load() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool raylib::Image::Load (const std::string & fileName,
int width,
int height,
int format,
int headerSize 
)
+
+inline
+
+ +

Load image from RAW file data.

+
Returns
Whether or not the raw image data was loaded successfully.
+
See also
LoadImageRaw()
+ +

Definition at line 242 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImageRaw().

+ +
+
+ +

◆ Load() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool raylib::Image::Load (const std::string & fileType,
const unsigned char * fileData,
int dataSize 
)
+
+inline
+
+ +

Load image from memory buffer, fileType refers to extension: i.e.

+

"png".

+
Returns
Whether or not the image data was loaded successfully.
+
See also
LoadImageFromMemory()
+ +

Definition at line 266 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImageFromMemory().

+ +
+
+ +

◆ LoadColors()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Color * raylib::Image::LoadColors () const
+
+inline
+
+ +

Load color data from image as a Color array (RGBA - 32bit)

+ +

Definition at line 655 of file Image.hpp.

+ +
+
+ +

◆ LoadFromScreen()

+ +
+
+ + + + + +
+ + + + + + + +
::Image raylib::Image::LoadFromScreen ()
+
+inlinestatic
+
+ +

Get pixel data from screen buffer and return an Image (screenshot)

+ +

Definition at line 131 of file Image.hpp.

+ +
+
+ +

◆ LoadPalette()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
inline ::Color * raylib::Image::LoadPalette (int maxPaletteSize,
int * colorsCount 
) const
+
+inline
+
+ +

Load colors palette from image as a Color array (RGBA - 32bit)

+ +

Definition at line 662 of file Image.hpp.

+ +
+
+ +

◆ LoadTexture()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Texture2D raylib::Image::LoadTexture () const
+
+inline
+
+ +

Load texture from image data.

+ +

Definition at line 683 of file Image.hpp.

+ +

Referenced by operator::Texture2D().

+ +
+
+ +

◆ Mipmaps()

+ +
+
+ + + + + +
+ + + + + + + +
Image & raylib::Image::Mipmaps ()
+
+inline
+
+ +

Generate all mipmap levels for a provided image.

+ +

Definition at line 450 of file Image.hpp.

+ +
+
+ +

◆ operator::Texture2D()

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

Loads a texture from the image data.

+
See also
LoadTexture()
+ +

Definition at line 692 of file Image.hpp.

+ +

References LoadTexture().

+ +
+
+ +

◆ operator=() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::operator= (const ::Imageimage)
+
+inline
+
+ +

Definition at line 190 of file Image.hpp.

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::operator= (const Imageother)
+
+inline
+
+ +

Definition at line 195 of file Image.hpp.

+ +

References Copy(), and Unload().

+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Image & raylib::Image::operator= (Image && other)
+
+inlinenoexcept
+
+ +

Definition at line 206 of file Image.hpp.

+ +

References Unload().

+ +
+
+ +

◆ Resize()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Image & raylib::Image::Resize (int newWidth,
int newHeight 
)
+
+inline
+
+ +

Resize and image to new size.

+ +

Definition at line 425 of file Image.hpp.

+ +
+
+ +

◆ ResizeCanvas()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image & raylib::Image::ResizeCanvas (int newWidth,
int newHeight,
int offsetX = 0,
int offsetY = 0,
::Color color = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Resize canvas and fill with color.

+ +

Definition at line 441 of file Image.hpp.

+ +
+
+ +

◆ ResizeNN()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Image & raylib::Image::ResizeNN (int newWidth,
int newHeight 
)
+
+inline
+
+ +

Resize and image to new size using Nearest-Neighbor scaling algorithm.

+ +

Definition at line 433 of file Image.hpp.

+ +
+
+ +

◆ RotateCCW()

+ +
+
+ + + + + +
+ + + + + + + +
Image & raylib::Image::RotateCCW ()
+
+inline
+
+ +

Rotate image counter-clockwise 90deg.

+ +

Definition at line 490 of file Image.hpp.

+ +
+
+ +

◆ RotateCW()

+ +
+
+ + + + + +
+ + + + + + + +
Image & raylib::Image::RotateCW ()
+
+inline
+
+ +

Rotate image clockwise 90deg.

+ +

Definition at line 482 of file Image.hpp.

+ +
+
+ +

◆ SetData()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::SetData (void * value)
+
+inline
+
+ +

Sets the data value for the object.

+
Parameters
+ + +
valueThe value of which to set data to.
+
+
+ +

Definition at line 311 of file Image.hpp.

+ +
+
+ +

◆ SetFormat()

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

Sets the format value for the object.

+
Parameters
+ + +
valueThe value of which to set format to.
+
+
-

References IsReady().

+

Definition at line 315 of file Image.hpp.

- -

◆ Load() [2/5]

+ +

◆ SetHeight()

@@ -1082,10 +3819,10 @@

- + - - + +
bool raylib::Image::Load void raylib::Image::SetHeight (const std::string & fileName)int value)
@@ -1096,20 +3833,20 @@

-

Load image from file into CPU memory (RAM)

-
Returns
Whether or not the image was loaded successfully.
-
See also
LoadImage()
- -

Definition at line 230 of file Image.hpp.

- -

References IsReady(), and raylib::LoadImage().

+

Sets the height value for the object.

+
Parameters
+ + +
valueThe value of which to set height to.
+
+
-

Referenced by Image().

+

Definition at line 313 of file Image.hpp.

- -

◆ Load() [3/5]

+ +

◆ SetMipmaps()

+inline
+
+ +

Sets the mipmaps value for the object.

+
Parameters
+ + +
valueThe value of which to set mipmaps to.
+
+
+ +

Definition at line 314 of file Image.hpp.

+ +
+
+ +

◆ SetWidth()

+ +
+
+ + + @@ -1142,18 +3905,20 @@

-

Load image sequence from file (frames appended to image.data).

-
Returns
Whether or not the image animation was loaded successfully.
-
See also
LoadImageAnim()
- -

Definition at line 254 of file Image.hpp.

+

Sets the width value for the object.

+
Parameters
+

+ + + + + - -
void raylib::Image::SetWidth (int value) )
+ +
valueThe value of which to set width to.
+ + -

References IsReady(), and raylib::LoadImageAnim().

+

Definition at line 312 of file Image.hpp.

- -

◆ Load() [4/5]

+ +

◆ Text() [1/2]

- -

◆ Load() [5/5]

+ +

◆ Text() [2/2]

- -

◆ operator::Texture2D()

+ +

◆ ToPOT()

- -

◆ SetData()

+ +

◆ Unload()

- -

◆ SetFormat()

+ +

◆ UnloadColors()

- -

◆ SetHeight()

+ +

◆ UnloadPalette()

- -

◆ SetMipmaps()

+ +

◆ WhiteNoise()

- -

◆ SetWidth()

- -
-
- - - +inlinestatic
- - - + + - + + + + + + + + + + +
void raylib::Image::SetWidth ( int value)height,
float factor 
)
-inline
-

Sets the width value for the object.

-
Parameters
- - -
valueThe value of which to set width to.
-
-
+

Generate image: white noise.

-

Definition at line 312 of file Image.hpp.

+

Definition at line 175 of file Image.hpp.

+
- + diff --git a/docs/classraylib_1_1_image.js b/docs/classraylib_1_1_image.js new file mode 100644 index 00000000..3e457371 --- /dev/null +++ b/docs/classraylib_1_1_image.js @@ -0,0 +1,100 @@ +var classraylib_1_1_image = +[ + [ "Image", "classraylib_1_1_image.html#a38c789394d71d78f873405c739474578", null ], + [ "Image", "classraylib_1_1_image.html#aea5e7f65035278d780ade1fff50b83f5", null ], + [ "Image", "classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef", null ], + [ "Image", "classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b", null ], + [ "Image", "classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21", null ], + [ "Image", "classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8", null ], + [ "Image", "classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701", null ], + [ "Image", "classraylib_1_1_image.html#a45cd806c41a46a56212d23fe4c70c8c1", null ], + [ "Image", "classraylib_1_1_image.html#a0be7fea82da7d23d56b018d60ea9c071", null ], + [ "Image", "classraylib_1_1_image.html#acc2b06286cd94c665ea061ea53eca8ad", null ], + [ "Image", "classraylib_1_1_image.html#a80cd5a94bf468d6cdff5ae24c1ede290", null ], + [ "Image", "classraylib_1_1_image.html#ab0defa3751d16450e913a637d5238a21", null ], + [ "~Image", "classraylib_1_1_image.html#a249001d3d373b33b1f29145c45082536", null ], + [ "AlphaClear", "classraylib_1_1_image.html#acea9718468977973dceaf84797cab842", null ], + [ "AlphaCrop", "classraylib_1_1_image.html#a99650b633aca69b1402d04e719d10faf", null ], + [ "AlphaMask", "classraylib_1_1_image.html#aaf9f5429b67e2e4e37a23e1193b07215", null ], + [ "AlphaPremultiply", "classraylib_1_1_image.html#a726a612e5ad5e1d25764cbbb0e2f6ea1", null ], + [ "Cellular", "classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1", null ], + [ "Checked", "classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8", null ], + [ "ClearBackground", "classraylib_1_1_image.html#a7ddf59bd35617f3d99401b0fc8246c3d", null ], + [ "Color", "classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e", null ], + [ "ColorBrightness", "classraylib_1_1_image.html#a6d873ebdfb0e09bdb5bb3d46a0b878fd", null ], + [ "ColorContrast", "classraylib_1_1_image.html#a07972575734563011c88b2c5a09a22f0", null ], + [ "ColorGrayscale", "classraylib_1_1_image.html#a601db6a18ae9716277214ee07e40f44e", null ], + [ "ColorInvert", "classraylib_1_1_image.html#ab610da4948f86f690d75bdbbcbc67ab0", null ], + [ "ColorReplace", "classraylib_1_1_image.html#ace6497a285c946bd131f1e45c23ec966", null ], + [ "ColorTint", "classraylib_1_1_image.html#a18715953b31aae0da740326464964845", null ], + [ "Copy", "classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9", null ], + [ "Crop", "classraylib_1_1_image.html#ad28fbb3b6078e0a276e1e95b5b875437", null ], + [ "Crop", "classraylib_1_1_image.html#af9b7c45dca84edf6eccd6c5064948c2e", null ], + [ "Crop", "classraylib_1_1_image.html#abccdbbebbf450929a36146ae89cbf5ec", null ], + [ "Crop", "classraylib_1_1_image.html#a80e74811dd3ac0c5fe8fba160ccd6cda", null ], + [ "Dither", "classraylib_1_1_image.html#a09eb4388e24a7a3c9a3b7d6c280c5652", null ], + [ "Draw", "classraylib_1_1_image.html#a024eeed4c94a73595d1f842f7e2664ca", null ], + [ "DrawCircle", "classraylib_1_1_image.html#a2fc76ab2cf7bae0217d01bb06bb1f6a0", null ], + [ "DrawCircle", "classraylib_1_1_image.html#afb42558709adf2c7d2f87261381e944c", null ], + [ "DrawLine", "classraylib_1_1_image.html#abb9270b51e9b524be868ed1e41c47206", null ], + [ "DrawLine", "classraylib_1_1_image.html#ac774b77412eb0e1a8746ea5a7f135ff7", null ], + [ "DrawPixel", "classraylib_1_1_image.html#afae542a1dfa09cfb01aba062ff1aa8fe", null ], + [ "DrawPixel", "classraylib_1_1_image.html#a5e7a421dd9677313caedd35693c814da", null ], + [ "DrawRectangle", "classraylib_1_1_image.html#a49e42e4c74bbefb3063bb35a7997a350", null ], + [ "DrawRectangle", "classraylib_1_1_image.html#a3dd535220c663341712c2707aac65dd4", null ], + [ "DrawRectangle", "classraylib_1_1_image.html#a0ab135ece09e3d39d784ad09806ff9ff", null ], + [ "DrawRectangleLines", "classraylib_1_1_image.html#aa3157e7fa12140eaf9c2d304b55985db", null ], + [ "DrawText", "classraylib_1_1_image.html#aa97958266300e98b83fcc936f1f6c6eb", null ], + [ "DrawText", "classraylib_1_1_image.html#a9a8b22ee61fd3f5f4fa2ac0f059e7d8a", null ], + [ "DrawText", "classraylib_1_1_image.html#a11eeb4d77ac9f5ec0327160745d27670", null ], + [ "Export", "classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43", null ], + [ "ExportAsCode", "classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e", null ], + [ "FlipHorizontal", "classraylib_1_1_image.html#a6f0c8963620c97353ebb660b87168445", null ], + [ "FlipVertical", "classraylib_1_1_image.html#a8ec02e007282448332c09a3db487d2d4", null ], + [ "Format", "classraylib_1_1_image.html#a97c4715d7b9b9e9d34a31123e1141c48", null ], + [ "FromImage", "classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa", null ], + [ "GetAlphaBorder", "classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68", null ], + [ "GetData", "classraylib_1_1_image.html#a6771d46a70533daa89e7368501099141", null ], + [ "GetFormat", "classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6", null ], + [ "GetHeight", "classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805", null ], + [ "GetMipmaps", "classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a", null ], + [ "GetPixelDataSize", "classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b", null ], + [ "GetPixelDataSize", "classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d", null ], + [ "GetSize", "classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84", null ], + [ "GetWidth", "classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c", null ], + [ "GradientH", "classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f", null ], + [ "GradientRadial", "classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c", null ], + [ "GradientV", "classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57", null ], + [ "IsReady", "classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b", null ], + [ "Load", "classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8", null ], + [ "Load", "classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8", null ], + [ "Load", "classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6", null ], + [ "Load", "classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e", null ], + [ "Load", "classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1", null ], + [ "LoadColors", "classraylib_1_1_image.html#ac28aa3fed310f06e5d24b8069d96c49c", null ], + [ "LoadFromScreen", "classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0", null ], + [ "LoadPalette", "classraylib_1_1_image.html#a1a4ba0879090f03bcf29894244903d35", null ], + [ "LoadTexture", "classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1", null ], + [ "Mipmaps", "classraylib_1_1_image.html#aaf467c8a8ab5da1887e978c12a3534d4", null ], + [ "operator::Texture2D", "classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5", null ], + [ "operator=", "classraylib_1_1_image.html#aa86c0194ad30cc5f75f116fa588fc8dd", null ], + [ "operator=", "classraylib_1_1_image.html#a2d5e9ae7c55948b28b458f3bff5d1388", null ], + [ "operator=", "classraylib_1_1_image.html#a7e2ce4ef95df6fb9c8ffd654cce227bc", null ], + [ "Resize", "classraylib_1_1_image.html#aead1233654bf3e148ea55234f2f3557f", null ], + [ "ResizeCanvas", "classraylib_1_1_image.html#a28f4b429c7e969b082801782ac19003c", null ], + [ "ResizeNN", "classraylib_1_1_image.html#a218095d3a96636679cb7c5064985ba2d", null ], + [ "RotateCCW", "classraylib_1_1_image.html#a91af35357c488a79bc0306aac1d6a613", null ], + [ "RotateCW", "classraylib_1_1_image.html#a6ea82b2f67b22d73e7bb3119e40d7c5d", null ], + [ "SetData", "classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0", null ], + [ "SetFormat", "classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b", null ], + [ "SetHeight", "classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa", null ], + [ "SetMipmaps", "classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27", null ], + [ "SetWidth", "classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262", null ], + [ "Text", "classraylib_1_1_image.html#a31c3f86d7ab5dfbd618202a0a9c6156b", null ], + [ "Text", "classraylib_1_1_image.html#a91744abc374f20b21f66549fcb4d5692", null ], + [ "ToPOT", "classraylib_1_1_image.html#a7783ade7b901c094bfb7049043880f27", null ], + [ "Unload", "classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c", null ], + [ "UnloadColors", "classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b", null ], + [ "UnloadPalette", "classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a", null ], + [ "WhiteNoise", "classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_material-members.html b/docs/classraylib_1_1_material-members.html index 34697acf..34e2696a 100644 --- a/docs/classraylib_1_1_material-members.html +++ b/docs/classraylib_1_1_material-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Material Member List
+
raylib::Material Member List

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

- - - - - - + + + + + + - - - - - + + + + + - - - - + + + +
DrawMesh(const ::Mesh &mesh, ::Matrix transform) constraylib::Materialinline
DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) constraylib::Materialinline
GetMaps() constraylib::Materialinline
GetShader() constraylib::Materialinline
Load(const std::string &fileName)raylib::Materialinlinestatic
Material(const ::Material &material) (defined in raylib::Material)raylib::Materialinline
DrawMesh(const ::Mesh &mesh, ::Matrix transform) constraylib::Materialinline
DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) constraylib::Materialinline
GetMaps() constraylib::Materialinline
GetShader() constraylib::Materialinline
Load(const std::string &fileName)raylib::Materialinlinestatic
Material(const ::Material &material)raylib::Materialinline
Material()raylib::Materialinline
Material(const Material &)=delete (defined in raylib::Material)raylib::Material
Material(Material &&other) (defined in raylib::Material)raylib::Materialinline
operator=(const ::Material &material) (defined in raylib::Material)raylib::Materialinline
operator=(const Material &)=delete (defined in raylib::Material)raylib::Material
operator=(Material &&other) noexcept (defined in raylib::Material)raylib::Materialinline
Material(const Material &)=deleteraylib::Material
Material(Material &&other)raylib::Materialinline
operator=(const ::Material &material)raylib::Materialinline
operator=(const Material &)=deleteraylib::Material
operator=(Material &&other) noexceptraylib::Materialinline
SetMaps(::MaterialMap *value)raylib::Materialinline
SetShader(::Shader value)raylib::Materialinline
SetTexture(int mapType, const ::Texture2D &texture)raylib::Materialinline
Unload()raylib::Materialinline
~Material() (defined in raylib::Material)raylib::Materialinline
SetShader(::Shader value)raylib::Materialinline
SetTexture(int mapType, const ::Texture2D &texture)raylib::Materialinline
Unload()raylib::Materialinline
~Material()raylib::Materialinline
+

- + diff --git a/docs/classraylib_1_1_material.html b/docs/classraylib_1_1_material.html index 546d2009..6dbc907f 100644 --- a/docs/classraylib_1_1_material.html +++ b/docs/classraylib_1_1_material.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Material Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Material Class Reference
+
raylib::Material Class Reference

Material type (generic) More...

+ +

#include <Material.hpp>

- - - + + - + - + - + - - - - - - - - - - + + + + + + + + + + + + - - - - - - + + + + + + - + - - - - - + + + + +

+

Public Member Functions

Material ()
 Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
 Material ()
 Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) More...
 
Material (const ::Material &material)
 Material (const ::Material &material)
 
Material (const Material &)=delete
 Material (const Material &)=delete
 
Material (Material &&other)
 Material (Material &&other)
 
-const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix *transforms, int instances) const
 Draw multiple mesh instances with material and different transforms.
 
-const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix transform) const
 Draw a 3d mesh with material and transform.
 
::MaterialMap * GetMaps () const
 Retrieves the maps value for the object. More...
 
::Shader GetShader () const
 ~Material ()
 
const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix *transforms, int instances) const
 Draw multiple mesh instances with material and different transforms. More...
 
const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix transform) const
 Draw a 3d mesh with material and transform. More...
 
::MaterialMap * GetMaps () const
 Retrieves the maps value for the object. More...
 
::Shader GetShader () const
 Retrieves the shader value for the object. More...
 
-Materialoperator= (const ::Material &material)
 
-Materialoperator= (const Material &)=delete
 
-Materialoperator= (Material &&other) noexcept
 
Materialoperator= (const ::Material &material)
 
Materialoperator= (const Material &)=delete
 
Materialoperator= (Material &&other) noexcept
 
void SetMaps (::MaterialMap *value)
 Sets the maps value for the object. More...
 
void SetShader (::Shader value)
void SetShader (::Shader value)
 Sets the shader value for the object. More...
 
-MaterialSetTexture (int mapType, const ::Texture2D &texture)
 Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
 
-void Unload ()
 Unload material from memory.
MaterialSetTexture (int mapType, const ::Texture2D &texture)
 Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) More...
 
void Unload ()
 Unload material from memory. More...
 
- - - - + + +

+

Static Public Member Functions

-static std::vector< MaterialLoad (const std::string &fileName)
 Load materials from model file.
 
static std::vector< MaterialLoad (const std::string &fileName)
 Load materials from model file. More...
 

Detailed Description

-

Material type (generic)

+

Material type (generic)

Definition at line 14 of file Material.hpp.

-

Member Function Documentation

- -

◆ GetMaps()

+

Constructor & Destructor Documentation

+ +

◆ Material() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Material::Material (const ::Material & material)
+
+inline
+
+ +

Definition at line 16 of file Material.hpp.

+ +
+
+ +

◆ Material() [2/4]

+ +

◆ Material() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Material::Material (const Material)
+
+delete
+
+ +
+
+ +

◆ Material() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Material::Material (Material && other)
+
+inline
+
+ +

Definition at line 29 of file Material.hpp.

+ +
+
+ +

◆ ~Material()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Material::~Material ()
+
+inline
+
+ +

Definition at line 36 of file Material.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+ +

◆ DrawMesh() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
const Material & raylib::Material::DrawMesh (const ::Mesh & mesh,
::Matrix * transforms,
int instances 
) const
+
+inline
+
+ +

Draw multiple mesh instances with material and different transforms.

+ +

Definition at line 105 of file Material.hpp.

+ +
+
+ +

◆ DrawMesh() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
const Material & raylib::Material::DrawMesh (const ::Mesh & mesh,
::Matrix transform 
) const
+
+inline
+
+ +

Draw a 3d mesh with material and transform.

+ +

Definition at line 97 of file Material.hpp.

+ +

References DrawMesh().

+ +

Referenced by DrawMesh().

+ +
+
+ +

◆ GetMaps()

+ +
+
+ + + - + @@ -274,14 +632,87 @@

Definition at line 50 of file Material.hpp.

+ + + +

◆ SetTexture()

+ +
+
+

+ + + @@ -174,7 +416,7 @@

+

◆ GetShader()

@@ -184,7 +426,7 @@

::MaterialMap * raylib::Material::GetMaps ( ) const
- + @@ -204,7 +446,123 @@

+ +

◆ Load()

+ +
+
+
::Shader raylib::Material::GetShader ::Shader raylib::Material::GetShader ( ) const
+ + + + +
+ + + + + + + + +
static std::vector< Material > raylib::Material::Load (const std::string & fileName)
+
+inlinestatic
+
+ +

Load materials from model file.

+ +

Definition at line 43 of file Material.hpp.

+ +

References Material().

+ +
+ + +

◆ operator=() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Material & raylib::Material::operator= (const ::Materialmaterial)
+
+inline
+
+ +

Definition at line 55 of file Material.hpp.

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Material & raylib::Material::operator= (const Material)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Material & raylib::Material::operator= (Material && other)
+
+inlinenoexcept
+
+ +

Definition at line 62 of file Material.hpp.

+ +

References Unload().

+ +
+
+

◆ SetMaps()

@@ -240,7 +598,7 @@

+

◆ SetShader()

(::Shader ::Shader  value)
+ + + + +
+ + + + + + + + + + + + + + + + + + +
Material & raylib::Material::SetTexture (int mapType,
const ::Texture2Dtexture 
)
+
+inline
+
+ +

Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)

+ +

Definition at line 89 of file Material.hpp.

+ +
+
+ +

◆ Unload()

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

Unload material from memory.

+ +

Definition at line 79 of file Material.hpp.

+ +

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

+
+
- + diff --git a/docs/classraylib_1_1_material.js b/docs/classraylib_1_1_material.js new file mode 100644 index 00000000..1dbdbaf3 --- /dev/null +++ b/docs/classraylib_1_1_material.js @@ -0,0 +1,20 @@ +var classraylib_1_1_material = +[ + [ "Material", "classraylib_1_1_material.html#ac5be24c3adc1fd6726c99c5c4eeb4a25", null ], + [ "Material", "classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c", null ], + [ "Material", "classraylib_1_1_material.html#a71470d2ff92adb6e9e5e7c718f98fdaf", null ], + [ "Material", "classraylib_1_1_material.html#af3e4a84bdac8d50ef78d934b5ad11852", null ], + [ "~Material", "classraylib_1_1_material.html#aa11c6eb7111cedc08437673cc66760d6", null ], + [ "DrawMesh", "classraylib_1_1_material.html#a42e260d925663777cf3cc3f201ddc8dd", null ], + [ "DrawMesh", "classraylib_1_1_material.html#abc4ed480bca168f2aef7326fbb13507c", null ], + [ "GetMaps", "classraylib_1_1_material.html#a7de1717cae99b3db55de5ec822dc3502", null ], + [ "GetShader", "classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88", null ], + [ "Load", "classraylib_1_1_material.html#a2209c224b1b1e6dd862f324114ddb54e", null ], + [ "operator=", "classraylib_1_1_material.html#a8734255792ec2669d3c067b64a1b7644", null ], + [ "operator=", "classraylib_1_1_material.html#af0644e3ba034c4e700eab72174e00905", null ], + [ "operator=", "classraylib_1_1_material.html#ae92173567da4f6f9b256bf6787d65a11", null ], + [ "SetMaps", "classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523", null ], + [ "SetShader", "classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669", null ], + [ "SetTexture", "classraylib_1_1_material.html#a4fa16a50972c555434b31c2511d02493", null ], + [ "Unload", "classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_matrix-members.html b/docs/classraylib_1_1_matrix-members.html index 3544374a..b851bf9c 100644 --- a/docs/classraylib_1_1_matrix-members.html +++ b/docs/classraylib_1_1_matrix-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Matrix Member List
+
raylib::Matrix Member List

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

- - + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - - - + + + - +
Add(const ::Matrix &right) (defined in raylib::Matrix)raylib::Matrixinline
Frustum(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Add(const ::Matrix &right)raylib::Matrixinline
Frustum(double left, double right, double bottom, double top, double near, double far)raylib::Matrixinlinestatic
GetM0() constraylib::Matrixinline
GetM1() constraylib::Matrixinline
GetM1() constraylib::Matrixinline
GetM10() constraylib::Matrixinline
GetM11() constraylib::Matrixinline
GetM11() constraylib::Matrixinline
GetM12() constraylib::Matrixinline
GetM13() constraylib::Matrixinline
GetM13() constraylib::Matrixinline
GetM14() constraylib::Matrixinline
GetM15() constraylib::Matrixinline
GetM15() constraylib::Matrixinline
GetM2() constraylib::Matrixinline
GetM3() constraylib::Matrixinline
GetM3() constraylib::Matrixinline
GetM4() constraylib::Matrixinline
GetM5() constraylib::Matrixinline
GetM5() constraylib::Matrixinline
GetM6() constraylib::Matrixinline
GetM7() constraylib::Matrixinline
GetM7() constraylib::Matrixinline
GetM8() constraylib::Matrixinline
GetM9() constraylib::Matrixinline
Identity() (defined in raylib::Matrix)raylib::Matrixinlinestatic
Invert() const (defined in raylib::Matrix)raylib::Matrixinline
LookAt(Vector3 eye, Vector3 target, Vector3 up) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Matrix(const ::Matrix &mat) (defined in raylib::Matrix)raylib::Matrixinline
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) (defined in raylib::Matrix)raylib::Matrixinline
Multiply(const ::Matrix &right) const (defined in raylib::Matrix)raylib::Matrixinline
Normalize() const (defined in raylib::Matrix)raylib::Matrixinline
operator float16() (defined in raylib::Matrix)raylib::Matrixinline
operator!=(const ::Matrix &other) (defined in raylib::Matrix)raylib::Matrixinline
operator*(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator+(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator-(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator=(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator=(const Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator==(const ::Matrix &other) (defined in raylib::Matrix)raylib::Matrixinline
Ortho(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Perspective(double fovy, double aspect, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Rotate(Vector3 axis, float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateX(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateXYZ(Vector3 angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateY(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateZ(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Scale(float x, float y, float z) (defined in raylib::Matrix)raylib::Matrixinlinestatic
SetM0(float value)raylib::Matrixinline
GetM9() constraylib::Matrixinline
Identity()raylib::Matrixinlinestatic
Invert() constraylib::Matrixinline
LookAt(Vector3 eye, Vector3 target, Vector3 up)raylib::Matrixinlinestatic
Matrix(const ::Matrix &mat)raylib::Matrixinline
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)raylib::Matrixinline
Multiply(const ::Matrix &right) constraylib::Matrixinline
Normalize() constraylib::Matrixinline
operator float16()raylib::Matrixinline
operator!=(const ::Matrix &other)raylib::Matrixinline
operator*(const ::Matrix &matrix)raylib::Matrixinline
operator+(const ::Matrix &matrix)raylib::Matrixinline
operator-(const ::Matrix &matrix)raylib::Matrixinline
operator=(const ::Matrix &matrix)raylib::Matrixinline
operator=(const Matrix &matrix)raylib::Matrixinline
operator==(const ::Matrix &other)raylib::Matrixinline
Ortho(double left, double right, double bottom, double top, double near, double far)raylib::Matrixinlinestatic
Perspective(double fovy, double aspect, double near, double far)raylib::Matrixinlinestatic
Rotate(Vector3 axis, float angle)raylib::Matrixinlinestatic
RotateX(float angle)raylib::Matrixinlinestatic
RotateXYZ(Vector3 angle)raylib::Matrixinlinestatic
RotateY(float angle)raylib::Matrixinlinestatic
RotateZ(float angle)raylib::Matrixinlinestatic
Scale(float x, float y, float z)raylib::Matrixinlinestatic
SetM0(float value)raylib::Matrixinline
SetM1(float value)raylib::Matrixinline
SetM10(float value)raylib::Matrixinline
SetM10(float value)raylib::Matrixinline
SetM11(float value)raylib::Matrixinline
SetM12(float value)raylib::Matrixinline
SetM12(float value)raylib::Matrixinline
SetM13(float value)raylib::Matrixinline
SetM14(float value)raylib::Matrixinline
SetM14(float value)raylib::Matrixinline
SetM15(float value)raylib::Matrixinline
SetM2(float value)raylib::Matrixinline
SetM2(float value)raylib::Matrixinline
SetM3(float value)raylib::Matrixinline
SetM4(float value)raylib::Matrixinline
SetM4(float value)raylib::Matrixinline
SetM5(float value)raylib::Matrixinline
SetM6(float value)raylib::Matrixinline
SetM6(float value)raylib::Matrixinline
SetM7(float value)raylib::Matrixinline
SetM8(float value)raylib::Matrixinline
SetM8(float value)raylib::Matrixinline
SetM9(float value)raylib::Matrixinline
SetShaderValue(::Shader shader, int uniformLoc)raylib::Matrixinline
Subtract(const ::Matrix &right) (defined in raylib::Matrix)raylib::Matrixinline
ToFloatV() const (defined in raylib::Matrix)raylib::Matrixinline
SetShaderValue(::Shader shader, int uniformLoc)raylib::Matrixinline
Subtract(const ::Matrix &right)raylib::Matrixinline
ToFloatV() constraylib::Matrixinline
Trace() constraylib::Matrixinline
Translate(float x, float y, float z) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Translate(float x, float y, float z)raylib::Matrixinlinestatic
Transpose() constraylib::Matrixinline
+

- + diff --git a/docs/classraylib_1_1_matrix.html b/docs/classraylib_1_1_matrix.html index 902de3c5..d68d904e 100644 --- a/docs/classraylib_1_1_matrix.html +++ b/docs/classraylib_1_1_matrix.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Matrix Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Matrix Class Reference
+
raylib::Matrix Class Reference

Matrix type (OpenGL style 4x4 - right handed, column major) More...

+ +

#include <Matrix.hpp>

- - + - + - + @@ -138,38 +154,27 @@ - + - + - + - + - + - + - + - + - - - - - + + + + + @@ -219,70 +224,294 @@ - - - - + + + + - + - - + + - - + +

+

Public Member Functions

Matrix (const ::Matrix &mat)
 Matrix (const ::Matrix &mat)
 
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)
 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)
 
-Matrix Add (const ::Matrix &right)
Matrix Add (const ::Matrix &right)
 
float GetM0 () const
 Retrieves the m0 value for the object. More...
float GetM9 () const
 Retrieves the m9 value for the object. More...
 
-Matrix Invert () const
Matrix Invert () const
 
-Matrix Multiply (const ::Matrix &right) const
Matrix Multiply (const ::Matrix &right) const
 
-Matrix Normalize () const
Matrix Normalize () const
 
operator float16 ()
 operator float16 ()
 
-bool operator!= (const ::Matrix &other)
bool operator!= (const ::Matrix &other)
 
-Matrix operator* (const ::Matrix &matrix)
Matrix operator* (const ::Matrix &matrix)
 
-Matrix operator+ (const ::Matrix &matrix)
Matrix operator+ (const ::Matrix &matrix)
 
-Matrix operator- (const ::Matrix &matrix)
Matrix operator- (const ::Matrix &matrix)
 
-Matrixoperator= (const ::Matrix &matrix)
 
-Matrixoperator= (const Matrix &matrix)
 
-bool operator== (const ::Matrix &other)
Matrixoperator= (const ::Matrix &matrix)
 
Matrixoperator= (const Matrix &matrix)
 
bool operator== (const ::Matrix &other)
 
void SetM0 (float value)
 Sets the m0 value for the object. More...
void SetM9 (float value)
 Sets the m9 value for the object. More...
 
-MatrixSetShaderValue (::Shader shader, int uniformLoc)
 Set shader uniform value (matrix 4x4)
 
-Matrix Subtract (const ::Matrix &right)
MatrixSetShaderValue (::Shader shader, int uniformLoc)
 Set shader uniform value (matrix 4x4) More...
 
Matrix Subtract (const ::Matrix &right)
 
-float16 ToFloatV () const
float16 ToFloatV () const
 
-float Trace () const
 Returns the trace of the matrix (sum of the values along the diagonal)
float Trace () const
 Returns the trace of the matrix (sum of the values along the diagonal) More...
 
-Matrix Transpose () const
 Transposes provided matrix.
Matrix Transpose () const
 Transposes provided matrix. More...
 
- - + - + - + - + - + - + - + - + - + - + - + - +

+

Static Public Member Functions

-static Matrix Frustum (double left, double right, double bottom, double top, double near, double far)
static Matrix Frustum (double left, double right, double bottom, double top, double near, double far)
 
-static Matrix Identity ()
static Matrix Identity ()
 
-static Matrix LookAt (Vector3 eye, Vector3 target, Vector3 up)
static Matrix LookAt (Vector3 eye, Vector3 target, Vector3 up)
 
-static Matrix Ortho (double left, double right, double bottom, double top, double near, double far)
static Matrix Ortho (double left, double right, double bottom, double top, double near, double far)
 
-static Matrix Perspective (double fovy, double aspect, double near, double far)
static Matrix Perspective (double fovy, double aspect, double near, double far)
 
-static Matrix Rotate (Vector3 axis, float angle)
static Matrix Rotate (Vector3 axis, float angle)
 
-static Matrix RotateX (float angle)
static Matrix RotateX (float angle)
 
-static Matrix RotateXYZ (Vector3 angle)
static Matrix RotateXYZ (Vector3 angle)
 
-static Matrix RotateY (float angle)
static Matrix RotateY (float angle)
 
-static Matrix RotateZ (float angle)
static Matrix RotateZ (float angle)
 
-static Matrix Scale (float x, float y, float z)
static Matrix Scale (float x, float y, float z)
 
-static Matrix Translate (float x, float y, float z)
static Matrix Translate (float x, float y, float z)
 

Detailed Description

-

Matrix type (OpenGL style 4x4 - right handed, column major)

+

Matrix type (OpenGL style 4x4 - right handed, column major)

Definition at line 16 of file Matrix.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ Matrix() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Matrix::Matrix (const ::Matrix & mat)
+
+inline
+
+ +

Definition at line 18 of file Matrix.hpp.

+ +
+
+ +

◆ Matrix() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Matrix::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 
)
+
+inline
+
+ +

Definition at line 22 of file Matrix.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ Add()

+ +
+
+ + + + + +
+ + + + + + + + +
Matrix raylib::Matrix::Add (const ::Matrixright)
+
+inline
+
+ +

Definition at line 105 of file Matrix.hpp.

+ +
+
+ +

◆ Frustum()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Matrix raylib::Matrix::Frustum (double left,
double right,
double bottom,
double top,
double near,
double far 
)
+
+inlinestatic
+
+ +

Definition at line 157 of file Matrix.hpp.

+ +
+
+

◆ GetM0()

@@ -312,7 +541,7 @@

+

◆ GetM1()

@@ -342,7 +571,7 @@

+

◆ GetM10()

@@ -372,7 +601,7 @@

+

◆ GetM11()

@@ -402,7 +631,7 @@

+

◆ GetM12()

@@ -432,7 +661,7 @@

+

◆ GetM13()

@@ -462,7 +691,7 @@

+

◆ GetM14()

@@ -492,7 +721,7 @@

+

◆ GetM15()

@@ -522,7 +751,7 @@

+

◆ GetM2()

@@ -552,7 +781,7 @@

+

◆ GetM3()

@@ -582,7 +811,7 @@

+

◆ GetM4()

@@ -612,7 +841,7 @@

+

◆ GetM5()

@@ -642,7 +871,7 @@

+

◆ GetM6()

@@ -672,7 +901,7 @@

+

◆ GetM7()

@@ -702,7 +931,7 @@

+

◆ GetM8()

@@ -732,7 +961,7 @@

+

◆ GetM9()

@@ -762,8 +991,8 @@

-

◆ SetM0()

+ +

◆ Identity()

- -

◆ SetM1()

+ +

◆ Invert()

- -

◆ SetM10()

+ +

◆ LookAt()

- -

◆ SetM11()

+ +

◆ Multiply()

- -

◆ SetM12()

+ +

◆ Normalize()

+ +

◆ operator!=()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Matrix::operator!= (const ::Matrixother)
+
+inline
+
+ +

Definition at line 74 of file Matrix.hpp.

+ +
+
+ +

◆ operator*()

+ +
+
+ + + + + +
+ + + + + + + + +
Matrix raylib::Matrix::operator* (const ::Matrixmatrix)
+
+inline
+
+ +

Definition at line 153 of file Matrix.hpp.

+ +
+
+ +

◆ operator+()

+ +
+
+ + + + + +
+ + + + + + + + +
Matrix raylib::Matrix::operator+ (const ::Matrixmatrix)
+
+inline
+
+ +

Definition at line 109 of file Matrix.hpp.

+ +
+
+ +

◆ operator-()

+ +
+
+ + + + + +
+ + + + + + + + +
Matrix raylib::Matrix::operator- (const ::Matrixmatrix)
+
+inline
+
+ +

Definition at line 117 of file Matrix.hpp.

+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Matrix & raylib::Matrix::operator= (const ::Matrixmatrix)
+
+inline
+
+ +

Definition at line 45 of file Matrix.hpp.

+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Matrix & raylib::Matrix::operator= (const Matrixmatrix)
+
+inline
+
+ +

Definition at line 50 of file Matrix.hpp.

+ +
+
+ +

◆ operator==()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Matrix::operator== (const ::Matrixother)
+
+inline
+
+ +

Definition at line 55 of file Matrix.hpp.

+ +
+
+ +

◆ Ortho()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Matrix raylib::Matrix::Ortho (double left,
double right,
double bottom,
double top,
double near,
double far 
)
+
+inlinestatic
+
+ +

Definition at line 166 of file Matrix.hpp.

+ +
+
+ +

◆ Perspective()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Matrix raylib::Matrix::Perspective (double fovy,
double aspect,
double near,
double far 
)
+
+inlinestatic
+
+ +

Definition at line 162 of file Matrix.hpp.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Matrix raylib::Matrix::Rotate (Vector3 axis,
float angle 
)
+
+inlinestatic
+
+ +

Definition at line 125 of file Matrix.hpp.

+ +
+
+ +

◆ RotateX()

+ +
+
+ + + + + +
+ + + + + + + + +
static Matrix raylib::Matrix::RotateX (float angle)
+
+inlinestatic
+
+ +

Definition at line 133 of file Matrix.hpp.

+ +
+
+ +

◆ RotateXYZ()

+ +
+
+ + + + + +
+ + + + + + + + +
static Matrix raylib::Matrix::RotateXYZ (Vector3 angle)
+
+inlinestatic
+
+ +

Definition at line 129 of file Matrix.hpp.

+ +
+
+ +

◆ RotateY()

+ +
+
+ + + + + +
+ + + + + + + + +
static Matrix raylib::Matrix::RotateY (float angle)
+
+inlinestatic
+
+ +

Definition at line 137 of file Matrix.hpp.

+ +
+
+ +

◆ RotateZ()

+ +
+
+ + + + + +
+ + + + + + + + +
static Matrix raylib::Matrix::RotateZ (float angle)
+
+inlinestatic
+
+ +

Definition at line 141 of file Matrix.hpp.

+ +
+
+ +

◆ Scale()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static Matrix raylib::Matrix::Scale (float x,
float y,
float z 
)
+
+inlinestatic
+
+ +

Definition at line 145 of file Matrix.hpp.

+ +
+
+ +

◆ SetM0()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM0 (float value)
+
+inline
+
+ +

Sets the m0 value for the object.

+
Parameters
+ + +
valueThe value of which to set m0 to.
+
+
+ +

Definition at line 28 of file Matrix.hpp.

+ +
+
+ +

◆ SetM1()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM1 (float value)
+
+inline
+
+ +

Sets the m1 value for the object.

+
Parameters
+ + +
valueThe value of which to set m1 to.
+
+
+ +

Definition at line 29 of file Matrix.hpp.

+ +
+
+ +

◆ SetM10()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM10 (float value)
+
+inline
+
+ +

Sets the m10 value for the object.

+
Parameters
+ + +
valueThe value of which to set m10 to.
+
+
+ +

Definition at line 38 of file Matrix.hpp.

+ +
+
+ +

◆ SetM11()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM11 (float value)
+
+inline
+
+ +

Sets the m11 value for the object.

+
Parameters
+ + +
valueThe value of which to set m11 to.
+
+
+ +

Definition at line 39 of file Matrix.hpp.

+ +
+
+ +

◆ SetM12()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM12 (float value)
+
+inline
+
+ +

Sets the m12 value for the object.

+
Parameters
+
valueThe value of which to set m12 to.
@@ -942,7 +1855,7 @@

+

◆ SetM13()

@@ -978,7 +1891,7 @@

+

◆ SetM14()

@@ -1014,7 +1927,7 @@

+

◆ SetM15()

@@ -1050,7 +1963,7 @@

+

◆ SetM2()

@@ -1086,7 +1999,7 @@

+

◆ SetM3()

@@ -1122,7 +2035,7 @@

+

◆ SetM4()

@@ -1158,7 +2071,7 @@

+

◆ SetM5()

@@ -1194,7 +2107,7 @@

+

◆ SetM6()

@@ -1230,7 +2143,7 @@

+

◆ SetM7()

@@ -1266,7 +2179,7 @@

+

◆ SetM8()

@@ -1302,7 +2215,7 @@

+

◆ SetM9()

@@ -1336,14 +2249,215 @@

Definition at line 37 of file Matrix.hpp.

+

+

+ +

◆ SetShaderValue()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Matrix & raylib::Matrix::SetShaderValue (::Shader shader,
int uniformLoc 
)
+
+inline
+
+ +

Set shader uniform value (matrix 4x4)

+ +

Definition at line 186 of file Matrix.hpp.

+ +
+
+ +

◆ Subtract()

+ +
+
+ + + + + +
+ + + + + + + + +
Matrix raylib::Matrix::Subtract (const ::Matrixright)
+
+inline
+
+ +

Definition at line 113 of file Matrix.hpp.

+ +
+
+ +

◆ ToFloatV()

+ +
+
+ + + + + +
+ + + + + + + +
float16 raylib::Matrix::ToFloatV () const
+
+inline
+
+ +

Definition at line 175 of file Matrix.hpp.

+ +

Referenced by operator float16().

+ +
+
+ +

◆ Trace()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::Trace () const
+
+inline
+
+ +

Returns the trace of the matrix (sum of the values along the diagonal)

+ +

Definition at line 82 of file Matrix.hpp.

+ +
+
+ +

◆ Translate()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
static Matrix raylib::Matrix::Translate (float x,
float y,
float z 
)
+
+inlinestatic
+
+ +

Definition at line 121 of file Matrix.hpp.

+ +
+
+ +

◆ Transpose()

+ +
+
+ + + + + +
+ + + + + + + +
Matrix raylib::Matrix::Transpose () const
+
+inline
+
+ +

Transposes provided matrix.

+ +

Definition at line 89 of file Matrix.hpp.

+

+

- + diff --git a/docs/classraylib_1_1_matrix.js b/docs/classraylib_1_1_matrix.js new file mode 100644 index 00000000..5803de06 --- /dev/null +++ b/docs/classraylib_1_1_matrix.js @@ -0,0 +1,66 @@ +var classraylib_1_1_matrix = +[ + [ "Matrix", "classraylib_1_1_matrix.html#a0d2462e10b715cad96be3871390186f9", null ], + [ "Matrix", "classraylib_1_1_matrix.html#aa8900ae52da619e68935c40568d46ed4", null ], + [ "Add", "classraylib_1_1_matrix.html#aaecef455d7b249b1c0bbc77cbb27e1d0", null ], + [ "Frustum", "classraylib_1_1_matrix.html#ad2fc693fb8c61fe3615217332be79506", null ], + [ "GetM0", "classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871", null ], + [ "GetM1", "classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06", null ], + [ "GetM10", "classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7", null ], + [ "GetM11", "classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a", null ], + [ "GetM12", "classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05", null ], + [ "GetM13", "classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790", null ], + [ "GetM14", "classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2", null ], + [ "GetM15", "classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c", null ], + [ "GetM2", "classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44", null ], + [ "GetM3", "classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00", null ], + [ "GetM4", "classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1", null ], + [ "GetM5", "classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347", null ], + [ "GetM6", "classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae", null ], + [ "GetM7", "classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721", null ], + [ "GetM8", "classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1", null ], + [ "GetM9", "classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127", null ], + [ "Identity", "classraylib_1_1_matrix.html#aaf701bdedb604e59c6f1592fa5255575", null ], + [ "Invert", "classraylib_1_1_matrix.html#a9ad566c434998fe400a57a26a39c3708", null ], + [ "LookAt", "classraylib_1_1_matrix.html#a4eeb4cdf09fd97c38d990a27e894f6f1", null ], + [ "Multiply", "classraylib_1_1_matrix.html#afbebf3211a8252b0433184357233aa19", null ], + [ "Normalize", "classraylib_1_1_matrix.html#a0ec68971d42b0ab8281e5e68f690dd5c", null ], + [ "operator float16", "classraylib_1_1_matrix.html#a63cce6502129548a9ab427efbf714a8b", null ], + [ "operator!=", "classraylib_1_1_matrix.html#a986d17b9ef939fcd441c9f0533a208bf", null ], + [ "operator*", "classraylib_1_1_matrix.html#aebc1bc9c255dbcf348aba9e2b58d72d4", null ], + [ "operator+", "classraylib_1_1_matrix.html#ab149d4638f47cdd7aa2cad5b05b3977d", null ], + [ "operator-", "classraylib_1_1_matrix.html#a28d079fd913d2890620107599b4d1bcf", null ], + [ "operator=", "classraylib_1_1_matrix.html#a4a01a9983536575a0accb4ad938434d1", null ], + [ "operator=", "classraylib_1_1_matrix.html#a667e1a3be409a1ad1d7f6f9c8bdc24dd", null ], + [ "operator==", "classraylib_1_1_matrix.html#ab038b46305fb8bd85f83005146542b7e", null ], + [ "Ortho", "classraylib_1_1_matrix.html#ad45b39503de59d1052377346efd8bcd8", null ], + [ "Perspective", "classraylib_1_1_matrix.html#aea5590610580b2ecd0be779324bf9281", null ], + [ "Rotate", "classraylib_1_1_matrix.html#ac5da5173fc6bcda2e09bdc2caa865c08", null ], + [ "RotateX", "classraylib_1_1_matrix.html#af0e1c205d24796003dc63783b2e1739a", null ], + [ "RotateXYZ", "classraylib_1_1_matrix.html#a42a55314e81f9a8d4a1b7c964127bce1", null ], + [ "RotateY", "classraylib_1_1_matrix.html#a9e068eb0a163ba8ae65d3b89ace56e67", null ], + [ "RotateZ", "classraylib_1_1_matrix.html#a94ee9f00cd56f52d6bb49c3de7af7e02", null ], + [ "Scale", "classraylib_1_1_matrix.html#a6194618ff44780a7e062355089706217", null ], + [ "SetM0", "classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca", null ], + [ "SetM1", "classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905", null ], + [ "SetM10", "classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7", null ], + [ "SetM11", "classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b", null ], + [ "SetM12", "classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d", null ], + [ "SetM13", "classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05", null ], + [ "SetM14", "classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27", null ], + [ "SetM15", "classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4", null ], + [ "SetM2", "classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc", null ], + [ "SetM3", "classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca", null ], + [ "SetM4", "classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964", null ], + [ "SetM5", "classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794", null ], + [ "SetM6", "classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49", null ], + [ "SetM7", "classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1", null ], + [ "SetM8", "classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02", null ], + [ "SetM9", "classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c", null ], + [ "SetShaderValue", "classraylib_1_1_matrix.html#a27776d3613da7c134136b25d227f358b", null ], + [ "Subtract", "classraylib_1_1_matrix.html#a14f0b7960358e1dac0f745709e74ad67", null ], + [ "ToFloatV", "classraylib_1_1_matrix.html#a54f3ae730b3c5ca7da3522832fd2964d", null ], + [ "Trace", "classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b", null ], + [ "Translate", "classraylib_1_1_matrix.html#a66c40986a01c21a5a1dd139ccf18ab28", null ], + [ "Transpose", "classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_mesh-members.html b/docs/classraylib_1_1_mesh-members.html index de1ca496..d70258ed 100644 --- a/docs/classraylib_1_1_mesh-members.html +++ b/docs/classraylib_1_1_mesh-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Mesh Member List
+
raylib::Mesh Member List

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

- + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - + - + - + - - - + + + - + - - - - - + + + + + - + - + - + - + - + - + - + - + - + - + - +
BoundingBox() constraylib::Meshinline
Cube(float width, float height, float length)raylib::Meshinlinestatic
Cube(float width, float height, float length)raylib::Meshinlinestatic
Cubicmap(const ::Image &cubicmap, ::Vector3 cubeSize)raylib::Meshinlinestatic
Cylinder(float radius, float height, int slices)raylib::Meshinlinestatic
Cylinder(float radius, float height, int slices)raylib::Meshinlinestatic
Draw(const ::Material &material, const ::Matrix &transform)raylib::Meshinline
Draw(const ::Material &material, ::Matrix *transforms, int instances)raylib::Meshinline
Draw(const ::Material &material, ::Matrix *transforms, int instances)raylib::Meshinline
Export(const std::string &fileName)raylib::Meshinline
GenBinormals()raylib::Meshinline
GenTangents()raylib::Meshinline
GetAnimNormals() constraylib::Meshinline
GetAnimVertices() constraylib::Meshinline
GetBoneIds() constraylib::Meshinline
GetBoneWeights() constraylib::Meshinline
GetColors() constraylib::Meshinline
GetIndices() constraylib::Meshinline
GetNormals() constraylib::Meshinline
GetTangents() constraylib::Meshinline
GetTexCoords() constraylib::Meshinline
GetTexCoords2() constraylib::Meshinline
GetTriangleCount() constraylib::Meshinline
GenBinormals()raylib::Meshinline
GenTangents()raylib::Meshinline
GetAnimNormals() constraylib::Meshinline
GetAnimVertices() constraylib::Meshinline
GetBoneIds() constraylib::Meshinline
GetBoneWeights() constraylib::Meshinline
GetColors() constraylib::Meshinline
GetIndices() constraylib::Meshinline
GetNormals() constraylib::Meshinline
GetTangents() constraylib::Meshinline
GetTexCoords() constraylib::Meshinline
GetTexCoords2() constraylib::Meshinline
GetTriangleCount() constraylib::Meshinline
GetVaoId() constraylib::Meshinline
GetVboId() constraylib::Meshinline
GetVboId() constraylib::Meshinline
GetVertexCount() constraylib::Meshinline
GetVertices() constraylib::Meshinline
GetVertices() constraylib::Meshinline
Heightmap(const ::Image &heightmap, ::Vector3 size)raylib::Meshinlinestatic
HemiSphere(float radius, int rings, int slices)raylib::Meshinlinestatic
HemiSphere(float radius, int rings, int slices)raylib::Meshinlinestatic
Knot(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
LoadModelFrom() constraylib::Meshinline
Mesh(const ::Mesh &mesh) (defined in raylib::Mesh)raylib::Meshinline
Mesh(int vertexCount, int triangleCount) (defined in raylib::Mesh)raylib::Meshinline
LoadModelFrom() constraylib::Meshinline
Mesh(const ::Mesh &mesh)raylib::Meshinline
Mesh(int vertexCount, int triangleCount)raylib::Meshinline
Mesh(const Mesh &)=deleteraylib::Mesh
Mesh(Mesh &&other) (defined in raylib::Mesh)raylib::Meshinline
Mesh(Mesh &&other)raylib::Meshinline
operator raylib::BoundingBox()raylib::Meshinline
operator raylib::Model()raylib::Meshinline
operator=(const ::Mesh &mesh) (defined in raylib::Mesh)raylib::Meshinline
operator=(const Mesh &)=delete (defined in raylib::Mesh)raylib::Mesh
operator=(Mesh &&other) noexcept (defined in raylib::Mesh)raylib::Meshinline
Plane(float width, float length, int resX, int resZ)raylib::Meshinlinestatic
operator raylib::Model()raylib::Meshinline
operator=(const ::Mesh &mesh)raylib::Meshinline
operator=(const Mesh &)=deleteraylib::Mesh
operator=(Mesh &&other) noexceptraylib::Meshinline
Plane(float width, float length, int resX, int resZ)raylib::Meshinlinestatic
Poly(int sides, float radius)raylib::Meshinlinestatic
SetAnimNormals(float *value)raylib::Meshinline
SetAnimNormals(float *value)raylib::Meshinline
SetAnimVertices(float *value)raylib::Meshinline
SetBoneIds(unsigned char *value)raylib::Meshinline
SetBoneIds(unsigned char *value)raylib::Meshinline
SetBoneWeights(float *value)raylib::Meshinline
SetColors(unsigned char *value)raylib::Meshinline
SetColors(unsigned char *value)raylib::Meshinline
SetIndices(unsigned short *value)raylib::Meshinline
SetNormals(float *value)raylib::Meshinline
SetNormals(float *value)raylib::Meshinline
SetTangents(float *value)raylib::Meshinline
SetTexCoords(float *value)raylib::Meshinline
SetTexCoords(float *value)raylib::Meshinline
SetTexCoords2(float *value)raylib::Meshinline
SetTriangleCount(int value)raylib::Meshinline
SetTriangleCount(int value)raylib::Meshinline
SetVaoId(unsigned int value)raylib::Meshinline
SetVboId(unsigned int *value)raylib::Meshinline
SetVboId(unsigned int *value)raylib::Meshinline
SetVertexCount(int value)raylib::Meshinline
SetVertices(float *value)raylib::Meshinline
SetVertices(float *value)raylib::Meshinline
Sphere(float radius, int rings, int slices)raylib::Meshinlinestatic
Torus(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
Torus(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
Unload()raylib::Meshinline
UpdateBuffer(int index, void *data, int dataSize, int offset=0)raylib::Meshinline
UpdateBuffer(int index, void *data, int dataSize, int offset=0)raylib::Meshinline
Upload(bool dynamic=false)raylib::Meshinline
~Mesh() (defined in raylib::Mesh)raylib::Meshinline
~Mesh()raylib::Meshinline
+

- + diff --git a/docs/classraylib_1_1_mesh.html b/docs/classraylib_1_1_mesh.html index e992b48f..dff3ebcf 100644 --- a/docs/classraylib_1_1_mesh.html +++ b/docs/classraylib_1_1_mesh.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Mesh Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Mesh Class Reference
+
raylib::Mesh Class Reference

Vertex data definning a mesh. More...

+ +

#include <Mesh.hpp>

- - + - - + + - + - + - - + + + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - + + + + + - - + + - - + + - - - - - - + + + + + + @@ -229,69 +234,56 @@ - - + + - - + + - - + +

+

Public Member Functions

Mesh (const ::Mesh &mesh)
 Mesh (const ::Mesh &mesh)
 
Mesh (const Mesh &)=delete
 Load meshes from model file.
 Mesh (const Mesh &)=delete
 Load meshes from model file. More...
 
Mesh (int vertexCount, int triangleCount)
 Mesh (int vertexCount, int triangleCount)
 
Mesh (Mesh &&other)
 Mesh (Mesh &&other)
 
-raylib::BoundingBox BoundingBox () const
 Compute mesh bounding box limits.
 ~Mesh ()
 
raylib::BoundingBox BoundingBox () const
 Compute mesh bounding box limits. More...
 
-void Draw (const ::Material &material, ::Matrix *transforms, int instances)
 Draw multiple mesh instances with material and different transforms.
void Draw (const ::Material &material, ::Matrix *transforms, int instances)
 Draw multiple mesh instances with material and different transforms. More...
 
-void Draw (const ::Material &material, const ::Matrix &transform)
 Draw a 3d mesh with material and transform.
void Draw (const ::Material &material, const ::Matrix &transform)
 Draw a 3d mesh with material and transform. More...
 
-bool Export (const std::string &fileName)
 Export mesh data to file.
bool Export (const std::string &fileName)
 Export mesh data to file. More...
 
-MeshGenBinormals ()
 Compute mesh binormals (aka bitangent)
 
-MeshGenTangents ()
 Compute mesh tangents.
 
float * GetAnimNormals () const
 Retrieves the animNormals value for the object. More...
 
float * GetAnimVertices () const
 Retrieves the animVertices value for the object. More...
 
unsigned char * GetBoneIds () const
 Retrieves the boneIds value for the object. More...
 
float * GetBoneWeights () const
 Retrieves the boneWeights value for the object. More...
 
unsigned char * GetColors () const
 Retrieves the colors value for the object. More...
 
unsigned short * GetIndices () const
 Retrieves the indices value for the object. More...
 
float * GetNormals () const
 Retrieves the normals value for the object. More...
 
float * GetTangents () const
 Retrieves the tangents value for the object. More...
 
float * GetTexCoords () const
 Retrieves the texcoords value for the object. More...
 
float * GetTexCoords2 () const
 Retrieves the texcoords2 value for the object. More...
 
MeshGenBinormals ()
 Compute mesh binormals (aka bitangent) More...
 
MeshGenTangents ()
 Compute mesh tangents. More...
 
float * GetAnimNormals () const
 Retrieves the animNormals value for the object. More...
 
float * GetAnimVertices () const
 Retrieves the animVertices value for the object. More...
 
unsigned char * GetBoneIds () const
 Retrieves the boneIds value for the object. More...
 
float * GetBoneWeights () const
 Retrieves the boneWeights value for the object. More...
 
unsigned char * GetColors () const
 Retrieves the colors value for the object. More...
 
unsigned short * GetIndices () const
 Retrieves the indices value for the object. More...
 
float * GetNormals () const
 Retrieves the normals value for the object. More...
 
float * GetTangents () const
 Retrieves the tangents value for the object. More...
 
float * GetTexCoords () const
 Retrieves the texcoords value for the object. More...
 
float * GetTexCoords2 () const
 Retrieves the texcoords2 value for the object. More...
 
int GetTriangleCount () const
 Retrieves the triangleCount value for the object. More...
 
unsigned int GetVaoId () const
 Retrieves the vaoId value for the object. More...
 
unsigned int * GetVboId () const
 Retrieves the vboId value for the object. More...
 
unsigned int * GetVboId () const
 Retrieves the vboId value for the object. More...
 
int GetVertexCount () const
 Retrieves the vertexCount value for the object. More...
 
float * GetVertices () const
 Retrieves the vertices value for the object. More...
 
-raylib::Model LoadModelFrom () const
 Load model from generated mesh.
float * GetVertices () const
 Retrieves the vertices value for the object. More...
 
raylib::Model LoadModelFrom () const
 Load model from generated mesh. More...
 
operator raylib::BoundingBox ()
 Compute mesh bounding box limits.
 operator raylib::BoundingBox ()
 Compute mesh bounding box limits. More...
 
operator raylib::Model ()
 Load model from generated mesh.
 operator raylib::Model ()
 Load model from generated mesh. More...
 
-Meshoperator= (const ::Mesh &mesh)
 
-Meshoperator= (const Mesh &)=delete
 
-Meshoperator= (Mesh &&other) noexcept
 
Meshoperator= (const ::Mesh &mesh)
 
Meshoperator= (const Mesh &)=delete
 
Meshoperator= (Mesh &&other) noexcept
 
void SetAnimNormals (float *value)
 Sets the animNormals value for the object. More...
 
void SetVertices (float *value)
 Sets the vertices value for the object. More...
 
-void Unload ()
 Unload mesh from memory (RAM and/or VRAM)
void Unload ()
 Unload mesh from memory (RAM and/or VRAM) More...
 
-void UpdateBuffer (int index, void *data, int dataSize, int offset=0)
 Upload mesh vertex data to GPU (VRAM)
void UpdateBuffer (int index, void *data, int dataSize, int offset=0)
 Upload mesh vertex data to GPU (VRAM) More...
 
-void Upload (bool dynamic=false)
 Upload mesh vertex data to GPU (VRAM)
void Upload (bool dynamic=false)
 Upload mesh vertex data to GPU (VRAM) More...
 
- - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

+

Static Public Member Functions

-::Mesh Cube (float width, float height, float length)
 Generate cuboid mesh.
::Mesh Cube (float width, float height, float length)
 Generate cuboid mesh. More...
 
-::Mesh Cubicmap (const ::Image &cubicmap, ::Vector3 cubeSize)
 Generate cubes-based map mesh from image data.
::Mesh Cubicmap (const ::Image &cubicmap, ::Vector3 cubeSize)
 Generate cubes-based map mesh from image data. More...
 
-::Mesh Cylinder (float radius, float height, int slices)
 Generate cylinder mesh.
::Mesh Cylinder (float radius, float height, int slices)
 Generate cylinder mesh. More...
 
-::Mesh Heightmap (const ::Image &heightmap, ::Vector3 size)
 Generate heightmap mesh from image data.
::Mesh Heightmap (const ::Image &heightmap, ::Vector3 size)
 Generate heightmap mesh from image data. More...
 
-::Mesh HemiSphere (float radius, int rings, int slices)
 Generate half-sphere mesh (no bottom cap)
::Mesh HemiSphere (float radius, int rings, int slices)
 Generate half-sphere mesh (no bottom cap) More...
 
-::Mesh Knot (float radius, float size, int radSeg, int sides)
 Generate trefoil knot mesh.
::Mesh Knot (float radius, float size, int radSeg, int sides)
 Generate trefoil knot mesh. More...
 
-::Mesh Plane (float width, float length, int resX, int resZ)
 Generate plane mesh (with subdivisions)
::Mesh Plane (float width, float length, int resX, int resZ)
 Generate plane mesh (with subdivisions) More...
 
-::Mesh Poly (int sides, float radius)
 Generate polygonal mesh.
::Mesh Poly (int sides, float radius)
 Generate polygonal mesh. More...
 
-::Mesh Sphere (float radius, int rings, int slices)
 Generate sphere mesh (standard sphere)
::Mesh Sphere (float radius, int rings, int slices)
 Generate sphere mesh (standard sphere) More...
 
-::Mesh Torus (float radius, float size, int radSeg, int sides)
 Generate torus mesh.
::Mesh Torus (float radius, float size, int radSeg, int sides)
 Generate torus mesh. More...
 

Detailed Description

-

Vertex data definning a mesh.

+

Vertex data definning a mesh.

Definition at line 16 of file Mesh.hpp.

-

Member Function Documentation

- -

◆ GetAnimNormals()

+

Constructor & Destructor Documentation

+ +

◆ Mesh() [1/4]

+ +

◆ Mesh() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Mesh::Mesh (int vertexCount,
int triangleCount 
)
+
+inline
+
+ +

Definition at line 22 of file Mesh.hpp.

- -

◆ GetAnimVertices()

+ +

◆ Mesh() [3/4]

+ +

◆ Mesh() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Mesh::Mesh (Mesh && other)
+
+inline
+
+ +

Definition at line 51 of file Mesh.hpp.

- -

◆ GetBoneIds()

+ +

◆ ~Mesh()

- -

◆ GetBoneWeights()

+

Member Function Documentation

+ +

◆ BoundingBox()

+ +

◆ Cubicmap()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
::Mesh raylib::Mesh::Cubicmap (const ::Image & cubicmap,
::Vector3 cubeSize 
)
+
+inlinestatic
+
+ +

Generate cubes-based map mesh from image data.

+ +

Definition at line 137 of file Mesh.hpp.

+ +
+
+ +

◆ Cylinder()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
::Mesh raylib::Mesh::Cylinder (float radius,
float height,
int slices 
)
+
+inlinestatic
+
+ +

Generate cylinder mesh.

+ +

Definition at line 109 of file Mesh.hpp.

+ +
+
+ +

◆ Draw() [1/2]

+ +
+
+ + + @@ -433,15 +637,84 @@

-

Retrieves the colors value for the object.

-
Returns
The colors value of the object.
+

Draw multiple mesh instances with material and different transforms.

-

Definition at line 148 of file Mesh.hpp.

+

Definition at line 219 of file Mesh.hpp.

+ + + + +

◆ Draw() [2/2]

+ +
+
+

+ + + + + + + + + + + + + + + + + + + + + + +
void raylib::Mesh::Draw (const ::Material & material,
::Matrix * transforms,
int instances 
)
+ + + + +
+ + + + + + + + + + + + + + + + + + +
void raylib::Mesh::Draw (const ::Material & material,
const ::Matrix & transform 
)
+
+inline
+
+ +

Draw a 3d mesh with material and transform.

+ +

Definition at line 212 of file Mesh.hpp.

+ +
+
+ +

◆ Export()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Mesh::Export (const std::string & fileName)
+
+inline
+
+ +

Export mesh data to file.

+ +

Definition at line 226 of file Mesh.hpp.

- -

◆ GetIndices()

+ +

◆ GenBinormals()

+ +

◆ GenTangents()

+ +
+
+ + + + + +
+ + + + + + + +
Mesh & raylib::Mesh::GenTangents ()
+
+inline
+
+ +

Compute mesh tangents.

+ +

Definition at line 258 of file Mesh.hpp.

+ +
+
+ +

◆ GetAnimNormals()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetAnimNormals () const
+
+inline
+
+ +

Retrieves the animNormals value for the object.

+
Returns
The animNormals value of the object.
+ +

Definition at line 151 of file Mesh.hpp.

+ +
+
+ +

◆ GetAnimVertices()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetAnimVertices () const
+
+inline
+
+ +

Retrieves the animVertices value for the object.

+
Returns
The animVertices value of the object.
+ +

Definition at line 150 of file Mesh.hpp.

+ +
+
+ +

◆ GetBoneIds()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char * raylib::Mesh::GetBoneIds () const
+
+inline
+
+ +

Retrieves the boneIds value for the object.

+
Returns
The boneIds value of the object.
+ +

Definition at line 152 of file Mesh.hpp.

+ +
+
+ +

◆ GetBoneWeights()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetBoneWeights () const
+
+inline
+
+ +

Retrieves the boneWeights value for the object.

+
Returns
The boneWeights value of the object.
+ +

Definition at line 153 of file Mesh.hpp.

+ +
+
+ +

◆ GetColors()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char * raylib::Mesh::GetColors () const
+
+inline
+
+ +

Retrieves the colors value for the object.

+
Returns
The colors value of the object.
+ +

Definition at line 148 of file Mesh.hpp.

+ +
+
+ +

◆ GetIndices()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned short * raylib::Mesh::GetIndices () const
+
+inline
+
+ +

Retrieves the indices value for the object.

+
Returns
The indices value of the object.
+ +

Definition at line 149 of file Mesh.hpp.

+ +
+
+ +

◆ GetNormals()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetNormals () const
+
+inline
+
+ +

Retrieves the normals value for the object.

+
Returns
The normals value of the object.
+ +

Definition at line 146 of file Mesh.hpp.

+ +
+
+ +

◆ GetTangents()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetTangents () const
+
+inline
+
+ +

Retrieves the tangents value for the object.

+
Returns
The tangents value of the object.
+ +

Definition at line 147 of file Mesh.hpp.

+ +
+
+ +

◆ GetTexCoords()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetTexCoords () const
+
+inline
+
+ +

Retrieves the texcoords value for the object.

+
Returns
The texcoords value of the object.
+ +

Definition at line 144 of file Mesh.hpp.

+ +
+
+ +

◆ GetTexCoords2()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetTexCoords2 () const
+
+inline
+
+ +

Retrieves the texcoords2 value for the object.

+
Returns
The texcoords2 value of the object.
+ +

Definition at line 145 of file Mesh.hpp.

+ +
+
+ +

◆ GetTriangleCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Mesh::GetTriangleCount () const
+
+inline
+
+ +

Retrieves the triangleCount value for the object.

+
Returns
The triangleCount value of the object.
+ +

Definition at line 142 of file Mesh.hpp.

+ +
+
+ +

◆ GetVaoId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Mesh::GetVaoId () const
+
+inline
+
+ +

Retrieves the vaoId value for the object.

+
Returns
The vaoId value of the object.
+ +

Definition at line 154 of file Mesh.hpp.

+ +
+
+ +

◆ GetVboId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int * raylib::Mesh::GetVboId () const
+
+inline
+
+ +

Retrieves the vboId value for the object.

+
Returns
The vboId value of the object.
+ +

Definition at line 155 of file Mesh.hpp.

+ +
+
+ +

◆ GetVertexCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Mesh::GetVertexCount () const
+
+inline
+
+ +

Retrieves the vertexCount value for the object.

+
Returns
The vertexCount value of the object.
+ +

Definition at line 141 of file Mesh.hpp.

+ +
+
+ +

◆ GetVertices()

+ +
+
+ + + + + +
+ + + + + + + +
float * raylib::Mesh::GetVertices () const
+
+inline
+
+ +

Retrieves the vertices value for the object.

+
Returns
The vertices value of the object.
+ +

Definition at line 143 of file Mesh.hpp.

+ +
+
+ +

◆ Heightmap()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
::Mesh raylib::Mesh::Heightmap (const ::Image & heightmap,
::Vector3 size 
)
+
+inlinestatic
+
+ +

Generate heightmap mesh from image data.

+ +

Definition at line 130 of file Mesh.hpp.

+ +
+
+ +

◆ HemiSphere()

+ +
+
+ + + +inlinestatic
+ + + + + + + + + + + + + + + + + + + + + + +
::Mesh raylib::Mesh::HemiSphere (float radius,
int rings,
int slices 
)
-inline
-

Retrieves the indices value for the object.

-
Returns
The indices value of the object.
+

Generate half-sphere mesh (no bottom cap)

-

Definition at line 149 of file Mesh.hpp.

+

Definition at line 102 of file Mesh.hpp.

- -

◆ GetNormals()

+ +

◆ Knot()

- -

◆ GetTangents()

+ +

◆ LoadModelFrom()

- -

◆ GetTexCoords2()

+ +

◆ operator raylib::Model()

- -

◆ GetTriangleCount()

+ +

◆ operator=() [1/3]

- -

◆ GetVaoId()

+ +

◆ operator=() [2/3]

- -

◆ GetVboId()

+ +

◆ operator=() [3/3]

- -

◆ GetVertexCount()

+ +

◆ Plane()

- -

◆ GetVertices()

+ +

◆ Poly()

- +

◆ SetAnimNormals()

@@ -776,7 +1660,7 @@

+

◆ SetAnimVertices()

@@ -812,7 +1696,7 @@

+

◆ SetBoneIds()

@@ -848,7 +1732,7 @@

+

◆ SetBoneWeights()

@@ -884,7 +1768,7 @@

+

◆ SetColors()

@@ -920,7 +1804,7 @@

+

◆ SetIndices()

@@ -956,7 +1840,7 @@

+

◆ SetNormals()

@@ -992,7 +1876,7 @@

+

◆ SetTangents()

@@ -1028,7 +1912,7 @@

+

◆ SetTexCoords()

@@ -1064,7 +1948,7 @@

+

◆ SetTexCoords2()

@@ -1100,7 +1984,7 @@

+

◆ SetTriangleCount()

@@ -1136,7 +2020,7 @@

+

◆ SetVaoId()

@@ -1172,7 +2056,7 @@

+

◆ SetVboId()

@@ -1208,7 +2092,7 @@

+

◆ SetVertexCount()

@@ -1244,7 +2128,7 @@

+

◆ SetVertices()

@@ -1278,14 +2162,227 @@

Definition at line 143 of file Mesh.hpp.

+

+

+ +

◆ Sphere()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
::Mesh raylib::Mesh::Sphere (float radius,
int rings,
int slices 
)
+
+inlinestatic
+
+ +

Generate sphere mesh (standard sphere)

+ +

Definition at line 95 of file Mesh.hpp.

+ +
+
+ +

◆ Torus()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
::Mesh raylib::Mesh::Torus (float radius,
float size,
int radSeg,
int sides 
)
+
+inlinestatic
+
+ +

Generate torus mesh.

+ +

Definition at line 116 of file Mesh.hpp.

+ +
+
+ +

◆ Unload()

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

Unload mesh from memory (RAM and/or VRAM)

+ +

Definition at line 234 of file Mesh.hpp.

+ +

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

+ +
+
+ +

◆ UpdateBuffer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Mesh::UpdateBuffer (int index,
void * data,
int dataSize,
int offset = 0 
)
+
+inline
+
+ +

Upload mesh vertex data to GPU (VRAM)

+ +

Definition at line 205 of file Mesh.hpp.

+ +
+
+ +

◆ Upload()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::Upload (bool dynamic = false)
+
+inline
+
+ +

Upload mesh vertex data to GPU (VRAM)

+ +

Definition at line 198 of file Mesh.hpp.

+

+

- + diff --git a/docs/classraylib_1_1_mesh.js b/docs/classraylib_1_1_mesh.js new file mode 100644 index 00000000..4374c4d3 --- /dev/null +++ b/docs/classraylib_1_1_mesh.js @@ -0,0 +1,63 @@ +var classraylib_1_1_mesh = +[ + [ "Mesh", "classraylib_1_1_mesh.html#a1b94f6f98a5b4308cfc15e0dd5fe792e", null ], + [ "Mesh", "classraylib_1_1_mesh.html#aba3a2211cbb514cb507ae0179407d072", null ], + [ "Mesh", "classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42", null ], + [ "Mesh", "classraylib_1_1_mesh.html#a79ce0a2fa4f61795b3632330d29edac6", null ], + [ "~Mesh", "classraylib_1_1_mesh.html#af09e2772739c525a2f957ebb7b4a1486", null ], + [ "BoundingBox", "classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7", null ], + [ "Cube", "classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929", null ], + [ "Cubicmap", "classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688", null ], + [ "Cylinder", "classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0", null ], + [ "Draw", "classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c", null ], + [ "Draw", "classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0", null ], + [ "Export", "classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55", null ], + [ "GenBinormals", "classraylib_1_1_mesh.html#abead0f83947250a690ed3df9cc7e7ee6", null ], + [ "GenTangents", "classraylib_1_1_mesh.html#ad1124e959bb502bf73bbcbed1dad9ad9", null ], + [ "GetAnimNormals", "classraylib_1_1_mesh.html#a50ce721e9b1776b7bca8e08bd98604dc", null ], + [ "GetAnimVertices", "classraylib_1_1_mesh.html#aa839d41a65c2d76fa09be53705817979", null ], + [ "GetBoneIds", "classraylib_1_1_mesh.html#a61ef493999c906f55dd04c542aff5894", null ], + [ "GetBoneWeights", "classraylib_1_1_mesh.html#a77ba8f4f2e6f8aafb6af33f8cee96398", null ], + [ "GetColors", "classraylib_1_1_mesh.html#aca15b603e89c773a69126c2cabbc55a4", null ], + [ "GetIndices", "classraylib_1_1_mesh.html#aed7d37f4951f455623dbe5fc08a9ed1c", null ], + [ "GetNormals", "classraylib_1_1_mesh.html#a5fbfc965b4498a86ae972c093b3540ec", null ], + [ "GetTangents", "classraylib_1_1_mesh.html#abd7f280c54169fdbac494bf2612a1f06", null ], + [ "GetTexCoords", "classraylib_1_1_mesh.html#a08b480ec18769800b4dcefebbcd825af", null ], + [ "GetTexCoords2", "classraylib_1_1_mesh.html#a8806e52f188cd319ebefdc6044d85462", null ], + [ "GetTriangleCount", "classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467", null ], + [ "GetVaoId", "classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4", null ], + [ "GetVboId", "classraylib_1_1_mesh.html#ac43cf6e1ca74430fa7a258692974fc26", null ], + [ "GetVertexCount", "classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538", null ], + [ "GetVertices", "classraylib_1_1_mesh.html#a84360d9c5767872d8fdfbf05d7355c61", null ], + [ "Heightmap", "classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97", null ], + [ "HemiSphere", "classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6", null ], + [ "Knot", "classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed", null ], + [ "LoadModelFrom", "classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d", null ], + [ "operator raylib::BoundingBox", "classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c", null ], + [ "operator raylib::Model", "classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1", null ], + [ "operator=", "classraylib_1_1_mesh.html#ae3b9c24dd49d40c68e11ed8a82f4af82", null ], + [ "operator=", "classraylib_1_1_mesh.html#a4fe0ff85b2ef8ea6dc9e7bc98dc8c8ca", null ], + [ "operator=", "classraylib_1_1_mesh.html#ad74efe8cd30bd4630a5cf055d61e8263", null ], + [ "Plane", "classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4", null ], + [ "Poly", "classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732", null ], + [ "SetAnimNormals", "classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7", null ], + [ "SetAnimVertices", "classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119", null ], + [ "SetBoneIds", "classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81", null ], + [ "SetBoneWeights", "classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c", null ], + [ "SetColors", "classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef", null ], + [ "SetIndices", "classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a", null ], + [ "SetNormals", "classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723", null ], + [ "SetTangents", "classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e", null ], + [ "SetTexCoords", "classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162", null ], + [ "SetTexCoords2", "classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822", null ], + [ "SetTriangleCount", "classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721", null ], + [ "SetVaoId", "classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c", null ], + [ "SetVboId", "classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b", null ], + [ "SetVertexCount", "classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd", null ], + [ "SetVertices", "classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f", null ], + [ "Sphere", "classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3", null ], + [ "Torus", "classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8", null ], + [ "Unload", "classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7", null ], + [ "UpdateBuffer", "classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf", null ], + [ "Upload", "classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_model-members.html b/docs/classraylib_1_1_model-members.html index 7cb5f9e2..1b087103 100644 --- a/docs/classraylib_1_1_model-members.html +++ b/docs/classraylib_1_1_model-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Model Member List
+
raylib::Model Member List

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

- - - - - - - - + + + + + + + + - - - - - + + + + + - + - + - - - - - + + + + + - - - + + + - + - + - + - - - + + + - - - + + +
Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
GetBindPoe() constraylib::Modelinline
GetBoneCount() constraylib::Modelinline
GetBones() constraylib::Modelinline
GetBoundingBox() constraylib::Modelinline
Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
GetBindPoe() constraylib::Modelinline
GetBoneCount() constraylib::Modelinline
GetBones() constraylib::Modelinline
GetBoundingBox() constraylib::Modelinline
GetCollision(const ::Ray &ray) constraylib::Modelinline
GetMaterialCount() constraylib::Modelinline
GetMaterials() constraylib::Modelinline
GetMeshCount() constraylib::Modelinline
GetMeshes() constraylib::Modelinline
GetMeshMaterial() constraylib::Modelinline
GetMaterialCount() constraylib::Modelinline
GetMaterials() constraylib::Modelinline
GetMeshCount() constraylib::Modelinline
GetMeshes() constraylib::Modelinline
GetMeshMaterial() constraylib::Modelinline
GetTransform() constraylib::Modelinline
IsModelAnimationValid(const ::ModelAnimation &anim) constraylib::Modelinline
IsModelAnimationValid(const ::ModelAnimation &anim) constraylib::Modelinline
IsReady() constraylib::Modelinline
Load(const std::string &fileName)raylib::Modelinline
Load(const std::string &fileName)raylib::Modelinline
Load(const ::Mesh &mesh)raylib::Modelinline
Model(const ::Model &model) (defined in raylib::Model)raylib::Modelinline
Model(const std::string &fileName) (defined in raylib::Model)raylib::Modelinline
Model(const ::Mesh &mesh) (defined in raylib::Model)raylib::Modelinline
Model(const Model &)=delete (defined in raylib::Model)raylib::Model
Model(Model &&other) (defined in raylib::Model)raylib::Modelinline
Model(const ::Model &model)raylib::Modelinline
Model(const std::string &fileName)raylib::Modelinline
Model(const ::Mesh &mesh)raylib::Modelinline
Model(const Model &)=deleteraylib::Model
Model(Model &&other)raylib::Modelinline
operator BoundingBox() constraylib::Modelinline
operator=(const ::Model &model) (defined in raylib::Model)raylib::Modelinline
operator=(const Model &)=delete (defined in raylib::Model)raylib::Model
operator=(Model &&other) noexcept (defined in raylib::Model)raylib::Modelinline
operator=(const ::Model &model)raylib::Modelinline
operator=(const Model &)=deleteraylib::Model
operator=(Model &&other) noexceptraylib::Modelinline
SetBindPoe(::Transform *value)raylib::Modelinline
SetBoneCount(int value)raylib::Modelinline
SetBoneCount(int value)raylib::Modelinline
SetBones(::BoneInfo *value)raylib::Modelinline
SetMaterialCount(int value)raylib::Modelinline
SetMaterialCount(int value)raylib::Modelinline
SetMaterials(::Material *value)raylib::Modelinline
SetMeshCount(int value)raylib::Modelinline
SetMeshCount(int value)raylib::Modelinline
SetMeshes(::Mesh *value)raylib::Modelinline
SetMeshMaterial(int *value)raylib::Modelinline
SetMeshMaterial(int meshId, int materialId)raylib::Modelinline
SetTransform(::Matrix value)raylib::Modelinline
SetMeshMaterial(int *value)raylib::Modelinline
SetMeshMaterial(int meshId, int materialId)raylib::Modelinline
SetTransform(::Matrix value)raylib::Modelinline
Unload()raylib::Modelinline
UnloadKeepMeshes()raylib::Modelinline
UpdateAnimation(const ::ModelAnimation &anim, int frame)raylib::Modelinline
~Model() (defined in raylib::Model)raylib::Modelinline
UnloadKeepMeshes()raylib::Modelinline
UpdateAnimation(const ::ModelAnimation &anim, int frame)raylib::Modelinline
~Model()raylib::Modelinline
+

- + diff --git a/docs/classraylib_1_1_model.html b/docs/classraylib_1_1_model.html index 25f760fd..50980aa9 100644 --- a/docs/classraylib_1_1_model.html +++ b/docs/classraylib_1_1_model.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Model Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Model Class Reference
+
raylib::Model Class Reference

Model type. More...

+ +

#include <Model.hpp>

- - + - + - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - + + + + + - - + + - - - + + + - - - - - - - + + + + + + + - - + + - - + + - + - - + + - - - - - - + + + + + + @@ -185,45 +189,421 @@ - + - + - - - - + + + + - - + + - - - - - - + + + + + +

+

Public Member Functions

Model (const ::Mesh &mesh)
 Model (const ::Mesh &mesh)
 
Model (const ::Model &model)
 Model (const ::Model &model)
 
Model (const Model &)=delete
 Model (const Model &)=delete
 
Model (const std::string &fileName)
 Model (const std::string &fileName)
 
Model (Model &&other)
 Model (Model &&other)
 
-ModelDraw (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
 Draw a model with extended parameters.
 
-ModelDraw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
 Draw a model (with texture if set)
 
-ModelDrawWires (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
 Draw a model wires (with texture if set) with extended parameters.
 
-ModelDrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
 Draw a model wires (with texture if set)
 
::Transform * GetBindPoe () const
 Retrieves the bindPose value for the object. More...
 
 ~Model ()
 
ModelDraw (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
 Draw a model with extended parameters. More...
 
ModelDraw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
 Draw a model (with texture if set) More...
 
ModelDrawWires (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
 Draw a model wires (with texture if set) with extended parameters. More...
 
ModelDrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
 Draw a model wires (with texture if set) More...
 
::Transform * GetBindPoe () const
 Retrieves the bindPose value for the object. More...
 
int GetBoneCount () const
 Retrieves the boneCount value for the object. More...
 
::BoneInfo * GetBones () const
 Retrieves the bones value for the object. More...
 
-BoundingBox GetBoundingBox () const
 Compute model bounding box limits (considers all meshes)
::BoneInfo * GetBones () const
 Retrieves the bones value for the object. More...
 
BoundingBox GetBoundingBox () const
 Compute model bounding box limits (considers all meshes) More...
 
-RayCollision GetCollision (const ::Ray &ray) const
 Get collision info between ray and model.
RayCollision GetCollision (const ::Ray &ray) const
 Get collision info between ray and model. More...
 
int GetMaterialCount () const
 Retrieves the materialCount value for the object. More...
 
::MaterialGetMaterials () const
 Retrieves the materials value for the object. More...
 
::Material * GetMaterials () const
 Retrieves the materials value for the object. More...
 
int GetMeshCount () const
 Retrieves the meshCount value for the object. More...
 
::MeshGetMeshes () const
 Retrieves the meshes value for the object. More...
 
int * GetMeshMaterial () const
 Retrieves the meshMaterial value for the object. More...
 
::Matrix GetTransform () const
::Mesh * GetMeshes () const
 Retrieves the meshes value for the object. More...
 
int * GetMeshMaterial () const
 Retrieves the meshMaterial value for the object. More...
 
::Matrix GetTransform () const
 Retrieves the transform value for the object. More...
 
-bool IsModelAnimationValid (const ::ModelAnimation &anim) const
 Check model animation skeleton match.
bool IsModelAnimationValid (const ::ModelAnimation &anim) const
 Check model animation skeleton match. More...
 
-bool IsReady () const
 Determines whether or not the Model has data in it.
bool IsReady () const
 Determines whether or not the Model has data in it. More...
 
bool Load (const ::Mesh &mesh)
bool Load (const ::Mesh &mesh)
 Loads a Model from the given Mesh. More...
 
bool Load (const std::string &fileName)
 Loads a Model from the given file. More...
 
operator BoundingBox () const
 Compute model bounding box limits (considers all meshes)
 operator BoundingBox () const
 Compute model bounding box limits (considers all meshes) More...
 
-Modeloperator= (const ::Model &model)
 
-Modeloperator= (const Model &)=delete
 
-Modeloperator= (Model &&other) noexcept
 
Modeloperator= (const ::Model &model)
 
Modeloperator= (const Model &)=delete
 
Modeloperator= (Model &&other) noexcept
 
void SetBindPoe (::Transform *value)
 Sets the bindPose value for the object. More...
 
void SetMaterialCount (int value)
 Sets the materialCount value for the object. More...
 
void SetMaterials (::Material *value)
void SetMaterials (::Material *value)
 Sets the materials value for the object. More...
 
void SetMeshCount (int value)
 Sets the meshCount value for the object. More...
 
void SetMeshes (::Mesh *value)
void SetMeshes (::Mesh *value)
 Sets the meshes value for the object. More...
 
void SetMeshMaterial (int *value)
 Sets the meshMaterial value for the object. More...
 
-ModelSetMeshMaterial (int meshId, int materialId)
 Set material for a mesh.
 
void SetTransform (::Matrix value)
ModelSetMeshMaterial (int meshId, int materialId)
 Set material for a mesh. More...
 
void SetTransform (::Matrix value)
 Sets the transform value for the object. More...
 
-void Unload ()
 Unload model (including meshes) from memory (RAM and/or VRAM)
void Unload ()
 Unload model (including meshes) from memory (RAM and/or VRAM) More...
 
-ModelUnloadKeepMeshes ()
 Unload model (but not meshes) from memory (RAM and/or VRAM)
 
-ModelUpdateAnimation (const ::ModelAnimation &anim, int frame)
 Update model animation pose.
 
ModelUnloadKeepMeshes ()
 Unload model (but not meshes) from memory (RAM and/or VRAM) More...
 
ModelUpdateAnimation (const ::ModelAnimation &anim, int frame)
 Update model animation pose. More...
 

Detailed Description

-

Model type.

+

Model type.

Definition at line 15 of file Model.hpp.

-

Member Function Documentation

- -

◆ GetBindPoe()

+

Constructor & Destructor Documentation

+ +

◆ Model() [1/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Model::Model (const ::Model & model)
+
+inline
+
+ +

Definition at line 17 of file Model.hpp.

+ +
+
+ +

◆ Model() [2/5]

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

Definition at line 21 of file Model.hpp.

+ +

References Load().

+ +
+
+ +

◆ Model() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Model::Model (const ::Mesh & mesh)
+
+inline
+
+ +

Definition at line 27 of file Model.hpp.

+ +

References Load().

+ +
+
+ +

◆ ~Model()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Model::~Model ()
+
+inline
+
+ +

Definition at line 33 of file Model.hpp.

+ +

References Unload().

+ +
+
+ +

◆ Model() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Model::Model (const Model)
+
+delete
+
+ +
+
+ +

◆ Model() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Model::Model (Model && other)
+
+inline
+
+ +

Definition at line 39 of file Model.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ Draw() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model & raylib::Model::Draw (::Vector3 position,
::Vector3 rotationAxis,
float rotationAngle = 0.0f,
::Vector3 scale = {1.0f, 1.0f, 1.0f},
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw a model with extended parameters.

+ +

Definition at line 149 of file Model.hpp.

+ +
+
+ +

◆ Draw() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Model & raylib::Model::Draw (::Vector3 position,
float scale = 1.0f,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw a model (with texture if set)

+ +

Definition at line 139 of file Model.hpp.

+ +
+
+ +

◆ DrawWires() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model & raylib::Model::DrawWires (::Vector3 position,
::Vector3 rotationAxis,
float rotationAngle = 0.0f,
::Vector3 scale = {1.0f, 1.0f, 1.0f},
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw a model wires (with texture if set) with extended parameters.

+ +

Definition at line 172 of file Model.hpp.

+ +
+
+ +

◆ DrawWires() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Model & raylib::Model::DrawWires (::Vector3 position,
float scale = 1.0f,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw a model wires (with texture if set)

+ +

Definition at line 162 of file Model.hpp.

+ +
+
+ +

◆ GetBindPoe()

+ +

◆ GetBones()

+ +
+
+ + + + + +
+ + + + + + + +
::BoneInfo * raylib::Model::GetBones () const
+
+inline
+
+ +

Retrieves the bones value for the object.

+
Returns
The bones value of the object.
+ +

Definition at line 58 of file Model.hpp.

+ +
+
+ +

◆ GetBoundingBox()

+ +
+
+ + + - + @@ -525,7 +1025,7 @@

+

◆ Load() [2/2]

@@ -556,9 +1056,124 @@

References IsReady().

+

Referenced by Model().

+ +

+ + +

◆ operator BoundingBox()

+ +
+
+

+ + + @@ -275,15 +715,14 @@

-

Retrieves the boneCount value for the object.

-
Returns
The boneCount value of the object.
+

Compute model bounding box limits (considers all meshes)

-

Definition at line 57 of file Model.hpp.

+

Definition at line 185 of file Model.hpp.

- -

◆ GetBones()

+ +

◆ GetCollision()

@@ -292,9 +731,10 @@

BoundingBox raylib::Model::GetBoundingBox ( ) const
- + - + +
::BoneInfo* raylib::Model::GetBones RayCollision raylib::Model::GetCollision ()const ::Ray & ray) const
@@ -305,14 +745,13 @@

-

Retrieves the bones value for the object.

-
Returns
The bones value of the object.
+

Get collision info between ray and model.

-

Definition at line 58 of file Model.hpp.

+

Definition at line 117 of file Model.hpp.

- +

◆ GetMaterialCount()

@@ -342,8 +781,8 @@

-

◆ GetMaterials()

+ +

◆ GetMaterials()

@@ -352,7 +791,7 @@

- + @@ -372,7 +811,7 @@

+

◆ GetMeshCount()

@@ -402,8 +841,8 @@

-

◆ GetMeshes()

+ +

◆ GetMeshes()

@@ -412,7 +851,7 @@

::Material* raylib::Model::GetMaterials ::Material * raylib::Model::GetMaterials ( ) const
- + @@ -432,8 +871,8 @@

-

◆ GetMeshMaterial()

+ +

◆ GetMeshMaterial()

@@ -442,7 +881,7 @@

::Mesh* raylib::Model::GetMeshes ::Mesh * raylib::Model::GetMeshes ( ) const
- + @@ -462,7 +901,7 @@

+

◆ GetTransform()

@@ -472,7 +911,7 @@

int* raylib::Model::GetMeshMaterial int * raylib::Model::GetMeshMaterial ( ) const
- + @@ -492,7 +931,68 @@

+ +

◆ IsModelAnimationValid()

+ +
+
+
::Matrix raylib::Model::GetTransform ::Matrix raylib::Model::GetTransform ( ) const
+ + + + +
+ + + + + + + + +
bool raylib::Model::IsModelAnimationValid (const ::ModelAnimation & anim) const
+
+inline
+

+ +

Check model animation skeleton match.

+ +

Definition at line 132 of file Model.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Model::IsReady () const
+
+inline
+
+ +

Determines whether or not the Model has data in it.

+ +

Definition at line 199 of file Model.hpp.

+ +

Referenced by Load().

+ +
+
+

◆ Load() [1/2]

@@ -504,7 +1004,7 @@

bool raylib::Model::Load

(const ::Meshconst ::Mesh &  mesh)
+ + + + +
+ + + + + + + +
raylib::Model::operator BoundingBox () const
+
+inline
+
+ +

Compute model bounding box limits (considers all meshes)

+ +

Definition at line 192 of file Model.hpp.

+ +
+
+ +

◆ operator=() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Model & raylib::Model::operator= (const ::Modelmodel)
+
+inline
+
+ +

Definition at line 61 of file Model.hpp.

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Model & raylib::Model::operator= (const Model)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Model & raylib::Model::operator= (Model && other)
+
+inlinenoexcept
+
+ +

Definition at line 68 of file Model.hpp.

+ +

References Unload().

+
- +

◆ SetBindPoe()

@@ -594,7 +1209,7 @@

+

◆ SetBoneCount()

@@ -630,7 +1245,7 @@

+

◆ SetBones()

@@ -666,7 +1281,7 @@

+

◆ SetMaterialCount()

@@ -702,7 +1317,7 @@

+

◆ SetMaterials()

@@ -714,7 +1329,7 @@

void raylib::Model::SetMaterials ( - ::Material *  + ::Material *  value) @@ -738,7 +1353,7 @@

+

◆ SetMeshCount()

@@ -774,7 +1389,7 @@

+

◆ SetMeshes()

@@ -786,7 +1401,7 @@

void raylib::Model::SetMeshes ( - ::Mesh *  + ::Mesh *  value) @@ -810,8 +1425,8 @@

-

◆ SetMeshMaterial()

+ +

◆ SetMeshMaterial() [1/2]

@@ -846,7 +1461,47 @@

+ +

◆ SetMeshMaterial() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Model & raylib::Model::SetMeshMaterial (int meshId,
int materialId 
)
+
+inline
+
+ +

Set material for a mesh.

+ +

Definition at line 109 of file Model.hpp.

+ +
+
+

◆ SetTransform()

@@ -858,7 +1513,7 @@

void raylib::Model::SetTransform ( - ::Matrix  + ::Matrix  value) @@ -880,14 +1535,116 @@

Definition at line 51 of file Model.hpp.

+

+

+ +

◆ Unload()

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

Unload model (including meshes) from memory (RAM and/or VRAM)

+ +

Definition at line 90 of file Model.hpp.

+ +

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

+ +
+
+ +

◆ UnloadKeepMeshes()

+ +
+
+ + + + + +
+ + + + + + + +
Model & raylib::Model::UnloadKeepMeshes ()
+
+inline
+
+ +

Unload model (but not meshes) from memory (RAM and/or VRAM)

+ +

Definition at line 101 of file Model.hpp.

+ +
+
+ +

◆ UpdateAnimation()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Model & raylib::Model::UpdateAnimation (const ::ModelAnimation & anim,
int frame 
)
+
+inline
+
+ +

Update model animation pose.

+ +

Definition at line 124 of file Model.hpp.

+
+

- + diff --git a/docs/classraylib_1_1_model.js b/docs/classraylib_1_1_model.js new file mode 100644 index 00000000..505985fb --- /dev/null +++ b/docs/classraylib_1_1_model.js @@ -0,0 +1,45 @@ +var classraylib_1_1_model = +[ + [ "Model", "classraylib_1_1_model.html#a888e1cd7d4cd968c0f802515e9fd4dc7", null ], + [ "Model", "classraylib_1_1_model.html#aa15ecaff51acb302ebd7058b920d9952", null ], + [ "Model", "classraylib_1_1_model.html#a97ff9579c923fd05b8de5fa102ad03bc", null ], + [ "~Model", "classraylib_1_1_model.html#ad0b3ed5e32b1d5bf73511ed67270ae07", null ], + [ "Model", "classraylib_1_1_model.html#ab12ca5ce75a7fde88ed6f6aa472d42a0", null ], + [ "Model", "classraylib_1_1_model.html#a982dbd1ae4182f9e83959493d0e9581b", null ], + [ "Draw", "classraylib_1_1_model.html#a6ec5ae6feae25b78afd39ac0ae87f3bf", null ], + [ "Draw", "classraylib_1_1_model.html#ad76a70cac2237c3e435606f94378e482", null ], + [ "DrawWires", "classraylib_1_1_model.html#a84f36042c82f27eafd5467537aad99d6", null ], + [ "DrawWires", "classraylib_1_1_model.html#afb936c1fac4ee684b616083f473f3977", null ], + [ "GetBindPoe", "classraylib_1_1_model.html#a2aa6c3849f23fe94e69af1565dd96b1f", null ], + [ "GetBoneCount", "classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb", null ], + [ "GetBones", "classraylib_1_1_model.html#a90c2b91bce426a38c66dbda8b555db18", null ], + [ "GetBoundingBox", "classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07", null ], + [ "GetCollision", "classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d", null ], + [ "GetMaterialCount", "classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2", null ], + [ "GetMaterials", "classraylib_1_1_model.html#a3749f55279612012c8b5bf9d9e1b55e6", null ], + [ "GetMeshCount", "classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546", null ], + [ "GetMeshes", "classraylib_1_1_model.html#a92191bd818f34c892ee7f7d15be04fd2", null ], + [ "GetMeshMaterial", "classraylib_1_1_model.html#a1bf446b9e12f82d4c6a3676bfe5e69fa", null ], + [ "GetTransform", "classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252", null ], + [ "IsModelAnimationValid", "classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973", null ], + [ "IsReady", "classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17", null ], + [ "Load", "classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac", null ], + [ "Load", "classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7", null ], + [ "operator BoundingBox", "classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00", null ], + [ "operator=", "classraylib_1_1_model.html#afb16732714d5f3931dce5266cf9442a0", null ], + [ "operator=", "classraylib_1_1_model.html#a37c9ca6ea23e395a1ca1e2e32a578582", null ], + [ "operator=", "classraylib_1_1_model.html#afd31dd377369b1187d816d92be8f5e2a", null ], + [ "SetBindPoe", "classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4", null ], + [ "SetBoneCount", "classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a", null ], + [ "SetBones", "classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb", null ], + [ "SetMaterialCount", "classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67", null ], + [ "SetMaterials", "classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f", null ], + [ "SetMeshCount", "classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327", null ], + [ "SetMeshes", "classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9", null ], + [ "SetMeshMaterial", "classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73", null ], + [ "SetMeshMaterial", "classraylib_1_1_model.html#a615470971725d77d9252325017cb84f7", null ], + [ "SetTransform", "classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745", null ], + [ "Unload", "classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497", null ], + [ "UnloadKeepMeshes", "classraylib_1_1_model.html#aebafa7bdc74ccd5876c6574eae495722", null ], + [ "UpdateAnimation", "classraylib_1_1_model.html#abf25f0cbb2526d1a3eaef890f0dfcd88", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_model_animation-members.html b/docs/classraylib_1_1_model_animation-members.html index 7bb94c3b..bbf8cc49 100644 --- a/docs/classraylib_1_1_model_animation-members.html +++ b/docs/classraylib_1_1_model_animation-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::ModelAnimation Member List
+
raylib::ModelAnimation Member List

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

- + - + - - - - - - - + + + + + + + - + - + - - + +
GetBoneCount() constraylib::ModelAnimationinline
GetBones() constraylib::ModelAnimationinline
GetBones() constraylib::ModelAnimationinline
GetFrameCount() constraylib::ModelAnimationinline
GetFramePoses() constraylib::ModelAnimationinline
GetFramePoses() constraylib::ModelAnimationinline
IsValid(const ::Model &model) constraylib::ModelAnimationinline
Load(const std::string &fileName)raylib::ModelAnimationinlinestatic
ModelAnimation(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
ModelAnimation(const ModelAnimation &)=delete (defined in raylib::ModelAnimation)raylib::ModelAnimation
ModelAnimation(ModelAnimation &&other) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
operator=(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
operator=(const ModelAnimation &)=delete (defined in raylib::ModelAnimation)raylib::ModelAnimation
operator=(ModelAnimation &&other) noexcept (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
Load(const std::string &fileName)raylib::ModelAnimationinlinestatic
ModelAnimation(const ::ModelAnimation &model)raylib::ModelAnimationinline
ModelAnimation(const ModelAnimation &)=deleteraylib::ModelAnimation
ModelAnimation(ModelAnimation &&other)raylib::ModelAnimationinline
operator=(const ::ModelAnimation &model)raylib::ModelAnimationinline
operator=(const ModelAnimation &)=deleteraylib::ModelAnimation
operator=(ModelAnimation &&other) noexceptraylib::ModelAnimationinline
SetBoneCount(int value)raylib::ModelAnimationinline
SetBones(::BoneInfo *value)raylib::ModelAnimationinline
SetBones(::BoneInfo *value)raylib::ModelAnimationinline
SetFrameCount(int value)raylib::ModelAnimationinline
SetFramePoses(::Transform **value)raylib::ModelAnimationinline
SetFramePoses(::Transform **value)raylib::ModelAnimationinline
Unload()raylib::ModelAnimationinline
Update(const ::Model &model, int frame)raylib::ModelAnimationinline
~ModelAnimation() (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
Update(const ::Model &model, int frame)raylib::ModelAnimationinline
~ModelAnimation()raylib::ModelAnimationinline
+

- + diff --git a/docs/classraylib_1_1_model_animation.html b/docs/classraylib_1_1_model_animation.html index 46acdd3f..79e773d6 100644 --- a/docs/classraylib_1_1_model_animation.html +++ b/docs/classraylib_1_1_model_animation.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::ModelAnimation Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::ModelAnimation Class Reference
+
raylib::ModelAnimation Class Reference

Model animation. More...

+ +

#include <ModelAnimation.hpp>

- - + - + - + + + - - - + + + - - - - - + + + + + - - - - - - + + + + + + @@ -127,28 +141,139 @@ - - + + - - - + + +

+

Public Member Functions

ModelAnimation (const ::ModelAnimation &model)
 ModelAnimation (const ::ModelAnimation &model)
 
ModelAnimation (const ModelAnimation &)=delete
 ModelAnimation (const ModelAnimation &)=delete
 
ModelAnimation (ModelAnimation &&other)
 ModelAnimation (ModelAnimation &&other)
 
 ~ModelAnimation ()
 
int GetBoneCount () const
 Retrieves the boneCount value for the object. More...
 
::BoneInfo * GetBones () const
 Retrieves the bones value for the object. More...
 
::BoneInfo * GetBones () const
 Retrieves the bones value for the object. More...
 
int GetFrameCount () const
 Retrieves the frameCount value for the object. More...
 
::Transform ** GetFramePoses () const
 Retrieves the framePoses value for the object. More...
 
-bool IsValid (const ::Model &model) const
 Check model animation skeleton match.
::Transform ** GetFramePoses () const
 Retrieves the framePoses value for the object. More...
 
bool IsValid (const ::Model &model) const
 Check model animation skeleton match. More...
 
-ModelAnimationoperator= (const ::ModelAnimation &model)
 
-ModelAnimationoperator= (const ModelAnimation &)=delete
 
-ModelAnimationoperator= (ModelAnimation &&other) noexcept
 
ModelAnimationoperator= (const ::ModelAnimation &model)
 
ModelAnimationoperator= (const ModelAnimation &)=delete
 
ModelAnimationoperator= (ModelAnimation &&other) noexcept
 
void SetBoneCount (int value)
 Sets the boneCount value for the object. More...
 
void SetFramePoses (::Transform **value)
 Sets the framePoses value for the object. More...
 
-void Unload ()
 Unload animation data.
void Unload ()
 Unload animation data. More...
 
-ModelAnimationUpdate (const ::Model &model, int frame)
 Update model animation pose.
 
ModelAnimationUpdate (const ::Model &model, int frame)
 Update model animation pose. More...
 
- - - - + + +

+

Static Public Member Functions

-static std::vector< ModelAnimationLoad (const std::string &fileName)
 Load model animations from file.
 
static std::vector< ModelAnimationLoad (const std::string &fileName)
 Load model animations from file. More...
 

Detailed Description

-

Model animation.

+

Model animation.

Definition at line 15 of file ModelAnimation.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ ModelAnimation() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::ModelAnimation::ModelAnimation (const ::ModelAnimation & model)
+
+inline
+
+ +

Definition at line 17 of file ModelAnimation.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ ModelAnimation() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::ModelAnimation::ModelAnimation (const ModelAnimation)
+
+delete
+
+ +
+
+ +

◆ ModelAnimation() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::ModelAnimation::ModelAnimation (ModelAnimation && other)
+
+inline
+
+ +

Definition at line 23 of file ModelAnimation.hpp.

+ +
+
+ +

◆ ~ModelAnimation()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::ModelAnimation::~ModelAnimation ()
+
+inline
+
+ +

Definition at line 32 of file ModelAnimation.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+

◆ GetBoneCount()

@@ -178,8 +303,8 @@

-

◆ GetBones()

+ +

◆ GetBones()

@@ -188,7 +313,7 @@

- + @@ -208,7 +333,7 @@

+

◆ GetFrameCount()

@@ -238,8 +363,8 @@

-

◆ GetFramePoses()

+ +

◆ GetFramePoses()

@@ -248,7 +373,7 @@

::BoneInfo* raylib::ModelAnimation::GetBones ::BoneInfo * raylib::ModelAnimation::GetBones ( ) const
- + @@ -268,7 +393,153 @@

+ +

◆ IsValid()

+ +
+
+
::Transform** raylib::ModelAnimation::GetFramePoses ::Transform ** raylib::ModelAnimation::GetFramePoses ( ) const
+ + + + +
+ + + + + + + + +
bool raylib::ModelAnimation::IsValid (const ::Model & model) const
+
+inline
+

+ +

Check model animation skeleton match.

+ +

Definition at line 95 of file ModelAnimation.hpp.

+ +
+
+ +

◆ Load()

+ +
+
+ + + + + +
+ + + + + + + + +
static std::vector< ModelAnimation > raylib::ModelAnimation::Load (const std::string & fileName)
+
+inlinestatic
+
+ +

Load model animations from file.

+ +

Definition at line 39 of file ModelAnimation.hpp.

+ +

References ModelAnimation().

+ +
+
+ +

◆ operator=() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
ModelAnimation & raylib::ModelAnimation::operator= (const ::ModelAnimationmodel)
+
+inline
+
+ +

Definition at line 54 of file ModelAnimation.hpp.

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
ModelAnimation & raylib::ModelAnimation::operator= (const ModelAnimation)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
ModelAnimation & raylib::ModelAnimation::operator= (ModelAnimation && other)
+
+inlinenoexcept
+
+ +

Definition at line 61 of file ModelAnimation.hpp.

+ +

References Unload().

+ +
+
+

◆ SetBoneCount()

@@ -304,7 +575,7 @@

+

◆ SetBones()

@@ -340,7 +611,7 @@

+

◆ SetFrameCount()

@@ -376,7 +647,7 @@

+

◆ SetFramePoses()

@@ -410,14 +681,87 @@

Definition at line 52 of file ModelAnimation.hpp.

+

+

+ +

◆ Unload()

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

Unload animation data.

+ +

Definition at line 80 of file ModelAnimation.hpp.

+ +

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

+ +
+
+ +

◆ Update()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
ModelAnimation & raylib::ModelAnimation::Update (const ::Model & model,
int frame 
)
+
+inline
+
+ +

Update model animation pose.

+ +

Definition at line 87 of file ModelAnimation.hpp.

+

+

- + diff --git a/docs/classraylib_1_1_model_animation.js b/docs/classraylib_1_1_model_animation.js new file mode 100644 index 00000000..73a00f90 --- /dev/null +++ b/docs/classraylib_1_1_model_animation.js @@ -0,0 +1,22 @@ +var classraylib_1_1_model_animation = +[ + [ "ModelAnimation", "classraylib_1_1_model_animation.html#a9029e1db807aa1d1cc3ff4f7a8ac87d5", null ], + [ "ModelAnimation", "classraylib_1_1_model_animation.html#ad0bd91810295d01e922ec88ae560f18b", null ], + [ "ModelAnimation", "classraylib_1_1_model_animation.html#aadd7f90b9f7c643b070b1c4d48b9aa6c", null ], + [ "~ModelAnimation", "classraylib_1_1_model_animation.html#a633f1c094138e99c36251773a8f3c787", null ], + [ "GetBoneCount", "classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327", null ], + [ "GetBones", "classraylib_1_1_model_animation.html#a9b577b0132525d55cbfc56870d907db8", null ], + [ "GetFrameCount", "classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2", null ], + [ "GetFramePoses", "classraylib_1_1_model_animation.html#ae23086ee73abc10aab2d75c3684e2402", null ], + [ "IsValid", "classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34", null ], + [ "Load", "classraylib_1_1_model_animation.html#a06b185d0fb36a7db952d4435061b7aff", null ], + [ "operator=", "classraylib_1_1_model_animation.html#a8cdf66437a165dc39d4c3dece774b606", null ], + [ "operator=", "classraylib_1_1_model_animation.html#a1efe07d288b2a9318c7ca4ff2e321776", null ], + [ "operator=", "classraylib_1_1_model_animation.html#ab083b9d9c64a0ec604e4c7342caec9b4", null ], + [ "SetBoneCount", "classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af", null ], + [ "SetBones", "classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3", null ], + [ "SetFrameCount", "classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361", null ], + [ "SetFramePoses", "classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061", null ], + [ "Unload", "classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697", null ], + [ "Update", "classraylib_1_1_model_animation.html#ae5453fb8380e1f8e608f4e1b807f2fba", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_mouse-members.html b/docs/classraylib_1_1_mouse-members.html index 94d9ae37..fb4f4ad2 100644 --- a/docs/classraylib_1_1_mouse-members.html +++ b/docs/classraylib_1_1_mouse-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Mouse Member List
+
raylib::Mouse Member List

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

- - + + - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + +
GetPosition() (defined in raylib::Mouse)raylib::Mouseinlinestatic
GetTouchPosition(int index)raylib::Mouseinlinestatic
GetPosition()raylib::Mouseinlinestatic
GetTouchPosition(int index)raylib::Mouseinlinestatic
GetTouchX()raylib::Mouseinlinestatic
GetTouchY()raylib::Mouseinlinestatic
GetWheelMove() (defined in raylib::Mouse)raylib::Mouseinlinestatic
GetX() (defined in raylib::Mouse)raylib::Mouseinlinestatic
GetY() (defined in raylib::Mouse)raylib::Mouseinlinestatic
IsButtonDown(int button)raylib::Mouseinlinestatic
GetTouchY()raylib::Mouseinlinestatic
GetWheelMove()raylib::Mouseinlinestatic
GetX()raylib::Mouseinlinestatic
GetY()raylib::Mouseinlinestatic
IsButtonDown(int button)raylib::Mouseinlinestatic
IsButtonPressed(int button)raylib::Mouseinlinestatic
IsButtonReleased(int button)raylib::Mouseinlinestatic
IsButtonUp(int button) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)raylib::Mouseinlinestatic
SetOffset(int offsetX=0, int offsetY=0) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetOffset(::Vector2 offset) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetPosition(int x, int y) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetPosition(::Vector2 position) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetScale(float scaleX=1.0f, float scaleY=1.0f) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetScale(::Vector2 scale) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetX(int x) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetY(int y) (defined in raylib::Mouse)raylib::Mouseinlinestatic
IsButtonReleased(int button)raylib::Mouseinlinestatic
IsButtonUp(int button)raylib::Mouseinlinestatic
SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)raylib::Mouseinlinestatic
SetOffset(int offsetX=0, int offsetY=0)raylib::Mouseinlinestatic
SetOffset(::Vector2 offset)raylib::Mouseinlinestatic
SetPosition(int x, int y)raylib::Mouseinlinestatic
SetPosition(::Vector2 position)raylib::Mouseinlinestatic
SetScale(float scaleX=1.0f, float scaleY=1.0f)raylib::Mouseinlinestatic
SetScale(::Vector2 scale)raylib::Mouseinlinestatic
SetX(int x)raylib::Mouseinlinestatic
SetY(int y)raylib::Mouseinlinestatic
+

- + diff --git a/docs/classraylib_1_1_mouse.html b/docs/classraylib_1_1_mouse.html index 107b327f..b75044b8 100644 --- a/docs/classraylib_1_1_mouse.html +++ b/docs/classraylib_1_1_mouse.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Mouse Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Mouse Class Reference
+
raylib::Mouse Class Reference

Input-related functions: mouse. More...

+ +

#include <Mouse.hpp>

- - + - - + + - - + + - - + + - + - + - + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - +

+

Static Public Member Functions

-static Vector2 GetPosition ()
static Vector2 GetPosition ()
 
-static Vector2 GetTouchPosition (int index)
 Get touch position XY for a touch point index (relative to screen size)
static Vector2 GetTouchPosition (int index)
 Get touch position XY for a touch point index (relative to screen size) More...
 
-static int GetTouchX ()
 Get touch position X for touch point 0 (relative to screen size)
static int GetTouchX ()
 Get touch position X for touch point 0 (relative to screen size) More...
 
-static int GetTouchY ()
 Get touch position Y for touch point 0 (relative to screen size)
static int GetTouchY ()
 Get touch position Y for touch point 0 (relative to screen size) More...
 
-static float GetWheelMove ()
static float GetWheelMove ()
 
-static int GetX ()
static int GetX ()
 
-static int GetY ()
static int GetY ()
 
-static bool IsButtonDown (int button)
 Detect if a mouse button is being pressed.
static bool IsButtonDown (int button)
 Detect if a mouse button is being pressed. More...
 
-static bool IsButtonPressed (int button)
 Detect if a mouse button has been pressed once.
static bool IsButtonPressed (int button)
 Detect if a mouse button has been pressed once. More...
 
-static bool IsButtonReleased (int button)
 Detect if a mouse button has been released once.
static bool IsButtonReleased (int button)
 Detect if a mouse button has been released once. More...
 
-static bool IsButtonUp (int button)
static bool IsButtonUp (int button)
 
static void SetCursor (int cursor=MOUSE_CURSOR_DEFAULT)
 Sets the current mouse cursor icon. More...
 
-static void SetOffset (::Vector2 offset)
static void SetOffset (::Vector2 offset)
 
-static void SetOffset (int offsetX=0, int offsetY=0)
static void SetOffset (int offsetX=0, int offsetY=0)
 
-static void SetPosition (::Vector2 position)
static void SetPosition (::Vector2 position)
 
-static void SetPosition (int x, int y)
static void SetPosition (int x, int y)
 
-static void SetScale (::Vector2 scale)
static void SetScale (::Vector2 scale)
 
-static void SetScale (float scaleX=1.0f, float scaleY=1.0f)
static void SetScale (float scaleX=1.0f, float scaleY=1.0f)
 
-static void SetX (int x)
static void SetX (int x)
 
-static void SetY (int y)
static void SetY (int y)
 

Detailed Description

-

Input-related functions: mouse.

+

Input-related functions: mouse.

Definition at line 11 of file Mouse.hpp.

Member Function Documentation

- + +

◆ GetPosition()

+ +
+
+ + + + + +
+ + + + + + + +
static Vector2 raylib::Mouse::GetPosition ()
+
+inlinestatic
+
+ +

Definition at line 54 of file Mouse.hpp.

+ +
+
+ +

◆ GetTouchPosition()

+ +
+
+ + + + + +
+ + + + + + + + +
static Vector2 raylib::Mouse::GetTouchPosition (int index)
+
+inlinestatic
+
+ +

Get touch position XY for a touch point index (relative to screen size)

+ +

Definition at line 112 of file Mouse.hpp.

+ +
+
+ +

◆ GetTouchX()

+ +
+
+ + + + + +
+ + + + + + + +
static int raylib::Mouse::GetTouchX ()
+
+inlinestatic
+
+ +

Get touch position X for touch point 0 (relative to screen size)

+ +

Definition at line 98 of file Mouse.hpp.

+ +
+
+ +

◆ GetTouchY()

+ +
+
+ + + + + +
+ + + + + + + +
static int raylib::Mouse::GetTouchY ()
+
+inlinestatic
+
+ +

Get touch position Y for touch point 0 (relative to screen size)

+ +

Definition at line 105 of file Mouse.hpp.

+ +
+
+ +

◆ GetWheelMove()

+ +
+
+ + + + + +
+ + + + + + + +
static float raylib::Mouse::GetWheelMove ()
+
+inlinestatic
+
+ +

Definition at line 82 of file Mouse.hpp.

+ +
+
+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
static int raylib::Mouse::GetX ()
+
+inlinestatic
+
+ +

Definition at line 38 of file Mouse.hpp.

+ +

Referenced by SetY().

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
static int raylib::Mouse::GetY ()
+
+inlinestatic
+
+ +

Definition at line 42 of file Mouse.hpp.

+ +

Referenced by SetX().

+ +
+
+ +

◆ IsButtonDown()

+ +
+
+ + + + + +
+ + + + + + + + +
static bool raylib::Mouse::IsButtonDown (int button)
+
+inlinestatic
+
+ +

Detect if a mouse button is being pressed.

+ +

Definition at line 23 of file Mouse.hpp.

+ +
+
+ +

◆ IsButtonPressed()

+ +
+
+ + + + + +
+ + + + + + + + +
static bool raylib::Mouse::IsButtonPressed (int button)
+
+inlinestatic
+
+ +

Detect if a mouse button has been pressed once.

+ +

Definition at line 16 of file Mouse.hpp.

+ +
+
+ +

◆ IsButtonReleased()

+ +
+
+ + + + + +
+ + + + + + + + +
static bool raylib::Mouse::IsButtonReleased (int button)
+
+inlinestatic
+
+ +

Detect if a mouse button has been released once.

+ +

Definition at line 30 of file Mouse.hpp.

+ +
+
+ +

◆ IsButtonUp()

+ +
+
+ + + + + +
+ + + + + + + + +
static bool raylib::Mouse::IsButtonUp (int button)
+
+inlinestatic
+
+ +

Definition at line 34 of file Mouse.hpp.

+ +
+
+

◆ SetCursor()

@@ -181,14 +499,274 @@

Definition at line 91 of file Mouse.hpp.

+

+
+ +

◆ SetOffset() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
static void raylib::Mouse::SetOffset (::Vector2 offset)
+
+inlinestatic
+
+ +

Definition at line 70 of file Mouse.hpp.

+ +
+
+ +

◆ SetOffset() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static void raylib::Mouse::SetOffset (int offsetX = 0,
int offsetY = 0 
)
+
+inlinestatic
+
+ +

Definition at line 66 of file Mouse.hpp.

+ +
+
+ +

◆ SetPosition() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
static void raylib::Mouse::SetPosition (::Vector2 position)
+
+inlinestatic
+
+ +

Definition at line 62 of file Mouse.hpp.

+ +
+
+ +

◆ SetPosition() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static void raylib::Mouse::SetPosition (int x,
int y 
)
+
+inlinestatic
+
+ +

Definition at line 58 of file Mouse.hpp.

+ +
+
+ +

◆ SetScale() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
static void raylib::Mouse::SetScale (::Vector2 scale)
+
+inlinestatic
+
+ +

Definition at line 78 of file Mouse.hpp.

+ +
+
+ +

◆ SetScale() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static void raylib::Mouse::SetScale (float scaleX = 1.0f,
float scaleY = 1.0f 
)
+
+inlinestatic
+
+ +

Definition at line 74 of file Mouse.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
static void raylib::Mouse::SetX (int x)
+
+inlinestatic
+
+ +

Definition at line 46 of file Mouse.hpp.

+ +

References GetY().

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
static void raylib::Mouse::SetY (int y)
+
+inlinestatic
+
+ +

Definition at line 50 of file Mouse.hpp.

+ +

References GetX().

+
+
- + diff --git a/docs/classraylib_1_1_mouse.js b/docs/classraylib_1_1_mouse.js new file mode 100644 index 00000000..c8471c70 --- /dev/null +++ b/docs/classraylib_1_1_mouse.js @@ -0,0 +1,23 @@ +var classraylib_1_1_mouse = +[ + [ "GetPosition", "classraylib_1_1_mouse.html#aecac52e620b5de23251a6ec7fc96babf", null ], + [ "GetTouchPosition", "classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61", null ], + [ "GetTouchX", "classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d", null ], + [ "GetTouchY", "classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6", null ], + [ "GetWheelMove", "classraylib_1_1_mouse.html#afb094f45ac8964ae24e068af0595eea9", null ], + [ "GetX", "classraylib_1_1_mouse.html#a0277ae88bc16d5c92821a46782c81a83", null ], + [ "GetY", "classraylib_1_1_mouse.html#a0d2eec7fca435ae35809305a1bb5e92e", null ], + [ "IsButtonDown", "classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87", null ], + [ "IsButtonPressed", "classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917", null ], + [ "IsButtonReleased", "classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8", null ], + [ "IsButtonUp", "classraylib_1_1_mouse.html#a798f845135681fffe637e62b832eaa86", null ], + [ "SetCursor", "classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae", null ], + [ "SetOffset", "classraylib_1_1_mouse.html#a6d5ed867bb4da81d2b37bb1037e7a00d", null ], + [ "SetOffset", "classraylib_1_1_mouse.html#a76cbe35c2741c70e5d9c9a4d4421b5fd", null ], + [ "SetPosition", "classraylib_1_1_mouse.html#aa90576871793eb5f292e0eaa01f8a970", null ], + [ "SetPosition", "classraylib_1_1_mouse.html#af15947500da7d3aa95b3894576d6ea3d", null ], + [ "SetScale", "classraylib_1_1_mouse.html#a65892041af52bb64c80131f61832b274", null ], + [ "SetScale", "classraylib_1_1_mouse.html#a0bc3ff2888f24896026738bdeee3e314", null ], + [ "SetX", "classraylib_1_1_mouse.html#a5aa814d46b8f02b923cb5a492aac8148", null ], + [ "SetY", "classraylib_1_1_mouse.html#a70fe1e1561aa9106799cfa5d98fe98cf", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_music-members.html b/docs/classraylib_1_1_music-members.html index b5f731fe..47d090e0 100644 --- a/docs/classraylib_1_1_music-members.html +++ b/docs/classraylib_1_1_music-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Music Member List
+
raylib::Music Member List

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

- - + + - + - + - + - + - - - + + + - - - - - - - - - + + + + + + + + + - + - - - - - + + + + + - +
GetCtxData() constraylib::Musicinline
GetCtxType() constraylib::Musicinline
GetCtxData() constraylib::Musicinline
GetCtxType() constraylib::Musicinline
GetFrameCount() constraylib::Musicinline
GetLooping() constraylib::Musicinline
GetLooping() constraylib::Musicinline
GetStream() constraylib::Musicinline
GetTimeLength() constraylib::Musicinline
GetTimeLength() constraylib::Musicinline
GetTimePlayed() constraylib::Musicinline
IsPlaying() constraylib::Musicinline
IsPlaying() constraylib::Musicinline
IsReady() constraylib::Musicinline
Load(const std::string &fileName)raylib::Musicinline
Load(const std::string &fileName)raylib::Musicinline
Load(const std::string &fileType, unsigned char *data, int dataSize)raylib::Musicinline
Music()raylib::Musicinline
Music(const ::Music &music) (defined in raylib::Music)raylib::Musicinline
Music(const std::string &fileName)raylib::Musicinline
Music()raylib::Musicinline
Music(const ::Music &music)raylib::Musicinline
Music(const std::string &fileName)raylib::Musicinline
Music(const std::string &fileType, unsigned char *data, int dataSize)raylib::Musicinline
Music(const Music &)=delete (defined in raylib::Music)raylib::Music
Music(Music &&other) (defined in raylib::Music)raylib::Musicinline
operator=(const ::Music &music) (defined in raylib::Music)raylib::Musicinline
operator=(const Music &)=delete (defined in raylib::Music)raylib::Music
operator=(Music &&other) noexcept (defined in raylib::Music)raylib::Musicinline
Pause()raylib::Musicinline
Play()raylib::Musicinline
Resume()raylib::Musicinline
Seek(float position)raylib::Musicinline
Music(const Music &)=deleteraylib::Music
Music(Music &&other)raylib::Musicinline
operator=(const ::Music &music)raylib::Musicinline
operator=(const Music &)=deleteraylib::Music
operator=(Music &&other) noexceptraylib::Musicinline
Pause()raylib::Musicinline
Play()raylib::Musicinline
Resume()raylib::Musicinline
Seek(float position)raylib::Musicinline
SetCtxData(void *value)raylib::Musicinline
SetCtxType(int value)raylib::Musicinline
SetCtxType(int value)raylib::Musicinline
SetFrameCount(unsigned int value)raylib::Musicinline
SetLooping(bool value)raylib::Musicinline
SetPitch(float pitch)raylib::Musicinline
SetStream(::AudioStream value)raylib::Musicinline
SetVolume(float volume)raylib::Musicinline
Stop()raylib::Musicinline
SetLooping(bool value)raylib::Musicinline
SetPitch(float pitch)raylib::Musicinline
SetStream(::AudioStream value)raylib::Musicinline
SetVolume(float volume)raylib::Musicinline
Stop()raylib::Musicinline
Unload()raylib::Musicinline
Update()raylib::Musicinline
Update()raylib::Musicinline
~Music()raylib::Musicinline
+

- + diff --git a/docs/classraylib_1_1_music.html b/docs/classraylib_1_1_music.html index 2b734840..ee649d47 100644 --- a/docs/classraylib_1_1_music.html +++ b/docs/classraylib_1_1_music.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Music Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Music Class Reference
+
raylib::Music Class Reference

Music stream type (audio file streaming from memory) More...

+ +

#include <Music.hpp>

- - - + + - + - + @@ -96,16 +112,14 @@ - + - - + + - - - + + + @@ -115,57 +129,45 @@ - + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -178,37 +180,89 @@ - - - - + + + + - - - - - - - - + + + + + + + + - - - + + +

+

Public Member Functions

Music ()
 Default Music constructor to build an empty Music object.
 Music ()
 Default Music constructor to build an empty Music object. More...
 
Music (const ::Music &music)
 Music (const ::Music &music)
 
Music (const Music &)=delete
 Music (const Music &)=delete
 
 Music (const std::string &fileName)
 Load music stream from file. More...
 Music (const std::string &fileType, unsigned char *data, int dataSize)
 Load music stream from memory. More...
 
Music (Music &&other)
 Music (Music &&other)
 
~Music ()
 Unload music stream.
 ~Music ()
 Unload music stream. More...
 
void * GetCtxData () const
 Retrieves the ctxData value for the object. More...
 
void * GetCtxData () const
 Retrieves the ctxData value for the object. More...
 
int GetCtxType () const
 Retrieves the ctxType value for the object. More...
 
bool GetLooping () const
 Retrieves the looping value for the object. More...
 
::AudioStream GetStream () const
::AudioStream GetStream () const
 Retrieves the stream value for the object. More...
 
-float GetTimeLength () const
 Get music time length (in seconds)
float GetTimeLength () const
 Get music time length (in seconds) More...
 
-float GetTimePlayed () const
 Get current music time played (in seconds)
float GetTimePlayed () const
 Get current music time played (in seconds) More...
 
-bool IsPlaying () const
 Check if music is playing.
bool IsPlaying () const
 Check if music is playing. More...
 
bool IsReady () const
 Retrieve whether or not the Music has been loaded. More...
 
-bool Load (const std::string &fileName)
 Load music stream from file.
bool Load (const std::string &fileName)
 Load music stream from file. More...
 
-bool Load (const std::string &fileType, unsigned char *data, int dataSize)
 Load music stream from memory.
bool Load (const std::string &fileType, unsigned char *data, int dataSize)
 Load music stream from memory. More...
 
-Musicoperator= (const ::Music &music)
 
-Musicoperator= (const Music &)=delete
 
-Musicoperator= (Music &&other) noexcept
 
-MusicPause ()
 Pause music playing.
 
-MusicPlay ()
 Start music playing.
 
-MusicResume ()
 Resume music playing.
 
-MusicSeek (float position)
 Seek music to a position (in seconds)
 
Musicoperator= (const ::Music &music)
 
Musicoperator= (const Music &)=delete
 
Musicoperator= (Music &&other) noexcept
 
MusicPause ()
 Pause music playing. More...
 
MusicPlay ()
 Start music playing. More...
 
MusicResume ()
 Resume music playing. More...
 
MusicSeek (float position)
 Seek music to a position (in seconds) More...
 
void SetCtxData (void *value)
 Sets the ctxData value for the object. More...
 
void SetLooping (bool value)
 Sets the looping value for the object. More...
 
-MusicSetPitch (float pitch)
 Set pitch for music.
 
void SetStream (::AudioStream value)
MusicSetPitch (float pitch)
 Set pitch for music. More...
 
void SetStream (::AudioStream value)
 Sets the stream value for the object. More...
 
-MusicSetVolume (float volume)
 Set volume for music.
 
-MusicStop ()
 Stop music playing.
 
-void Unload ()
 Unload music stream.
MusicSetVolume (float volume)
 Set volume for music. More...
 
MusicStop ()
 Stop music playing. More...
 
void Unload ()
 Unload music stream. More...
 
-MusicUpdate ()
 Updates buffers for music streaming.
 
MusicUpdate ()
 Updates buffers for music streaming. More...
 

Detailed Description

-

Music stream type (audio file streaming from memory)

+

Music stream type (audio file streaming from memory)

Definition at line 14 of file Music.hpp.

Constructor & Destructor Documentation

- -

◆ Music() [1/2]

+ +

◆ Music() [1/6]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Music::Music ()
+
+inline
+
+ +

Default Music constructor to build an empty Music object.

+ +

Definition at line 19 of file Music.hpp.

+ +
+
+ +

◆ Music() [2/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Music::Music (const ::Music & music)
+
+inline
+
+ +

Definition at line 27 of file Music.hpp.

+ +
+
+ +

◆ Music() [3/6]

@@ -245,8 +299,8 @@

-

◆ Music() [2/2]

+ +

◆ Music() [4/6]

@@ -297,11 +351,96 @@

References Load().

+

+
+ +

◆ Music() [5/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Music::Music (const Music)
+
+delete
+
+ +
+
+ +

◆ Music() [6/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Music::Music (Music && other)
+
+inline
+
+ +

Definition at line 55 of file Music.hpp.

+ +
+
+ +

◆ ~Music()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Music::~Music ()
+
+inline
+
+ +

Unload music stream.

+ +

Definition at line 68 of file Music.hpp.

+ +

References Unload().

+

Member Function Documentation

- -

◆ GetCtxData()

+ +

◆ GetCtxData()

@@ -310,7 +449,7 @@

- + @@ -330,7 +469,7 @@

+

◆ GetCtxType()

@@ -360,7 +499,7 @@

+

◆ GetFrameCount()

@@ -390,7 +529,7 @@

+

◆ GetLooping()

@@ -420,7 +559,7 @@

+

◆ GetStream()

@@ -430,7 +569,7 @@

void* raylib::Music::GetCtxData void * raylib::Music::GetCtxData ( ) const
- + @@ -450,8 +589,8 @@

-

◆ IsReady()

+ +

◆ GetTimeLength()

@@ -460,7 +599,7 @@

::AudioStream raylib::Music::GetStream ::AudioStream raylib::Music::GetStream ( ) const
- + @@ -473,17 +612,43 @@

-

Retrieve whether or not the Music has been loaded.

-
Returns
True or false depending on whether the Music has been loaded.
+

Get music time length (in seconds)

-

Definition at line 215 of file Music.hpp.

+

Definition at line 183 of file Music.hpp.

-

Referenced by Load().

+ + + +

◆ GetTimePlayed()

+ +
+
+
bool raylib::Music::IsReady float raylib::Music::GetTimeLength ( ) const
+ + + + +
+ + + + + + + +
float raylib::Music::GetTimePlayed () const
+
+inline
+

+ +

Get current music time played (in seconds)

+ +

Definition at line 190 of file Music.hpp.

- -

◆ SetCtxData()

+ +

◆ IsPlaying()

- -

◆ SetCtxType()

+ +

◆ IsReady()

- -

◆ SetFrameCount()

+ +

◆ Load() [1/2]

- -

◆ SetLooping()

+ +

◆ Load() [2/2]

- -

◆ SetStream()

+ +

◆ operator=() [1/3]

+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Music & raylib::Music::operator= (const Music)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Music & raylib::Music::operator= (Music && other)
+
+inlinenoexcept
+
+ +

Definition at line 85 of file Music.hpp.

+ +

References Unload().

+ +
+
+ +

◆ Pause()

+ +
+
+ + + + + +
+ + + + + + + +
Music & raylib::Music::Pause ()
+
+inline
+
+ +

Pause music playing.

+ +

Definition at line 136 of file Music.hpp.

+ +
+
+ +

◆ Play()

+ +
+
+ + + + + +
+ + + + + + + +
Music & raylib::Music::Play ()
+
+inline
+
+ +

Start music playing.

+ +

Definition at line 112 of file Music.hpp.

+ +
+
+ +

◆ Resume()

+ +
+
+ + + + + +
+ + + + + + + +
Music & raylib::Music::Resume ()
+
+inline
+
+ +

Resume music playing.

+ +

Definition at line 144 of file Music.hpp.

+ +
+
+ +

◆ Seek()

+ +
+
+ + + + + +
+ + + + + + + + +
Music & raylib::Music::Seek (float position)
+
+inline
+
+ +

Seek music to a position (in seconds)

+ +

Definition at line 152 of file Music.hpp.

+ +
+
+ +

◆ SetCtxData()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetCtxData (void * value)
+
+inline
+
+ +

Sets the ctxData value for the object.

+
Parameters
+ + +
valueThe value of which to set ctxData to.
+
+
+ +

Definition at line 76 of file Music.hpp.

+ +
+
+ +

◆ SetCtxType()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetCtxType (int value)
+
+inline
+
+ +

Sets the ctxType value for the object.

+
Parameters
+ + +
valueThe value of which to set ctxType to.
+
+
+ +

Definition at line 75 of file Music.hpp.

+ +
+
+ +

◆ SetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetFrameCount (unsigned int value)
+
+inline
+
+ +

Sets the frameCount value for the object.

+
Parameters
+ + +
valueThe value of which to set frameCount to.
+
+
+ +

Definition at line 73 of file Music.hpp.

+ +
+
+ +

◆ SetLooping()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetLooping (bool value)
+
+inline
+
+ +

Sets the looping value for the object.

+
Parameters
+ + +
valueThe value of which to set looping to.
+
+
+ +

Definition at line 74 of file Music.hpp.

+ +
+
+ +

◆ SetPitch()

+ +
+
+ + + + + +
+ + + + + + + + +
Music & raylib::Music::SetPitch (float pitch)
+
+inline
+
+ +

Set pitch for music.

+ +

Definition at line 175 of file Music.hpp.

+ +
+
+ +

◆ SetStream()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetStream (::AudioStream value)
+
+inline
+
+ +

Sets the stream value for the object.

+
Parameters
+ + +
valueThe value of which to set stream to.
+
+
+ +

Definition at line 72 of file Music.hpp.

+ +
+
+ +

◆ SetVolume()

+ +
+
+ + + + + +
+ + + + + + + + +
Music & raylib::Music::SetVolume (float volume)
+
+inline
+
+ +

Set volume for music.

+ +

Definition at line 167 of file Music.hpp.

+ +
+
+ +

◆ Stop()

+ +
+
+ + + + + +
+ + + + + + + +
Music & raylib::Music::Stop ()
+
+inline
+
+ +

Stop music playing.

+ +

Definition at line 128 of file Music.hpp.

+ +
+
+ +

◆ Unload()

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

Unload music stream.

+ +

Definition at line 105 of file Music.hpp.

+ +

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

+ +
+
+ +

◆ Update()

+ +
+
+ + + + + +
+ + + + + + + +
Music & raylib::Music::Update ()
+
+inline
+
+ +

Updates buffers for music streaming.

+ +

Definition at line 120 of file Music.hpp.

+
- + diff --git a/docs/classraylib_1_1_music.js b/docs/classraylib_1_1_music.js new file mode 100644 index 00000000..adc93dd9 --- /dev/null +++ b/docs/classraylib_1_1_music.js @@ -0,0 +1,38 @@ +var classraylib_1_1_music = +[ + [ "Music", "classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620", null ], + [ "Music", "classraylib_1_1_music.html#a29f51d7e8e89df932a6c07bd0106a834", null ], + [ "Music", "classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60", null ], + [ "Music", "classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4", null ], + [ "Music", "classraylib_1_1_music.html#ae626afb93e3bbf3abd4410edbd316601", null ], + [ "Music", "classraylib_1_1_music.html#a8dc7537cc6ea86a77b0e7c71b708d08f", null ], + [ "~Music", "classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16", null ], + [ "GetCtxData", "classraylib_1_1_music.html#afa92e527b59433013946179183811a01", null ], + [ "GetCtxType", "classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723", null ], + [ "GetFrameCount", "classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5", null ], + [ "GetLooping", "classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e", null ], + [ "GetStream", "classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8", null ], + [ "GetTimeLength", "classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12", null ], + [ "GetTimePlayed", "classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb", null ], + [ "IsPlaying", "classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8", null ], + [ "IsReady", "classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4", null ], + [ "Load", "classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2", null ], + [ "Load", "classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f", null ], + [ "operator=", "classraylib_1_1_music.html#afffdaad319f3099d190e2e6faa7a60af", null ], + [ "operator=", "classraylib_1_1_music.html#a475c5f2d7405f275a28f16fd1e1667b2", null ], + [ "operator=", "classraylib_1_1_music.html#a8a8ff1787f18b21d40c62106dd5e0808", null ], + [ "Pause", "classraylib_1_1_music.html#ad956be86303bb8b307530947aefaea25", null ], + [ "Play", "classraylib_1_1_music.html#a5a99d2bf68843c860c6b5612b7e3d3df", null ], + [ "Resume", "classraylib_1_1_music.html#ac3cda9dcc555047d9b94842c6637181f", null ], + [ "Seek", "classraylib_1_1_music.html#a0df1a8c1803d8be34208a2901e17a2ee", null ], + [ "SetCtxData", "classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953", null ], + [ "SetCtxType", "classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7", null ], + [ "SetFrameCount", "classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340", null ], + [ "SetLooping", "classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b", null ], + [ "SetPitch", "classraylib_1_1_music.html#ac7d93b598afe32228f3e416d23f64a89", null ], + [ "SetStream", "classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e", null ], + [ "SetVolume", "classraylib_1_1_music.html#a2a477ce696a4d6e0ba906aa45a9ac8f6", null ], + [ "Stop", "classraylib_1_1_music.html#a5a6afb505504e57327ff345c6553f769", null ], + [ "Unload", "classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515", null ], + [ "Update", "classraylib_1_1_music.html#adaa6e39c17c965fce04abbfee117eebc", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_physics-members.html b/docs/classraylib_1_1_physics-members.html index c1fdae05..21d0f804 100644 --- a/docs/classraylib_1_1_physics-members.html +++ b/docs/classraylib_1_1_physics-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Physics Member List
+
raylib::Physics Member List

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

- - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
AddForce(PhysicsBody body, Vector2 force) (defined in raylib::Physics)raylib::Physicsinline
AddTorque(PhysicsBody body, float amount) (defined in raylib::Physics)raylib::Physicsinline
Close() (defined in raylib::Physics)raylib::Physicsinline
CreateBodyCircle(Vector2 pos, float radius, float density) (defined in raylib::Physics)raylib::Physicsinline
CreateBodyPolygon(Vector2 pos, float radius, int sides, float density) (defined in raylib::Physics)raylib::Physicsinline
CreateBodyRectangle(Vector2 pos, float width, float height, float density) (defined in raylib::Physics)raylib::Physicsinline
DestroyBody(PhysicsBody body) (defined in raylib::Physics)raylib::Physicsinline
GetBodiesCount() const (defined in raylib::Physics)raylib::Physicsinline
GetBody(int index) const (defined in raylib::Physics)raylib::Physicsinline
GetShapeType(int index) const (defined in raylib::Physics)raylib::Physicsinline
GetShapeVertex(PhysicsBody body, int vertex) const (defined in raylib::Physics)raylib::Physicsinline
GetShapeVerticesCount(int index) const (defined in raylib::Physics)raylib::Physicsinline
Init() (defined in raylib::Physics)raylib::Physicsinline
Physics() (defined in raylib::Physics)raylib::Physicsinline
Physics(float gravityY) (defined in raylib::Physics)raylib::Physicsinline
Physics(float gravityX, float gravityY) (defined in raylib::Physics)raylib::Physicsinline
Reset() (defined in raylib::Physics)raylib::Physicsinline
SetBodyRotation(PhysicsBody body, float radians) (defined in raylib::Physics)raylib::Physicsinline
SetGravity(float x, float y) (defined in raylib::Physics)raylib::Physicsinline
SetTimeStep(double delta) (defined in raylib::Physics)raylib::Physicsinline
Shatter(PhysicsBody body, Vector2 position, float force) (defined in raylib::Physics)raylib::Physicsinline
Update() (defined in raylib::Physics)raylib::Physicsinline
~Physics() (defined in raylib::Physics)raylib::Physicsinline
AddForce(PhysicsBody body, Vector2 force)raylib::Physicsinline
AddTorque(PhysicsBody body, float amount)raylib::Physicsinline
Close()raylib::Physicsinline
CreateBodyCircle(Vector2 pos, float radius, float density)raylib::Physicsinline
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() 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
Physics()raylib::Physicsinline
Physics(float gravityY)raylib::Physicsinline
Physics(float gravityX, float gravityY)raylib::Physicsinline
Reset()raylib::Physicsinline
SetBodyRotation(PhysicsBody body, float radians)raylib::Physicsinline
SetGravity(float x, float y)raylib::Physicsinline
SetTimeStep(double delta)raylib::Physicsinline
Shatter(PhysicsBody body, Vector2 position, float force)raylib::Physicsinline
Update()raylib::Physicsinline
~Physics()raylib::Physicsinline
+
- + diff --git a/docs/classraylib_1_1_physics.html b/docs/classraylib_1_1_physics.html index e482dc5b..7612f666 100644 --- a/docs/classraylib_1_1_physics.html +++ b/docs/classraylib_1_1_physics.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Physics Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Physics Class Reference
+
raylib::Physics Class Reference

2D Physics library for videogames More...

+ +

#include <Physics.hpp>

- - + + + - + - - - - - - - + + + + + + + + + - + - + - - - + + + - + - + - + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + +

+

Public Member Functions

Physics (float gravityX, float gravityY)
 Physics ()
 
 Physics (float gravityX, float gravityY)
 
Physics (float gravityY)
 Physics (float gravityY)
 
-PhysicsAddForce (PhysicsBody body, Vector2 force)
 
-PhysicsAddTorque (PhysicsBody body, float amount)
 
-PhysicsClose ()
 
-PhysicsBody CreateBodyCircle (Vector2 pos, float radius, float density)
 ~Physics ()
 
PhysicsAddForce (PhysicsBody body, Vector2 force)
 
PhysicsAddTorque (PhysicsBody body, float amount)
 
PhysicsClose ()
 
PhysicsBody CreateBodyCircle (Vector2 pos, float radius, float density)
 
-PhysicsBody CreateBodyPolygon (Vector2 pos, float radius, int sides, float density)
PhysicsBody CreateBodyPolygon (Vector2 pos, float radius, int sides, float density)
 
-PhysicsBody CreateBodyRectangle (Vector2 pos, float width, float height, float density)
PhysicsBody CreateBodyRectangle (Vector2 pos, float width, float height, float density)
 
-PhysicsDestroyBody (PhysicsBody body)
 
-int GetBodiesCount () const
PhysicsDestroyBody (PhysicsBody body)
 
int GetBodiesCount () const
 
-PhysicsBody GetBody (int index) const
PhysicsBody GetBody (int index) const
 
-int GetShapeType (int index) const
int GetShapeType (int index) const
 
-Vector2 GetShapeVertex (PhysicsBody body, int vertex) const
Vector2 GetShapeVertex (PhysicsBody body, int vertex) const
 
-int GetShapeVerticesCount (int index) const
int GetShapeVerticesCount (int index) const
 
-PhysicsInit ()
 
-PhysicsReset ()
 
-PhysicsSetBodyRotation (PhysicsBody body, float radians)
 
-PhysicsSetGravity (float x, float y)
 
-PhysicsSetTimeStep (double delta)
 
-PhysicsShatter (PhysicsBody body, Vector2 position, float force)
 
-PhysicsUpdate ()
 
PhysicsInit ()
 
PhysicsReset ()
 
PhysicsSetBodyRotation (PhysicsBody body, float radians)
 
PhysicsSetGravity (float x, float y)
 
PhysicsSetTimeStep (double delta)
 
PhysicsShatter (PhysicsBody body, Vector2 position, float force)
 
PhysicsUpdate ()
 

Detailed Description

-

2D Physics library for videogames

+

2D Physics library for videogames

Definition at line 12 of file Physics.hpp.

-
+

Constructor & Destructor Documentation

+ +

◆ Physics() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Physics::Physics ()
+
+inline
+
+ +

Definition at line 14 of file Physics.hpp.

+ +

References Init().

+ +
+
+ +

◆ Physics() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Physics::Physics (float gravityY)
+
+inline
+
+ +

Definition at line 18 of file Physics.hpp.

+ +

References Init(), and SetGravity().

+ +
+
+ +

◆ Physics() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Physics::Physics (float gravityX,
float gravityY 
)
+
+inline
+
+ +

Definition at line 23 of file Physics.hpp.

+ +

References Init(), and SetGravity().

+ +
+
+ +

◆ ~Physics()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Physics::~Physics ()
+
+inline
+
+ +

Definition at line 28 of file Physics.hpp.

+ +

References Close().

+ +
+
+

Member Function Documentation

+ +

◆ AddForce()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Physics & raylib::Physics::AddForce (PhysicsBody body,
Vector2 force 
)
+
+inline
+
+ +

Definition at line 79 of file Physics.hpp.

+ +
+
+ +

◆ AddTorque()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Physics & raylib::Physics::AddTorque (PhysicsBody body,
float amount 
)
+
+inline
+
+ +

Definition at line 84 of file Physics.hpp.

+ +
+
+ +

◆ Close()

+ +
+
+ + + + + +
+ + + + + + + +
Physics & raylib::Physics::Close ()
+
+inline
+
+ +

Definition at line 47 of file Physics.hpp.

+ +

Referenced by ~Physics().

+ +
+
+ +

◆ CreateBodyCircle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
PhysicsBody raylib::Physics::CreateBodyCircle (Vector2 pos,
float radius,
float density 
)
+
+inline
+
+ +

Definition at line 62 of file Physics.hpp.

+ +
+
+ +

◆ CreateBodyPolygon()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PhysicsBody raylib::Physics::CreateBodyPolygon (Vector2 pos,
float radius,
int sides,
float density 
)
+
+inline
+
+ +

Definition at line 70 of file Physics.hpp.

+ +
+
+ +

◆ CreateBodyRectangle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PhysicsBody raylib::Physics::CreateBodyRectangle (Vector2 pos,
float width,
float height,
float density 
)
+
+inline
+
+ +

Definition at line 66 of file Physics.hpp.

+ +
+
+ +

◆ DestroyBody()

+ +
+
+ + + + + +
+ + + + + + + + +
Physics & raylib::Physics::DestroyBody (PhysicsBody body)
+
+inline
+
+ +

Definition at line 74 of file Physics.hpp.

+ +
+
+ +

◆ GetBodiesCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Physics::GetBodiesCount () const
+
+inline
+
+ +

Definition at line 99 of file Physics.hpp.

+ +
+
+ +

◆ GetBody()

+ +
+
+ + + + + +
+ + + + + + + + +
PhysicsBody raylib::Physics::GetBody (int index) const
+
+inline
+
+ +

Definition at line 103 of file Physics.hpp.

+ +
+
+ +

◆ GetShapeType()

+ +
+
+ + + + + +
+ + + + + + + + +
int raylib::Physics::GetShapeType (int index) const
+
+inline
+
+ +

Definition at line 107 of file Physics.hpp.

+ +
+
+ +

◆ GetShapeVertex()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector2 raylib::Physics::GetShapeVertex (PhysicsBody body,
int vertex 
) const
+
+inline
+
+ +

Definition at line 115 of file Physics.hpp.

+ +
+
+ +

◆ GetShapeVerticesCount()

+ +
+
+ + + + + +
+ + + + + + + + +
int raylib::Physics::GetShapeVerticesCount (int index) const
+
+inline
+
+ +

Definition at line 111 of file Physics.hpp.

+ +
+
+ +

◆ Init()

+ +
+
+ + + + + +
+ + + + + + + +
Physics & raylib::Physics::Init ()
+
+inline
+
+ +

Definition at line 32 of file Physics.hpp.

+ +

Referenced by Physics().

+ +
+
+ +

◆ Reset()

+ +
+
+ + + + + +
+ + + + + + + +
Physics & raylib::Physics::Reset ()
+
+inline
+
+ +

Definition at line 42 of file Physics.hpp.

+ +
+
+ +

◆ SetBodyRotation()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Physics & raylib::Physics::SetBodyRotation (PhysicsBody body,
float radians 
)
+
+inline
+
+ +

Definition at line 94 of file Physics.hpp.

+ +
+
+ +

◆ SetGravity()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Physics & raylib::Physics::SetGravity (float x,
float y 
)
+
+inline
+
+ +

Definition at line 57 of file Physics.hpp.

+ +

Referenced by Physics().

+ +
+
+ +

◆ SetTimeStep()

+ +
+
+ + + + + +
+ + + + + + + + +
Physics & raylib::Physics::SetTimeStep (double delta)
+
+inline
+
+ +

Definition at line 52 of file Physics.hpp.

+ +
+
+ +

◆ Shatter()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Physics & raylib::Physics::Shatter (PhysicsBody body,
Vector2 position,
float force 
)
+
+inline
+
+ +

Definition at line 89 of file Physics.hpp.

+ +
+
+ +

◆ Update()

+ +
+
+ + + + + +
+ + + + + + + +
Physics & raylib::Physics::Update ()
+
+inline
+
+ +

Definition at line 37 of file Physics.hpp.

+ +
+
+
+

- + diff --git a/docs/classraylib_1_1_physics.js b/docs/classraylib_1_1_physics.js new file mode 100644 index 00000000..28c493cc --- /dev/null +++ b/docs/classraylib_1_1_physics.js @@ -0,0 +1,26 @@ +var classraylib_1_1_physics = +[ + [ "Physics", "classraylib_1_1_physics.html#ab6fe48c3f1ccc583d78898d3946b3096", null ], + [ "Physics", "classraylib_1_1_physics.html#a9638fbedf8f35acd23bb5c502c9ddac7", null ], + [ "Physics", "classraylib_1_1_physics.html#abe69671cb0e5e5e765c6de48cccb0111", null ], + [ "~Physics", "classraylib_1_1_physics.html#a0629ca80510dec5e652457f0f6af2531", null ], + [ "AddForce", "classraylib_1_1_physics.html#afb38fb0c3a3bebd5c5ff0e76d5204d6d", null ], + [ "AddTorque", "classraylib_1_1_physics.html#a7a663b83d1f9c7af8fcfbda8fefc9682", null ], + [ "Close", "classraylib_1_1_physics.html#a00177830e684f2a584b8a5df3ada3b51", null ], + [ "CreateBodyCircle", "classraylib_1_1_physics.html#a436c99fb21784b33ed039a713b927023", null ], + [ "CreateBodyPolygon", "classraylib_1_1_physics.html#a9cbab4c8c8682f30924e4f7e85d37482", null ], + [ "CreateBodyRectangle", "classraylib_1_1_physics.html#aca1bd6e53ddbf8c64a3225ce32f1c3cc", null ], + [ "DestroyBody", "classraylib_1_1_physics.html#a7bae4d018888a1b52e6f94cf7101b964", null ], + [ "GetBodiesCount", "classraylib_1_1_physics.html#aff7aed721273fb7e990974dbc9854974", null ], + [ "GetBody", "classraylib_1_1_physics.html#ac0d23dc143aec4b2aac7570ecaa34e55", null ], + [ "GetShapeType", "classraylib_1_1_physics.html#ab317acc20d9cf36c110672a4c6ae7390", null ], + [ "GetShapeVertex", "classraylib_1_1_physics.html#a899af94cbe7a5c4709993c9ab9638192", null ], + [ "GetShapeVerticesCount", "classraylib_1_1_physics.html#a9ff5c0328462f0976dbef73b75978079", null ], + [ "Init", "classraylib_1_1_physics.html#a49b05856f79dd475228923160069714e", null ], + [ "Reset", "classraylib_1_1_physics.html#af6425119eec9dbcca53e8f6029e54276", null ], + [ "SetBodyRotation", "classraylib_1_1_physics.html#a2e92f697147cea7ca3f3f86150c5fa8d", null ], + [ "SetGravity", "classraylib_1_1_physics.html#ab3c2e951985d4b08520f441c3d7d1864", null ], + [ "SetTimeStep", "classraylib_1_1_physics.html#ad6c385b11a461c2138c581393bbabf44", null ], + [ "Shatter", "classraylib_1_1_physics.html#a9a05e7f4aac933ff44a4a89c8674cd84", null ], + [ "Update", "classraylib_1_1_physics.html#a65685532dc9ded1d67a2b9c75e29547c", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_ray-members.html b/docs/classraylib_1_1_ray-members.html index 2ea2430f..1116cacf 100644 --- a/docs/classraylib_1_1_ray-members.html +++ b/docs/classraylib_1_1_ray-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Ray Member List
+
raylib::Ray Member List

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

- - - + + + - + - + - - - - - + + + + + - +
CheckCollision(const ::BoundingBox &box) constraylib::Rayinline
CheckCollisionSphere(::Vector3 center, float radius) constraylib::Rayinline
Draw(::Color color)raylib::Rayinline
GetCollision(::Vector3 center, float radius) constraylib::Rayinline
CheckCollisionSphere(::Vector3 center, float radius) constraylib::Rayinline
Draw(::Color color)raylib::Rayinline
GetCollision(::Vector3 center, float radius) constraylib::Rayinline
GetCollision(const ::Model &model) constraylib::Rayinline
GetCollision(const ::Mesh &mesh, const ::Matrix &transform) constraylib::Rayinline
GetCollision(const ::Mesh &mesh, const ::Matrix &transform) constraylib::Rayinline
GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) constraylib::Rayinline
GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) constraylib::Rayinline
GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) constraylib::Rayinline
GetDirection() constraylib::Rayinline
GetPosition() constraylib::Rayinline
operator=(const ::Ray &ray) (defined in raylib::Ray)raylib::Rayinline
Ray(const ::Ray &ray) (defined in raylib::Ray)raylib::Rayinline
Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f}) (defined in raylib::Ray)raylib::Rayinline
Ray(::Vector2 mousePosition, ::Camera camera) (defined in raylib::Ray)raylib::Rayinline
GetPosition() constraylib::Rayinline
operator=(const ::Ray &ray)raylib::Rayinline
Ray(const ::Ray &ray)raylib::Rayinline
Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})raylib::Rayinline
Ray(::Vector2 mousePosition, ::Camera camera)raylib::Rayinline
SetDirection(::Vector3 value)raylib::Rayinline
SetPosition(::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 c38db3f1..1f32ef8f 100644 --- a/docs/classraylib_1_1_ray.html +++ b/docs/classraylib_1_1_ray.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Ray Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Ray Class Reference
+
raylib::Ray Class Reference

Ray type (useful for raycast) More...

+ +

#include <Ray.hpp>

- - + - + - + - - + + - - + + - - - - - + + + + + - - + + - - + + - - + + - - + + - + - + - - - + + + - +

+

Public Member Functions

Ray (::Vector2 mousePosition, ::Camera camera)
 Ray (::Vector2 mousePosition, ::Camera camera)
 
Ray (::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})
 Ray (::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})
 
Ray (const ::Ray &ray)
 Ray (const ::Ray &ray)
 
-bool CheckCollision (const ::BoundingBox &box) const
 Detect collision between ray and box.
bool CheckCollision (const ::BoundingBox &box) const
 Detect collision between ray and box. More...
 
-bool CheckCollisionSphere (::Vector3 center, float radius) const
 Detect collision between ray and sphere.
bool CheckCollisionSphere (::Vector3 center, float radius) const
 Detect collision between ray and sphere. More...
 
-RayDraw (::Color color)
 Draw a ray line.
 
-RayCollision GetCollision (::Vector3 center, float radius) const
 Get collision information between ray and sphere.
RayDraw (::Color color)
 Draw a ray line. More...
 
RayCollision GetCollision (::Vector3 center, float radius) const
 Get collision information between ray and sphere. More...
 
-RayCollision GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
 Get collision info between ray and triangle.
RayCollision GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
 Get collision info between ray and triangle. More...
 
-RayCollision GetCollision (const ::Mesh &mesh, const ::Matrix &transform) const
 Get collision information between ray and mesh.
RayCollision GetCollision (const ::Mesh &mesh, const ::Matrix &transform) const
 Get collision information between ray and mesh. More...
 
-RayCollision GetCollision (const ::Model &model) const
 Get collision info between ray and model.
RayCollision GetCollision (const ::Model &model) const
 Get collision info between ray and model. More...
 
-RayCollision GetCollision (Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
 Get collision info between ray and quad.
RayCollision GetCollision (Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
 Get collision info between ray and quad. More...
 
::Vector3 GetDirection () const
::Vector3 GetDirection () const
 Retrieves the direction value for the object. More...
 
::Vector3 GetPosition () const
::Vector3 GetPosition () const
 Retrieves the position value for the object. More...
 
-Rayoperator= (const ::Ray &ray)
 
void SetDirection (::Vector3 value)
Rayoperator= (const ::Ray &ray)
 
void SetDirection (::Vector3 value)
 Sets the direction value for the object. More...
 
void SetPosition (::Vector3 value)
void SetPosition (::Vector3 value)
 Sets the position value for the object. More...
 

Detailed Description

-

Ray type (useful for raycast)

+

Ray type (useful for raycast)

Definition at line 12 of file Ray.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ Ray() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Ray::Ray (const ::Ray & ray)
+
+inline
+
+ +

Definition at line 14 of file Ray.hpp.

+ +
+
+ +

◆ Ray() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Ray::Ray (::Vector3 position,
::Vector3 direction = {0.0f, 0.0f, 0.0f} 
)
+
+inline
+
+ +

Definition at line 18 of file Ray.hpp.

+ +
+
+ +

◆ Ray() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Ray::Ray (::Vector2 mousePosition,
::Camera camera 
)
+
+inline
+
+ +

Definition at line 22 of file Ray.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ CheckCollision()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Ray::CheckCollision (const ::BoundingBox & box) const
+
+inline
+
+ +

Detect collision between ray and box.

+ +

Definition at line 59 of file Ray.hpp.

+ +
+
+ +

◆ CheckCollisionSphere()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool raylib::Ray::CheckCollisionSphere (::Vector3 center,
float radius 
) const
+
+inline
+
+ +

Detect collision between ray and sphere.

+ +

Definition at line 45 of file Ray.hpp.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + +
Ray & raylib::Ray::Draw (::Color color)
+
+inline
+
+ +

Draw a ray line.

+ +

Definition at line 37 of file Ray.hpp.

+ +
+
+ +

◆ GetCollision() [1/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
RayCollision raylib::Ray::GetCollision (::Vector3 center,
float radius 
) const
+
+inline
+
+ +

Get collision information between ray and sphere.

+ +

Definition at line 52 of file Ray.hpp.

+ +
+
+ +

◆ GetCollision() [2/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
RayCollision raylib::Ray::GetCollision (::Vector3 p1,
::Vector3 p2,
::Vector3 p3 
) const
+
+inline
+
+ +

Get collision info between ray and triangle.

+ +

Definition at line 80 of file Ray.hpp.

+ +
+
+ +

◆ GetCollision() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
RayCollision raylib::Ray::GetCollision (const ::Mesh & mesh,
const ::Matrix & transform 
) const
+
+inline
+
+ +

Get collision information between ray and mesh.

+ +

Definition at line 73 of file Ray.hpp.

+ +
+
+ +

◆ GetCollision() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + +
RayCollision raylib::Ray::GetCollision (const ::Model & model) const
+
+inline
+
+ +

Get collision info between ray and model.

+ +

Definition at line 66 of file Ray.hpp.

+ +
+
+ +

◆ GetCollision() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
RayCollision raylib::Ray::GetCollision (Vector3 p1,
Vector3 p2,
Vector3 p3,
Vector3 p4 
) const
+
+inline
+
+ +

Get collision info between ray and quad.

+ +

Definition at line 87 of file Ray.hpp.

+ +
+
+

◆ GetDirection()

@@ -152,7 +572,7 @@

- + @@ -172,7 +592,7 @@

+

◆ GetPosition()

@@ -182,7 +602,7 @@

::Vector3 raylib::Ray::GetDirection ::Vector3 raylib::Ray::GetDirection ( ) const
- + @@ -202,7 +622,35 @@

+ +

◆ operator=()

+ +
+
+
::Vector3 raylib::Ray::GetPosition ::Vector3 raylib::Ray::GetPosition ( ) const
+ + + + +
+ + + + + + + + +
Ray & raylib::Ray::operator= (const ::Rayray)
+
+inline
+

+ +

Definition at line 26 of file Ray.hpp.

+ +
+
+

◆ SetDirection()

@@ -214,7 +662,7 @@

void raylib::Ray::SetDirection ( - ::Vector3  + ::Vector3  value) @@ -238,7 +686,7 @@

+

◆ SetPosition()

@@ -250,7 +698,7 @@

void raylib::Ray::SetPosition ( - ::Vector3  + ::Vector3  value) @@ -275,11 +723,13 @@

+ diff --git a/docs/classraylib_1_1_ray.js b/docs/classraylib_1_1_ray.js new file mode 100644 index 00000000..768d164d --- /dev/null +++ b/docs/classraylib_1_1_ray.js @@ -0,0 +1,19 @@ +var classraylib_1_1_ray = +[ + [ "Ray", "classraylib_1_1_ray.html#a6f7f848de7bebccc4dbda328dc8056b1", null ], + [ "Ray", "classraylib_1_1_ray.html#ab3a7660c5b87be0ce2c6e03269e7d87e", null ], + [ "Ray", "classraylib_1_1_ray.html#acc6259ea6bd75add00e7529ef5903024", null ], + [ "CheckCollision", "classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77", null ], + [ "CheckCollisionSphere", "classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8", null ], + [ "Draw", "classraylib_1_1_ray.html#a4048e3ce9306133b8823d3f4066e8b33", null ], + [ "GetCollision", "classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90", null ], + [ "GetCollision", "classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a", null ], + [ "GetCollision", "classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d", null ], + [ "GetCollision", "classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38", null ], + [ "GetCollision", "classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e", null ], + [ "GetDirection", "classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74", null ], + [ "GetPosition", "classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475", null ], + [ "operator=", "classraylib_1_1_ray.html#ac95a6b27adfcc91ef7d70047650fc325", null ], + [ "SetDirection", "classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f", null ], + [ "SetPosition", "classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_ray_collision-members.html b/docs/classraylib_1_1_ray_collision-members.html index 65af4970..d8b8a0d7 100644 --- a/docs/classraylib_1_1_ray_collision-members.html +++ b/docs/classraylib_1_1_ray_collision-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::RayCollision Member List
+
raylib::RayCollision Member List

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

- + - - - - - + + + + + - + - + - +
GetDistance() constraylib::RayCollisioninline
GetHit() constraylib::RayCollisioninline
GetHit() constraylib::RayCollisioninline
GetNormal() constraylib::RayCollisioninline
GetPosition() constraylib::RayCollisioninline
operator=(const ::RayCollision &ray) (defined in raylib::RayCollision)raylib::RayCollisioninline
RayCollision(const ::RayCollision &ray) (defined in raylib::RayCollision)raylib::RayCollisioninline
RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal) (defined in raylib::RayCollision)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)raylib::RayCollisioninline
GetPosition() constraylib::RayCollisioninline
operator=(const ::RayCollision &ray)raylib::RayCollisioninline
RayCollision(const ::RayCollision &ray)raylib::RayCollisioninline
RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, const ::Model &model)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)raylib::RayCollisioninline
SetDistance(float value)raylib::RayCollisioninline
SetHit(bool value)raylib::RayCollisioninline
SetHit(bool value)raylib::RayCollisioninline
SetNormal(::Vector3 value)raylib::RayCollisioninline
SetPosition(::Vector3 value)raylib::RayCollisioninline
SetPosition(::Vector3 value)raylib::RayCollisioninline
+

- + diff --git a/docs/classraylib_1_1_ray_collision.html b/docs/classraylib_1_1_ray_collision.html index 9088f8d1..83affcfd 100644 --- a/docs/classraylib_1_1_ray_collision.html +++ b/docs/classraylib_1_1_ray_collision.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::RayCollision Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::RayCollision Class Reference
+
raylib::RayCollision Class Reference

Raycast hit information. More...

+ +

#include <RayCollision.hpp>

- - + - - + + - - + + - - + + - + @@ -104,34 +118,250 @@ - + - + - - + + - + - +

+

Public Member Functions

RayCollision (bool hit, float distance, ::Vector3 point, ::Vector3 normal)
 RayCollision (bool hit, float distance, ::Vector3 point, ::Vector3 normal)
 
RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
 Get collision info between ray and triangle.
 RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
 Get collision info between ray and triangle. More...
 
RayCollision (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
 Get collision info between ray and mesh.
 RayCollision (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
 Get collision info between ray and mesh. More...
 
RayCollision (const ::Ray &ray, const ::Model &model)
 Get collision info between ray and model.
 RayCollision (const ::Ray &ray, const ::Model &model)
 Get collision info between ray and model. More...
 
RayCollision (const ::RayCollision &ray)
 RayCollision (const ::RayCollision &ray)
 
float GetDistance () const
 Retrieves the distance value for the object. More...
bool GetHit () const
 Retrieves the hit value for the object. More...
 
::Vector3 GetNormal () const
::Vector3 GetNormal () const
 Retrieves the normal value for the object. More...
 
::Vector3 GetPosition () const
::Vector3 GetPosition () const
 Retrieves the point value for the object. More...
 
-RayCollisionoperator= (const ::RayCollision &ray)
 
RayCollisionoperator= (const ::RayCollision &ray)
 
void SetDistance (float value)
 Sets the distance value for the object. More...
 
void SetHit (bool value)
 Sets the hit value for the object. More...
 
void SetNormal (::Vector3 value)
void SetNormal (::Vector3 value)
 Sets the normal value for the object. More...
 
void SetPosition (::Vector3 value)
void SetPosition (::Vector3 value)
 Sets the point value for the object. More...
 

Detailed Description

-

Raycast hit information.

+

Raycast hit information.

Definition at line 11 of file RayCollision.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ RayCollision() [1/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::RayCollision::RayCollision (const ::RayCollision & ray)
+
+inline
+
+ +

Definition at line 13 of file RayCollision.hpp.

+ +
+
+ +

◆ RayCollision() [2/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::RayCollision::RayCollision (bool hit,
float distance,
::Vector3 point,
::Vector3 normal 
)
+
+inline
+
+ +

Definition at line 17 of file RayCollision.hpp.

+ +
+
+ +

◆ RayCollision() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::RayCollision::RayCollision (const ::Ray & ray,
const ::Mesh & mesh,
const ::Matrix & transform 
)
+
+inline
+
+ +

Get collision info between ray and mesh.

+ +

Definition at line 25 of file RayCollision.hpp.

+ +
+
+ +

◆ RayCollision() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::RayCollision::RayCollision (const ::Ray & ray,
const ::Model & model 
)
+
+inline
+
+ +

Get collision info between ray and model.

+ +

Definition at line 32 of file RayCollision.hpp.

+ +
+
+ +

◆ RayCollision() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::RayCollision::RayCollision (const ::Ray & ray,
::Vector3 p1,
::Vector3 p2,
::Vector3 p3 
)
+
+inline
+
+ +

Get collision info between ray and triangle.

+ +

Definition at line 39 of file RayCollision.hpp.

+ +
+
+

Member Function Documentation

+

◆ GetDistance()

@@ -161,7 +391,7 @@

+

◆ GetHit()

@@ -191,7 +421,7 @@

+

◆ GetNormal()

@@ -201,7 +431,7 @@

- + @@ -221,7 +451,7 @@

+

◆ GetPosition()

@@ -231,7 +461,7 @@

::Vector3 raylib::RayCollision::GetNormal ::Vector3 raylib::RayCollision::GetNormal ( ) const
- + @@ -251,7 +481,35 @@

+ +

◆ operator=()

+ +
+
+
::Vector3 raylib::RayCollision::GetPosition ::Vector3 raylib::RayCollision::GetPosition ( ) const
+ + + + +
+ + + + + + + + +
RayCollision & raylib::RayCollision::operator= (const ::RayCollisionray)
+
+inline
+

+ +

Definition at line 43 of file RayCollision.hpp.

+ +
+

+

◆ SetDistance()

@@ -287,7 +545,7 @@

+

◆ SetHit()

@@ -323,7 +581,7 @@

+

◆ SetNormal()

@@ -335,7 +593,7 @@

void raylib::RayCollision::SetNormal ( - ::Vector3  + ::Vector3  value) @@ -359,7 +617,7 @@

+

◆ SetPosition()

@@ -371,7 +629,7 @@

void raylib::RayCollision::SetPosition ( - ::Vector3  + ::Vector3  value) @@ -396,11 +654,13 @@

+ diff --git a/docs/classraylib_1_1_ray_collision.js b/docs/classraylib_1_1_ray_collision.js new file mode 100644 index 00000000..f48ee59b --- /dev/null +++ b/docs/classraylib_1_1_ray_collision.js @@ -0,0 +1,17 @@ +var classraylib_1_1_ray_collision = +[ + [ "RayCollision", "classraylib_1_1_ray_collision.html#abcdc5ad0a518fce72f4a59e0ff3d6089", null ], + [ "RayCollision", "classraylib_1_1_ray_collision.html#af3d7481a683da26a5bc761de88048e39", null ], + [ "RayCollision", "classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4", null ], + [ "RayCollision", "classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e", null ], + [ "RayCollision", "classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0", null ], + [ "GetDistance", "classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6", null ], + [ "GetHit", "classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9", null ], + [ "GetNormal", "classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144", null ], + [ "GetPosition", "classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3", null ], + [ "operator=", "classraylib_1_1_ray_collision.html#ad0cd1a0d5e234086fa6f87efa3bb8e8a", null ], + [ "SetDistance", "classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa", null ], + [ "SetHit", "classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49", null ], + [ "SetNormal", "classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79", null ], + [ "SetPosition", "classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_raylib_exception-members.html b/docs/classraylib_1_1_raylib_exception-members.html index 73d5be12..d687d9a5 100644 --- a/docs/classraylib_1_1_raylib_exception-members.html +++ b/docs/classraylib_1_1_raylib_exception-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::RaylibException Member List
+
raylib::RaylibException Member List

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

- +
RaylibException(std::string message)raylib::RaylibExceptioninline
TraceLog(int logLevel=LOG_ERROR)raylib::RaylibExceptioninline
TraceLog(int logLevel=LOG_ERROR)raylib::RaylibExceptioninline
+

- + diff --git a/docs/classraylib_1_1_raylib_exception.html b/docs/classraylib_1_1_raylib_exception.html index d1497cdb..0166d5da 100644 --- a/docs/classraylib_1_1_raylib_exception.html +++ b/docs/classraylib_1_1_raylib_exception.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::RaylibException Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::RaylibException Class Reference
+
raylib::RaylibException Class Reference

Exception used for most raylib-related exceptions. More...

+ +

#include <RaylibException.hpp>

- @@ -88,11 +107,11 @@

+

Public Member Functions

 RaylibException (std::string message) throw ()
 Construct a runtime exception with the given message. More...
 

Detailed Description

-

Exception used for most raylib-related exceptions.

+

Exception used for most raylib-related exceptions.

Definition at line 13 of file RaylibException.hpp.

Constructor & Destructor Documentation

- +

◆ RaylibException()

@@ -135,7 +154,7 @@

Member Function Documentation

- +

◆ TraceLog()

@@ -169,14 +188,20 @@

Definition at line 29 of file RaylibException.hpp.

+

References TraceLog().

+ +

Referenced by TraceLog().

+

+
- + diff --git a/docs/classraylib_1_1_raylib_exception.js b/docs/classraylib_1_1_raylib_exception.js new file mode 100644 index 00000000..3a6ecdfa --- /dev/null +++ b/docs/classraylib_1_1_raylib_exception.js @@ -0,0 +1,5 @@ +var classraylib_1_1_raylib_exception = +[ + [ "RaylibException", "classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37", null ], + [ "TraceLog", "classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_rectangle-members.html b/docs/classraylib_1_1_rectangle-members.html index c46c882c..fd0cb48c 100644 --- a/docs/classraylib_1_1_rectangle-members.html +++ b/docs/classraylib_1_1_rectangle-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Rectangle Member List
+
raylib::Rectangle Member List

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

- + - - - - - - - - - + + + + + + + + + - - - + + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - + + + + + - + - +
CheckCollision(::Rectangle rec2) constraylib::Rectangleinline
CheckCollision(::Vector2 point) constraylib::Rectangleinline
CheckCollision(::Vector2 point) constraylib::Rectangleinline
CheckCollision(::Vector2 center, float radius)raylib::Rectangleinline
Draw(::Color color)raylib::Rectangleinline
Draw(::Vector2 origin, float rotation, ::Color color) (defined in raylib::Rectangle)raylib::Rectangleinline
DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) (defined in raylib::Rectangle)raylib::Rectangleinline
DrawGradientH(::Color color1, ::Color color2) (defined in raylib::Rectangle)raylib::Rectangleinline
DrawGradientV(::Color color1, ::Color color2) (defined in raylib::Rectangle)raylib::Rectangleinline
DrawLines(::Color color) (defined in raylib::Rectangle)raylib::Rectangleinline
DrawLines(::Color color, float lineThick) (defined in raylib::Rectangle)raylib::Rectangleinline
DrawRounded(float roundness, int segments, ::Color color) (defined in raylib::Rectangle)raylib::Rectangleinline
DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color) (defined in raylib::Rectangle)raylib::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
DrawGradientH(::Color color1, ::Color color2)raylib::Rectangleinline
DrawGradientV(::Color color1, ::Color color2)raylib::Rectangleinline
DrawLines(::Color color)raylib::Rectangleinline
DrawLines(::Color color, float lineThick)raylib::Rectangleinline
DrawRounded(float roundness, int segments, ::Color color)raylib::Rectangleinline
DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color)raylib::Rectangleinline
GetCollision(::Rectangle rec2) constraylib::Rectangleinline
GetHeight() constraylib::Rectangleinline
GetPosition() (defined in raylib::Rectangle)raylib::Rectangleinline
GetSize() (defined in raylib::Rectangle)raylib::Rectangleinline
GetHeight() constraylib::Rectangleinline
GetPosition()raylib::Rectangleinline
GetSize()raylib::Rectangleinline
GetWidth() constraylib::Rectangleinline
GetX() constraylib::Rectangleinline
GetX() constraylib::Rectangleinline
GetY() constraylib::Rectangleinline
operator::Vector4() const (defined in raylib::Rectangle)raylib::Rectangleinline
operator=(const ::Rectangle &rect) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(const ::Rectangle &vec) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x, float y, float width, float height) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x, float y, float width) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x, float y) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle() (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(::Vector2 position, ::Vector2 size) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(::Vector2 size) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(::Vector4 rect) (defined in raylib::Rectangle)raylib::Rectangleinline
operator::Vector4() constraylib::Rectangleinline
operator=(const ::Rectangle &rect)raylib::Rectangleinline
Rectangle(const ::Rectangle &vec)raylib::Rectangleinline
Rectangle(float x, float y, float width, float height)raylib::Rectangleinline
Rectangle(float x, float y, float width)raylib::Rectangleinline
Rectangle(float x, float y)raylib::Rectangleinline
Rectangle(float x)raylib::Rectangleinline
Rectangle()raylib::Rectangleinline
Rectangle(::Vector2 position, ::Vector2 size)raylib::Rectangleinline
Rectangle(::Vector2 size)raylib::Rectangleinline
Rectangle(::Vector4 rect)raylib::Rectangleinline
SetHeight(float value)raylib::Rectangleinline
SetPosition(float newX, float newY) (defined in raylib::Rectangle)raylib::Rectangleinline
SetPosition(const ::Vector2 &position) (defined in raylib::Rectangle)raylib::Rectangleinline
SetShapesTexture(const ::Texture2D &texture) (defined in raylib::Rectangle)raylib::Rectangleinline
SetSize(float newWidth, float newHeight) (defined in raylib::Rectangle)raylib::Rectangleinline
SetSize(const ::Vector2 &size) (defined in raylib::Rectangle)raylib::Rectangleinline
SetPosition(float newX, float newY)raylib::Rectangleinline
SetPosition(const ::Vector2 &position)raylib::Rectangleinline
SetShapesTexture(const ::Texture2D &texture)raylib::Rectangleinline
SetSize(float newWidth, float newHeight)raylib::Rectangleinline
SetSize(const ::Vector2 &size)raylib::Rectangleinline
SetWidth(float value)raylib::Rectangleinline
SetX(float value)raylib::Rectangleinline
SetX(float value)raylib::Rectangleinline
SetY(float value)raylib::Rectangleinline
ToVector4() (defined in raylib::Rectangle)raylib::Rectangleinline
ToVector4()raylib::Rectangleinline
+

- + diff --git a/docs/classraylib_1_1_rectangle.html b/docs/classraylib_1_1_rectangle.html index 63a6d16c..c3f44e35 100644 --- a/docs/classraylib_1_1_rectangle.html +++ b/docs/classraylib_1_1_rectangle.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Rectangle Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Rectangle Class Reference
+
raylib::Rectangle Class Reference

Rectangle type. More...

+ +

#include <Rectangle.hpp>

- - + + + - + - + - + - + - + - + - + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - + @@ -166,30 +164,23 @@ - + - - + + - - - - - - - - - - + + + + + + + + + + @@ -199,16 +190,815 @@ - +

+

Public Member Functions

Rectangle (::Vector2 position, ::Vector2 size)
 Rectangle ()
 
 Rectangle (::Vector2 position, ::Vector2 size)
 
Rectangle (::Vector2 size)
 Rectangle (::Vector2 size)
 
Rectangle (::Vector4 rect)
 Rectangle (::Vector4 rect)
 
Rectangle (const ::Rectangle &vec)
 Rectangle (const ::Rectangle &vec)
 
Rectangle (float x)
 Rectangle (float x)
 
Rectangle (float x, float y)
 Rectangle (float x, float y)
 
Rectangle (float x, float y, float width)
 Rectangle (float x, float y, float width)
 
Rectangle (float x, float y, float width, float height)
 Rectangle (float x, float y, float width, float height)
 
-bool CheckCollision (::Rectangle rec2) const
 Check collision between two rectangles.
bool CheckCollision (::Rectangle rec2) const
 Check collision between two rectangles. More...
 
-bool CheckCollision (::Vector2 center, float radius)
 Check collision between circle and rectangle.
bool CheckCollision (::Vector2 center, float radius)
 Check collision between circle and rectangle. More...
 
-bool CheckCollision (::Vector2 point) const
 Check if point is inside rectangle.
bool CheckCollision (::Vector2 point) const
 Check if point is inside rectangle. More...
 
-RectangleDraw (::Color color)
 Draw a color-filled rectangle.
 
-RectangleDraw (::Vector2 origin, float rotation, ::Color color)
 
-RectangleDrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4)
 
-RectangleDrawGradientH (::Color color1, ::Color color2)
 
-RectangleDrawGradientV (::Color color1, ::Color color2)
 
-RectangleDrawLines (::Color color)
 
-RectangleDrawLines (::Color color, float lineThick)
 
-RectangleDrawRounded (float roundness, int segments, ::Color color)
 
-RectangleDrawRoundedLines (float roundness, int segments, float lineThick, ::Color color)
 
-inline ::Rectangle GetCollision (::Rectangle rec2) const
 Get collision rectangle for two rectangles collision.
RectangleDraw (::Color color)
 Draw a color-filled rectangle. More...
 
RectangleDraw (::Vector2 origin, float rotation, ::Color color)
 
RectangleDrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4)
 
RectangleDrawGradientH (::Color color1, ::Color color2)
 
RectangleDrawGradientV (::Color color1, ::Color color2)
 
RectangleDrawLines (::Color color)
 
RectangleDrawLines (::Color color, float lineThick)
 
RectangleDrawRounded (float roundness, int segments, ::Color color)
 
RectangleDrawRoundedLines (float roundness, int segments, float lineThick, ::Color color)
 
inline ::Rectangle GetCollision (::Rectangle rec2) const
 Get collision rectangle for two rectangles collision. More...
 
float GetHeight () const
 Retrieves the height value for the object. More...
 
-inline ::Vector2 GetPosition ()
inline ::Vector2 GetPosition ()
 
-inline ::Vector2 GetSize ()
inline ::Vector2 GetSize ()
 
float GetWidth () const
 Retrieves the width value for the object. More...
float GetY () const
 Retrieves the y value for the object. More...
 
operator::Vector4 () const
 operator::Vector4 () const
 
-Rectangleoperator= (const ::Rectangle &rect)
 
Rectangleoperator= (const ::Rectangle &rect)
 
void SetHeight (float value)
 Sets the height value for the object. More...
 
-RectangleSetPosition (const ::Vector2 &position)
 
-RectangleSetPosition (float newX, float newY)
 
-RectangleSetShapesTexture (const ::Texture2D &texture)
 
-RectangleSetSize (const ::Vector2 &size)
 
-RectangleSetSize (float newWidth, float newHeight)
 
RectangleSetPosition (const ::Vector2 &position)
 
RectangleSetPosition (float newX, float newY)
 
RectangleSetShapesTexture (const ::Texture2D &texture)
 
RectangleSetSize (const ::Vector2 &size)
 
RectangleSetSize (float newWidth, float newHeight)
 
void SetWidth (float value)
 Sets the width value for the object. More...
 
void SetY (float value)
 Sets the y value for the object. More...
 
-inline ::Vector4 ToVector4 ()
inline ::Vector4 ToVector4 ()
 
-

Detailed Description

-

Rectangle type.

+

Detailed Description

+

Rectangle type.

+ +

Definition at line 12 of file Rectangle.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Rectangle() [1/9]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Rectangle::Rectangle (const ::Rectangle & vec)
+
+inline
+
+ +

Definition at line 14 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [2/9]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Rectangle::Rectangle (float x,
float y,
float width,
float height 
)
+
+inline
+
+ +

Definition at line 18 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [3/9]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Rectangle::Rectangle (float x,
float y,
float width 
)
+
+inline
+
+ +

Definition at line 19 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [4/9]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Rectangle::Rectangle (float x,
float y 
)
+
+inline
+
+ +

Definition at line 20 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [5/9]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Rectangle::Rectangle (float x)
+
+inline
+
+ +

Definition at line 21 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [6/9]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Rectangle::Rectangle ()
+
+inline
+
+ +

Definition at line 22 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [7/9]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Rectangle::Rectangle (::Vector2 position,
::Vector2 size 
)
+
+inline
+
+ +

Definition at line 24 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [8/9]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Rectangle::Rectangle (::Vector2 size)
+
+inline
+
+ +

Definition at line 26 of file Rectangle.hpp.

+ +
+
+ +

◆ Rectangle() [9/9]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Rectangle::Rectangle (::Vector4 rect)
+
+inline
+
+ +

Definition at line 27 of file Rectangle.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ CheckCollision() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Rectangle::CheckCollision (::Rectangle rec2) const
+
+inline
+
+ +

Check collision between two rectangles.

+ +

Definition at line 103 of file Rectangle.hpp.

+ +
+
+ +

◆ CheckCollision() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool raylib::Rectangle::CheckCollision (::Vector2 center,
float radius 
)
+
+inline
+
+ +

Check collision between circle and rectangle.

+ +

Definition at line 124 of file Rectangle.hpp.

+ +
+
+ +

◆ CheckCollision() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Rectangle::CheckCollision (::Vector2 point) const
+
+inline
+
+ +

Check if point is inside rectangle.

+ +

Definition at line 117 of file Rectangle.hpp.

+ +
+
+ +

◆ Draw() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle & raylib::Rectangle::Draw (::Color color)
+
+inline
+
+ +

Draw a color-filled rectangle.

+ +

Definition at line 50 of file Rectangle.hpp.

+ +
+
+ +

◆ Draw() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::Draw (::Vector2 origin,
float rotation,
::Color color 
)
+
+inline
+
+ +

Definition at line 56 of file Rectangle.hpp.

+ +
+
+ +

◆ DrawGradient()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::DrawGradient (::Color col1,
::Color col2,
::Color col3,
::Color col4 
)
+
+inline
+
+ +

Definition at line 73 of file Rectangle.hpp.

+ +
+
+ +

◆ DrawGradientH()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::DrawGradientH (::Color color1,
::Color color2 
)
+
+inline
+
+ +

Definition at line 67 of file Rectangle.hpp.

+ +
+
+ +

◆ DrawGradientV()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::DrawGradientV (::Color color1,
::Color color2 
)
+
+inline
+
+ +

Definition at line 61 of file Rectangle.hpp.

+ +
+
+ +

◆ DrawLines() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle & raylib::Rectangle::DrawLines (::Color color)
+
+inline
+
+ +

Definition at line 78 of file Rectangle.hpp.

+ +
+
+ +

◆ DrawLines() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::DrawLines (::Color color,
float lineThick 
)
+
+inline
+
+ +

Definition at line 84 of file Rectangle.hpp.

+ +
+
+ +

◆ DrawRounded()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::DrawRounded (float roundness,
int segments,
::Color color 
)
+
+inline
+
+ +

Definition at line 89 of file Rectangle.hpp.

+ +
+
+ +

◆ DrawRoundedLines()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::DrawRoundedLines (float roundness,
int segments,
float lineThick,
::Color color 
)
+
+inline
+
+ +

Definition at line 94 of file Rectangle.hpp.

+ +
+
+ +

◆ GetCollision()

+ +
+
+ + + + + +
+ + + + + + + + +
inline ::Rectangle raylib::Rectangle::GetCollision (::Rectangle rec2) const
+
+inline
+
-

Definition at line 12 of file Rectangle.hpp.

-

Member Function Documentation

- +

Get collision rectangle for two rectangles collision.

+ +

Definition at line 110 of file Rectangle.hpp.

+ +
+
+

◆ GetHeight()

@@ -238,7 +1028,61 @@

+ +

◆ GetPosition()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Vector2 raylib::Rectangle::GetPosition ()
+
+inline
+
+ +

Definition at line 147 of file Rectangle.hpp.

+ +
+
+ +

◆ GetSize()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Vector2 raylib::Rectangle::GetSize ()
+
+inline
+
+ +

Definition at line 128 of file Rectangle.hpp.

+ +
+
+

◆ GetWidth()

@@ -268,7 +1112,7 @@

+

◆ GetX()

@@ -298,7 +1142,7 @@

+

◆ GetY()

@@ -328,7 +1172,62 @@

+ +

◆ operator::Vector4()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Rectangle::operator::Vector4 () const
+
+inline
+
+ +

Definition at line 43 of file Rectangle.hpp.

+ +
+
+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle & raylib::Rectangle::operator= (const ::Rectanglerect)
+
+inline
+
+ +

Definition at line 34 of file Rectangle.hpp.

+ +
+
+

◆ SetHeight()

@@ -364,7 +1263,179 @@

+ +

◆ SetPosition() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle & raylib::Rectangle::SetPosition (const ::Vector2 & position)
+
+inline
+
+ +

Definition at line 157 of file Rectangle.hpp.

+ +

References SetPosition().

+ +
+
+ +

◆ SetPosition() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::SetPosition (float newX,
float newY 
)
+
+inline
+
+ +

Definition at line 151 of file Rectangle.hpp.

+ +

Referenced by SetPosition().

+ +
+
+ +

◆ SetShapesTexture()

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle & raylib::Rectangle::SetShapesTexture (const ::Texture2Dtexture)
+
+inline
+
+ +

Definition at line 142 of file Rectangle.hpp.

+ +

References SetShapesTexture().

+ +

Referenced by SetShapesTexture().

+ +
+
+ +

◆ SetSize() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle & raylib::Rectangle::SetSize (const ::Vector2 & size)
+
+inline
+
+ +

Definition at line 138 of file Rectangle.hpp.

+ +

References SetSize().

+ +
+
+ +

◆ SetSize() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Rectangle & raylib::Rectangle::SetSize (float newWidth,
float newHeight 
)
+
+inline
+
+ +

Definition at line 132 of file Rectangle.hpp.

+ +

Referenced by SetSize().

+ +
+
+

◆ SetWidth()

@@ -400,7 +1471,7 @@

+

◆ SetX()

@@ -436,7 +1507,7 @@

+

◆ SetY()

@@ -470,14 +1541,43 @@

Definition at line 30 of file Rectangle.hpp.

+

+

+ +

◆ ToVector4()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Vector4 raylib::Rectangle::ToVector4 ()
+
+inline
+
+ +

Definition at line 39 of file Rectangle.hpp.

+

+

- + diff --git a/docs/classraylib_1_1_rectangle.js b/docs/classraylib_1_1_rectangle.js new file mode 100644 index 00000000..aaebe6a9 --- /dev/null +++ b/docs/classraylib_1_1_rectangle.js @@ -0,0 +1,43 @@ +var classraylib_1_1_rectangle = +[ + [ "Rectangle", "classraylib_1_1_rectangle.html#af3ec58f0bddd5f275adc88a738e8b674", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#ab31f8b649dd25ec8681efbfd72785f2f", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#a61861032ffd470259e1b74fed46ab5e8", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#a04bca788142d97d34e7fe1be945795b2", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#a33e0e9353785a4023aee973d1613f1ff", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#abcbb82963e25bcd78da507dd498cd35b", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#a2e6a3094f9d2cc34a8ffee741114271d", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#a85ea9145d362d7247096c0f1e5a139d2", null ], + [ "Rectangle", "classraylib_1_1_rectangle.html#a0ca58eee9dbca8d0eb850bc9cfe6d843", null ], + [ "CheckCollision", "classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7", null ], + [ "CheckCollision", "classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b", null ], + [ "CheckCollision", "classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4", null ], + [ "Draw", "classraylib_1_1_rectangle.html#abce328ccb910b789837bb8ceea853eab", null ], + [ "Draw", "classraylib_1_1_rectangle.html#ab7e1811729d9e6e1249cdb609b1ca708", null ], + [ "DrawGradient", "classraylib_1_1_rectangle.html#a91f16cb0155770dce5a243696c7133de", null ], + [ "DrawGradientH", "classraylib_1_1_rectangle.html#a7214778babdc04f084485b4e6bb49960", null ], + [ "DrawGradientV", "classraylib_1_1_rectangle.html#a608a8127089b86675754550f3de8d8ff", null ], + [ "DrawLines", "classraylib_1_1_rectangle.html#aa2a27862a187321a4ebf42803570f030", null ], + [ "DrawLines", "classraylib_1_1_rectangle.html#acc73b3b7db8de38e6ff740f084a02ded", null ], + [ "DrawRounded", "classraylib_1_1_rectangle.html#a9619f4bc272398fab7f5c86b2892b048", null ], + [ "DrawRoundedLines", "classraylib_1_1_rectangle.html#aab8c6c6bd1dbc9c87565dbb3f2711ef1", null ], + [ "GetCollision", "classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260", null ], + [ "GetHeight", "classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d", null ], + [ "GetPosition", "classraylib_1_1_rectangle.html#aa7d683a593af23288bf41a96fc051486", null ], + [ "GetSize", "classraylib_1_1_rectangle.html#ae5092e0caaf7bf89780da03968e48ea5", null ], + [ "GetWidth", "classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f", null ], + [ "GetX", "classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488", null ], + [ "GetY", "classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a", null ], + [ "operator::Vector4", "classraylib_1_1_rectangle.html#a0c04495372edc5cc3a3f572f0cddbc70", null ], + [ "operator=", "classraylib_1_1_rectangle.html#af7744f0ec9ec04d73403a7f6a71ae3cd", null ], + [ "SetHeight", "classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b", null ], + [ "SetPosition", "classraylib_1_1_rectangle.html#a18647e222a3f11064cb9a6dfb18fe7c8", null ], + [ "SetPosition", "classraylib_1_1_rectangle.html#a512e9d32b02e9a55f7bf6d3b90ca4e7e", null ], + [ "SetShapesTexture", "classraylib_1_1_rectangle.html#aff8f63a27bab16c9bff78f137d3d7923", null ], + [ "SetSize", "classraylib_1_1_rectangle.html#acb7e80dbb24e3005980ecf4d1f52ddae", null ], + [ "SetSize", "classraylib_1_1_rectangle.html#a92bae52ae8d3b79dae9f811fca30a7b2", null ], + [ "SetWidth", "classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254", null ], + [ "SetX", "classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7", null ], + [ "SetY", "classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7", null ], + [ "ToVector4", "classraylib_1_1_rectangle.html#a7f559c46f78bbbdf21c81e9db6b4fb64", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_render_texture-members.html b/docs/classraylib_1_1_render_texture-members.html index a761399f..a9c22cff 100644 --- a/docs/classraylib_1_1_render_texture-members.html +++ b/docs/classraylib_1_1_render_texture-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::RenderTexture Member List
+
raylib::RenderTexture Member List

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

- - + + - + - + - - - + + + - - - - - + + + + + - + - - + +
BeginMode()raylib::RenderTextureinline
EndMode()raylib::RenderTextureinline
BeginMode()raylib::RenderTextureinline
EndMode()raylib::RenderTextureinline
GetDepth() constraylib::RenderTextureinline
GetId() constraylib::RenderTextureinline
GetId() constraylib::RenderTextureinline
GetTexture() constraylib::RenderTextureinline
IsReady() constraylib::RenderTextureinline
IsReady() constraylib::RenderTextureinline
Load(int width, int height)raylib::RenderTextureinline
operator=(const ::RenderTexture &texture) (defined in raylib::RenderTexture)raylib::RenderTextureinline
operator=(const RenderTexture &)=delete (defined in raylib::RenderTexture)raylib::RenderTexture
operator=(RenderTexture &&other) noexcept (defined in raylib::RenderTexture)raylib::RenderTextureinline
operator=(const ::RenderTexture &texture)raylib::RenderTextureinline
operator=(const RenderTexture &)=deleteraylib::RenderTexture
operator=(RenderTexture &&other) noexceptraylib::RenderTextureinline
RenderTexture()raylib::RenderTextureinline
RenderTexture(const ::RenderTexture &renderTexture) (defined in raylib::RenderTexture)raylib::RenderTextureinline
RenderTexture(unsigned int id, ::Texture texture, ::Texture depth) (defined in raylib::RenderTexture)raylib::RenderTextureinline
RenderTexture(int width, int height) (defined in raylib::RenderTexture)raylib::RenderTextureinline
RenderTexture(const RenderTexture &)=delete (defined in raylib::RenderTexture)raylib::RenderTexture
RenderTexture(RenderTexture &&other) (defined in raylib::RenderTexture)raylib::RenderTextureinline
RenderTexture(const ::RenderTexture &renderTexture)raylib::RenderTextureinline
RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)raylib::RenderTextureinline
RenderTexture(int width, int height)raylib::RenderTextureinline
RenderTexture(const RenderTexture &)=deleteraylib::RenderTexture
RenderTexture(RenderTexture &&other)raylib::RenderTextureinline
SetDepth(::Texture2D value)raylib::RenderTextureinline
SetId(unsigned int value)raylib::RenderTextureinline
SetId(unsigned int value)raylib::RenderTextureinline
SetTexture(::Texture2D value)raylib::RenderTextureinline
Unload() (defined in raylib::RenderTexture)raylib::RenderTextureinline
~RenderTexture() (defined in raylib::RenderTexture)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 index c645f838..361ba4e9 100644 --- a/docs/classraylib_1_1_render_texture.html +++ b/docs/classraylib_1_1_render_texture.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::RenderTexture Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::RenderTexture Class Reference
+
raylib::RenderTexture Class Reference

RenderTexture type, for texture rendering. More...

+ +

#include <RenderTexture.hpp>

- - - + + - + - + - + - + - + - - - - - - - + + + + + + + + + - + - - + + - - + + - - - - - - - + + + + + + + - + - +

+

Public Member Functions

RenderTexture ()
 Default constructor to build an empty RenderTexture.
 RenderTexture ()
 Default constructor to build an empty RenderTexture. More...
 
RenderTexture (const ::RenderTexture &renderTexture)
 RenderTexture (const ::RenderTexture &renderTexture)
 
RenderTexture (const RenderTexture &)=delete
 RenderTexture (const RenderTexture &)=delete
 
RenderTexture (int width, int height)
 RenderTexture (int width, int height)
 
RenderTexture (RenderTexture &&other)
 RenderTexture (RenderTexture &&other)
 
RenderTexture (unsigned int id, ::Texture texture, ::Texture depth)
 RenderTexture (unsigned int id, ::Texture texture, ::Texture depth)
 
-RenderTextureBeginMode ()
 Initializes render texture for drawing.
 
-RenderTextureEndMode ()
 Ends drawing to render texture.
 
::Texture2D GetDepth () const
 ~RenderTexture ()
 
RenderTextureBeginMode ()
 Initializes render texture for drawing. More...
 
RenderTextureEndMode ()
 Ends drawing to render texture. More...
 
::Texture2D GetDepth () const
 Retrieves the depth value for the object. More...
 
unsigned int GetId () const
 Retrieves the id value for the object. More...
 
::Texture2D GetTexture () const
::Texture2D GetTexture () const
 Retrieves the texture value for the object. More...
 
-bool IsReady () const
 Retrieves whether or not the render texture is ready.
bool IsReady () const
 Retrieves whether or not the render texture is ready. More...
 
-bool Load (int width, int height)
 Loads a render texture at the given width and height.
bool Load (int width, int height)
 Loads a render texture at the given width and height. More...
 
-RenderTextureoperator= (const ::RenderTexture &texture)
 
-RenderTextureoperator= (const RenderTexture &)=delete
 
-RenderTextureoperator= (RenderTexture &&other) noexcept
 
void SetDepth (::Texture2D value)
RenderTextureoperator= (const ::RenderTexture &texture)
 
RenderTextureoperator= (const RenderTexture &)=delete
 
RenderTextureoperator= (RenderTexture &&other) noexcept
 
void SetDepth (::Texture2D value)
 Sets the depth value for the object. More...
 
void SetId (unsigned int value)
 Sets the id value for the object. More...
 
void SetTexture (::Texture2D value)
void SetTexture (::Texture2D value)
 Sets the texture value for the object. More...
 
-void Unload ()
void Unload ()
 

Detailed Description

-

RenderTexture type, for texture rendering.

+

RenderTexture type, for texture rendering.

Definition at line 12 of file RenderTexture.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ RenderTexture() [1/6]

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

Default constructor to build an empty RenderTexture.

+ +

Definition at line 17 of file RenderTexture.hpp.

+ +
+
+ +

◆ RenderTexture() [2/6]

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

Definition at line 21 of file RenderTexture.hpp.

+ +
+
+ +

◆ RenderTexture() [3/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::RenderTexture::RenderTexture (unsigned int id,
::Texture texture,
::Texture depth 
)
+
+inline
+
+ +

Definition at line 25 of file RenderTexture.hpp.

+ +
+
+ +

◆ RenderTexture() [4/6]

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

Definition at line 27 of file RenderTexture.hpp.

+ +

References Load().

+ +
+
+ +

◆ RenderTexture() [5/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::RenderTexture::RenderTexture (const RenderTexture)
+
+delete
+
+ +
+
+ +

◆ RenderTexture() [6/6]

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

Definition at line 35 of file RenderTexture.hpp.

+ +
+
+ +

◆ ~RenderTexture()

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

Definition at line 69 of file RenderTexture.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+ +

◆ BeginMode()

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

Initializes render texture for drawing.

+ +

Definition at line 80 of file RenderTexture.hpp.

+ +
+
+ +

◆ EndMode()

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

Ends drawing to render texture.

+ +

Definition at line 88 of file RenderTexture.hpp.

+ +
+
+

◆ GetDepth()

+ +

Retrieves whether or not the render texture is ready.

+ +

Definition at line 104 of file RenderTexture.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ Load()

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

Loads a render texture at the given width and height.

+ +

Definition at line 96 of file RenderTexture.hpp.

+ +

References IsReady().

+ +

Referenced by RenderTexture().

+ +
+
+ +

◆ operator=() [1/3]

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

Definition at line 47 of file RenderTexture.hpp.

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
RenderTexture & raylib::RenderTexture::operator= (const RenderTexture)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
RenderTexture & raylib::RenderTexture::operator= (RenderTexture && other)
+
+inlinenoexcept
+
+ +

Definition at line 54 of file RenderTexture.hpp.

+ +

References Unload().

+ +
+
+

◆ SetDepth()

@@ -253,7 +702,7 @@

void raylib::RenderTexture::SetDepth ( - ::Texture2D  + ::Texture2D  value) @@ -277,7 +726,7 @@

+

◆ SetId()

@@ -313,7 +762,7 @@

+

◆ SetTexture()

@@ -325,7 +774,7 @@

void raylib::RenderTexture::SetTexture ( - ::Texture2D  + ::Texture2D  value) @@ -347,14 +796,45 @@

Definition at line 44 of file RenderTexture.hpp.

+

+

+ +

◆ Unload()

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

Definition at line 73 of file RenderTexture.hpp.

+ +

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

+

+

- + diff --git a/docs/classraylib_1_1_render_texture.js b/docs/classraylib_1_1_render_texture.js new file mode 100644 index 00000000..519f616d --- /dev/null +++ b/docs/classraylib_1_1_render_texture.js @@ -0,0 +1,24 @@ +var classraylib_1_1_render_texture = +[ + [ "RenderTexture", "classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35", null ], + [ "RenderTexture", "classraylib_1_1_render_texture.html#a86e1112d634dd3f3fa08ab448b120174", null ], + [ "RenderTexture", "classraylib_1_1_render_texture.html#a27f118f32bd8083a183df7ab5f0d8285", null ], + [ "RenderTexture", "classraylib_1_1_render_texture.html#add8d201aec938fe0a66ecedd304e2fd3", null ], + [ "RenderTexture", "classraylib_1_1_render_texture.html#acf580e3d1fe82531a24d5ae3e380dd1b", null ], + [ "RenderTexture", "classraylib_1_1_render_texture.html#a39f48ce84105360408c0ff04b143bbc1", null ], + [ "~RenderTexture", "classraylib_1_1_render_texture.html#aa82fb85022acc70314c1ddd22d12f44d", null ], + [ "BeginMode", "classraylib_1_1_render_texture.html#a4e2cede5c6b58d0b4f0a38eba6897a5f", null ], + [ "EndMode", "classraylib_1_1_render_texture.html#a745032e86cd391ddf110a1e40ba3415f", null ], + [ "GetDepth", "classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee", null ], + [ "GetId", "classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06", null ], + [ "GetTexture", "classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400", null ], + [ "IsReady", "classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4", null ], + [ "Load", "classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9", null ], + [ "operator=", "classraylib_1_1_render_texture.html#aee91fd336700acaa3cfb1f30d11efc1b", null ], + [ "operator=", "classraylib_1_1_render_texture.html#a11d5dd47fbb373e556b6955c2a31f911", null ], + [ "operator=", "classraylib_1_1_render_texture.html#ab2d6ea01017394c700c6541e7a1c987e", null ], + [ "SetDepth", "classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235", null ], + [ "SetId", "classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2", null ], + [ "SetTexture", "classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81", null ], + [ "Unload", "classraylib_1_1_render_texture.html#a56b0bb42ae5ef981404b0fc1b28c2ed9", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_shader-members.html b/docs/classraylib_1_1_shader-members.html index c6222bcb..2bcd689d 100644 --- a/docs/classraylib_1_1_shader-members.html +++ b/docs/classraylib_1_1_shader-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Shader Member List
+
raylib::Shader Member List

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

- - + + - + - + - + - - - + + + - - - - - - - - - - - - - + + + + + + + + + + + + +
BeginMode()raylib::Shaderinline
EndMode()raylib::Shaderinline
BeginMode()raylib::Shaderinline
EndMode()raylib::Shaderinline
GetId() constraylib::Shaderinline
GetLocation(const std::string &uniformName) constraylib::Shaderinline
GetLocation(const std::string &uniformName) constraylib::Shaderinline
GetLocationAttrib(const std::string &attribName) constraylib::Shaderinline
GetLocs() constraylib::Shaderinline
GetLocs() constraylib::Shaderinline
IsReady() constraylib::Shaderinline
Load(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinlinestatic
Load(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinlinestatic
LoadFromMemory(const std::string &vsCode, const std::string &fsCode)raylib::Shaderinlinestatic
operator=(const ::Shader &shader) (defined in raylib::Shader)raylib::Shaderinline
operator=(const Shader &)=delete (defined in raylib::Shader)raylib::Shader
operator=(Shader &&other) noexcept (defined in raylib::Shader)raylib::Shaderinline
operator=(const ::Shader &shader)raylib::Shaderinline
operator=(const Shader &)=deleteraylib::Shader
operator=(Shader &&other) noexceptraylib::Shaderinline
SetId(unsigned int value)raylib::Shaderinline
SetLocs(int *value)raylib::Shaderinline
SetValue(int uniformLoc, const void *value, int uniformType)raylib::Shaderinline
SetValue(int uniformLoc, const void *value, int uniformType, int count)raylib::Shaderinline
SetValue(int uniformLoc, const ::Matrix &mat)raylib::Shaderinline
SetValue(int uniformLoc, const ::Texture2D &texture)raylib::Shaderinline
Shader(const ::Shader &shader) (defined in raylib::Shader)raylib::Shaderinline
Shader(unsigned int id, int *locs=nullptr) (defined in raylib::Shader)raylib::Shaderinline
Shader(const std::string &vsFileName, const std::string &fsFileName) (defined in raylib::Shader)raylib::Shaderinline
Shader(const char *vsFileName, const char *fsFileName) (defined in raylib::Shader)raylib::Shaderinline
Shader(const Shader &)=delete (defined in raylib::Shader)raylib::Shader
Shader(Shader &&other) (defined in raylib::Shader)raylib::Shaderinline
Unload() (defined in raylib::Shader)raylib::Shaderinline
~Shader() (defined in raylib::Shader)raylib::Shaderinline
SetLocs(int *value)raylib::Shaderinline
SetValue(int uniformLoc, const void *value, int uniformType)raylib::Shaderinline
SetValue(int uniformLoc, const void *value, int uniformType, int count)raylib::Shaderinline
SetValue(int uniformLoc, const ::Matrix &mat)raylib::Shaderinline
SetValue(int uniformLoc, const ::Texture2D &texture)raylib::Shaderinline
Shader(const ::Shader &shader)raylib::Shaderinline
Shader(unsigned int id, int *locs=nullptr)raylib::Shaderinline
Shader(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinline
Shader(const char *vsFileName, const char *fsFileName)raylib::Shaderinline
Shader(const Shader &)=deleteraylib::Shader
Shader(Shader &&other)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 3ded77a4..d9b5bd50 100644 --- a/docs/classraylib_1_1_shader.html +++ b/docs/classraylib_1_1_shader.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Shader Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Shader Class Reference
+
raylib::Shader Class Reference

Shader type (generic) More...

+ +

#include <Shader.hpp>

- - + - + - + - + - + - + - - - - - - + + + + + + + + @@ -116,59 +129,338 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + +

+

Public Member Functions

Shader (const ::Shader &shader)
 Shader (const ::Shader &shader)
 
Shader (const char *vsFileName, const char *fsFileName)
 Shader (const char *vsFileName, const char *fsFileName)
 
Shader (const Shader &)=delete
 Shader (const Shader &)=delete
 
Shader (const std::string &vsFileName, const std::string &fsFileName)
 Shader (const std::string &vsFileName, const std::string &fsFileName)
 
Shader (Shader &&other)
 Shader (Shader &&other)
 
Shader (unsigned int id, int *locs=nullptr)
 Shader (unsigned int id, int *locs=nullptr)
 
-ShaderBeginMode ()
 Begin custom shader drawing.
 
-ShaderEndMode ()
 End custom shader drawing (use default shader).
 
 ~Shader ()
 
ShaderBeginMode ()
 Begin custom shader drawing. More...
 
ShaderEndMode ()
 End custom shader drawing (use default shader). More...
 
unsigned int GetId () const
 Retrieves the id value for the object. More...
 
int GetLocationAttrib (const std::string &attribName) const
 Get shader attribute location. More...
 
int * GetLocs () const
 Retrieves the locs value for the object. More...
 
-bool IsReady () const
 Retrieves whether or not the shader is ready.
int * GetLocs () const
 Retrieves the locs value for the object. More...
 
bool IsReady () const
 Retrieves whether or not the shader is ready. More...
 
-Shaderoperator= (const ::Shader &shader)
 
-Shaderoperator= (const Shader &)=delete
 
-Shaderoperator= (Shader &&other) noexcept
 
Shaderoperator= (const ::Shader &shader)
 
Shaderoperator= (const Shader &)=delete
 
Shaderoperator= (Shader &&other) noexcept
 
void SetId (unsigned int value)
 Sets the id value for the object. More...
 
void SetLocs (int *value)
 Sets the locs value for the object. More...
 
ShaderSetValue (int uniformLoc, const ::Matrix &mat)
 Set shader uniform value (matrix 4x4) More...
 
ShaderSetValue (int uniformLoc, const ::Texture2D &texture)
 Set shader uniform value for texture. More...
 
ShaderSetValue (int uniformLoc, const void *value, int uniformType)
 Set shader uniform value. More...
 
ShaderSetValue (int uniformLoc, const void *value, int uniformType, int count)
 Set shader uniform value vector. More...
 
-void Unload ()
ShaderSetValue (int uniformLoc, const ::Matrix &mat)
 Set shader uniform value (matrix 4x4) More...
 
ShaderSetValue (int uniformLoc, const ::Texture2D &texture)
 Set shader uniform value for texture. More...
 
ShaderSetValue (int uniformLoc, const void *value, int uniformType)
 Set shader uniform value. More...
 
ShaderSetValue (int uniformLoc, const void *value, int uniformType, int count)
 Set shader uniform value vector. More...
 
void Unload ()
 
- - + - +

+

Static Public Member Functions

::Shader Load (const std::string &vsFileName, const std::string &fsFileName)
::Shader Load (const std::string &vsFileName, const std::string &fsFileName)
 Load shader from files and bind default locations. More...
 
::Shader LoadFromMemory (const std::string &vsCode, const std::string &fsCode)
::Shader LoadFromMemory (const std::string &vsCode, const std::string &fsCode)
 Load a shader from memory. More...
 

Detailed Description

-

Shader type (generic)

+

Shader type (generic)

Definition at line 14 of file Shader.hpp.

-

Member Function Documentation

- +

Constructor & Destructor Documentation

+ +

◆ Shader() [1/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Shader::Shader (const ::Shader & shader)
+
+inline
+
+ +

Definition at line 16 of file Shader.hpp.

+ +
+
+ +

◆ Shader() [2/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Shader::Shader (unsigned int id,
int * locs = nullptr 
)
+
+inline
+
+ +

Definition at line 20 of file Shader.hpp.

+ +
+
+ +

◆ Shader() [3/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Shader::Shader (const std::string & vsFileName,
const std::string & fsFileName 
)
+
+inline
+
+ +

Definition at line 22 of file Shader.hpp.

+ +
+
+ +

◆ Shader() [4/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Shader::Shader (const char * vsFileName,
const char * fsFileName 
)
+
+inline
+
+ +

Definition at line 26 of file Shader.hpp.

+ +
+
+ +

◆ Shader() [5/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Shader::Shader (const Shader)
+
+delete
+
+ +
+
+ +

◆ Shader() [6/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Shader::Shader (Shader && other)
+
+inline
+
+ +

Definition at line 32 of file Shader.hpp.

+ +
+
+ +

◆ ~Shader()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Shader::~Shader ()
+
+inline
+
+ +

Definition at line 81 of file Shader.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+ +

◆ BeginMode()

+ +
+
+ + + + + +
+ + + + + + + +
Shader & raylib::Shader::BeginMode ()
+
+inline
+
+ +

Begin custom shader drawing.

+ +

Definition at line 94 of file Shader.hpp.

+ +
+
+ +

◆ EndMode()

+ +
+
+ + + + + +
+ + + + + + + +
Shader & raylib::Shader::EndMode ()
+
+inline
+
+ +

End custom shader drawing (use default shader).

+ +

Definition at line 102 of file Shader.hpp.

+ +
+
+

◆ GetId()

@@ -198,7 +490,7 @@

+

◆ GetLocation()

@@ -229,7 +521,7 @@

+

◆ GetLocationAttrib()

@@ -260,8 +552,8 @@

-

◆ GetLocs()

+ +

◆ GetLocs()

@@ -270,7 +562,7 @@

- + @@ -290,7 +582,36 @@

+ +

◆ IsReady()

+ +
+
+

int* raylib::Shader::GetLocs int * raylib::Shader::GetLocs ( ) const
+ + + + +
+ + + + + + + +
bool raylib::Shader::IsReady () const
+
+inline
+

+ +

Retrieves whether or not the shader is ready.

+ +

Definition at line 168 of file Shader.hpp.

+ +
+
+

◆ Load()

@@ -300,7 +621,7 @@

- + @@ -331,7 +652,7 @@

+

◆ LoadFromMemory()

@@ -341,7 +662,7 @@

::Shader raylib::Shader::Load ::Shader raylib::Shader::Load ( const std::string &  vsFileName,
- + @@ -372,7 +693,91 @@

+ +

◆ operator=() [1/3]

+ +
+
+
::Shader raylib::Shader::LoadFromMemory ::Shader raylib::Shader::LoadFromMemory ( const std::string &  vsCode,
+ + + + +
+ + + + + + + + +
Shader & raylib::Shader::operator= (const ::Shadershader)
+
+inline
+

+ +

Definition at line 60 of file Shader.hpp.

+ +
+

+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Shader & raylib::Shader::operator= (const Shader)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Shader & raylib::Shader::operator= (Shader && other)
+
+inlinenoexcept
+
+ +

Definition at line 67 of file Shader.hpp.

+ +

References Unload().

+ +
+
+

◆ SetId()

@@ -408,7 +813,7 @@

+

◆ SetLocs()

@@ -444,8 +849,8 @@

-

◆ SetValue() [1/4]

+ +

◆ SetValue() [1/4]

@@ -454,7 +859,7 @@

- + @@ -462,7 +867,7 @@

- + @@ -485,8 +890,8 @@

-

◆ SetValue() [2/4]

+ +

◆ SetValue() [2/4]

@@ -495,7 +900,7 @@

Shader& raylib::Shader::SetValue Shader & raylib::Shader::SetValue ( int  uniformLoc, const ::Matrixconst ::Matrix &  mat 
- + @@ -503,7 +908,7 @@

- + @@ -526,8 +931,8 @@

-

◆ SetValue() [3/4]

+ +

◆ SetValue() [3/4]

@@ -536,7 +941,7 @@

Shader& raylib::Shader::SetValue Shader & raylib::Shader::SetValue ( int  uniformLoc, const ::Texture2Dconst ::Texture2D texture 
- + @@ -573,8 +978,8 @@

-

◆ SetValue() [4/4]

+ +

◆ SetValue() [4/4]

@@ -583,7 +988,7 @@

Shader& raylib::Shader::SetValue Shader & raylib::Shader::SetValue ( int  uniformLoc,
- + @@ -624,14 +1029,45 @@

Definition at line 140 of file Shader.hpp.

+ + + +

◆ Unload()

+ +
+
+
Shader& raylib::Shader::SetValue Shader & raylib::Shader::SetValue ( int  uniformLoc,
+ + + + +
+ + + + + + + +
void raylib::Shader::Unload ()
+
+inline
+

+ +

Definition at line 85 of file Shader.hpp.

+ +

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

+

+

- + diff --git a/docs/classraylib_1_1_shader.js b/docs/classraylib_1_1_shader.js new file mode 100644 index 00000000..beca1773 --- /dev/null +++ b/docs/classraylib_1_1_shader.js @@ -0,0 +1,29 @@ +var classraylib_1_1_shader = +[ + [ "Shader", "classraylib_1_1_shader.html#a62e4f196016badbf10b34f9e628d66eb", null ], + [ "Shader", "classraylib_1_1_shader.html#aebcf454f96bf29cbbfbe2801d4222e06", null ], + [ "Shader", "classraylib_1_1_shader.html#a68787ddef60edcd1d7f766fb28f8c880", null ], + [ "Shader", "classraylib_1_1_shader.html#aea9fa53c3d5cb3e1e2501b25d1b937eb", null ], + [ "Shader", "classraylib_1_1_shader.html#ae562fe95e5230f66c928beefff6f8619", null ], + [ "Shader", "classraylib_1_1_shader.html#af917f68b8618ba0cacd68f5870d4c704", null ], + [ "~Shader", "classraylib_1_1_shader.html#a5fdd95f82f152bae43e274830cffcbf1", null ], + [ "BeginMode", "classraylib_1_1_shader.html#a662293424e1923c1a2ed73d3fb0ccb61", null ], + [ "EndMode", "classraylib_1_1_shader.html#a7fe1ea1fc973002033abbaf149499eb6", null ], + [ "GetId", "classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779", null ], + [ "GetLocation", "classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a", null ], + [ "GetLocationAttrib", "classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf", null ], + [ "GetLocs", "classraylib_1_1_shader.html#ae1320733f66a5288a2e4e91da045adcb", null ], + [ "IsReady", "classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c", null ], + [ "Load", "classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53", null ], + [ "LoadFromMemory", "classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253", null ], + [ "operator=", "classraylib_1_1_shader.html#a17ea116c06cf251b3fc6827c69c46352", null ], + [ "operator=", "classraylib_1_1_shader.html#a4ad95bb76c6dd04e4ab50db5510d3639", null ], + [ "operator=", "classraylib_1_1_shader.html#a16f1271ca82501cce9aff85fe83d8468", null ], + [ "SetId", "classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512", null ], + [ "SetLocs", "classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174", null ], + [ "SetValue", "classraylib_1_1_shader.html#a9d6836497f8afa70a3066b8cc4203aa4", null ], + [ "SetValue", "classraylib_1_1_shader.html#a0e256d9052c8f84141b8f576c8b7fb5e", null ], + [ "SetValue", "classraylib_1_1_shader.html#a79e6cf8321eb55c142b2bda54555968b", null ], + [ "SetValue", "classraylib_1_1_shader.html#acccfb8dc990cbef7641eab357b5af4ff", null ], + [ "Unload", "classraylib_1_1_shader.html#a5d56815b3531966cee3e2bee8ecfa5a4", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_sound-members.html b/docs/classraylib_1_1_sound-members.html index b41cdb6c..366adfd8 100644 --- a/docs/classraylib_1_1_sound-members.html +++ b/docs/classraylib_1_1_sound-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Sound Member List
+
raylib::Sound Member List

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

- + - + - - - - - - - + + + + + + + - + - - - - - + + + + + - - - + + + - - - + + +
GetFrameCount() constraylib::Soundinline
GetStream() constraylib::Soundinline
GetStream() constraylib::Soundinline
IsPlaying() constraylib::Soundinline
IsReady() constraylib::Soundinline
IsReady() constraylib::Soundinline
Load(const std::string &fileName)raylib::Soundinline
Load(const ::Wave &wave)raylib::Soundinline
operator=(const Sound &)=delete (defined in raylib::Sound)raylib::Sound
operator=(Sound &&other) noexcept (defined in raylib::Sound)raylib::Soundinline
Pause()raylib::Soundinline
Play()raylib::Soundinline
PlayMulti()raylib::Soundinline
Resume()raylib::Soundinline
Load(const ::Wave &wave)raylib::Soundinline
operator=(const Sound &)=deleteraylib::Sound
operator=(Sound &&other) noexceptraylib::Soundinline
Pause()raylib::Soundinline
Play()raylib::Soundinline
PlayMulti()raylib::Soundinline
Resume()raylib::Soundinline
SetFrameCount(unsigned int value)raylib::Soundinline
SetPitch(float pitch)raylib::Soundinline
SetPitch(float pitch)raylib::Soundinline
SetStream(::AudioStream value)raylib::Soundinline
SetVolume(float volume)raylib::Soundinline
Sound(const Sound &)=delete (defined in raylib::Sound)raylib::Sound
Sound() (defined in raylib::Sound)raylib::Soundinline
Sound(::AudioStream stream, unsigned int frameCount) (defined in raylib::Sound)raylib::Soundinline
Sound(Sound &&other) (defined in raylib::Sound)raylib::Soundinline
SetVolume(float volume)raylib::Soundinline
Sound(const Sound &)=deleteraylib::Sound
Sound()raylib::Soundinline
Sound(::AudioStream stream, unsigned int frameCount)raylib::Soundinline
Sound(Sound &&other)raylib::Soundinline
Sound(const std::string &fileName)raylib::Soundinline
Sound(const ::Wave &wave)raylib::Soundinline
Stop()raylib::Soundinline
StopMulti()raylib::Soundinline
Sound(const ::Wave &wave)raylib::Soundinline
Stop()raylib::Soundinline
StopMulti()raylib::Soundinline
Unload()raylib::Soundinline
Update(const void *data, int samplesCount)raylib::Soundinline
Update(const void *data)raylib::Soundinline
~Sound() (defined in raylib::Sound)raylib::Soundinline
Update(const void *data, int samplesCount)raylib::Soundinline
Update(const void *data)raylib::Soundinline
~Sound()raylib::Soundinline
+

- + diff --git a/docs/classraylib_1_1_sound.html b/docs/classraylib_1_1_sound.html index 7f3d08de..e52ab82d 100644 --- a/docs/classraylib_1_1_sound.html +++ b/docs/classraylib_1_1_sound.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Sound Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Sound Class Reference
+
raylib::Sound Class Reference

Wave/Sound management functions. More...

+ +

#include <Sound.hpp>

- - + + + - + - + - + + + - + - - + + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + +

+

Public Member Functions

Sound (::AudioStream stream, unsigned int frameCount)
 Sound ()
 
 Sound (::AudioStream stream, unsigned int frameCount)
 
 Sound (const ::Wave &wave)
 Sound (const ::Wave &wave)
 Loads a sound from the given Wave. More...
 
Sound (const Sound &)=delete
 Sound (const Sound &)=delete
 
 Sound (const std::string &fileName)
 Loads a sound from the given file. More...
 
Sound (Sound &&other)
 Sound (Sound &&other)
 
 ~Sound ()
 
unsigned int GetFrameCount () const
 Retrieves the frameCount value for the object. More...
 
::AudioStream GetStream () const
::AudioStream GetStream () const
 Retrieves the stream value for the object. More...
 
-bool IsPlaying () const
 Check if a sound is currently playing.
bool IsPlaying () const
 Check if a sound is currently playing. More...
 
bool IsReady () const
 Retrieve whether or not the Sound buffer is loaded. More...
 
-bool Load (const ::Wave &wave)
 Loads the given Wave object into the Sound.
bool Load (const ::Wave &wave)
 Loads the given Wave object into the Sound. More...
 
bool Load (const std::string &fileName)
 Load a sound from the given file. More...
 
-Soundoperator= (const Sound &)=delete
 
-Soundoperator= (Sound &&other) noexcept
 
-SoundPause ()
 Pause a sound.
 
-SoundPlay ()
 Play a sound.
 
-SoundPlayMulti ()
 Play a sound (using multichannel buffer pool)
 
-SoundResume ()
 Resume a paused sound.
 
Soundoperator= (const Sound &)=delete
 
Soundoperator= (Sound &&other) noexcept
 
SoundPause ()
 Pause a sound. More...
 
SoundPlay ()
 Play a sound. More...
 
SoundPlayMulti ()
 Play a sound (using multichannel buffer pool) More...
 
SoundResume ()
 Resume a paused sound. More...
 
void SetFrameCount (unsigned int value)
 Sets the frameCount value for the object. More...
 
-SoundSetPitch (float pitch)
 Set pitch for a sound (1.0 is base level)
 
void SetStream (::AudioStream value)
SoundSetPitch (float pitch)
 Set pitch for a sound (1.0 is base level) More...
 
void SetStream (::AudioStream value)
 Sets the stream value for the object. More...
 
-SoundSetVolume (float volume)
 Set volume for a sound (1.0 is max level)
 
-SoundStop ()
 Stop playing a sound.
 
-SoundStopMulti ()
 Stop any sound playing (using multichannel buffer pool)
 
-void Unload ()
 Unload sound.
SoundSetVolume (float volume)
 Set volume for a sound (1.0 is max level) More...
 
SoundStop ()
 Stop playing a sound. More...
 
SoundStopMulti ()
 Stop any sound playing (using multichannel buffer pool) More...
 
void Unload ()
 Unload sound. More...
 
-SoundUpdate (const void *data)
 Update sound buffer with new data, assuming it's the same sample count.
 
-SoundUpdate (const void *data, int samplesCount)
 Update sound buffer with new data.
 
SoundUpdate (const void *data)
 Update sound buffer with new data, assuming it's the same sample count. More...
 
SoundUpdate (const void *data, int samplesCount)
 Update sound buffer with new data. More...
 

Detailed Description

-

Wave/Sound management functions.

-
raylib::Sound boom("boom.wav");
+

Wave/Sound management functions.

+
raylib::Sound boom("boom.wav");
boom.Play();
+
Wave/Sound management functions.
Definition: Sound.hpp:19

Definition at line 19 of file Sound.hpp.

Constructor & Destructor Documentation

- -

◆ Sound() [1/2]

+ +

◆ Sound() [1/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Sound::Sound (const Sound)
+
+delete
+
+ +
+
+ +

◆ Sound() [2/6]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Sound::Sound ()
+
+inline
+
+ +

Definition at line 24 of file Sound.hpp.

+ +
+
+ +

◆ Sound() [3/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Sound::Sound (::AudioStream stream,
unsigned int frameCount 
)
+
+inline
+
+ +

Definition at line 29 of file Sound.hpp.

+ +
+
+ +

◆ Sound() [4/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Sound::Sound (Sound && other)
+
+inline
+
+ +

Definition at line 33 of file Sound.hpp.

+ +
+
+ +

◆ Sound() [5/6]

@@ -217,8 +342,8 @@

-

◆ Sound() [2/2]

+ +

◆ Sound() [6/6]

@@ -229,7 +354,7 @@

raylib::Sound::Sound ( - const ::Wave &  + const ::Wave &  wave) @@ -253,10 +378,39 @@

References Load().

+

+
+ +

◆ ~Sound()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Sound::~Sound ()
+
+inline
+
+ +

Definition at line 62 of file Sound.hpp.

+ +

References Unload().

+

Member Function Documentation

- +

◆ GetFrameCount()

@@ -286,7 +440,7 @@

+

◆ GetStream()

+ +

Check if a sound is currently playing.

+ +

Definition at line 156 of file Sound.hpp.

+ +
+

+

◆ IsReady()

@@ -348,8 +531,40 @@

-

◆ Load()

+ +

◆ Load() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Sound::Load (const ::Wave & wave)
+
+inline
+
+ +

Loads the given Wave object into the Sound.

+ +

Definition at line 189 of file Sound.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ Load() [2/2]

@@ -383,7 +598,179 @@

+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Sound & raylib::Sound::operator= (const Sound)
+
+delete
+
+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Sound & raylib::Sound::operator= (Sound && other)
+
+inlinenoexcept
+
+ +

Definition at line 69 of file Sound.hpp.

+ +

References Unload().

+ +
+
+ +

◆ Pause()

+ +
+
+ + + + + +
+ + + + + + + +
Sound & raylib::Sound::Pause ()
+
+inline
+
+ +

Pause a sound.

+ +

Definition at line 124 of file Sound.hpp.

+ +
+
+ +

◆ Play()

+ +
+
+ + + + + +
+ + + + + + + +
Sound & raylib::Sound::Play ()
+
+inline
+
+ +

Play a sound.

+ +

Definition at line 108 of file Sound.hpp.

+ +
+
+ +

◆ PlayMulti()

+ +
+
+ + + + + +
+ + + + + + + +
Sound & raylib::Sound::PlayMulti ()
+
+inline
+
+ +

Play a sound (using multichannel buffer pool)

+ +

Definition at line 140 of file Sound.hpp.

+ +
+
+ +

◆ Resume()

+ +
+
+ + + + + +
+ + + + + + + +
Sound & raylib::Sound::Resume ()
+
+inline
+
+ +

Resume a paused sound.

+ +

Definition at line 132 of file Sound.hpp.

+ +
+
+

◆ SetFrameCount()

@@ -419,7 +806,37 @@

+ +

◆ SetPitch()

+ +
+
+ + + + + +
+ + + + + + + + +
Sound & raylib::Sound::SetPitch (float pitch)
+
+inline
+
+ +

Set pitch for a sound (1.0 is base level)

+ +

Definition at line 171 of file Sound.hpp.

+ +
+
+

◆ SetStream()

@@ -431,7 +848,7 @@

void raylib::Sound::SetStream ( - ::AudioStream  + ::AudioStream  value) @@ -453,17 +870,205 @@

Definition at line 67 of file Sound.hpp.

-

References Unload().

+

+

+ +

◆ SetVolume()

+ +
+
+ + + + + +
+ + + + + + + + +
Sound & raylib::Sound::SetVolume (float volume)
+
+inline
+
+ +

Set volume for a sound (1.0 is max level)

+ +

Definition at line 163 of file Sound.hpp.

+ +
+
+ +

◆ Stop()

+ +
+
+ + + + + +
+ + + + + + + +
Sound & raylib::Sound::Stop ()
+
+inline
+
+ +

Stop playing a sound.

+ +

Definition at line 116 of file Sound.hpp.

+ +
+
+ +

◆ StopMulti()

+ +
+
+ + + + + +
+ + + + + + + +
Sound & raylib::Sound::StopMulti ()
+
+inline
+
+ +

Stop any sound playing (using multichannel buffer pool)

+ +

Definition at line 148 of file Sound.hpp.

+ +
+
+ +

◆ Unload()

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

Unload sound.

+ +

Definition at line 101 of file Sound.hpp.

+ +

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

+ +
+
+ +

◆ Update() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Sound & raylib::Sound::Update (const void * data)
+
+inline
+
+ +

Update sound buffer with new data, assuming it's the same sample count.

+ +

Definition at line 93 of file Sound.hpp.

+ +
+
+ +

◆ Update() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Sound & raylib::Sound::Update (const void * data,
int samplesCount 
)
+
+inline
+
+ +

Update sound buffer with new data.

+ +

Definition at line 85 of file Sound.hpp.

-
Wave/Sound management functions.
Definition: Sound.hpp:19
+
- + diff --git a/docs/classraylib_1_1_sound.js b/docs/classraylib_1_1_sound.js new file mode 100644 index 00000000..54fee693 --- /dev/null +++ b/docs/classraylib_1_1_sound.js @@ -0,0 +1,31 @@ +var classraylib_1_1_sound = +[ + [ "Sound", "classraylib_1_1_sound.html#a4c08c29d0590754fd5798bbb4df4f4bb", null ], + [ "Sound", "classraylib_1_1_sound.html#ab202d20657b5435283a6f85baaa79056", null ], + [ "Sound", "classraylib_1_1_sound.html#acd90ba91564b3e381dc21829ba18c097", null ], + [ "Sound", "classraylib_1_1_sound.html#ab95375318685dbf1d03ff3489db0c9f0", null ], + [ "Sound", "classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4", null ], + [ "Sound", "classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6", null ], + [ "~Sound", "classraylib_1_1_sound.html#a321a8cea955f859f8648e2df202f5497", null ], + [ "GetFrameCount", "classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968", null ], + [ "GetStream", "classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f", null ], + [ "IsPlaying", "classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233", null ], + [ "IsReady", "classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35", null ], + [ "Load", "classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4", null ], + [ "Load", "classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713", null ], + [ "operator=", "classraylib_1_1_sound.html#a00e767731db27551731f3b921e96e8be", null ], + [ "operator=", "classraylib_1_1_sound.html#a0e9cf03efe620702dc91f39fc2741e28", null ], + [ "Pause", "classraylib_1_1_sound.html#a5a5513d79d5495061104dbfa36dca27b", null ], + [ "Play", "classraylib_1_1_sound.html#ab48935ee4d6c10329f68117b5862aed2", null ], + [ "PlayMulti", "classraylib_1_1_sound.html#ac7a8473534871ea873f81673270841a0", null ], + [ "Resume", "classraylib_1_1_sound.html#aa00303b64f68c6f5acb06f23553efbbf", null ], + [ "SetFrameCount", "classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db", null ], + [ "SetPitch", "classraylib_1_1_sound.html#af54f9f9a0f850b7011a4302a92d61c87", null ], + [ "SetStream", "classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5", null ], + [ "SetVolume", "classraylib_1_1_sound.html#a2818afd107521622a078b4a06cfbc918", null ], + [ "Stop", "classraylib_1_1_sound.html#a1fd0c5ede427ba6797f7b1d295a15467", null ], + [ "StopMulti", "classraylib_1_1_sound.html#ab093bddebf4db7a2937063f063cfdb59", null ], + [ "Unload", "classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3", null ], + [ "Update", "classraylib_1_1_sound.html#a92c0fe944c32ee7d614a903e58eeae3e", null ], + [ "Update", "classraylib_1_1_sound.html#aa18a9b3a41117311c093c528c6988ece", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_text-members.html b/docs/classraylib_1_1_text-members.html index 60f05ce6..ed78853c 100644 --- a/docs/classraylib_1_1_text-members.html +++ b/docs/classraylib_1_1_text-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Text Member List
+
raylib::Text Member List

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

- + - + - + - + - + - + - + - + - + - + - + - - - + + +
colorraylib::Text
Draw(const ::Vector2 &position)raylib::Textinline
Draw(const ::Vector2 &position)raylib::Textinline
Draw(int posX, int posY)raylib::Textinline
Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})raylib::Textinline
Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})raylib::Textinline
Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)raylib::Textinlinestatic
Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)raylib::Textinlinestatic
Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)raylib::Textinlinestatic
Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
fontraylib::Text
fontSizeraylib::Text
fontSizeraylib::Text
GetColor() constraylib::Textinline
GetFont() constraylib::Textinline
GetFont() constraylib::Textinline
GetFontSize() constraylib::Textinline
GetSpacing() constraylib::Textinline
GetSpacing() constraylib::Textinline
GetText() constraylib::Textinline
Measure()raylib::Textinline
Measure()raylib::Textinline
MeasureEx()raylib::Textinline
operator=(const Text &other) (defined in raylib::Text)raylib::Textinline
operator=(const Text &other)raylib::Textinline
SetColor(::Color value)raylib::Textinline
SetFont(::Font value)raylib::Textinline
SetFont(::Font value)raylib::Textinline
SetFontSize(float value)raylib::Textinline
SetSpacing(float value)raylib::Textinline
SetSpacing(float value)raylib::Textinline
SetText(std::string value)raylib::Textinline
spacingraylib::Text
Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)raylib::Textinline
Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)raylib::Textinline
spacingraylib::Text
textraylib::Text
Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)raylib::Textinline
Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)raylib::Textinline
+

- + diff --git a/docs/classraylib_1_1_text.html b/docs/classraylib_1_1_text.html index eaccc968..3fb94120 100644 --- a/docs/classraylib_1_1_text.html +++ b/docs/classraylib_1_1_text.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Text Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Text Class Reference
+
raylib::Text Class Reference

Text Functions. More...

+ +

#include <Text.hpp>

- - + - + - - + + - + - - + + - + - + @@ -114,21 +131,18 @@ - - + + - - + + - - - + + + - + @@ -141,50 +155,45 @@

+

Public Member Functions

 Text (const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
 Text (const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
 Initializes a new Text object with a custom font. More...
 
 Text (const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
 Text (const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
 Initializes a new Text object. More...
 
-void Draw (const ::Vector2 &position)
 Draw text with values in class.
void Draw (const ::Vector2 &position)
 Draw text with values in class. More...
 
void Draw (const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})
void Draw (const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})
 Draw text using Font and pro parameters (rotation). More...
 
-void Draw (int posX, int posY)
 Draw text with values in class.
void Draw (int posX, int posY)
 Draw text with values in class. More...
 
::Color GetColor () const
::Color GetColor () const
 Retrieves the color value for the object. More...
 
::Font GetFont () const
::Font GetFont () const
 Retrieves the font value for the object. More...
 
float GetFontSize () const
std::string GetText () const
 Retrieves the text value for the object. More...
 
-int Measure ()
 Measure string width for default font.
int Measure ()
 Measure string width for default font. More...
 
-Vector2 MeasureEx ()
 Measure string size for Font.
Vector2 MeasureEx ()
 Measure string size for Font. More...
 
-Textoperator= (const Text &other)
 
void SetColor (::Color value)
Textoperator= (const Text &other)
 
void SetColor (::Color value)
 Sets the color value for the object. More...
 
void SetFont (::Font value)
void SetFont (::Font value)
 Sets the font value for the object. More...
 
void SetFontSize (float value)
 Sets the text value for the object. More...
 
- - + - + - + - +

+

Static Public Member Functions

static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
 Draw text using font, color, position, origin, font size and spacing. More...
 
static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
 Draw text using font, color, position, font size and spacing. More...
 
static void Draw (const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
static void Draw (const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
 Draw text using font and color, with position defined as Vector2. More...
 
static void Draw (const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
static void Draw (const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
 Draw text using font and color. More...
 
- - - + + - - + + - - + + - - + + - - + +

+

Public Attributes

-::Color color
 The color of the text.
::Color color
 The color of the text. More...
 
-::Font font
 The internal raylib font to use for the text.
::Font font
 The internal raylib font to use for the text. More...
 
-float fontSize
 The size of the text.
float fontSize
 The size of the text. More...
 
-float spacing
 The character spacing for the text.
float spacing
 The character spacing for the text. More...
 
-std::string text
 The internal text.
std::string text
 The internal text. More...
 

Detailed Description

-

Text Functions.

+

Text Functions.

Definition at line 14 of file Text.hpp.

Constructor & Destructor Documentation

- +

◆ Text() [1/2]

@@ -208,13 +217,13 @@

- const ::Color &  + const ::Color &  color = WHITE, - const ::Font &  + const ::Font &  font = ::GetFontDefault(), @@ -252,7 +261,7 @@

+

◆ Text() [2/2]

@@ -264,7 +273,7 @@

raylib::Text::Text ( - const ::Font &  + const ::Font &  font, @@ -288,7 +297,7 @@

- const ::Color &  + const ::Color &  color = WHITE  @@ -321,8 +330,8 @@

Member Function Documentation

- -

◆ Draw() [1/5]

+ +

◆ Draw() [1/7]

@@ -333,7 +342,7 @@

static void raylib::Text::Draw ( - const ::Font &  + const ::Font &  font, @@ -345,13 +354,13 @@

- const ::Vector2 &  + const ::Vector2 &  position, - const ::Vector2 &  + const ::Vector2 &  origin, @@ -375,7 +384,7 @@

- const ::Color &  + const ::Color &  color  @@ -400,8 +409,8 @@

-

◆ Draw() [2/5]

+ +

◆ Draw() [2/7]

@@ -412,7 +421,7 @@

static void raylib::Text::Draw ( - const ::Font &  + const ::Font &  font, @@ -424,7 +433,7 @@

- const ::Vector2 &  + const ::Vector2 &  position, @@ -442,7 +451,7 @@

- const ::Color &  + const ::Color &  color  @@ -467,8 +476,8 @@

-

◆ Draw() [3/5]

+ +

◆ Draw() [3/7]

@@ -479,7 +488,39 @@

void raylib::Text::Draw ( - const ::Vector2 &  + const ::Vector2 &  + position) + + + + + +inline + + +

+ +

Draw text with values in class.

+ +

Definition at line 96 of file Text.hpp.

+ +

References color, raylib::DrawTextEx(), font, fontSize, spacing, and text.

+ +
+
+ +

◆ Draw() [4/7]

+ +
+
+ + + - + @@ -816,7 +991,7 @@

+

◆ SetFont()

@@ -828,7 +1003,7 @@

void raylib::Text::SetFont

- + @@ -852,7 +1027,7 @@

+

◆ SetFontSize()

@@ -888,7 +1063,7 @@

+

◆ SetSpacing()

@@ -924,7 +1099,7 @@

+

◆ SetText()

@@ -958,14 +1133,117 @@

Definition at line 87 of file Text.hpp.

+

+

+

Member Data Documentation

+ +

◆ color

+ +
+
+

+ + + + + @@ -514,8 +555,8 @@

-

◆ Draw() [4/5]

+ +

◆ Draw() [5/7]

@@ -532,7 +573,7 @@

- + @@ -544,7 +585,7 @@

- + @@ -569,8 +610,8 @@

-

◆ Draw() [5/5]

+ +

◆ Draw() [6/7]

@@ -605,7 +646,7 @@

- + @@ -630,7 +671,49 @@

+ +

◆ Draw() [7/7]

+ +
+
+
void raylib::Text::Draw (const ::Vector2 &  position,
const ::Vector2const ::Vector2 &  pos,
const ::Colorconst ::Color &  color 
const ::Colorconst ::Color &  color 
+ + + + +
+ + + + + + + + + + + + + + + + + + +
void raylib::Text::Draw (int posX,
int posY 
)
+
+inline
+
+ +

Draw text with values in class.

+ +

Definition at line 103 of file Text.hpp.

+ +

References color, raylib::DrawTextEx(), font, fontSize, spacing, and text.

+ +
+ +

◆ GetColor()

@@ -640,7 +723,7 @@

- + @@ -660,7 +743,7 @@

+

◆ GetFont()

@@ -670,7 +753,7 @@

::Color raylib::Text::GetColor ::Color raylib::Text::GetColor ( ) const
- + @@ -690,7 +773,7 @@

+

◆ GetFontSize()

@@ -720,7 +803,7 @@

+

◆ GetSpacing()

@@ -750,7 +833,7 @@

+

◆ GetText()

@@ -780,7 +863,99 @@

+ +

◆ Measure()

+ +
+
+

::Font raylib::Text::GetFont ::Font raylib::Text::GetFont ( ) const
+ + + + +
+ + + + + + + +
int raylib::Text::Measure ()
+
+inline
+

+ +

Measure string width for default font.

+ +

Definition at line 124 of file Text.hpp.

+ +

References fontSize, and text.

+ +
+ + +

◆ MeasureEx()

+ +
+
+ + + + + +
+ + + + + + + +
Vector2 raylib::Text::MeasureEx ()
+
+inline
+
+ +

Measure string size for Font.

+ +

Definition at line 131 of file Text.hpp.

+ +

References font, fontSize, spacing, and text.

+ +
+
+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Text & raylib::Text::operator= (const Textother)
+
+inline
+
+ +

Definition at line 135 of file Text.hpp.

+ +

References color, font, fontSize, spacing, and text.

+ +
+
+

◆ SetColor()

@@ -792,7 +967,7 @@

void raylib::Text::SetColor

(::Color ::Color  value)
(::Font ::Font  value)
+ + + +
::Color raylib::Text::color
+
+ +

The color of the text.

+ +

Definition at line 29 of file Text.hpp.

+ +

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

+ +
+
+ +

◆ font

+ +
+
+ + + + +
::Font raylib::Text::font
+
+ +

The internal raylib font to use for the text.

+ +

Definition at line 34 of file Text.hpp.

+ +

Referenced by Draw(), MeasureEx(), and operator=().

+ +
+
+ +

◆ fontSize

+ +
+
+ + + + +
float raylib::Text::fontSize
+
+ +

The size of the text.

+ +

Definition at line 24 of file Text.hpp.

+ +

Referenced by Draw(), Measure(), MeasureEx(), and operator=().

+ +
+
+ +

◆ spacing

+ +
+
+ + + + +
float raylib::Text::spacing
+
+ +

The character spacing for the text.

+ +

Definition at line 39 of file Text.hpp.

+ +

Referenced by Draw(), MeasureEx(), and operator=().

+ +
+
+ +

◆ text

+ +
+
+ + + + +
std::string raylib::Text::text
+
+ +

The internal text.

+ +

Definition at line 19 of file Text.hpp.

+ +

Referenced by Draw(), Measure(), MeasureEx(), and operator=().

+

+
- + diff --git a/docs/classraylib_1_1_text.js b/docs/classraylib_1_1_text.js new file mode 100644 index 00000000..e9efea9f --- /dev/null +++ b/docs/classraylib_1_1_text.js @@ -0,0 +1,30 @@ +var classraylib_1_1_text = +[ + [ "Text", "classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f", null ], + [ "Text", "classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa", null ], + [ "Draw", "classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a", null ], + [ "Draw", "classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7", null ], + [ "Draw", "classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9", null ], + [ "Draw", "classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03", null ], + [ "Draw", "classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e", null ], + [ "Draw", "classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769", null ], + [ "Draw", "classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126", null ], + [ "GetColor", "classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f", null ], + [ "GetFont", "classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d", null ], + [ "GetFontSize", "classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd", null ], + [ "GetSpacing", "classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46", null ], + [ "GetText", "classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8", null ], + [ "Measure", "classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8", null ], + [ "MeasureEx", "classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81", null ], + [ "operator=", "classraylib_1_1_text.html#aa38bed157c29c12b0275bac43a2f0740", null ], + [ "SetColor", "classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3", null ], + [ "SetFont", "classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce", null ], + [ "SetFontSize", "classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5", null ], + [ "SetSpacing", "classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44", null ], + [ "SetText", "classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b", null ], + [ "color", "classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db", null ], + [ "font", "classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba", null ], + [ "fontSize", "classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e", null ], + [ "spacing", "classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0", null ], + [ "text", "classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_texture-members.html b/docs/classraylib_1_1_texture-members.html index cddbc65e..4076fd3a 100644 --- a/docs/classraylib_1_1_texture-members.html +++ b/docs/classraylib_1_1_texture-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Texture Member List
+
raylib::Texture Member List

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

- - - - - - - - - - - - + + + + + + + + + + + + - + - + - + - + - + - - - - - + + + + + - - - + + + - - - - - + + + + + - + - - - + + + - - - + + +
Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
DrawPoly(Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
GenMipmaps()raylib::Textureinline
GetData() constraylib::Textureinline
Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})raylib::Textureinline
DrawPoly(Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})raylib::Textureinline
DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})raylib::Textureinline
GenMipmaps()raylib::Textureinline
GetData() constraylib::Textureinline
GetFormat() constraylib::Textureinline
GetHeight() constraylib::Textureinline
GetHeight() constraylib::Textureinline
GetId() constraylib::Textureinline
GetMipmaps() constraylib::Textureinline
GetMipmaps() constraylib::Textureinline
GetSize() constraylib::Textureinline
GetWidth() constraylib::Textureinline
GetWidth() constraylib::Textureinline
IsReady() constraylib::Textureinline
Load(const ::Image &image)raylib::Textureinline
Load(const ::Image &image)raylib::Textureinline
Load(const ::Image &image, int layoutType)raylib::Textureinline
Load(const std::string &fileName)raylib::Textureinline
Load(const std::string &fileName)raylib::Textureinline
operator raylib::Image()raylib::Textureinline
operator=(const ::Texture &texture) (defined in raylib::Texture)raylib::Textureinline
operator=(const Texture &)=delete (defined in raylib::Texture)raylib::Texture
operator=(Texture &&other) noexcept (defined in raylib::Texture)raylib::Textureinline
SetFilter(int filterMode)raylib::Textureinline
SetFormat(int value)raylib::Textureinline
operator=(const ::Texture &texture)raylib::Textureinline
operator=(const Texture &)=deleteraylib::Texture
operator=(Texture &&other) noexceptraylib::Textureinline
SetFilter(int filterMode)raylib::Textureinline
SetFormat(int value)raylib::Textureinline
SetHeight(int value)raylib::Textureinline
SetId(unsigned int value)raylib::Textureinline
SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::Textureinline
SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::Texture)raylib::Textureinline
SetId(unsigned int value)raylib::Textureinline
SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::Textureinline
SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)raylib::Textureinline
SetMipmaps(int value)raylib::Textureinline
SetShaderValue(const ::Shader &shader, int locIndex)raylib::Textureinline
SetShapes(const ::Rectangle &source)raylib::Textureinline
SetWidth(int value)raylib::Textureinline
SetWrap(int wrapMode)raylib::Textureinline
Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)raylib::Textureinline
SetShaderValue(const ::Shader &shader, int locIndex)raylib::Textureinline
SetShapes(const ::Rectangle &source)raylib::Textureinline
SetWidth(int value)raylib::Textureinline
SetWrap(int wrapMode)raylib::Textureinline
Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)raylib::Textureinline
Texture(const ::Texture &texture)raylib::Textureinline
Texture(const ::Image &image)raylib::Textureinline
Texture(const ::Image &image)raylib::Textureinline
Texture(const ::Image &image, int layout)raylib::Textureinline
Texture(const std::string &fileName)raylib::Textureinline
Texture(const Texture &)=delete (defined in raylib::Texture)raylib::Texture
Texture(Texture &&other) (defined in raylib::Texture)raylib::Textureinline
Texture(const std::string &fileName)raylib::Textureinline
Texture(const Texture &)=deleteraylib::Texture
Texture(Texture &&other)raylib::Textureinline
Unload()raylib::Textureinline
Update(const void *pixels)raylib::Textureinline
Update(::Rectangle rec, const void *pixels)raylib::Textureinline
~Texture() (defined in raylib::Texture)raylib::Textureinline
Update(const void *pixels)raylib::Textureinline
Update(::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 index a877aff1..6ca126b3 100644 --- a/docs/classraylib_1_1_texture.html +++ b/docs/classraylib_1_1_texture.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Texture Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Texture Class Reference
+
raylib::Texture Class Reference

Texture type. More...

+ +

#include <Texture.hpp>

- - + - + - - + + - + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -154,9 +159,8 @@ - - + + @@ -164,35 +168,27 @@ - - + + - - + + - - + + - - + + - - - - - - - - - + + + + + + + + + @@ -202,51 +198,131 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - + + + + + - - - - - - + + + + + +

+

Public Member Functions

 Texture (const ::Image &image)
 Texture (const ::Image &image)
 Creates a texture from the given Image. More...
 
 Texture (const ::Image &image, int layout)
 Texture (const ::Image &image, int layout)
 Load cubemap from image, multiple image cubemap layouts supported. More...
 
Texture (const ::Texture &texture)
 Creates a texture object based on the given Texture struct data.
 Texture (const ::Texture &texture)
 Creates a texture object based on the given Texture struct data. More...
 
 Texture (const std::string &fileName)
 Load texture from file into GPU memory (VRAM) More...
 
Texture (const Texture &)=delete
 Texture (const Texture &)=delete
 
Texture (Texture &&other)
 Texture (Texture &&other)
 
Texture (unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
 Default constructor to create an empty Texture object.
 Texture (unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
 Default constructor to create an empty Texture object. More...
 
-TextureDraw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
 
-TextureDraw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
 
-TextureDraw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})
 
-TextureDraw (::Vector2 position, ::Color tint={255, 255, 255, 255})
 
-TextureDraw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})
 
-TextureDraw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})
 
-TextureDraw (::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})
 
-TextureDraw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
 Draw a Texture2D.
 
-TextureDrawPoly (Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})
 
-TextureDrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})
 
-TextureGenMipmaps ()
 Generate GPU mipmaps for a texture.
 
-inline ::Image GetData () const
 Get pixel data from GPU texture and return an Image.
 ~Texture ()
 
TextureDraw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
 
TextureDraw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
 
TextureDraw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})
 
TextureDraw (::Vector2 position, ::Color tint={255, 255, 255, 255})
 
TextureDraw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})
 
TextureDraw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})
 
TextureDraw (::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})
 
TextureDraw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
 Draw a Texture2D. More...
 
TextureDrawPoly (Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})
 
TextureDrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})
 
TextureGenMipmaps ()
 Generate GPU mipmaps for a texture. More...
 
inline ::Image GetData () const
 Get pixel data from GPU texture and return an Image. More...
 
int GetFormat () const
 Retrieves the format value for the object. More...
int GetMipmaps () const
 Retrieves the mipmaps value for the object. More...
 
-inline ::Vector2 GetSize () const
 Retrieve the width and height of the texture.
inline ::Vector2 GetSize () const
 Retrieve the width and height of the texture. More...
 
int GetWidth () const
 Retrieves the width value for the object. More...
bool IsReady () const
 Determines whether or not the Texture has been loaded and is ready. More...
 
-bool Load (const ::Image &image)
 Load texture from image data.
bool Load (const ::Image &image)
 Load texture from image data. More...
 
-bool Load (const ::Image &image, int layoutType)
 Load cubemap from image, multiple image cubemap layouts supported.
bool Load (const ::Image &image, int layoutType)
 Load cubemap from image, multiple image cubemap layouts supported. More...
 
-bool Load (const std::string &fileName)
 Load texture from file into GPU memory (VRAM)
bool Load (const std::string &fileName)
 Load texture from file into GPU memory (VRAM) More...
 
operator raylib::Image ()
 Get pixel data from GPU texture and return an Image.
 operator raylib::Image ()
 Get pixel data from GPU texture and return an Image. More...
 
-Textureoperator= (const ::Texture &texture)
 
-Textureoperator= (const Texture &)=delete
 
-Textureoperator= (Texture &&other) noexcept
 
-TextureSetFilter (int filterMode)
 Set texture scaling filter mode.
 
Textureoperator= (const ::Texture &texture)
 
Textureoperator= (const Texture &)=delete
 
Textureoperator= (Texture &&other) noexcept
 
TextureSetFilter (int filterMode)
 Set texture scaling filter mode. More...
 
void SetFormat (int value)
 Sets the format value for the object. More...
 
void SetId (unsigned int value)
 Sets the id value for the object. More...
 
-TextureSetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL)
 Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
 
-TextureSetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
 
TextureSetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL)
 Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) More...
 
TextureSetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
 
void SetMipmaps (int value)
 Sets the mipmaps value for the object. More...
 
-TextureSetShaderValue (const ::Shader &shader, int locIndex)
 Set shader uniform value for texture (sampler2d)
 
-TextureSetShapes (const ::Rectangle &source)
 Set texture and rectangle to be used on shapes drawing.
 
TextureSetShaderValue (const ::Shader &shader, int locIndex)
 Set shader uniform value for texture (sampler2d) More...
 
TextureSetShapes (const ::Rectangle &source)
 Set texture and rectangle to be used on shapes drawing. More...
 
void SetWidth (int value)
 Sets the width value for the object. More...
 
-TextureSetWrap (int wrapMode)
 Set texture wrapping mode.
 
-void Unload ()
 Unload texture from GPU memory (VRAM)
TextureSetWrap (int wrapMode)
 Set texture wrapping mode. More...
 
void Unload ()
 Unload texture from GPU memory (VRAM) More...
 
-TextureUpdate (::Rectangle rec, const void *pixels)
 Update GPU texture rectangle with new data.
 
-TextureUpdate (const void *pixels)
 Update GPU texture with new data.
 
TextureUpdate (::Rectangle rec, const void *pixels)
 Update GPU texture rectangle with new data. More...
 
TextureUpdate (const void *pixels)
 Update GPU texture with new data. More...
 

Detailed Description

-

Texture type.

+

Texture type.

Definition at line 16 of file Texture.hpp.

Constructor & Destructor Documentation

- -

◆ Texture() [1/3]

+ +

◆ Texture() [1/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Texture::Texture (unsigned int id = 0,
int width = 0,
int height = 0,
int mipmaps = 0,
int format = 0 
)
+
+inline
+
+ +

Default constructor to create an empty Texture object.

+ +

Definition at line 21 of file Texture.hpp.

+ +
+
+ +

◆ Texture() [2/7]

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

Creates a texture object based on the given Texture struct data.

+ +

Definition at line 32 of file Texture.hpp.

+ +
+
+ +

◆ Texture() [3/7]

@@ -257,7 +333,7 @@

raylib::Texture::Texture ( - const ::Image &  + const ::Image &  image) @@ -283,8 +359,8 @@

-

◆ Texture() [2/3]

+ +

◆ Texture() [4/7]

@@ -295,7 +371,7 @@

raylib::Texture::Texture ( - const ::Image &  + const ::Image &  image, @@ -332,8 +408,8 @@

-

◆ Texture() [3/3]

+ +

◆ Texture() [5/7]

@@ -370,9 +446,8 @@

Member Function Documentation

- -

◆ GetFormat()

+ +

◆ Texture() [6/7]

- -

◆ GetHeight()

+ +

◆ Texture() [7/7]

- -

◆ GetId()

+ +

◆ ~Texture()

- -

◆ GetMipmaps()

+

Member Function Documentation

+ +

◆ Draw() [1/8]

- -

◆ GetWidth()

+ +

◆ Draw() [2/8]

- -

◆ IsReady()

+ +

◆ Draw() [3/8]

- -

◆ SetFormat()

+ +

◆ Draw() [4/8]

- -

◆ SetHeight()

+ +

◆ Draw() [5/8]

- -

◆ SetId()

+ +

◆ Draw() [6/8]

+ +

◆ Draw() [7/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture & raylib::Texture::Draw (::Vector3 position,
float width,
float height,
float length,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 252 of file Texture.hpp.

+ +
+
+ +

◆ Draw() [8/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Texture & raylib::Texture::Draw (int posX = 0,
int posY = 0,
::Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Draw a Texture2D.

+ +

Definition at line 212 of file Texture.hpp.

+ +
+
+ +

◆ DrawPoly()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture & raylib::Texture::DrawPoly (Vector2 center,
Vector2points,
Vector2texcoords,
int pointsCount,
Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 264 of file Texture.hpp.

+ +
+
+ +

◆ DrawTiled()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Texture & raylib::Texture::DrawTiled (::Rectangle sourceRec,
::Rectangle destRec,
::Vector2 origin = {0, 0},
float rotation = 0,
float scale = 1,
Color tint = {255, 255, 255, 255} 
)
+
+inline
+
+ +

Definition at line 258 of file Texture.hpp.

+ +
+
+ +

◆ GenMipmaps()

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

Generate GPU mipmaps for a texture.

+ +

Definition at line 188 of file Texture.hpp.

+ +
+
+ +

◆ GetData()

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

Get pixel data from GPU texture and return an Image.

+ +

Definition at line 174 of file Texture.hpp.

+ +

Referenced by operator raylib::Image().

+ +
+
+ +

◆ GetFormat()

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

Retrieves the format value for the object.

+
Returns
The format value of the object.
+ +

Definition at line 91 of file Texture.hpp.

+ +
+
+ +

◆ GetHeight()

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

Retrieves the height value for the object.

+
Returns
The height value of the object.
+ +

Definition at line 89 of file Texture.hpp.

+ +
+
+ +

◆ GetId()

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

Retrieves the id value for the object.

+
Returns
The id value of the object.
+ +

Definition at line 87 of file Texture.hpp.

+ +
+
+ +

◆ GetMipmaps()

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

Retrieves the mipmaps value for the object.

+
Returns
The mipmaps value of the object.
+ +

Definition at line 90 of file Texture.hpp.

+ +
+
+ +

◆ GetSize()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Vector2 raylib::Texture::GetSize () const
+
+inline
+
+ +

Retrieve the width and height of the texture.

+ +

Definition at line 120 of file Texture.hpp.

+ +
+
+ +

◆ GetWidth()

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

Retrieves the width value for the object.

+
Returns
The width value of the object.
+ +

Definition at line 88 of file Texture.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Texture::IsReady () const
+
+inline
+
+ +

Determines whether or not the Texture has been loaded and is ready.

+
Returns
True or false depending on whether the Texture has data.
+ +

Definition at line 305 of file Texture.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ Load() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Texture::Load (const ::Image & image)
+
+inline
+
+ +

Load texture from image data.

+ +

Definition at line 127 of file Texture.hpp.

+ +

References IsReady().

+ +

Referenced by Texture().

+ +
+
+ +

◆ Load() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool raylib::Texture::Load (const ::Image & image,
int layoutType 
)
+
+inline
+
+ +

Load cubemap from image, multiple image cubemap layouts supported.

+ +

Definition at line 135 of file Texture.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ Load() [3/3]

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

Load texture from file into GPU memory (VRAM)

+ +

Definition at line 143 of file Texture.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ operator raylib::Image()

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

Get pixel data from GPU texture and return an Image.

+ +

Definition at line 181 of file Texture.hpp.

+ +

References GetData().

+ +
+
+ +

◆ operator=() [1/3]

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

Definition at line 93 of file Texture.hpp.

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Texture & raylib::Texture::operator= (const Texture)
+
+delete
+
+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Texture & raylib::Texture::operator= (Texture && other)
+
+inlinenoexcept
+
+ +

Definition at line 100 of file Texture.hpp.

+ +

References Unload().

+ +
+
+ +

◆ SetFilter()

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

Set texture scaling filter mode.

+ +

Definition at line 196 of file Texture.hpp.

+ +
+
+ +

◆ SetFormat()

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

Sets the format value for the object.

+
Parameters
+ + +
valueThe value of which to set format to.
+
+
+ +

Definition at line 91 of file Texture.hpp.

+ +
+
+ +

◆ SetHeight()

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

Sets the height value for the object.

+
Parameters
+ + +
valueThe value of which to set height to.
+
+
+ +

Definition at line 89 of file Texture.hpp.

+ +
+
+ +

◆ SetId()

+ +
+
+ + + +
+ + + + + + + + +
void raylib::Texture::SetId (unsigned int value)
+
+inline
@@ -661,7 +1676,85 @@

+ +

◆ SetMaterial() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Texture & raylib::Texture::SetMaterial (::Material * material,
int mapType = MATERIAL_MAP_NORMAL 
)
+
+inline
+
+ +

Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)

+ +

Definition at line 274 of file Texture.hpp.

+ +
+
+ +

◆ SetMaterial() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Texture & raylib::Texture::SetMaterial (const ::Material & material,
int mapType = MATERIAL_MAP_NORMAL 
)
+
+inline
+
+ +

Definition at line 279 of file Texture.hpp.

+ +
+
+

◆ SetMipmaps()

@@ -697,7 +1790,77 @@

+ +

◆ SetShaderValue()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Texture & raylib::Texture::SetShaderValue (const ::Shader & shader,
int locIndex 
)
+
+inline
+
+ +

Set shader uniform value for texture (sampler2d)

+ +

Definition at line 295 of file Texture.hpp.

+ +
+
+ +

◆ SetShapes()

+ +
+
+ + + + + +
+ + + + + + + + +
Texture & raylib::Texture::SetShapes (const ::Rectangle & source)
+
+inline
+
+ +

Set texture and rectangle to be used on shapes drawing.

+ +

Definition at line 287 of file Texture.hpp.

+ +
+
+

◆ SetWidth()

@@ -731,14 +1894,147 @@

Definition at line 88 of file Texture.hpp.

+

+

+ +

◆ SetWrap()

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

Set texture wrapping mode.

+ +

Definition at line 204 of file Texture.hpp.

+ +
+
+ +

◆ Unload()

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

Unload texture from GPU memory (VRAM)

+ +

Definition at line 151 of file Texture.hpp.

+ +

Referenced by ~Texture(), and operator=().

+ +
+
+ +

◆ Update() [1/2]

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

Update GPU texture rectangle with new data.

+ +

Definition at line 166 of file Texture.hpp.

+ +
+
+ +

◆ Update() [2/2]

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

Update GPU texture with new data.

+ +

Definition at line 158 of file Texture.hpp.

+

+
- + diff --git a/docs/classraylib_1_1_texture.js b/docs/classraylib_1_1_texture.js new file mode 100644 index 00000000..156ab925 --- /dev/null +++ b/docs/classraylib_1_1_texture.js @@ -0,0 +1,51 @@ +var classraylib_1_1_texture = +[ + [ "Texture", "classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a", null ], + [ "Texture", "classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db", null ], + [ "Texture", "classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3", null ], + [ "Texture", "classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da", null ], + [ "Texture", "classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a", null ], + [ "Texture", "classraylib_1_1_texture.html#a58e78588be53fc00096d37019fef9134", null ], + [ "Texture", "classraylib_1_1_texture.html#a7988e6f875f2f613d449325acf9f74be", null ], + [ "~Texture", "classraylib_1_1_texture.html#afb52b2f43d5deb3e2e244205faa563ac", null ], + [ "Draw", "classraylib_1_1_texture.html#a79a54d908bbf6726c5d3a921dba0d616", null ], + [ "Draw", "classraylib_1_1_texture.html#aaf4ed8f0418a53d00ded3795ee251128", null ], + [ "Draw", "classraylib_1_1_texture.html#a3665f89c111fa1631e535bc4e61f54b0", null ], + [ "Draw", "classraylib_1_1_texture.html#a2e04bf6c219eb6ebe1341a01f621d067", null ], + [ "Draw", "classraylib_1_1_texture.html#ae5f6f8fb2f11557307663ee99438a1c0", null ], + [ "Draw", "classraylib_1_1_texture.html#ad48b00a0fc6c99d327d0c877e20201fc", null ], + [ "Draw", "classraylib_1_1_texture.html#af6b9ac35ebf354033cc06ee14a7e6a3f", null ], + [ "Draw", "classraylib_1_1_texture.html#a01f12372505ce5c5d1a0bbe1c65d694c", null ], + [ "DrawPoly", "classraylib_1_1_texture.html#a2e3b0f8d689de56d005c512d80f867a4", null ], + [ "DrawTiled", "classraylib_1_1_texture.html#a5cbd367a4a418284c834926bff6e2fb0", null ], + [ "GenMipmaps", "classraylib_1_1_texture.html#a933b56221e7ca9056c71c948b0fb04ae", null ], + [ "GetData", "classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed", null ], + [ "GetFormat", "classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4", null ], + [ "GetHeight", "classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f", null ], + [ "GetId", "classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298", null ], + [ "GetMipmaps", "classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711", null ], + [ "GetSize", "classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee", null ], + [ "GetWidth", "classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc", null ], + [ "IsReady", "classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92", null ], + [ "Load", "classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed", null ], + [ "Load", "classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd", null ], + [ "Load", "classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960", null ], + [ "operator raylib::Image", "classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e", null ], + [ "operator=", "classraylib_1_1_texture.html#a32e1e65e95d670f8ede07603e74eb8bb", null ], + [ "operator=", "classraylib_1_1_texture.html#a803206afb8ddbb356b0c172fb3c6ec6a", null ], + [ "operator=", "classraylib_1_1_texture.html#a029d91f87af0de39e358cdc3c679d97d", null ], + [ "SetFilter", "classraylib_1_1_texture.html#ac42e4bc773336f2a1ee52e6f97bcf5e2", null ], + [ "SetFormat", "classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6", null ], + [ "SetHeight", "classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6", null ], + [ "SetId", "classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f", null ], + [ "SetMaterial", "classraylib_1_1_texture.html#a9f2380b14a27928be3e7580a92fa8baf", null ], + [ "SetMaterial", "classraylib_1_1_texture.html#a88fc32d98a2e998cb58830f7e2256018", null ], + [ "SetMipmaps", "classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f", null ], + [ "SetShaderValue", "classraylib_1_1_texture.html#a3989a497ef1cd0d070d67220c0de4f69", null ], + [ "SetShapes", "classraylib_1_1_texture.html#ab6443678ebab7d2c78b0bdfb7f37e16f", null ], + [ "SetWidth", "classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf", null ], + [ "SetWrap", "classraylib_1_1_texture.html#aa001be5e40701f5a6dc9c56fa7682eac", null ], + [ "Unload", "classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec", null ], + [ "Update", "classraylib_1_1_texture.html#a253099fa4469729cc3bca1c7cf7d3e93", null ], + [ "Update", "classraylib_1_1_texture.html#ac20c8e10a88f3952f9d5a4e09d5ce5fb", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_vector2-members.html b/docs/classraylib_1_1_vector2-members.html index a9da2645..abd1cca6 100644 --- a/docs/classraylib_1_1_vector2-members.html +++ b/docs/classraylib_1_1_vector2-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Vector2 Member List
+
raylib::Vector2 Member List

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

- - + + - + - + - + - - - - - - - - - - - + + + + + + + + + + + - + - + - - - + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - - - - + + + + +
Add(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
Angle(const ::Vector2 &vector2) constraylib::Vector2inline
Add(const ::Vector2 &vector2) constraylib::Vector2inline
Angle(const ::Vector2 &vector2) constraylib::Vector2inline
CheckCollision(::Rectangle rec) constraylib::Vector2inline
CheckCollision(::Vector2 center, float radius) constraylib::Vector2inline
CheckCollision(::Vector2 center, float radius) constraylib::Vector2inline
CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) constraylib::Vector2inline
CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) constraylib::Vector2inline
CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) constraylib::Vector2inline
CheckCollisionCircle(float radius, ::Rectangle rec) constraylib::Vector2inline
CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) constraylib::Vector2inline
CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) constraylib::Vector2inline
Distance(const ::Vector2 &vector2) constraylib::Vector2inline
Divide(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
Divide(const float div) const (defined in raylib::Vector2)raylib::Vector2inline
DotProduct(const ::Vector2 &vector2) constraylib::Vector2inline
DrawCircle(float radius, ::Color color)raylib::Vector2inline
DrawLine(::Vector2 endPos, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
DrawLine(::Vector2 endPos, float thick, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
DrawLineBezier(::Vector2 endPos, float thick, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)raylib::Vector2inline
DrawPixel(::Color color) (defined in raylib::Vector2)raylib::Vector2inline
DrawPoly(int sides, float radius, float rotation, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
DrawRectangle(::Vector2 size, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
Divide(const ::Vector2 &vector2) constraylib::Vector2inline
Divide(const float div) constraylib::Vector2inline
DotProduct(const ::Vector2 &vector2) constraylib::Vector2inline
DrawCircle(float radius, ::Color color)raylib::Vector2inline
DrawLine(::Vector2 endPos, ::Color color)raylib::Vector2inline
DrawLine(::Vector2 endPos, float thick, ::Color color)raylib::Vector2inline
DrawLineBezier(::Vector2 endPos, float thick, ::Color color)raylib::Vector2inline
DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)raylib::Vector2inline
DrawPixel(::Color color)raylib::Vector2inline
DrawPoly(int sides, float radius, float rotation, ::Color color)raylib::Vector2inline
DrawRectangle(::Vector2 size, ::Color color)raylib::Vector2inline
GetX() constraylib::Vector2inline
GetY() constraylib::Vector2inline
GetY() constraylib::Vector2inline
Length() constraylib::Vector2inline
LengthSqr() constraylib::Vector2inline
LengthSqr() constraylib::Vector2inline
Lerp(const ::Vector2 &vector2, float amount) constraylib::Vector2inline
MoveTowards(const ::Vector2 &target, float maxDistance) constraylib::Vector2inline
Multiply(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
Negate() const (defined in raylib::Vector2)raylib::Vector2inline
MoveTowards(const ::Vector2 &target, float maxDistance) constraylib::Vector2inline
Multiply(const ::Vector2 &vector2) constraylib::Vector2inline
Negate() constraylib::Vector2inline
Normalize() constraylib::Vector2inline
One()raylib::Vector2inlinestatic
operator!=(const ::Vector2 &other) (defined in raylib::Vector2)raylib::Vector2inline
operator*(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
operator*(const float scale) const (defined in raylib::Vector2)raylib::Vector2inline
operator*=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
operator*=(const float scale) (defined in raylib::Vector2)raylib::Vector2inline
operator+(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
operator+=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
operator-(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
operator-() const (defined in raylib::Vector2)raylib::Vector2inline
operator-=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
operator/(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
operator/(const float div) const (defined in raylib::Vector2)raylib::Vector2inline
operator/=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
operator/=(const float div) (defined in raylib::Vector2)raylib::Vector2inline
operator=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
operator==(const ::Vector2 &other) (defined in raylib::Vector2)raylib::Vector2inline
One()raylib::Vector2inlinestatic
operator!=(const ::Vector2 &other)raylib::Vector2inline
operator*(const ::Vector2 &vector2) constraylib::Vector2inline
operator*(const float scale) constraylib::Vector2inline
operator*=(const ::Vector2 &vector2)raylib::Vector2inline
operator*=(const float scale)raylib::Vector2inline
operator+(const ::Vector2 &vector2) constraylib::Vector2inline
operator+=(const ::Vector2 &vector2)raylib::Vector2inline
operator-(const ::Vector2 &vector2) constraylib::Vector2inline
operator-() constraylib::Vector2inline
operator-=(const ::Vector2 &vector2)raylib::Vector2inline
operator/(const ::Vector2 &vector2) constraylib::Vector2inline
operator/(const float div) constraylib::Vector2inline
operator/=(const ::Vector2 &vector2)raylib::Vector2inline
operator/=(const float div)raylib::Vector2inline
operator=(const ::Vector2 &vector2)raylib::Vector2inline
operator==(const ::Vector2 &other)raylib::Vector2inline
Reflect(const ::Vector2 &normal) constraylib::Vector2inline
Rotate(float degrees) constraylib::Vector2inline
Scale(const float scale) const (defined in raylib::Vector2)raylib::Vector2inline
SetX(float value)raylib::Vector2inline
Rotate(float degrees) constraylib::Vector2inline
Scale(const float scale) constraylib::Vector2inline
SetX(float value)raylib::Vector2inline
SetY(float value)raylib::Vector2inline
Subtract(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
Vector2(const ::Vector2 &vec) (defined in raylib::Vector2)raylib::Vector2inline
Vector2(float x, float y) (defined in raylib::Vector2)raylib::Vector2inline
Vector2(float x) (defined in raylib::Vector2)raylib::Vector2inline
Vector2() (defined in raylib::Vector2)raylib::Vector2inline
Subtract(const ::Vector2 &vector2) constraylib::Vector2inline
Vector2(const ::Vector2 &vec)raylib::Vector2inline
Vector2(float x, float y)raylib::Vector2inline
Vector2(float x)raylib::Vector2inline
Vector2()raylib::Vector2inline
Zero()raylib::Vector2inlinestatic
+
- + diff --git a/docs/classraylib_1_1_vector2.html b/docs/classraylib_1_1_vector2.html index 385ec874..852dd514 100644 --- a/docs/classraylib_1_1_vector2.html +++ b/docs/classraylib_1_1_vector2.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Vector2 Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Vector2 Class Reference
+
raylib::Vector2 Class Reference

Vector2 type. More...

+ +

#include <Vector2.hpp>

- - + + + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - + - + - - + + - + - + - + - - - - - + + + + + - - - + + + - + - - - + + + - + - - - - - - - + + + + + + + - - + + - - + + - + @@ -258,28 +230,25 @@ - +

+

Public Member Functions

Vector2 (const ::Vector2 &vec)
 Vector2 ()
 
 Vector2 (const ::Vector2 &vec)
 
Vector2 (float x)
 Vector2 (float x)
 
Vector2 (float x, float y)
 Vector2 (float x, float y)
 
-Vector2 Add (const ::Vector2 &vector2) const
Vector2 Add (const ::Vector2 &vector2) const
 
-float Angle (const ::Vector2 &vector2) const
 Calculate angle from two vectors in X-axis.
float Angle (const ::Vector2 &vector2) const
 Calculate angle from two vectors in X-axis. More...
 
-bool CheckCollision (::Rectangle rec) const
 Check if point is inside rectangle.
bool CheckCollision (::Rectangle rec) const
 Check if point is inside rectangle. More...
 
-bool CheckCollision (::Vector2 center, float radius) const
 Check if point is inside circle.
bool CheckCollision (::Vector2 center, float radius) const
 Check if point is inside circle. More...
 
-bool CheckCollision (::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
 Check if point is inside a triangle.
bool CheckCollision (::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
 Check if point is inside a triangle. More...
 
-bool CheckCollisionCircle (float radius, ::Rectangle rec) const
 Check collision between circle and rectangle.
bool CheckCollisionCircle (float radius, ::Rectangle rec) const
 Check collision between circle and rectangle. More...
 
-bool CheckCollisionCircle (float radius1, ::Vector2 center2, float radius2) const
 Check collision between two circles.
bool CheckCollisionCircle (float radius1, ::Vector2 center2, float radius2) const
 Check collision between two circles. More...
 
-bool CheckCollisionLines (::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
 Check the collision between two lines defined by two points each, returns collision point by reference.
bool CheckCollisionLines (::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
 Check the collision between two lines defined by two points each, returns collision point by reference. More...
 
-float Distance (const ::Vector2 &vector2) const
 Calculate distance between two vectors.
float Distance (const ::Vector2 &vector2) const
 Calculate distance between two vectors. More...
 
-Vector2 Divide (const ::Vector2 &vector2) const
Vector2 Divide (const ::Vector2 &vector2) const
 
-Vector2 Divide (const float div) const
Vector2 Divide (const float div) const
 
-float DotProduct (const ::Vector2 &vector2) const
 Calculate two vectors dot product.
float DotProduct (const ::Vector2 &vector2) const
 Calculate two vectors dot product. More...
 
-Vector2DrawCircle (float radius, ::Color color)
 Draw a color-filled circle (Vector version)
 
-Vector2DrawLine (::Vector2 endPos, ::Color color)
 
-Vector2DrawLine (::Vector2 endPos, float thick, ::Color color)
 
-Vector2DrawLineBezier (::Vector2 endPos, float thick, ::Color color)
 
-Vector2DrawLineBezierQuad (::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
 Draw line using quadratic bezier curves with a control point.
 
-Vector2DrawPixel (::Color color)
 
-Vector2DrawPoly (int sides, float radius, float rotation, ::Color color)
 
-Vector2DrawRectangle (::Vector2 size, ::Color color)
 
Vector2DrawCircle (float radius, ::Color color)
 Draw a color-filled circle (Vector version) More...
 
Vector2DrawLine (::Vector2 endPos, ::Color color)
 
Vector2DrawLine (::Vector2 endPos, float thick, ::Color color)
 
Vector2DrawLineBezier (::Vector2 endPos, float thick, ::Color color)
 
Vector2DrawLineBezierQuad (::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
 Draw line using quadratic bezier curves with a control point. More...
 
Vector2DrawPixel (::Color color)
 
Vector2DrawPoly (int sides, float radius, float rotation, ::Color color)
 
Vector2DrawRectangle (::Vector2 size, ::Color color)
 
float GetX () const
 Retrieves the x value for the object. More...
 
float GetY () const
 Retrieves the y value for the object. More...
 
-float Length () const
 Calculate vector length.
float Length () const
 Calculate vector length. More...
 
-float LengthSqr () const
 Calculate vector square length.
float LengthSqr () const
 Calculate vector square length. More...
 
-Vector2 Lerp (const ::Vector2 &vector2, float amount) const
 Calculate linear interpolation between two vectors.
Vector2 Lerp (const ::Vector2 &vector2, float amount) const
 Calculate linear interpolation between two vectors. More...
 
-Vector2 MoveTowards (const ::Vector2 &target, float maxDistance) const
 Move Vector towards target.
Vector2 MoveTowards (const ::Vector2 &target, float maxDistance) const
 Move Vector towards target. More...
 
-Vector2 Multiply (const ::Vector2 &vector2) const
Vector2 Multiply (const ::Vector2 &vector2) const
 
-Vector2 Negate () const
Vector2 Negate () const
 
-Vector2 Normalize () const
 Normalize provided vector.
Vector2 Normalize () const
 Normalize provided vector. More...
 
-bool operator!= (const ::Vector2 &other)
bool operator!= (const ::Vector2 &other)
 
-Vector2 operator* (const ::Vector2 &vector2) const
Vector2 operator* (const ::Vector2 &vector2) const
 
-Vector2 operator* (const float scale) const
Vector2 operator* (const float scale) const
 
-Vector2operator*= (const ::Vector2 &vector2)
 
-Vector2operator*= (const float scale)
 
-Vector2 operator+ (const ::Vector2 &vector2) const
Vector2operator*= (const ::Vector2 &vector2)
 
Vector2operator*= (const float scale)
 
Vector2 operator+ (const ::Vector2 &vector2) const
 
-Vector2operator+= (const ::Vector2 &vector2)
 
-Vector2 operator- () const
Vector2operator+= (const ::Vector2 &vector2)
 
Vector2 operator- () const
 
-Vector2 operator- (const ::Vector2 &vector2) const
Vector2 operator- (const ::Vector2 &vector2) const
 
-Vector2operator-= (const ::Vector2 &vector2)
 
-Vector2 operator/ (const ::Vector2 &vector2) const
Vector2operator-= (const ::Vector2 &vector2)
 
Vector2 operator/ (const ::Vector2 &vector2) const
 
-Vector2 operator/ (const float div) const
Vector2 operator/ (const float div) const
 
-Vector2operator/= (const ::Vector2 &vector2)
 
-Vector2operator/= (const float div)
 
-Vector2operator= (const ::Vector2 &vector2)
 
-bool operator== (const ::Vector2 &other)
Vector2operator/= (const ::Vector2 &vector2)
 
Vector2operator/= (const float div)
 
Vector2operator= (const ::Vector2 &vector2)
 
bool operator== (const ::Vector2 &other)
 
-Vector2 Reflect (const ::Vector2 &normal) const
 Calculate reflected vector to normal.
Vector2 Reflect (const ::Vector2 &normal) const
 Calculate reflected vector to normal. More...
 
-Vector2 Rotate (float degrees) const
 Rotate Vector by float in Degrees.
Vector2 Rotate (float degrees) const
 Rotate Vector by float in Degrees. More...
 
-Vector2 Scale (const float scale) const
Vector2 Scale (const float scale) const
 
void SetX (float value)
 Sets the x value for the object. More...
void SetY (float value)
 Sets the y value for the object. More...
 
-Vector2 Subtract (const ::Vector2 &vector2) const
Vector2 Subtract (const ::Vector2 &vector2) const
 
- - - + + - - + +

+

Static Public Member Functions

-static Vector2 One ()
 Vector with components value 1.0f.
static Vector2 One ()
 Vector with components value 1.0f. More...
 
-static Vector2 Zero ()
 Vector with components value 0.0f.
static Vector2 Zero ()
 Vector with components value 0.0f. More...
 

Detailed Description

-

Vector2 type.

+

Vector2 type.

Definition at line 16 of file Vector2.hpp.

-

Member Function Documentation

- -

◆ GetX()

+

Constructor & Destructor Documentation

+ +

◆ Vector2() [1/4]

+ +

◆ Vector2() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Vector2::Vector2 (float x,
float y 
)
+
+inline
+
+ +

Definition at line 22 of file Vector2.hpp.

+ +
+
+ +

◆ Vector2() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Vector2::Vector2 (float x)
+
+inline
+
+ +

Definition at line 23 of file Vector2.hpp.

+ +
+
+ +

◆ Vector2() [4/4]

+ +
+
+ + + + + +
+ + + + + +
raylib::Vector2::Vector2 ( )
+
+inline
+
+ +

Definition at line 24 of file Vector2.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ Add()

+ +
+
+ + + @@ -362,20 +491,14 @@

-

Sets the x value for the object.

-
Parameters
-

+ + + + + +
Vector2 raylib::Vector2::Add (const ::Vector2vector2) const
@@ -301,15 +393,42 @@

-

Retrieves the x value for the object.

-
Returns
The x value of the object.
+

Definition at line 44 of file Vector2.hpp.

-

Definition at line 26 of file Vector2.hpp.

+ + + +

◆ Angle()

+ +
+
+ + + + + +
+ + + + + + + + +
float raylib::Vector2::Angle (const ::Vector2vector2) const
+
+inline
+
+ +

Calculate angle from two vectors in X-axis.

+ +

Definition at line 169 of file Vector2.hpp.

- -

◆ GetY()

+ +

◆ CheckCollision() [1/3]

- -

◆ SetX()

+ +

◆ CheckCollision() [2/3]

- -
valueThe value of which to set x to.
- -

+

Check if point is inside circle.

-

Definition at line 26 of file Vector2.hpp.

+

Definition at line 297 of file Vector2.hpp.

- -

◆ SetY()

+ +

◆ CheckCollision() [3/3]

+ +

◆ CheckCollisionCircle() [1/2]

+ +
+
+ + + @@ -398,24 +577,1559 @@

-

Sets the y value for the object.

-
Parameters
-

+ + + - + + + + + + + + + + +
bool raylib::Vector2::CheckCollisionCircle ( float value)radius,
::Rectangle rec 
) const
- -
valueThe value of which to set y to.
- - +

Check collision between circle and rectangle.

-

Definition at line 27 of file Vector2.hpp.

+

Definition at line 283 of file Vector2.hpp.

-

- - + +

◆ CheckCollisionCircle() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool raylib::Vector2::CheckCollisionCircle (float radius1,
::Vector2 center2,
float radius2 
) const
+
+inline
+
+ +

Check collision between two circles.

+ +

Definition at line 276 of file Vector2.hpp.

+ +
+
+ +

◆ CheckCollisionLines()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool raylib::Vector2::CheckCollisionLines (::Vector2 endPos1,
::Vector2 startPos2,
::Vector2 endPos2,
::Vector2collisionPoint 
) const
+
+inline
+
+ +

Check the collision between two lines defined by two points each, returns collision point by reference.

+ +

Definition at line 311 of file Vector2.hpp.

+ +
+
+ +

◆ Distance()

+ +
+
+ + + + + +
+ + + + + + + + +
float raylib::Vector2::Distance (const ::Vector2vector2) const
+
+inline
+
+ +

Calculate distance between two vectors.

+ +

Definition at line 176 of file Vector2.hpp.

+ +
+
+ +

◆ Divide() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Divide (const ::Vector2vector2) const
+
+inline
+
+ +

Definition at line 84 of file Vector2.hpp.

+ +

Referenced by operator/().

+ +
+
+ +

◆ Divide() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Divide (const float div) const
+
+inline
+
+ +

Definition at line 92 of file Vector2.hpp.

+ +
+
+ +

◆ DotProduct()

+ +
+
+ + + + + +
+ + + + + + + + +
float raylib::Vector2::DotProduct (const ::Vector2vector2) const
+
+inline
+
+ +

Calculate two vectors dot product.

+ +

Definition at line 162 of file Vector2.hpp.

+ +
+
+ +

◆ DrawCircle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector2 & raylib::Vector2::DrawCircle (float radius,
::Color color 
)
+
+inline
+
+ +

Draw a color-filled circle (Vector version)

+ +

Definition at line 258 of file Vector2.hpp.

+ +
+
+ +

◆ DrawLine() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector2 & raylib::Vector2::DrawLine (::Vector2 endPos,
::Color color 
)
+
+inline
+
+ +

Definition at line 228 of file Vector2.hpp.

+ +
+
+ +

◆ DrawLine() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Vector2 & raylib::Vector2::DrawLine (::Vector2 endPos,
float thick,
::Color color 
)
+
+inline
+
+ +

Definition at line 233 of file Vector2.hpp.

+ +
+
+ +

◆ DrawLineBezier()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Vector2 & raylib::Vector2::DrawLineBezier (::Vector2 endPos,
float thick,
::Color color 
)
+
+inline
+
+ +

Definition at line 238 of file Vector2.hpp.

+ +

References DrawLineBezier().

+ +

Referenced by DrawLineBezier().

+ +
+
+ +

◆ DrawLineBezierQuad()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector2 & raylib::Vector2::DrawLineBezierQuad (::Vector2 endPos,
::Vector2 controlPos,
float thick,
::Color color 
)
+
+inline
+
+ +

Draw line using quadratic bezier curves with a control point.

+ +

Definition at line 246 of file Vector2.hpp.

+ +

References DrawLineBezierQuad().

+ +

Referenced by DrawLineBezierQuad().

+ +
+
+ +

◆ DrawPixel()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::DrawPixel (::Color color)
+
+inline
+
+ +

Definition at line 223 of file Vector2.hpp.

+ +
+
+ +

◆ DrawPoly()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector2 & raylib::Vector2::DrawPoly (int sides,
float radius,
float rotation,
::Color color 
)
+
+inline
+
+ +

Definition at line 268 of file Vector2.hpp.

+ +

References DrawPoly().

+ +

Referenced by DrawPoly().

+ +
+
+ +

◆ DrawRectangle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector2 & raylib::Vector2::DrawRectangle (::Vector2 size,
::Color color 
)
+
+inline
+
+ +

Definition at line 263 of file Vector2.hpp.

+ +
+
+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector2::GetX () const
+
+inline
+
+ +

Retrieves the x value for the object.

+
Returns
The x value of the object.
+ +

Definition at line 26 of file Vector2.hpp.

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector2::GetY () const
+
+inline
+
+ +

Retrieves the y value for the object.

+
Returns
The y value of the object.
+ +

Definition at line 27 of file Vector2.hpp.

+ +
+
+ +

◆ Length()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector2::Length () const
+
+inline
+
+ +

Calculate vector length.

+ +

Definition at line 141 of file Vector2.hpp.

+ +
+
+ +

◆ LengthSqr()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector2::LengthSqr () const
+
+inline
+
+ +

Calculate vector square length.

+ +

Definition at line 148 of file Vector2.hpp.

+ +
+
+ +

◆ Lerp()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector2 raylib::Vector2::Lerp (const ::Vector2vector2,
float amount 
) const
+
+inline
+
+ +

Calculate linear interpolation between two vectors.

+ +

Definition at line 183 of file Vector2.hpp.

+ +
+
+ +

◆ MoveTowards()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector2 raylib::Vector2::MoveTowards (const ::Vector2target,
float maxDistance 
) const
+
+inline
+
+ +

Move Vector towards target.

+ +

Definition at line 204 of file Vector2.hpp.

+ +
+
+ +

◆ Multiply()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Multiply (const ::Vector2vector2) const
+
+inline
+
+ +

Definition at line 68 of file Vector2.hpp.

+ +
+
+ +

◆ Negate()

+ +
+
+ + + + + +
+ + + + + + + +
Vector2 raylib::Vector2::Negate () const
+
+inline
+
+ +

Definition at line 60 of file Vector2.hpp.

+ +
+
+ +

◆ Normalize()

+ +
+
+ + + + + +
+ + + + + + + +
Vector2 raylib::Vector2::Normalize () const
+
+inline
+
+ +

Normalize provided vector.

+ +

Definition at line 155 of file Vector2.hpp.

+ +
+
+ +

◆ One()

+ +
+
+ + + + + +
+ + + + + + + +
static Vector2 raylib::Vector2::One ()
+
+inlinestatic
+
+ +

Vector with components value 1.0f.

+ +

Definition at line 218 of file Vector2.hpp.

+ +
+
+ +

◆ operator!=()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Vector2::operator!= (const ::Vector2other)
+
+inline
+
+ +

Definition at line 39 of file Vector2.hpp.

+ +
+
+ +

◆ operator*() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::operator* (const ::Vector2vector2) const
+
+inline
+
+ +

Definition at line 72 of file Vector2.hpp.

+ +
+
+ +

◆ operator*() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::operator* (const float scale) const
+
+inline
+
+ +

Definition at line 80 of file Vector2.hpp.

+ +
+
+ +

◆ operator*=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::operator*= (const ::Vector2vector2)
+
+inline
+
+ +

Definition at line 113 of file Vector2.hpp.

+ +
+
+ +

◆ operator*=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::operator*= (const float scale)
+
+inline
+
+ +

Definition at line 119 of file Vector2.hpp.

+ +
+
+ +

◆ operator+()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::operator+ (const ::Vector2vector2) const
+
+inline
+
+ +

Definition at line 48 of file Vector2.hpp.

+ +
+
+ +

◆ operator+=()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::operator+= (const ::Vector2vector2)
+
+inline
+
+ +

Definition at line 100 of file Vector2.hpp.

+ +
+
+ +

◆ operator-() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
Vector2 raylib::Vector2::operator- () const
+
+inline
+
+ +

Definition at line 64 of file Vector2.hpp.

+ +
+
+ +

◆ operator-() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::operator- (const ::Vector2vector2) const
+
+inline
+
+ +

Definition at line 56 of file Vector2.hpp.

+ +
+
+ +

◆ operator-=()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::operator-= (const ::Vector2vector2)
+
+inline
+
+ +

Definition at line 106 of file Vector2.hpp.

+ +
+
+ +

◆ operator/() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::operator/ (const ::Vector2vector2) const
+
+inline
+
+ +

Definition at line 88 of file Vector2.hpp.

+ +
+
+ +

◆ operator/() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::operator/ (const float div) const
+
+inline
+
+ +

Definition at line 96 of file Vector2.hpp.

+ +

References Divide().

+ +
+
+ +

◆ operator/=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::operator/= (const ::Vector2vector2)
+
+inline
+
+ +

Definition at line 125 of file Vector2.hpp.

+ +
+
+ +

◆ operator/=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::operator/= (const float div)
+
+inline
+
+ +

Definition at line 131 of file Vector2.hpp.

+ +
+
+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 & raylib::Vector2::operator= (const ::Vector2vector2)
+
+inline
+
+ +

Definition at line 29 of file Vector2.hpp.

+ +
+
+ +

◆ operator==()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Vector2::operator== (const ::Vector2other)
+
+inline
+
+ +

Definition at line 34 of file Vector2.hpp.

+ +
+
+ +

◆ Reflect()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Reflect (const ::Vector2normal) const
+
+inline
+
+ +

Calculate reflected vector to normal.

+ +

Definition at line 190 of file Vector2.hpp.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Rotate (float degrees) const
+
+inline
+
+ +

Rotate Vector by float in Degrees.

+ +

Definition at line 197 of file Vector2.hpp.

+ +
+
+ +

◆ Scale()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Scale (const float scale) const
+
+inline
+
+ +

Definition at line 76 of file Vector2.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector2::SetX (float value)
+
+inline
+
+ +

Sets the x value for the object.

+
Parameters
+ + +
valueThe value of which to set x to.
+
+
+ +

Definition at line 26 of file Vector2.hpp.

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector2::SetY (float value)
+
+inline
+
+ +

Sets the y value for the object.

+
Parameters
+ + +
valueThe value of which to set y to.
+
+
+ +

Definition at line 27 of file Vector2.hpp.

+ +
+
+ +

◆ Subtract()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector2 raylib::Vector2::Subtract (const ::Vector2vector2) const
+
+inline
+
+ +

Definition at line 52 of file Vector2.hpp.

+ +
+
+ +

◆ Zero()

+ +
+
+ + + + + +
+ + + + + + + +
static Vector2 raylib::Vector2::Zero ()
+
+inlinestatic
+
+ +

Vector with components value 0.0f.

+ +

Definition at line 211 of file Vector2.hpp.

+ +
+
+

+

+ + diff --git a/docs/classraylib_1_1_vector2.js b/docs/classraylib_1_1_vector2.js new file mode 100644 index 00000000..0f7f636c --- /dev/null +++ b/docs/classraylib_1_1_vector2.js @@ -0,0 +1,60 @@ +var classraylib_1_1_vector2 = +[ + [ "Vector2", "classraylib_1_1_vector2.html#af37eed03c414b6d9d6e0139fe8e226ef", null ], + [ "Vector2", "classraylib_1_1_vector2.html#ab7445f9657fa71635a231f87b761975d", null ], + [ "Vector2", "classraylib_1_1_vector2.html#aafb7d3ca7aa016a90203c67f71ca4d33", null ], + [ "Vector2", "classraylib_1_1_vector2.html#aeb25c40ed7302c7de9cc281e1e1e8109", null ], + [ "Add", "classraylib_1_1_vector2.html#a9b508085257410f314beb2f405259678", null ], + [ "Angle", "classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12", null ], + [ "CheckCollision", "classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e", null ], + [ "CheckCollision", "classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198", null ], + [ "CheckCollision", "classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6", null ], + [ "CheckCollisionCircle", "classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e", null ], + [ "CheckCollisionCircle", "classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47", null ], + [ "CheckCollisionLines", "classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5", null ], + [ "Distance", "classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37", null ], + [ "Divide", "classraylib_1_1_vector2.html#a6cd160434801eeadfbbc5deec8b20e21", null ], + [ "Divide", "classraylib_1_1_vector2.html#afed61e067c7fc43651cc1528e62ecd83", null ], + [ "DotProduct", "classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745", null ], + [ "DrawCircle", "classraylib_1_1_vector2.html#a16b512d0fead59f597fd878e620e83cc", null ], + [ "DrawLine", "classraylib_1_1_vector2.html#ae50cce093de0fa8d1c59867f20fd93fd", null ], + [ "DrawLine", "classraylib_1_1_vector2.html#a2a5f918b46cfe5cdc53549dcad1737b6", null ], + [ "DrawLineBezier", "classraylib_1_1_vector2.html#ae358d57eb09dea4b55c135e28d7c444f", null ], + [ "DrawLineBezierQuad", "classraylib_1_1_vector2.html#a010ec44d07aabfad8814995d7883eda6", null ], + [ "DrawPixel", "classraylib_1_1_vector2.html#a3089910c36033d2a876f9650849323a7", null ], + [ "DrawPoly", "classraylib_1_1_vector2.html#ab670cd5ea7625cf3dd3672579de94d2a", null ], + [ "DrawRectangle", "classraylib_1_1_vector2.html#af512e0dad4631def86cf85363f96db3b", null ], + [ "GetX", "classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b", null ], + [ "GetY", "classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d", null ], + [ "Length", "classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725", null ], + [ "LengthSqr", "classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4", null ], + [ "Lerp", "classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294", null ], + [ "MoveTowards", "classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b", null ], + [ "Multiply", "classraylib_1_1_vector2.html#a8c89ca7656f8dee6e1cb4cfa29deb7ec", null ], + [ "Negate", "classraylib_1_1_vector2.html#a98ca288a85bd1643670a058138077587", null ], + [ "Normalize", "classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5", null ], + [ "One", "classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb", null ], + [ "operator!=", "classraylib_1_1_vector2.html#aeb9bfa80b1e6161a7a85d8c8ebc73433", null ], + [ "operator*", "classraylib_1_1_vector2.html#a9c1f9983b14d3ff4ba92ca0e041cb970", null ], + [ "operator*", "classraylib_1_1_vector2.html#a23262c9825611dde85ac071fd442124d", null ], + [ "operator*=", "classraylib_1_1_vector2.html#ac7ecfe4c0909ee8fb01f0d94455de794", null ], + [ "operator*=", "classraylib_1_1_vector2.html#a2b9e8013a103a568fdf0d526008aa805", null ], + [ "operator+", "classraylib_1_1_vector2.html#a8df80afec50063657ce67c2072839c5a", null ], + [ "operator+=", "classraylib_1_1_vector2.html#a4eb940d4ac8db035b58bf0834ebca8f7", null ], + [ "operator-", "classraylib_1_1_vector2.html#af29b9938afed31d821bb7791d929f779", null ], + [ "operator-", "classraylib_1_1_vector2.html#af5a965f5eba6e1d8cc13f29161f0f6e1", null ], + [ "operator-=", "classraylib_1_1_vector2.html#a0b97ad5ff528e47ff5a73ad0ebb2f0c7", null ], + [ "operator/", "classraylib_1_1_vector2.html#a8ef672a3776ca3da2fe0b89fa8cea517", null ], + [ "operator/", "classraylib_1_1_vector2.html#aa12e15f76cd518d8d0447c80c89fd8c5", null ], + [ "operator/=", "classraylib_1_1_vector2.html#a2ef45b2b5142c60cf30bdbc6a49d77e0", null ], + [ "operator/=", "classraylib_1_1_vector2.html#ae85c2aa1bfe604578ca89c7495e8ce37", null ], + [ "operator=", "classraylib_1_1_vector2.html#a81993d8973232b2ba08b7a63bca9bb20", null ], + [ "operator==", "classraylib_1_1_vector2.html#a92c0c5f254914438cc13926559678069", null ], + [ "Reflect", "classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7", null ], + [ "Rotate", "classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696", null ], + [ "Scale", "classraylib_1_1_vector2.html#a99329cc7300b744993c299a60191b23e", null ], + [ "SetX", "classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324", null ], + [ "SetY", "classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f", null ], + [ "Subtract", "classraylib_1_1_vector2.html#a2203d35228a10defe410dec8d33017f9", null ], + [ "Zero", "classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_vector3-members.html b/docs/classraylib_1_1_vector3-members.html index e5516434..7a345e53 100644 --- a/docs/classraylib_1_1_vector3-members.html +++ b/docs/classraylib_1_1_vector3-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Vector3 Member List
+
raylib::Vector3 Member List

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

- - + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - + + + + + + + + +
Add(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c) (defined in raylib::Vector3)raylib::Vector3inline
Add(const ::Vector3 &vector3)raylib::Vector3inline
Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)raylib::Vector3inline
CheckCollision(float radius1, const ::Vector3 &center2, float radius2)raylib::Vector3inline
CrossProduct(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
Distance(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
Divide(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
Divide(const float div) const (defined in raylib::Vector3)raylib::Vector3inline
DotProduct(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawCube(float width, float height, float length, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawCube(const ::Vector3 &size, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawCubeWires(float width, float height, float length, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawCubeWires(const ::Vector3 &size, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawLine3D(const ::Vector3 &endPos, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawPlane(const ::Vector2 &size, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawPoint3D(::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawSphere(float radius, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawSphere(float radius, int rings, int slices, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
DrawSphereWires(float radius, int rings, int slices, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
CrossProduct(const ::Vector3 &vector3) constraylib::Vector3inline
Distance(const ::Vector3 &vector3) constraylib::Vector3inline
Divide(const ::Vector3 &vector3) constraylib::Vector3inline
Divide(const float div) constraylib::Vector3inline
DotProduct(const ::Vector3 &vector3)raylib::Vector3inline
DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)raylib::Vector3inline
DrawCube(float width, float height, float length, ::Color color)raylib::Vector3inline
DrawCube(const ::Vector3 &size, ::Color color)raylib::Vector3inline
DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color)raylib::Vector3inline
DrawCubeWires(float width, float height, float length, ::Color color)raylib::Vector3inline
DrawCubeWires(const ::Vector3 &size, ::Color color)raylib::Vector3inline
DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)raylib::Vector3inline
DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)raylib::Vector3inline
DrawLine3D(const ::Vector3 &endPos, ::Color color)raylib::Vector3inline
DrawPlane(const ::Vector2 &size, ::Color color)raylib::Vector3inline
DrawPoint3D(::Color color)raylib::Vector3inline
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() constraylib::Vector3inline
GetY() constraylib::Vector3inline
GetY() constraylib::Vector3inline
GetZ() constraylib::Vector3inline
Length() const (defined in raylib::Vector3)raylib::Vector3inline
Lerp(const ::Vector3 &vector3, const float amount) const (defined in raylib::Vector3)raylib::Vector3inline
Max(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
Min(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
Multiply(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
Negate() (defined in raylib::Vector3)raylib::Vector3inline
Normalize() const (defined in raylib::Vector3)raylib::Vector3inline
One() (defined in raylib::Vector3)raylib::Vector3inlinestatic
operator!=(const ::Vector3 &other) (defined in raylib::Vector3)raylib::Vector3inline
operator*(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
operator*(const float scale) const (defined in raylib::Vector3)raylib::Vector3inline
operator*=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator*=(const float scale) (defined in raylib::Vector3)raylib::Vector3inline
operator+(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator+=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator-(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator-() (defined in raylib::Vector3)raylib::Vector3inline
operator-=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator/(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
operator/(const float div) const (defined in raylib::Vector3)raylib::Vector3inline
operator/=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator/=(const float div) (defined in raylib::Vector3)raylib::Vector3inline
operator=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator==(const ::Vector3 &other) (defined in raylib::Vector3)raylib::Vector3inline
OrthoNormalize(::Vector3 *vector3) (defined in raylib::Vector3)raylib::Vector3inline
Perpendicular() const (defined in raylib::Vector3)raylib::Vector3inline
Reflect(const ::Vector3 &normal) const (defined in raylib::Vector3)raylib::Vector3inline
RotateByQuaternion(const ::Quaternion &quaternion) (defined in raylib::Vector3)raylib::Vector3inline
Scale(const float scale) const (defined in raylib::Vector3)raylib::Vector3inline
Length() constraylib::Vector3inline
Lerp(const ::Vector3 &vector3, const float amount) constraylib::Vector3inline
Max(const ::Vector3 &vector3)raylib::Vector3inline
Min(const ::Vector3 &vector3)raylib::Vector3inline
Multiply(const ::Vector3 &vector3) constraylib::Vector3inline
Negate()raylib::Vector3inline
Normalize() constraylib::Vector3inline
One()raylib::Vector3inlinestatic
operator!=(const ::Vector3 &other)raylib::Vector3inline
operator*(const ::Vector3 &vector3) constraylib::Vector3inline
operator*(const float scale) constraylib::Vector3inline
operator*=(const ::Vector3 &vector3)raylib::Vector3inline
operator*=(const float scale)raylib::Vector3inline
operator+(const ::Vector3 &vector3)raylib::Vector3inline
operator+=(const ::Vector3 &vector3)raylib::Vector3inline
operator-(const ::Vector3 &vector3)raylib::Vector3inline
operator-()raylib::Vector3inline
operator-=(const ::Vector3 &vector3)raylib::Vector3inline
operator/(const ::Vector3 &vector3) constraylib::Vector3inline
operator/(const float div) constraylib::Vector3inline
operator/=(const ::Vector3 &vector3)raylib::Vector3inline
operator/=(const float div)raylib::Vector3inline
operator=(const ::Vector3 &vector3)raylib::Vector3inline
operator==(const ::Vector3 &other)raylib::Vector3inline
OrthoNormalize(::Vector3 *vector3)raylib::Vector3inline
Perpendicular() constraylib::Vector3inline
Reflect(const ::Vector3 &normal) constraylib::Vector3inline
RotateByQuaternion(const ::Quaternion &quaternion)raylib::Vector3inline
Scale(const float scale) constraylib::Vector3inline
SetX(float value)raylib::Vector3inline
SetY(float value)raylib::Vector3inline
SetY(float value)raylib::Vector3inline
SetZ(float value)raylib::Vector3inline
Subtract(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
Transform(const ::Matrix &matrix) const (defined in raylib::Vector3)raylib::Vector3inline
Vector3(const ::Vector3 &vec) (defined in raylib::Vector3)raylib::Vector3inline
Vector3(float x, float y, float z) (defined in raylib::Vector3)raylib::Vector3inline
Vector3(float x, float y) (defined in raylib::Vector3)raylib::Vector3inline
Vector3(float x) (defined in raylib::Vector3)raylib::Vector3inline
Vector3() (defined in raylib::Vector3)raylib::Vector3inline
Vector3(::Color color) (defined in raylib::Vector3)raylib::Vector3inline
Zero() (defined in raylib::Vector3)raylib::Vector3inlinestatic
Subtract(const ::Vector3 &vector3)raylib::Vector3inline
Transform(const ::Matrix &matrix) constraylib::Vector3inline
Vector3(const ::Vector3 &vec)raylib::Vector3inline
Vector3(float x, float y, float z)raylib::Vector3inline
Vector3(float x, float y)raylib::Vector3inline
Vector3(float x)raylib::Vector3inline
Vector3()raylib::Vector3inline
Vector3(::Color color)raylib::Vector3inline
Zero()raylib::Vector3inlinestatic
+

- + diff --git a/docs/classraylib_1_1_vector3.html b/docs/classraylib_1_1_vector3.html index ea3b69fb..b99c194b 100644 --- a/docs/classraylib_1_1_vector3.html +++ b/docs/classraylib_1_1_vector3.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Vector3 Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Vector3 Class Reference
+
raylib::Vector3 Class Reference

Vector3 type. More...

+ +

#include <Vector3.hpp>

- - + + + - + - + - + - + - + - + - - + + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -172,89 +166,61 @@ - + - + - + - + - + - + - + - + - + - + - - - - - + + + + + - - - + + + - + - - - + + + - + - - - - - - - + + + + + + + - + - + - + - + - + @@ -265,29 +231,25 @@ - + - +

+

Public Member Functions

Vector3 (::Color color)
 Vector3 ()
 
 Vector3 (::Color color)
 
Vector3 (const ::Vector3 &vec)
 Vector3 (const ::Vector3 &vec)
 
Vector3 (float x)
 Vector3 (float x)
 
Vector3 (float x, float y)
 Vector3 (float x, float y)
 
Vector3 (float x, float y, float z)
 Vector3 (float x, float y, float z)
 
-Vector3 Add (const ::Vector3 &vector3)
Vector3 Add (const ::Vector3 &vector3)
 
-Vector3 Barycenter (const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)
Vector3 Barycenter (const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)
 
-bool CheckCollision (float radius1, const ::Vector3 &center2, float radius2)
 Detect collision between two spheres.
bool CheckCollision (float radius1, const ::Vector3 &center2, float radius2)
 Detect collision between two spheres. More...
 
-Vector3 CrossProduct (const ::Vector3 &vector3) const
Vector3 CrossProduct (const ::Vector3 &vector3) const
 
-float Distance (const ::Vector3 &vector3) const
float Distance (const ::Vector3 &vector3) const
 
-Vector3 Divide (const ::Vector3 &vector3) const
Vector3 Divide (const ::Vector3 &vector3) const
 
-Vector3 Divide (const float div) const
Vector3 Divide (const float div) const
 
-float DotProduct (const ::Vector3 &vector3)
float DotProduct (const ::Vector3 &vector3)
 
-Vector3DrawCircle3D (float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)
 
-Vector3DrawCube (const ::Vector3 &size, ::Color color)
 
-Vector3DrawCube (float width, float height, float length, ::Color color)
 
-Vector3DrawCubeTexture (const ::Texture2D &texture, float width, float height, float length, ::Color color)
 
-Vector3DrawCubeWires (const ::Vector3 &size, ::Color color)
 
-Vector3DrawCubeWires (float width, float height, float length, ::Color color)
 
-Vector3DrawCylinder (float radiusTop, float radiusBottom, float height, int slices, Color color)
 
-Vector3DrawCylinderWires (float radiusTop, float radiusBottom, float height, int slices, Color color)
 
-Vector3DrawLine3D (const ::Vector3 &endPos, ::Color color)
 
-Vector3DrawPlane (const ::Vector2 &size, ::Color color)
 
-Vector3DrawPoint3D (::Color color)
 
-Vector3DrawSphere (float radius, ::Color color)
 
-Vector3DrawSphere (float radius, int rings, int slices, ::Color color)
 
-Vector3DrawSphereWires (float radius, int rings, int slices, ::Color color)
 
Vector3DrawCircle3D (float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)
 
Vector3DrawCube (const ::Vector3 &size, ::Color color)
 
Vector3DrawCube (float width, float height, float length, ::Color color)
 
Vector3DrawCubeTexture (const ::Texture2D &texture, float width, float height, float length, ::Color color)
 
Vector3DrawCubeWires (const ::Vector3 &size, ::Color color)
 
Vector3DrawCubeWires (float width, float height, float length, ::Color color)
 
Vector3DrawCylinder (float radiusTop, float radiusBottom, float height, int slices, Color color)
 
Vector3DrawCylinderWires (float radiusTop, float radiusBottom, float height, int slices, Color color)
 
Vector3DrawLine3D (const ::Vector3 &endPos, ::Color color)
 
Vector3DrawPlane (const ::Vector2 &size, ::Color color)
 
Vector3DrawPoint3D (::Color color)
 
Vector3DrawSphere (float radius, ::Color color)
 
Vector3DrawSphere (float radius, int rings, int slices, ::Color color)
 
Vector3DrawSphereWires (float radius, int rings, int slices, ::Color color)
 
float GetX () const
 Retrieves the x value for the object. More...
 
float GetZ () const
 Retrieves the z value for the object. More...
 
-float Length () const
float Length () const
 
-Vector3 Lerp (const ::Vector3 &vector3, const float amount) const
Vector3 Lerp (const ::Vector3 &vector3, const float amount) const
 
-Vector3 Max (const ::Vector3 &vector3)
Vector3 Max (const ::Vector3 &vector3)
 
-Vector3 Min (const ::Vector3 &vector3)
Vector3 Min (const ::Vector3 &vector3)
 
-Vector3 Multiply (const ::Vector3 &vector3) const
Vector3 Multiply (const ::Vector3 &vector3) const
 
-Vector3 Negate ()
Vector3 Negate ()
 
-Vector3 Normalize () const
Vector3 Normalize () const
 
-bool operator!= (const ::Vector3 &other)
bool operator!= (const ::Vector3 &other)
 
-Vector3 operator* (const ::Vector3 &vector3) const
Vector3 operator* (const ::Vector3 &vector3) const
 
-Vector3 operator* (const float scale) const
Vector3 operator* (const float scale) const
 
-Vector3operator*= (const ::Vector3 &vector3)
 
-Vector3operator*= (const float scale)
 
-Vector3 operator+ (const ::Vector3 &vector3)
Vector3operator*= (const ::Vector3 &vector3)
 
Vector3operator*= (const float scale)
 
Vector3 operator+ (const ::Vector3 &vector3)
 
-Vector3operator+= (const ::Vector3 &vector3)
 
-Vector3 operator- ()
Vector3operator+= (const ::Vector3 &vector3)
 
Vector3 operator- ()
 
-Vector3 operator- (const ::Vector3 &vector3)
Vector3 operator- (const ::Vector3 &vector3)
 
-Vector3operator-= (const ::Vector3 &vector3)
 
-Vector3 operator/ (const ::Vector3 &vector3) const
Vector3operator-= (const ::Vector3 &vector3)
 
Vector3 operator/ (const ::Vector3 &vector3) const
 
-Vector3 operator/ (const float div) const
Vector3 operator/ (const float div) const
 
-Vector3operator/= (const ::Vector3 &vector3)
 
-Vector3operator/= (const float div)
 
-Vector3operator= (const ::Vector3 &vector3)
 
-bool operator== (const ::Vector3 &other)
Vector3operator/= (const ::Vector3 &vector3)
 
Vector3operator/= (const float div)
 
Vector3operator= (const ::Vector3 &vector3)
 
bool operator== (const ::Vector3 &other)
 
-void OrthoNormalize (::Vector3 *vector3)
void OrthoNormalize (::Vector3 *vector3)
 
-Vector3 Perpendicular () const
Vector3 Perpendicular () const
 
-Vector3 Reflect (const ::Vector3 &normal) const
Vector3 Reflect (const ::Vector3 &normal) const
 
-Vector3 RotateByQuaternion (const ::Quaternion &quaternion)
Vector3 RotateByQuaternion (const ::Quaternion &quaternion)
 
-Vector3 Scale (const float scale) const
Vector3 Scale (const float scale) const
 
void SetX (float value)
 Sets the x value for the object. More...
void SetZ (float value)
 Sets the z value for the object. More...
 
-Vector3 Subtract (const ::Vector3 &vector3)
Vector3 Subtract (const ::Vector3 &vector3)
 
-Vector3 Transform (const ::Matrix &matrix) const
Vector3 Transform (const ::Matrix &matrix) const
 
- - + - +

+

Static Public Member Functions

-static Vector3 One ()
static Vector3 One ()
 
-static Vector3 Zero ()
static Vector3 Zero ()
 

Detailed Description

-

Vector3 type.

+

Vector3 type.

Definition at line 16 of file Vector3.hpp.

-

Member Function Documentation

- -

◆ GetX()

+

Constructor & Destructor Documentation

+ +

◆ Vector3() [1/6]

+ +

◆ Vector3() [2/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Vector3::Vector3 (float x,
float y,
float z 
)
+
+inline
+
+ +

Definition at line 22 of file Vector3.hpp.

- -

◆ GetY()

+ +

◆ Vector3() [3/6]

+ +

◆ Vector3() [4/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Vector3::Vector3 (float x)
+
+inline
+
+ +

Definition at line 24 of file Vector3.hpp.

- -

◆ GetZ()

+ +

◆ Vector3() [5/6]

+ +

◆ Vector3() [6/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Vector3::Vector3 (::Color color)
+
+inline
+
+ +

Definition at line 27 of file Vector3.hpp.

- -

◆ SetX()

+

Member Function Documentation

+ +

◆ Add()

+ +

◆ Barycenter()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 raylib::Vector3::Barycenter (const ::Vector3a,
const ::Vector3b,
const ::Vector3c 
)
+
+inline
+
+ +

Definition at line 200 of file Vector3.hpp.

- -

◆ SetY()

+ +

◆ CheckCollision()

- -

◆ SetZ()

+ +

◆ CrossProduct()

+ +

◆ Distance()

+ +
+
+ + + + + +
+ + + + + + + + +
float raylib::Vector3::Distance (const ::Vector3vector3) const
+
+inline
+
+ +

Definition at line 160 of file Vector3.hpp.

-
- - + +

◆ Divide() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Divide (const ::Vector3vector3) const
+
+inline
+
+ +

Definition at line 91 of file Vector3.hpp.

+ +

Referenced by operator/().

+ +
+
+ +

◆ Divide() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Divide (const float div) const
+
+inline
+
+ +

Definition at line 99 of file Vector3.hpp.

+ +
+
+ +

◆ DotProduct()

+ +
+
+ + + + + +
+ + + + + + + + +
float raylib::Vector3::DotProduct (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 156 of file Vector3.hpp.

+ +
+
+ +

◆ DrawCircle3D()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCircle3D (float radius,
const ::Vector3rotationAxis,
float rotationAngle,
Color color 
)
+
+inline
+
+ +

Definition at line 223 of file Vector3.hpp.

+ +

References DrawCircle3D().

+ +

Referenced by DrawCircle3D().

+ +
+
+ +

◆ DrawCube() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCube (const ::Vector3size,
::Color color 
)
+
+inline
+
+ +

Definition at line 237 of file Vector3.hpp.

+ +
+
+ +

◆ DrawCube() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCube (float width,
float height,
float length,
::Color color 
)
+
+inline
+
+ +

Definition at line 232 of file Vector3.hpp.

+ +

References DrawCube().

+ +

Referenced by DrawCube().

+ +
+
+ +

◆ DrawCubeTexture()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCubeTexture (const ::Texture2Dtexture,
float width,
float height,
float length,
::Color color 
)
+
+inline
+
+ +

Definition at line 252 of file Vector3.hpp.

+ +

References DrawCubeTexture().

+ +

Referenced by DrawCubeTexture().

+ +
+
+ +

◆ DrawCubeWires() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCubeWires (const ::Vector3size,
::Color color 
)
+
+inline
+
+ +

Definition at line 247 of file Vector3.hpp.

+ +
+
+ +

◆ DrawCubeWires() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCubeWires (float width,
float height,
float length,
::Color color 
)
+
+inline
+
+ +

Definition at line 242 of file Vector3.hpp.

+ +

References DrawCubeWires().

+ +

Referenced by DrawCubeWires().

+ +
+
+ +

◆ DrawCylinder()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCylinder (float radiusTop,
float radiusBottom,
float height,
int slices,
Color color 
)
+
+inline
+
+ +

Definition at line 277 of file Vector3.hpp.

+ +

References DrawCylinder().

+ +

Referenced by DrawCylinder().

+ +
+
+ +

◆ DrawCylinderWires()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawCylinderWires (float radiusTop,
float radiusBottom,
float height,
int slices,
Color color 
)
+
+inline
+
+ +

Definition at line 283 of file Vector3.hpp.

+ +

References DrawCylinderWires().

+ +

Referenced by DrawCylinderWires().

+ +
+
+ +

◆ DrawLine3D()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawLine3D (const ::Vector3endPos,
::Color color 
)
+
+inline
+
+ +

Definition at line 213 of file Vector3.hpp.

+ +

References DrawLine3D().

+ +

Referenced by DrawLine3D().

+ +
+
+ +

◆ DrawPlane()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawPlane (const ::Vector2 & size,
::Color color 
)
+
+inline
+
+ +

Definition at line 289 of file Vector3.hpp.

+ +

References DrawPlane().

+ +

Referenced by DrawPlane().

+ +
+
+ +

◆ DrawPoint3D()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::DrawPoint3D (::Color color)
+
+inline
+
+ +

Definition at line 218 of file Vector3.hpp.

+ +

References DrawPoint3D().

+ +

Referenced by DrawPoint3D().

+ +
+
+ +

◆ DrawSphere() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawSphere (float radius,
::Color color 
)
+
+inline
+
+ +

Definition at line 262 of file Vector3.hpp.

+ +

References DrawSphere().

+ +

Referenced by DrawSphere().

+ +
+
+ +

◆ DrawSphere() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawSphere (float radius,
int rings,
int slices,
::Color color 
)
+
+inline
+
+ +

Definition at line 267 of file Vector3.hpp.

+ +
+
+ +

◆ DrawSphereWires()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vector3 & raylib::Vector3::DrawSphereWires (float radius,
int rings,
int slices,
::Color color 
)
+
+inline
+
+ +

Definition at line 272 of file Vector3.hpp.

+ +

References DrawSphereWires().

+ +

Referenced by DrawSphereWires().

+ +
+
+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector3::GetX () const
+
+inline
+
+ +

Retrieves the x value for the object.

+
Returns
The x value of the object.
+ +

Definition at line 31 of file Vector3.hpp.

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector3::GetY () const
+
+inline
+
+ +

Retrieves the y value for the object.

+
Returns
The y value of the object.
+ +

Definition at line 32 of file Vector3.hpp.

+ +
+
+ +

◆ GetZ()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector3::GetZ () const
+
+inline
+
+ +

Retrieves the z value for the object.

+
Returns
The z value of the object.
+ +

Definition at line 33 of file Vector3.hpp.

+ +
+
+ +

◆ Length()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector3::Length () const
+
+inline
+
+ +

Definition at line 148 of file Vector3.hpp.

+ +
+
+ +

◆ Lerp()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector3 raylib::Vector3::Lerp (const ::Vector3vector3,
const float amount 
) const
+
+inline
+
+ +

Definition at line 164 of file Vector3.hpp.

+ +
+
+ +

◆ Max()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Max (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 196 of file Vector3.hpp.

+ +
+
+ +

◆ Min()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Min (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 192 of file Vector3.hpp.

+ +
+
+ +

◆ Multiply()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Multiply (const ::Vector3vector3) const
+
+inline
+
+ +

Definition at line 75 of file Vector3.hpp.

+ +
+
+ +

◆ Negate()

+ +
+
+ + + + + +
+ + + + + + + +
Vector3 raylib::Vector3::Negate ()
+
+inline
+
+ +

Definition at line 67 of file Vector3.hpp.

+ +
+
+ +

◆ Normalize()

+ +
+
+ + + + + +
+ + + + + + + +
Vector3 raylib::Vector3::Normalize () const
+
+inline
+
+ +

Definition at line 152 of file Vector3.hpp.

+ +
+
+ +

◆ One()

+ +
+
+ + + + + +
+ + + + + + + +
static Vector3 raylib::Vector3::One ()
+
+inlinestatic
+
+ +

Definition at line 208 of file Vector3.hpp.

+ +
+
+ +

◆ operator!=()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Vector3::operator!= (const ::Vector3other)
+
+inline
+
+ +

Definition at line 46 of file Vector3.hpp.

+ +
+
+ +

◆ operator*() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::operator* (const ::Vector3vector3) const
+
+inline
+
+ +

Definition at line 79 of file Vector3.hpp.

+ +
+
+ +

◆ operator*() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::operator* (const float scale) const
+
+inline
+
+ +

Definition at line 87 of file Vector3.hpp.

+ +
+
+ +

◆ operator*=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::operator*= (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 120 of file Vector3.hpp.

+ +
+
+ +

◆ operator*=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::operator*= (const float scale)
+
+inline
+
+ +

Definition at line 126 of file Vector3.hpp.

+ +
+
+ +

◆ operator+()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::operator+ (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 55 of file Vector3.hpp.

+ +
+
+ +

◆ operator+=()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::operator+= (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 107 of file Vector3.hpp.

+ +
+
+ +

◆ operator-() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
Vector3 raylib::Vector3::operator- ()
+
+inline
+
+ +

Definition at line 71 of file Vector3.hpp.

+ +
+
+ +

◆ operator-() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::operator- (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 63 of file Vector3.hpp.

+ +
+
+ +

◆ operator-=()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::operator-= (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 113 of file Vector3.hpp.

+ +
+
+ +

◆ operator/() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::operator/ (const ::Vector3vector3) const
+
+inline
+
+ +

Definition at line 95 of file Vector3.hpp.

+ +
+
+ +

◆ operator/() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::operator/ (const float div) const
+
+inline
+
+ +

Definition at line 103 of file Vector3.hpp.

+ +

References Divide().

+ +
+
+ +

◆ operator/=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::operator/= (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 132 of file Vector3.hpp.

+ +
+
+ +

◆ operator/=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::operator/= (const float div)
+
+inline
+
+ +

Definition at line 140 of file Vector3.hpp.

+ +
+
+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 & raylib::Vector3::operator= (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 35 of file Vector3.hpp.

+ +
+
+ +

◆ operator==()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Vector3::operator== (const ::Vector3other)
+
+inline
+
+ +

Definition at line 40 of file Vector3.hpp.

+ +
+
+ +

◆ OrthoNormalize()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector3::OrthoNormalize (::Vector3vector3)
+
+inline
+
+ +

Definition at line 176 of file Vector3.hpp.

+ +
+
+ +

◆ Perpendicular()

+ +
+
+ + + + + +
+ + + + + + + +
Vector3 raylib::Vector3::Perpendicular () const
+
+inline
+
+ +

Definition at line 172 of file Vector3.hpp.

+ +
+
+ +

◆ Reflect()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Reflect (const ::Vector3normal) const
+
+inline
+
+ +

Definition at line 188 of file Vector3.hpp.

+ +
+
+ +

◆ RotateByQuaternion()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::RotateByQuaternion (const ::Quaternionquaternion)
+
+inline
+
+ +

Definition at line 184 of file Vector3.hpp.

+ +
+
+ +

◆ Scale()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Scale (const float scale) const
+
+inline
+
+ +

Definition at line 83 of file Vector3.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector3::SetX (float value)
+
+inline
+
+ +

Sets the x value for the object.

+
Parameters
+ + +
valueThe value of which to set x to.
+
+
+ +

Definition at line 31 of file Vector3.hpp.

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector3::SetY (float value)
+
+inline
+
+ +

Sets the y value for the object.

+
Parameters
+ + +
valueThe value of which to set y to.
+
+
+ +

Definition at line 32 of file Vector3.hpp.

+ +
+
+ +

◆ SetZ()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector3::SetZ (float value)
+
+inline
+
+ +

Sets the z value for the object.

+
Parameters
+ + +
valueThe value of which to set z to.
+
+
+ +

Definition at line 33 of file Vector3.hpp.

+ +
+
+ +

◆ Subtract()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Subtract (const ::Vector3vector3)
+
+inline
+
+ +

Definition at line 59 of file Vector3.hpp.

+ +
+
+ +

◆ Transform()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector3 raylib::Vector3::Transform (const ::Matrix & matrix) const
+
+inline
+
+ +

Definition at line 180 of file Vector3.hpp.

+ +
+
+ +

◆ Zero()

+ +
+
+ + + + + +
+ + + + + + + +
static Vector3 raylib::Vector3::Zero ()
+
+inlinestatic
+
+ +

Definition at line 204 of file Vector3.hpp.

+ +
+
+

+

+ + diff --git a/docs/classraylib_1_1_vector3.js b/docs/classraylib_1_1_vector3.js new file mode 100644 index 00000000..7549ba02 --- /dev/null +++ b/docs/classraylib_1_1_vector3.js @@ -0,0 +1,69 @@ +var classraylib_1_1_vector3 = +[ + [ "Vector3", "classraylib_1_1_vector3.html#a28f01bc9b06a7482caa86e84e7fe6fd6", null ], + [ "Vector3", "classraylib_1_1_vector3.html#a3ab43e8992532e03b278e5315391e657", null ], + [ "Vector3", "classraylib_1_1_vector3.html#a111fc1d7cd09c6a10a05d3918e431c38", null ], + [ "Vector3", "classraylib_1_1_vector3.html#a5b6463f85404813d49cd95376e92ff56", null ], + [ "Vector3", "classraylib_1_1_vector3.html#adad550f85023b399e2d736efdaaa8bbd", null ], + [ "Vector3", "classraylib_1_1_vector3.html#abf9e88a2959a105153cc6640e0fea4b5", null ], + [ "Add", "classraylib_1_1_vector3.html#a640c5d01ab7d004830de1f7609abfdd2", null ], + [ "Barycenter", "classraylib_1_1_vector3.html#a3adb51fa6e3c137095ba6aa60f976ddc", null ], + [ "CheckCollision", "classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205", null ], + [ "CrossProduct", "classraylib_1_1_vector3.html#a9f30fdbf652bcd0f5883937bdac79973", null ], + [ "Distance", "classraylib_1_1_vector3.html#ad4c5a6a278eeae5371e45a14bad4a7d1", null ], + [ "Divide", "classraylib_1_1_vector3.html#a93595f9db4555c26eadb2c0370ca1435", null ], + [ "Divide", "classraylib_1_1_vector3.html#a9f644e6c306ae5cf3a68c3f4900ef9e6", null ], + [ "DotProduct", "classraylib_1_1_vector3.html#ad5ed567a46fa3b08f77e9a05338d2214", null ], + [ "DrawCircle3D", "classraylib_1_1_vector3.html#aebaf47cab425aedbcb51f3e659dd6651", null ], + [ "DrawCube", "classraylib_1_1_vector3.html#ac94d3f679b33dafe86f65f6eda901d6f", null ], + [ "DrawCube", "classraylib_1_1_vector3.html#a8e2e73ad510a38d0e54098817cd44e06", null ], + [ "DrawCubeTexture", "classraylib_1_1_vector3.html#a518280d8efae9b3f32b11ce481c90f6c", null ], + [ "DrawCubeWires", "classraylib_1_1_vector3.html#a61c5da9cd105142f99566726d3874fd5", null ], + [ "DrawCubeWires", "classraylib_1_1_vector3.html#a57d3400cb17fe30e3c8df1f92a7a666a", null ], + [ "DrawCylinder", "classraylib_1_1_vector3.html#a7fd3f80620c2b0a1a00bf10f21cd1417", null ], + [ "DrawCylinderWires", "classraylib_1_1_vector3.html#ae4c1ed7bd96f879f272fa3a35baf84b7", null ], + [ "DrawLine3D", "classraylib_1_1_vector3.html#ac0ecd225214ee0916c4bb8b94663b9e8", null ], + [ "DrawPlane", "classraylib_1_1_vector3.html#a2f530ead1069bf375401680ee4378563", null ], + [ "DrawPoint3D", "classraylib_1_1_vector3.html#abfeb64fa51e67e88bb5889eb8680a090", null ], + [ "DrawSphere", "classraylib_1_1_vector3.html#a0119b7cf3aa61592d70359138a19fe86", null ], + [ "DrawSphere", "classraylib_1_1_vector3.html#a33a5693fc2002b329c7a9d4d27a47366", null ], + [ "DrawSphereWires", "classraylib_1_1_vector3.html#a30bb3389ffcd2cc3fa93df19d6350d7c", null ], + [ "GetX", "classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6", null ], + [ "GetY", "classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04", null ], + [ "GetZ", "classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004", null ], + [ "Length", "classraylib_1_1_vector3.html#a8a34da2f9489bb78d4862cdedd14cd5e", null ], + [ "Lerp", "classraylib_1_1_vector3.html#a81c113692317fc0eab01128c10f44373", null ], + [ "Max", "classraylib_1_1_vector3.html#a6000c34fb8a54d9e01f9b3e7da063bdd", null ], + [ "Min", "classraylib_1_1_vector3.html#a6fae0923d50becfa10b9d347080fc360", null ], + [ "Multiply", "classraylib_1_1_vector3.html#ad06dabf1a51260d6cbf3f4381ba15ab4", null ], + [ "Negate", "classraylib_1_1_vector3.html#a475ed42613db507afa6f7fdcec14a25c", null ], + [ "Normalize", "classraylib_1_1_vector3.html#a3bb4cba279bfbd545d550c4ddc35f66b", null ], + [ "One", "classraylib_1_1_vector3.html#abffd5504ca7891659fc730b19dd5f495", null ], + [ "operator!=", "classraylib_1_1_vector3.html#a18d3efa656a5cbb4abd64217b7817136", null ], + [ "operator*", "classraylib_1_1_vector3.html#a21769cdf336ef366d4278d2120c35a9e", null ], + [ "operator*", "classraylib_1_1_vector3.html#a02de4f00f74c5abdacf1659f116f06e5", null ], + [ "operator*=", "classraylib_1_1_vector3.html#a2a2cc2e29121125cc85735ff49e12695", null ], + [ "operator*=", "classraylib_1_1_vector3.html#a432cfa34603d549a8dc38e20c226eb71", null ], + [ "operator+", "classraylib_1_1_vector3.html#a4564e8aa7532966eed679cd730c39c36", null ], + [ "operator+=", "classraylib_1_1_vector3.html#aa0eb200f1f72d8ad8ca0457549cfef04", null ], + [ "operator-", "classraylib_1_1_vector3.html#a9999af247190e4b6969f61d98e3be934", null ], + [ "operator-", "classraylib_1_1_vector3.html#a843267dd14d8a706106dd5258cfa6676", null ], + [ "operator-=", "classraylib_1_1_vector3.html#abc2bd9029aeb4c4a3545ee230473ee32", null ], + [ "operator/", "classraylib_1_1_vector3.html#a085a75924d1635c674f444988bcc7ebb", null ], + [ "operator/", "classraylib_1_1_vector3.html#a394cfcb895d6d8ba3c432b1af9d390cb", null ], + [ "operator/=", "classraylib_1_1_vector3.html#a1ed7a768be6dfffa9bedc536864b4ec4", null ], + [ "operator/=", "classraylib_1_1_vector3.html#acbb53d7cbedc612830b9a08284963b10", null ], + [ "operator=", "classraylib_1_1_vector3.html#a0e1bfe79b5501da15fc137feaa639615", null ], + [ "operator==", "classraylib_1_1_vector3.html#a848a7b866cadd1e96c4a472343be47cb", null ], + [ "OrthoNormalize", "classraylib_1_1_vector3.html#a39326460de2d051c5bde8366a7101de6", null ], + [ "Perpendicular", "classraylib_1_1_vector3.html#a7b67640a2ce5eee35e5dba5af88fc020", null ], + [ "Reflect", "classraylib_1_1_vector3.html#a65595b203f521068db930e7d6bccc8c8", null ], + [ "RotateByQuaternion", "classraylib_1_1_vector3.html#a3c7424a3f680503dcd338861a19c53e1", null ], + [ "Scale", "classraylib_1_1_vector3.html#a22ca33a36bf98e27801b523299990c51", null ], + [ "SetX", "classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c", null ], + [ "SetY", "classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085", null ], + [ "SetZ", "classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506", null ], + [ "Subtract", "classraylib_1_1_vector3.html#af99d38f6a5f8100a91397a11994c9717", null ], + [ "Transform", "classraylib_1_1_vector3.html#a50c6b6a97a6f05b042c58b83564081e5", null ], + [ "Zero", "classraylib_1_1_vector3.html#ae3a9048507c018f7a90e86e2131f2ea5", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_vector4-members.html b/docs/classraylib_1_1_vector4-members.html index a28123f1..98d0d69a 100644 --- a/docs/classraylib_1_1_vector4-members.html +++ b/docs/classraylib_1_1_vector4-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Vector4 Member List
+
raylib::Vector4 Member List

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

- - - - - - + + + + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
ColorFromNormalized() const (defined in raylib::Vector4)raylib::Vector4inline
FromAxisAngle(const ::Vector3 &axis, const float angle) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromEuler(const float yaw, const float pitch, const float roll) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromEuler(const ::Vector3 &vector3) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromMatrix(const ::Matrix &matrix) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to) (defined in raylib::Vector4)raylib::Vector4inlinestatic
ColorFromNormalized() constraylib::Vector4inline
FromAxisAngle(const ::Vector3 &axis, const float angle)raylib::Vector4inlinestatic
FromEuler(const float yaw, const float pitch, const float roll)raylib::Vector4inlinestatic
FromEuler(const ::Vector3 &vector3)raylib::Vector4inlinestatic
FromMatrix(const ::Matrix &matrix)raylib::Vector4inlinestatic
FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to)raylib::Vector4inlinestatic
GetW() constraylib::Vector4inline
GetX() constraylib::Vector4inline
GetX() constraylib::Vector4inline
GetY() constraylib::Vector4inline
GetZ() constraylib::Vector4inline
Identity() (defined in raylib::Vector4)raylib::Vector4inlinestatic
Invert() const (defined in raylib::Vector4)raylib::Vector4inline
Length() const (defined in raylib::Vector4)raylib::Vector4inline
Lerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
Multiply(const ::Vector4 &vector4) const (defined in raylib::Vector4)raylib::Vector4inline
Nlerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
Normalize() const (defined in raylib::Vector4)raylib::Vector4inline
operator Color() (defined in raylib::Vector4)raylib::Vector4inline
operator!=(const ::Vector4 &other) (defined in raylib::Vector4)raylib::Vector4inline
operator*(const ::Vector4 &vector4) const (defined in raylib::Vector4)raylib::Vector4inline
operator::Rectangle() const (defined in raylib::Vector4)raylib::Vector4inline
operator=(const ::Vector4 &vector4) (defined in raylib::Vector4)raylib::Vector4inline
operator==(const ::Vector4 &other) (defined in raylib::Vector4)raylib::Vector4inline
SetW(float value)raylib::Vector4inline
GetZ() constraylib::Vector4inline
Identity()raylib::Vector4inlinestatic
Invert() constraylib::Vector4inline
Length() constraylib::Vector4inline
Lerp(const ::Vector4 &vector4, float amount) constraylib::Vector4inline
Multiply(const ::Vector4 &vector4) constraylib::Vector4inline
Nlerp(const ::Vector4 &vector4, float amount) constraylib::Vector4inline
Normalize() constraylib::Vector4inline
operator Color()raylib::Vector4inline
operator!=(const ::Vector4 &other)raylib::Vector4inline
operator*(const ::Vector4 &vector4) constraylib::Vector4inline
operator::Rectangle() constraylib::Vector4inline
operator=(const ::Vector4 &vector4)raylib::Vector4inline
operator==(const ::Vector4 &other)raylib::Vector4inline
SetW(float value)raylib::Vector4inline
SetX(float value)raylib::Vector4inline
SetY(float value)raylib::Vector4inline
SetY(float value)raylib::Vector4inline
SetZ(float value)raylib::Vector4inline
Slerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
ToAxisAngle(::Vector3 *outAxis, float *outAngle) (defined in raylib::Vector4)raylib::Vector4inline
ToAxisAngle() (defined in raylib::Vector4)raylib::Vector4inline
ToEuler() (defined in raylib::Vector4)raylib::Vector4inline
ToMatrix() const (defined in raylib::Vector4)raylib::Vector4inline
ToRectangle() (defined in raylib::Vector4)raylib::Vector4inline
Transform(const ::Matrix &matrix) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(const ::Vector4 &vec) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x, float y, float z, float w) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x, float y, float z) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x, float y) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x) (defined in raylib::Vector4)raylib::Vector4inline
Vector4() (defined in raylib::Vector4)raylib::Vector4inline
Vector4(::Rectangle rect) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(::Color color) (defined in raylib::Vector4)raylib::Vector4inline
Slerp(const ::Vector4 &vector4, float amount) constraylib::Vector4inline
ToAxisAngle(::Vector3 *outAxis, float *outAngle)raylib::Vector4inline
ToAxisAngle()raylib::Vector4inline
ToEuler()raylib::Vector4inline
ToMatrix() constraylib::Vector4inline
ToRectangle()raylib::Vector4inline
Transform(const ::Matrix &matrix)raylib::Vector4inline
Vector4(const ::Vector4 &vec)raylib::Vector4inline
Vector4(float x, float y, float z, float w)raylib::Vector4inline
Vector4(float x, float y, float z)raylib::Vector4inline
Vector4(float x, float y)raylib::Vector4inline
Vector4(float x)raylib::Vector4inline
Vector4()raylib::Vector4inline
Vector4(::Rectangle rect)raylib::Vector4inline
Vector4(::Color color)raylib::Vector4inline
+

- + diff --git a/docs/classraylib_1_1_vector4.html b/docs/classraylib_1_1_vector4.html index 25c9ecfd..fac6f725 100644 --- a/docs/classraylib_1_1_vector4.html +++ b/docs/classraylib_1_1_vector4.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Vector4 Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Vector4 Class Reference
+
raylib::Vector4 Class Reference

Vector4 type. More...

+ +

#include <Vector4.hpp>

- - + + + - + - + - + - + - + - + - + @@ -117,41 +130,29 @@ - + - + - + - + - + - + - + - + - + - + - - - + + + @@ -165,56 +166,43 @@ - + - - - + + + - + - + - + - +

+

Public Member Functions

Vector4 (::Color color)
 Vector4 ()
 
 Vector4 (::Color color)
 
Vector4 (::Rectangle rect)
 Vector4 (::Rectangle rect)
 
Vector4 (const ::Vector4 &vec)
 Vector4 (const ::Vector4 &vec)
 
Vector4 (float x)
 Vector4 (float x)
 
Vector4 (float x, float y)
 Vector4 (float x, float y)
 
Vector4 (float x, float y, float z)
 Vector4 (float x, float y, float z)
 
Vector4 (float x, float y, float z, float w)
 Vector4 (float x, float y, float z, float w)
 
-Color ColorFromNormalized () const
Color ColorFromNormalized () const
 
float GetW () const
 Retrieves the w value for the object. More...
float GetZ () const
 Retrieves the z value for the object. More...
 
-Vector4 Invert () const
Vector4 Invert () const
 
-float Length () const
float Length () const
 
-Vector4 Lerp (const ::Vector4 &vector4, float amount) const
Vector4 Lerp (const ::Vector4 &vector4, float amount) const
 
-Vector4 Multiply (const ::Vector4 &vector4) const
Vector4 Multiply (const ::Vector4 &vector4) const
 
-Vector4 Nlerp (const ::Vector4 &vector4, float amount) const
Vector4 Nlerp (const ::Vector4 &vector4, float amount) const
 
-Vector4 Normalize () const
Vector4 Normalize () const
 
operator Color ()
 operator Color ()
 
-bool operator!= (const ::Vector4 &other)
bool operator!= (const ::Vector4 &other)
 
-Vector4 operator* (const ::Vector4 &vector4) const
Vector4 operator* (const ::Vector4 &vector4) const
 
operator::Rectangle () const
 operator::Rectangle () const
 
-Vector4operator= (const ::Vector4 &vector4)
 
-bool operator== (const ::Vector4 &other)
Vector4operator= (const ::Vector4 &vector4)
 
bool operator== (const ::Vector4 &other)
 
void SetW (float value)
 Sets the w value for the object. More...
void SetZ (float value)
 Sets the z value for the object. More...
 
-Vector4 Slerp (const ::Vector4 &vector4, float amount) const
Vector4 Slerp (const ::Vector4 &vector4, float amount) const
 
-std::pair< Vector3, float > ToAxisAngle ()
 
-void ToAxisAngle (::Vector3 *outAxis, float *outAngle)
std::pair< Vector3, float > ToAxisAngle ()
 
void ToAxisAngle (::Vector3 *outAxis, float *outAngle)
 
-Vector3 ToEuler ()
Vector3 ToEuler ()
 
-Matrix ToMatrix () const
Matrix ToMatrix () const
 
-inline ::Rectangle ToRectangle ()
inline ::Rectangle ToRectangle ()
 
-Vector4 Transform (const ::Matrix &matrix)
Vector4 Transform (const ::Matrix &matrix)
 
- - + - + - + - + - + - +

+

Static Public Member Functions

-static Vector4 FromAxisAngle (const ::Vector3 &axis, const float angle)
static Vector4 FromAxisAngle (const ::Vector3 &axis, const float angle)
 
-static Vector4 FromEuler (const ::Vector3 &vector3)
static Vector4 FromEuler (const ::Vector3 &vector3)
 
-static Vector4 FromEuler (const float yaw, const float pitch, const float roll)
static Vector4 FromEuler (const float yaw, const float pitch, const float roll)
 
-static Vector4 FromMatrix (const ::Matrix &matrix)
static Vector4 FromMatrix (const ::Matrix &matrix)
 
-static Vector4 FromVector3ToVector3 (const ::Vector3 &from, const ::Vector3 &to)
static Vector4 FromVector3ToVector3 (const ::Vector3 &from, const ::Vector3 &to)
 
-static Vector4 Identity ()
static Vector4 Identity ()
 

Detailed Description

-

Vector4 type.

+

Vector4 type.

Definition at line 17 of file Vector4.hpp.

-

Member Function Documentation

- -

◆ GetW()

+

Constructor & Destructor Documentation

+ +

◆ Vector4() [1/8]

- -

◆ GetX()

+ +

◆ Vector4() [2/8]

+ +

◆ Vector4() [3/8]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Vector4::Vector4 (float x,
float y,
float z 
)
+
+inline
+
+ +

Definition at line 24 of file Vector4.hpp.

- -

◆ GetY()

+ +

◆ Vector4() [4/8]

+ +

◆ Vector4() [5/8]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Vector4::Vector4 (float x)
+
+inline
+
+ +

Definition at line 26 of file Vector4.hpp.

- -

◆ GetZ()

+ +

◆ Vector4() [6/8]

- -

◆ SetW()

+ +

◆ Vector4() [7/8]

- -

◆ SetX()

+ +

◆ Vector4() [8/8]

+

Member Function Documentation

+ +

◆ ColorFromNormalized()

+ +
+
+ + + + + +
+ + + + + + + +
Color raylib::Vector4::ColorFromNormalized () const
+
+inline
+
+ +

Definition at line 148 of file Vector4.hpp.

+ +

Referenced by operator Color().

- -

◆ SetY()

+ +

◆ FromAxisAngle()

+ +

◆ FromEuler() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
static Vector4 raylib::Vector4::FromEuler (const ::Vector3 & vector3)
+
+inlinestatic
+
+ +

Definition at line 139 of file Vector4.hpp.

- -

◆ SetZ()

+ +

◆ FromEuler() [2/2]

+ +

◆ FromMatrix()

+ +
+
+ + + + + +
+ + + + + + + + +
static Vector4 raylib::Vector4::FromMatrix (const ::Matrix & matrix)
+
+inlinestatic
+
+ +

Definition at line 127 of file Vector4.hpp.

-
- - + +

◆ FromVector3ToVector3()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
static Vector4 raylib::Vector4::FromVector3ToVector3 (const ::Vector3 & from,
const ::Vector3 & to 
)
+
+inlinestatic
+
+ +

Definition at line 123 of file Vector4.hpp.

+ +
+
+ +

◆ GetW()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetW () const
+
+inline
+
+ +

Retrieves the w value for the object.

+
Returns
The w value of the object.
+ +

Definition at line 37 of file Vector4.hpp.

+ +
+
+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetX () const
+
+inline
+
+ +

Retrieves the x value for the object.

+
Returns
The x value of the object.
+ +

Definition at line 34 of file Vector4.hpp.

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetY () const
+
+inline
+
+ +

Retrieves the y value for the object.

+
Returns
The y value of the object.
+ +

Definition at line 35 of file Vector4.hpp.

+ +
+
+ +

◆ GetZ()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetZ () const
+
+inline
+
+ +

Retrieves the z value for the object.

+
Returns
The z value of the object.
+ +

Definition at line 36 of file Vector4.hpp.

+ +
+
+ +

◆ Identity()

+ +
+
+ + + + + +
+ + + + + + + +
static Vector4 raylib::Vector4::Identity ()
+
+inlinestatic
+
+ +

Definition at line 119 of file Vector4.hpp.

+ +
+
+ +

◆ Invert()

+ +
+
+ + + + + +
+ + + + + + + +
Vector4 raylib::Vector4::Invert () const
+
+inline
+
+ +

Definition at line 96 of file Vector4.hpp.

+ +
+
+ +

◆ Length()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::Length () const
+
+inline
+
+ +

Definition at line 88 of file Vector4.hpp.

+ +
+
+ +

◆ Lerp()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector4 raylib::Vector4::Lerp (const ::Vector4vector4,
float amount 
) const
+
+inline
+
+ +

Definition at line 72 of file Vector4.hpp.

+ +
+
+ +

◆ Multiply()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector4 raylib::Vector4::Multiply (const ::Vector4vector4) const
+
+inline
+
+ +

Definition at line 64 of file Vector4.hpp.

+ +
+
+ +

◆ Nlerp()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector4 raylib::Vector4::Nlerp (const ::Vector4vector4,
float amount 
) const
+
+inline
+
+ +

Definition at line 76 of file Vector4.hpp.

+ +
+
+ +

◆ Normalize()

+ +
+
+ + + + + +
+ + + + + + + +
Vector4 raylib::Vector4::Normalize () const
+
+inline
+
+ +

Definition at line 92 of file Vector4.hpp.

+ +
+
+ +

◆ operator Color()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Vector4::operator Color ()
+
+inline
+
+ +

Definition at line 152 of file Vector4.hpp.

+ +

References ColorFromNormalized().

+ +
+
+ +

◆ operator!=()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Vector4::operator!= (const ::Vector4other)
+
+inline
+
+ +

Definition at line 51 of file Vector4.hpp.

+ +
+
+ +

◆ operator*()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector4 raylib::Vector4::operator* (const ::Vector4vector4) const
+
+inline
+
+ +

Definition at line 68 of file Vector4.hpp.

+ +
+
+ +

◆ operator::Rectangle()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Vector4::operator::Rectangle () const
+
+inline
+
+ +

Definition at line 59 of file Vector4.hpp.

+ +
+
+ +

◆ operator=()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector4 & raylib::Vector4::operator= (const ::Vector4vector4)
+
+inline
+
+ +

Definition at line 39 of file Vector4.hpp.

+ +
+
+ +

◆ operator==()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Vector4::operator== (const ::Vector4other)
+
+inline
+
+ +

Definition at line 44 of file Vector4.hpp.

+ +
+
+ +

◆ SetW()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetW (float value)
+
+inline
+
+ +

Sets the w value for the object.

+
Parameters
+ + +
valueThe value of which to set w to.
+
+
+ +

Definition at line 37 of file Vector4.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetX (float value)
+
+inline
+
+ +

Sets the x value for the object.

+
Parameters
+ + +
valueThe value of which to set x to.
+
+
+ +

Definition at line 34 of file Vector4.hpp.

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetY (float value)
+
+inline
+
+ +

Sets the y value for the object.

+
Parameters
+ + +
valueThe value of which to set y to.
+
+
+ +

Definition at line 35 of file Vector4.hpp.

+ +
+
+ +

◆ SetZ()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetZ (float value)
+
+inline
+
+ +

Sets the z value for the object.

+
Parameters
+ + +
valueThe value of which to set z to.
+
+
+ +

Definition at line 36 of file Vector4.hpp.

+ +
+
+ +

◆ Slerp()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Vector4 raylib::Vector4::Slerp (const ::Vector4vector4,
float amount 
) const
+
+inline
+
+ +

Definition at line 80 of file Vector4.hpp.

+ +
+
+ +

◆ ToAxisAngle() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
std::pair< Vector3, float > raylib::Vector4::ToAxisAngle ()
+
+inline
+
+ +

Definition at line 104 of file Vector4.hpp.

+ +
+
+ +

◆ ToAxisAngle() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void raylib::Vector4::ToAxisAngle (::Vector3 * outAxis,
float * outAngle 
)
+
+inline
+
+ +

Definition at line 100 of file Vector4.hpp.

+ +
+
+ +

◆ ToEuler()

+ +
+
+ + + + + +
+ + + + + + + +
Vector3 raylib::Vector4::ToEuler ()
+
+inline
+
+ +

Definition at line 143 of file Vector4.hpp.

+ +
+
+ +

◆ ToMatrix()

+ +
+
+ + + + + +
+ + + + + + + +
Matrix raylib::Vector4::ToMatrix () const
+
+inline
+
+ +

Definition at line 84 of file Vector4.hpp.

+ +
+
+ +

◆ ToRectangle()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Rectangle raylib::Vector4::ToRectangle ()
+
+inline
+
+ +

Definition at line 55 of file Vector4.hpp.

+ +
+
+ +

◆ Transform()

+ +
+
+ + + + + +
+ + + + + + + + +
Vector4 raylib::Vector4::Transform (const ::Matrix & matrix)
+
+inline
+
+ +

Definition at line 115 of file Vector4.hpp.

+ +
+
+

+

+ + diff --git a/docs/classraylib_1_1_vector4.js b/docs/classraylib_1_1_vector4.js new file mode 100644 index 00000000..099571b9 --- /dev/null +++ b/docs/classraylib_1_1_vector4.js @@ -0,0 +1,45 @@ +var classraylib_1_1_vector4 = +[ + [ "Vector4", "classraylib_1_1_vector4.html#a35894d9424422dc7f4c59d6b99dc652d", null ], + [ "Vector4", "classraylib_1_1_vector4.html#a9111e43425e61eb7c7d22b5ff0cf57b6", null ], + [ "Vector4", "classraylib_1_1_vector4.html#a0aa651ea0c915ccf0007397c13a553b2", null ], + [ "Vector4", "classraylib_1_1_vector4.html#acf017370db9f15af801e90cef97fe055", null ], + [ "Vector4", "classraylib_1_1_vector4.html#a7af3871a8ecd1138280e670d06ad4a75", null ], + [ "Vector4", "classraylib_1_1_vector4.html#ad43ace9c5d2dba1a7aa4d71d9395834a", null ], + [ "Vector4", "classraylib_1_1_vector4.html#a4dc7917c7f0335ff55c87dc4ef7d7d1c", null ], + [ "Vector4", "classraylib_1_1_vector4.html#aa9a25ed14de003e3611bc1801dbc90a9", null ], + [ "ColorFromNormalized", "classraylib_1_1_vector4.html#a6bdbffc997711e3b3876dace2471b1bb", null ], + [ "FromAxisAngle", "classraylib_1_1_vector4.html#a7b19708f1d8f0e4056fc1050768bb831", null ], + [ "FromEuler", "classraylib_1_1_vector4.html#a0fda15f29e8c5bd3d3170eddf332592e", null ], + [ "FromEuler", "classraylib_1_1_vector4.html#af0ef6849109ce23736572ac55854f693", null ], + [ "FromMatrix", "classraylib_1_1_vector4.html#aba134afd1e66d71cfa68ca020cb3ce2c", null ], + [ "FromVector3ToVector3", "classraylib_1_1_vector4.html#aab5725e573a60315acd1f733316af2ea", null ], + [ "GetW", "classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594", null ], + [ "GetX", "classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f", null ], + [ "GetY", "classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab", null ], + [ "GetZ", "classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c", null ], + [ "Identity", "classraylib_1_1_vector4.html#a90ec6deb30c8bbe61d7a9c3d5a395766", null ], + [ "Invert", "classraylib_1_1_vector4.html#a93d816c446273c23963fcf92fbe5b9b0", null ], + [ "Length", "classraylib_1_1_vector4.html#a8595e296feb4b4ecb2caccecd5bbef39", null ], + [ "Lerp", "classraylib_1_1_vector4.html#a0ab98322e7425630c16fe296c667e37b", null ], + [ "Multiply", "classraylib_1_1_vector4.html#acad897765f76443fbd64b5dceac94a2e", null ], + [ "Nlerp", "classraylib_1_1_vector4.html#aa38c1551be57c551a63a089bba0f2ee0", null ], + [ "Normalize", "classraylib_1_1_vector4.html#a89fc9589df53ce3d66a7c8862f1056f7", null ], + [ "operator Color", "classraylib_1_1_vector4.html#aed3d1810f67b55a9a0a1f8684b17bbea", null ], + [ "operator!=", "classraylib_1_1_vector4.html#a1141de56267ab5abab10f1990d381185", null ], + [ "operator*", "classraylib_1_1_vector4.html#aea629f0a0c2ec1213535b9ab14586533", null ], + [ "operator::Rectangle", "classraylib_1_1_vector4.html#ab202f0a0df34580b5f330cd54aa6a633", null ], + [ "operator=", "classraylib_1_1_vector4.html#ace9d16e7d35934a5a5d4bfbcf073221c", null ], + [ "operator==", "classraylib_1_1_vector4.html#a00cc9bb369819d6628540cbda82bf47f", null ], + [ "SetW", "classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc", null ], + [ "SetX", "classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec", null ], + [ "SetY", "classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3", null ], + [ "SetZ", "classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6", null ], + [ "Slerp", "classraylib_1_1_vector4.html#ad74cf2c3cc806dda6ac299333dd7420b", null ], + [ "ToAxisAngle", "classraylib_1_1_vector4.html#af8db6bdfea9975901bb4df2acfdb8361", null ], + [ "ToAxisAngle", "classraylib_1_1_vector4.html#adae5284864f79d98fec6b17afad99986", null ], + [ "ToEuler", "classraylib_1_1_vector4.html#a65730cc70476be33eb1e4daf33a0fd8d", null ], + [ "ToMatrix", "classraylib_1_1_vector4.html#af04213c7901309ddb69521aad96678b2", null ], + [ "ToRectangle", "classraylib_1_1_vector4.html#ad3a4a5db5d4644bbbe6f634c7c16f966", null ], + [ "Transform", "classraylib_1_1_vector4.html#ad52462304fa03aed5904ea0b3ec8cd84", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_vr_stereo_config-members.html b/docs/classraylib_1_1_vr_stereo_config-members.html index e4d2145d..1e53a372 100644 --- a/docs/classraylib_1_1_vr_stereo_config-members.html +++ b/docs/classraylib_1_1_vr_stereo_config-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::VrStereoConfig Member List
+
raylib::VrStereoConfig Member List

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

- - + + - - - + + +
BeginMode()raylib::VrStereoConfiginline
EndDrawing()raylib::VrStereoConfiginline
BeginMode()raylib::VrStereoConfiginline
EndDrawing()raylib::VrStereoConfiginline
Init(const ::VrDeviceInfo &info)raylib::VrStereoConfiginline
Unload()raylib::VrStereoConfiginline
VrStereoConfig(const ::VrDeviceInfo &info) (defined in raylib::VrStereoConfig)raylib::VrStereoConfiginline
~VrStereoConfig()raylib::VrStereoConfiginline
Unload()raylib::VrStereoConfiginline
VrStereoConfig(const ::VrDeviceInfo &info)raylib::VrStereoConfiginline
~VrStereoConfig()raylib::VrStereoConfiginline
+

- + diff --git a/docs/classraylib_1_1_vr_stereo_config.html b/docs/classraylib_1_1_vr_stereo_config.html index 4dcc5ec0..9513869f 100644 --- a/docs/classraylib_1_1_vr_stereo_config.html +++ b/docs/classraylib_1_1_vr_stereo_config.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::VrStereoConfig Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
-
-
raylib::VrStereoConfig Class Reference
+
raylib::VrStereoConfig Class Reference

VR stereo config functions for VR simulator. More...

+ +

#include <VrStereoConfig.hpp>

- - + - - + + - - - - - - - - + + + + + + + + - - + +

+

Public Member Functions

VrStereoConfig (const ::VrDeviceInfo &info)
 VrStereoConfig (const ::VrDeviceInfo &info)
 
~VrStereoConfig ()
 Unload VR stereo config.
 ~VrStereoConfig ()
 Unload VR stereo config. More...
 
-VrStereoConfigBeginMode ()
 Begin stereo rendering.
 
-VrStereoConfigEndDrawing ()
 End stereo rendering.
 
-void Init (const ::VrDeviceInfo &info)
 Load VR stereo config for VR simulator device parameters.
VrStereoConfigBeginMode ()
 Begin stereo rendering. More...
 
VrStereoConfigEndDrawing ()
 End stereo rendering. More...
 
void Init (const ::VrDeviceInfo &info)
 Load VR stereo config for VR simulator device parameters. More...
 
-void Unload ()
 Unload VR stereo config.
void Unload ()
 Unload VR stereo config. More...
 

Detailed Description

-

VR stereo config functions for VR simulator.

+

VR stereo config functions for VR simulator.

Definition at line 11 of file VrStereoConfig.hpp.

-
+

Constructor & Destructor Documentation

+ +

◆ VrStereoConfig()

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::VrStereoConfig::VrStereoConfig (const ::VrDeviceInfo & info)
+
+inline
+
+ +

Definition at line 13 of file VrStereoConfig.hpp.

+ +

References Init().

+ +
+
+ +

◆ ~VrStereoConfig()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::VrStereoConfig::~VrStereoConfig ()
+
+inline
+
+ +

Unload VR stereo config.

+ +

Definition at line 27 of file VrStereoConfig.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+ +

◆ BeginMode()

+ +
+
+ + + + + +
+ + + + + + + +
VrStereoConfig & raylib::VrStereoConfig::BeginMode ()
+
+inline
+
+ +

Begin stereo rendering.

+ +

Definition at line 34 of file VrStereoConfig.hpp.

+ +
+
+ +

◆ EndDrawing()

+ +
+
+ + + + + +
+ + + + + + + +
VrStereoConfig & raylib::VrStereoConfig::EndDrawing ()
+
+inline
+
+ +

End stereo rendering.

+ +

Definition at line 42 of file VrStereoConfig.hpp.

+ +
+
+ +

◆ Init()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::VrStereoConfig::Init (const ::VrDeviceInfo & info)
+
+inline
+
+ +

Load VR stereo config for VR simulator device parameters.

+ +

Definition at line 20 of file VrStereoConfig.hpp.

+ +

Referenced by VrStereoConfig().

+ +
+
+ +

◆ Unload()

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

Unload VR stereo config.

+ +

Definition at line 50 of file VrStereoConfig.hpp.

+ +

Referenced by ~VrStereoConfig().

+ +
+
+

+

- + diff --git a/docs/classraylib_1_1_vr_stereo_config.js b/docs/classraylib_1_1_vr_stereo_config.js new file mode 100644 index 00000000..998d4d10 --- /dev/null +++ b/docs/classraylib_1_1_vr_stereo_config.js @@ -0,0 +1,9 @@ +var classraylib_1_1_vr_stereo_config = +[ + [ "VrStereoConfig", "classraylib_1_1_vr_stereo_config.html#a630225c95d54e50482f6455e13d4fc3b", null ], + [ "~VrStereoConfig", "classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea", null ], + [ "BeginMode", "classraylib_1_1_vr_stereo_config.html#a57c7c3064803f61af4a7da1e0ae10167", null ], + [ "EndDrawing", "classraylib_1_1_vr_stereo_config.html#a8804e60e9db545d7701f44093b02e14f", null ], + [ "Init", "classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0", null ], + [ "Unload", "classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_wave-members.html b/docs/classraylib_1_1_wave-members.html index 37c11d95..1b8743eb 100644 --- a/docs/classraylib_1_1_wave-members.html +++ b/docs/classraylib_1_1_wave-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Wave Member List
+
raylib::Wave Member List

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

- + - - - - - + + + + + - + - + - + - - - - - + + + + + - + - + - - - + + + - - - + + +
Copy() constraylib::Waveinline
Crop(int initSample, int finalSample)raylib::Waveinline
Crop(int initSample, int finalSample)raylib::Waveinline
Export(const std::string &fileName)raylib::Waveinline
ExportAsCode(const std::string &fileName)raylib::Waveinline
Format(int SampleRate, int SampleSize, int Channels=2)raylib::Waveinline
GetChannels() constraylib::Waveinline
GetData() constraylib::Waveinline
GetFrameCount() constraylib::Waveinline
ExportAsCode(const std::string &fileName)raylib::Waveinline
Format(int SampleRate, int SampleSize, int Channels=2)raylib::Waveinline
GetChannels() constraylib::Waveinline
GetData() constraylib::Waveinline
GetFrameCount() constraylib::Waveinline
GetSampleRate() constraylib::Waveinline
GetSampleSize() constraylib::Waveinline
GetSampleSize() constraylib::Waveinline
IsReady() constraylib::Waveinline
Load(const std::string &fileName)raylib::Waveinline
Load(const std::string &fileName)raylib::Waveinline
Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
LoadSamples()raylib::Waveinline
LoadSamples()raylib::Waveinline
LoadSound()raylib::Waveinline
operator::Sound()raylib::Waveinline
operator=(const ::Wave &wave) (defined in raylib::Wave)raylib::Waveinline
operator=(const Wave &other) (defined in raylib::Wave)raylib::Waveinline
operator=(Wave &&other) noexcept (defined in raylib::Wave)raylib::Waveinline
SetChannels(unsigned int value)raylib::Waveinline
operator::Sound()raylib::Waveinline
operator=(const ::Wave &wave)raylib::Waveinline
operator=(const Wave &other)raylib::Waveinline
operator=(Wave &&other) noexceptraylib::Waveinline
SetChannels(unsigned int value)raylib::Waveinline
SetData(void *value)raylib::Waveinline
SetFrameCount(unsigned int value)raylib::Waveinline
SetFrameCount(unsigned int value)raylib::Waveinline
SetSampleRate(unsigned int value)raylib::Waveinline
SetSampleSize(unsigned int value)raylib::Waveinline
SetSampleSize(unsigned int value)raylib::Waveinline
Unload()raylib::Waveinline
UnloadSamples(float *samples)raylib::Waveinline
Wave(const ::Wave &wave) (defined in raylib::Wave)raylib::Waveinline
Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr) (defined in raylib::Wave)raylib::Waveinline
UnloadSamples(float *samples)raylib::Waveinline
Wave(const ::Wave &wave)raylib::Waveinline
Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)raylib::Waveinline
Wave(const std::string &fileName)raylib::Waveinline
Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
Wave(const Wave &other) (defined in raylib::Wave)raylib::Waveinline
Wave(Wave &&other) (defined in raylib::Wave)raylib::Waveinline
Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
Wave(const Wave &other)raylib::Waveinline
Wave(Wave &&other)raylib::Waveinline
~Wave()raylib::Waveinline
+

- + diff --git a/docs/classraylib_1_1_wave.html b/docs/classraylib_1_1_wave.html index e7b725e3..2707a383 100644 --- a/docs/classraylib_1_1_wave.html +++ b/docs/classraylib_1_1_wave.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Wave Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Wave Class Reference
+
raylib::Wave Class Reference

Wave type, defines audio wave data. More...

+ +

#include <Wave.hpp>

- - + - - + + - + - + - + - - + + - - + + - - - - - + + + + + - - + + - - - + + + - - - + + + @@ -147,27 +155,21 @@ - - - - - + + + + + - - + + - - - - - - + + + + + + @@ -183,22 +185,376 @@ - - + + - - + +

+

Public Member Functions

Wave (const ::Wave &wave)
 Wave (const ::Wave &wave)
 
Wave (const std::string &fileName)
 Load wave data from file.
 Wave (const std::string &fileName)
 Load wave data from file. More...
 
 Wave (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load wave from memory buffer, fileType refers to extension: i.e. More...
 
Wave (const Wave &other)
 Wave (const Wave &other)
 
Wave (unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)
 Wave (unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)
 
Wave (Wave &&other)
 Wave (Wave &&other)
 
~Wave ()
 Unload wave data.
 ~Wave ()
 Unload wave data. More...
 
-inline ::Wave Copy () const
 Copy a wave to a new wave.
inline ::Wave Copy () const
 Copy a wave to a new wave. More...
 
-WaveCrop (int initSample, int finalSample)
 Crop a wave to defined samples range.
 
-bool Export (const std::string &fileName)
 Export wave data to file, returns true on success.
WaveCrop (int initSample, int finalSample)
 Crop a wave to defined samples range. More...
 
bool Export (const std::string &fileName)
 Export wave data to file, returns true on success. More...
 
-bool ExportAsCode (const std::string &fileName)
 Export wave sample data to code (.h), returns true on success.
bool ExportAsCode (const std::string &fileName)
 Export wave sample data to code (.h), returns true on success. More...
 
-WaveFormat (int SampleRate, int SampleSize, int Channels=2)
 Convert wave data to desired format.
 
WaveFormat (int SampleRate, int SampleSize, int Channels=2)
 Convert wave data to desired format. More...
 
unsigned int GetChannels () const
 Retrieves the channels value for the object. More...
 
void * GetData () const
 Retrieves the data value for the object. More...
 
void * GetData () const
 Retrieves the data value for the object. More...
 
unsigned int GetFrameCount () const
 Retrieves the frameCount value for the object. More...
 
bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load wave from memory buffer, fileType refers to extension: i.e. More...
 
-float * LoadSamples ()
 Load samples data from wave as a floats array.
 
-inline ::Sound LoadSound ()
 Load sound from wave data.
float * LoadSamples ()
 Load samples data from wave as a floats array. More...
 
inline ::Sound LoadSound ()
 Load sound from wave data. More...
 
operator::Sound ()
 Load sound from wave data.
 operator::Sound ()
 Load sound from wave data. More...
 
-Waveoperator= (const ::Wave &wave)
 
-Waveoperator= (const Wave &other)
 
-Waveoperator= (Wave &&other) noexcept
 
Waveoperator= (const ::Wave &wave)
 
Waveoperator= (const Wave &other)
 
Waveoperator= (Wave &&other) noexcept
 
void SetChannels (unsigned int value)
 Sets the channels value for the object. More...
 
void SetSampleSize (unsigned int value)
 Sets the sampleSize value for the object. More...
 
-void Unload ()
 Unload wave data.
void Unload ()
 Unload wave data. More...
 
-void UnloadSamples (float *samples)
 Unload samples data loaded with LoadWaveSamples()
void UnloadSamples (float *samples)
 Unload samples data loaded with LoadWaveSamples() More...
 
-

Detailed Description

-

Wave type, defines audio wave data.

+

Detailed Description

+

Wave type, defines audio wave data.

+ +

Definition at line 14 of file Wave.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Wave() [1/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Wave::Wave (const ::Wave & wave)
+
+inline
+
+ +

Definition at line 16 of file Wave.hpp.

+ +
+
+ +

◆ Wave() [2/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Wave::Wave (unsigned int frameCount = 0,
unsigned int sampleRate = 0,
unsigned int sampleSize = 0,
unsigned int channels = 0,
void * data = nullptr 
)
+
+inline
+
+ +

Definition at line 20 of file Wave.hpp.

+ +
+
+ +

◆ Wave() [3/6]

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

Load wave data from file.

+ +

Definition at line 32 of file Wave.hpp.

+ +

References Load().

+ +
+
+ +

◆ Wave() [4/6]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Wave::Wave (const std::string & fileType,
const unsigned char * fileData,
int dataSize 
)
+
+inline
+
+ +

Load wave from memory buffer, fileType refers to extension: i.e.

+

"wav"

+ +

Definition at line 41 of file Wave.hpp.

+ +

References Load().

+ +
+
+ +

◆ Wave() [5/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Wave::Wave (const Waveother)
+
+inline
+
+ +

Definition at line 47 of file Wave.hpp.

+ +

References Copy().

+ +
+
+ +

◆ Wave() [6/6]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Wave::Wave (Wave && other)
+
+inline
+
+ +

Definition at line 51 of file Wave.hpp.

+ +
+
+ +

◆ ~Wave()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Wave::~Wave ()
+
+inline
+
+ +

Unload wave data.

+ +

Definition at line 64 of file Wave.hpp.

+ +

References Unload().

+ +
+
+

Member Function Documentation

+ +

◆ Copy()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Wave raylib::Wave::Copy () const
+
+inline
+
+ +

Copy a wave to a new wave.

+ +

Definition at line 118 of file Wave.hpp.

+ +

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

+ +
+
+ +

◆ Crop()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Wave & raylib::Wave::Crop (int initSample,
int finalSample 
)
+
+inline
+
+ +

Crop a wave to defined samples range.

+ +

Definition at line 125 of file Wave.hpp.

+ +
+
+ +

◆ Export()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Wave::Export (const std::string & fileName)
+
+inline
+
-

Definition at line 14 of file Wave.hpp.

-

Constructor & Destructor Documentation

- -

◆ Wave()

+

Export wave data to file, returns true on success.

+ +

Definition at line 147 of file Wave.hpp.

+ +
+
+ +

◆ ExportAsCode()

+ +

◆ Format()

+ +
+
+ + + + + +
+ + + + + + - - + + - + @@ -237,17 +623,13 @@

-

Load wave from memory buffer, fileType refers to extension: i.e.

-

"wav"

- -

Definition at line 41 of file Wave.hpp.

+

Convert wave data to desired format.

-

References Load().

+

Definition at line 110 of file Wave.hpp.

-

Member Function Documentation

- +

◆ GetChannels()

@@ -277,8 +659,8 @@

-

◆ GetData()

+ +

◆ GetData()

@@ -287,7 +669,7 @@

Wave & raylib::Wave::Format (int SampleRate,
const unsigned char * fileData, int SampleSize,
int dataSize Channels = 2 
- + @@ -307,7 +689,7 @@

+

◆ GetFrameCount()

@@ -337,7 +719,7 @@

+

◆ GetSampleRate()

@@ -367,7 +749,7 @@

+

◆ GetSampleSize()

@@ -397,7 +779,7 @@

+

◆ IsReady()

@@ -429,7 +811,7 @@

+

◆ Load() [1/2]

@@ -464,7 +846,7 @@

+

◆ Load() [2/2]

@@ -505,7 +887,7 @@

Load wave from memory buffer, fileType refers to extension: i.e.

-

"wav"

+

"wav"

Returns
True or false depending on if the Wave data was loaded properly.

Definition at line 199 of file Wave.hpp.

@@ -514,7 +896,186 @@

+ +

◆ LoadSamples()

+ +
+
+

void* raylib::Wave::GetData void * raylib::Wave::GetData ( ) const
+ + + + +
+ + + + + + + +
float * raylib::Wave::LoadSamples ()
+
+inline
+
+ +

Load samples data from wave as a floats array.

+ +

Definition at line 133 of file Wave.hpp.

+ +
+ + +

◆ LoadSound()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Sound raylib::Wave::LoadSound ()
+
+inline
+
+ +

Load sound from wave data.

+ +

Definition at line 173 of file Wave.hpp.

+ +

Referenced by operator::Sound().

+ +
+
+ +

◆ operator::Sound()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Wave::operator::Sound ()
+
+inline
+
+ +

Load sound from wave data.

+ +

Definition at line 180 of file Wave.hpp.

+ +

References LoadSound().

+ +
+
+ +

◆ operator=() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Wave & raylib::Wave::operator= (const ::Wavewave)
+
+inline
+
+ +

Definition at line 74 of file Wave.hpp.

+ +
+
+ +

◆ operator=() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Wave & raylib::Wave::operator= (const Waveother)
+
+inline
+
+ +

Definition at line 79 of file Wave.hpp.

+ +

References Copy(), and Unload().

+ +
+
+ +

◆ operator=() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
Wave & raylib::Wave::operator= (Wave && other)
+
+inlinenoexcept
+
+ +

Definition at line 90 of file Wave.hpp.

+ +

References Unload().

+ +
+
+

◆ SetChannels()

@@ -550,7 +1111,7 @@

+

◆ SetData()

@@ -586,7 +1147,7 @@

+

◆ SetFrameCount()

@@ -622,7 +1183,7 @@

+

◆ SetSampleRate()

@@ -658,7 +1219,7 @@

+

◆ SetSampleSize()

@@ -692,14 +1253,77 @@

Definition at line 70 of file Wave.hpp.

+

+

+ +

◆ Unload()

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

Unload wave data.

+ +

Definition at line 163 of file Wave.hpp.

+ +

Referenced by ~Wave(), and operator=().

+ +
+
+ +

◆ UnloadSamples()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Wave::UnloadSamples (float * samples)
+
+inline
+
+ +

Unload samples data loaded with LoadWaveSamples()

+ +

Definition at line 140 of file Wave.hpp.

+

+

- + diff --git a/docs/classraylib_1_1_wave.js b/docs/classraylib_1_1_wave.js new file mode 100644 index 00000000..d0ded857 --- /dev/null +++ b/docs/classraylib_1_1_wave.js @@ -0,0 +1,36 @@ +var classraylib_1_1_wave = +[ + [ "Wave", "classraylib_1_1_wave.html#a4643a642d42434c4eb39c6888688d495", null ], + [ "Wave", "classraylib_1_1_wave.html#aa76ff3e113cace4453b683725159aae6", null ], + [ "Wave", "classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b", null ], + [ "Wave", "classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d", null ], + [ "Wave", "classraylib_1_1_wave.html#a3c59426e8ff3fff68abb532a1e785b1e", null ], + [ "Wave", "classraylib_1_1_wave.html#adae03cb2d443e6d868f38c7c8db14913", null ], + [ "~Wave", "classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba", null ], + [ "Copy", "classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253", null ], + [ "Crop", "classraylib_1_1_wave.html#a560f8d9b0669a7660406a849d4e26e66", null ], + [ "Export", "classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb", null ], + [ "ExportAsCode", "classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e", null ], + [ "Format", "classraylib_1_1_wave.html#a704d264e7f5e60a782510d49b78ddd5d", null ], + [ "GetChannels", "classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff", null ], + [ "GetData", "classraylib_1_1_wave.html#a12e779194c87960a97e0fe759cc2eb80", null ], + [ "GetFrameCount", "classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0", null ], + [ "GetSampleRate", "classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f", null ], + [ "GetSampleSize", "classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b", null ], + [ "IsReady", "classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a", null ], + [ "Load", "classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36", null ], + [ "Load", "classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745", null ], + [ "LoadSamples", "classraylib_1_1_wave.html#a0ac42b450d90dee2ea471a0625b83bac", null ], + [ "LoadSound", "classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e", null ], + [ "operator::Sound", "classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87", null ], + [ "operator=", "classraylib_1_1_wave.html#a47fdbb51113033249f466f2f18be8f6a", null ], + [ "operator=", "classraylib_1_1_wave.html#aae5958607c9f7d49dcc4a9c291fd8955", null ], + [ "operator=", "classraylib_1_1_wave.html#a5c5c65eaa235c5d5d8d867c55d7c0464", null ], + [ "SetChannels", "classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c", null ], + [ "SetData", "classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497", null ], + [ "SetFrameCount", "classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797", null ], + [ "SetSampleRate", "classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4", null ], + [ "SetSampleSize", "classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2", null ], + [ "Unload", "classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc", null ], + [ "UnloadSamples", "classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138", null ] +]; \ No newline at end of file diff --git a/docs/classraylib_1_1_window-members.html b/docs/classraylib_1_1_window-members.html index a4846c07..bbf97ebd 100644 --- a/docs/classraylib_1_1_window-members.html +++ b/docs/classraylib_1_1_window-members.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Member List + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Window Member List
+
raylib::Window Member List

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

- - - - - - + + + + + + - - - + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - +
BeginDrawing()raylib::Windowinline
ClearBackground(const ::Color &color=BLACK)raylib::Windowinline
ClearState(unsigned int flag)raylib::Windowinline
Close()raylib::Windowinline
DrawFPS(int posX=10, int posY=10)raylib::Windowinline
EndDrawing()raylib::Windowinline
BeginDrawing()raylib::Windowinline
ClearBackground(const ::Color &color=BLACK)raylib::Windowinline
ClearState(unsigned int flag)raylib::Windowinline
Close()raylib::Windowinline
DrawFPS(int posX=10, int posY=10)raylib::Windowinline
EndDrawing()raylib::Windowinline
GetFPS() constraylib::Windowinline
GetFrameTime() constraylib::Windowinline
GetHandle() constraylib::Windowinline
GetHeight() constraylib::Windowinline
GetFrameTime() constraylib::Windowinline
GetHandle() constraylib::Windowinline
GetHeight() constraylib::Windowinline
GetPosition() constraylib::Windowinline
GetScaleDPI() constraylib::Windowinline
GetScaleDPI() constraylib::Windowinline
GetSize() constraylib::Windowinline
GetTime() constraylib::Windowinline
GetTime() constraylib::Windowinline
GetWidth() constraylib::Windowinline
Init(int width=800, int height=450, const std::string &title="raylib")raylib::Windowinline
Init(int width=800, int height=450, const std::string &title="raylib")raylib::Windowinline
IsCursorOnScreen() constraylib::Windowinline
IsFocused() constraylib::Windowinline
IsFocused() constraylib::Windowinline
IsFullscreen() constraylib::Windowinline
IsHidden() constraylib::Windowinline
IsHidden() constraylib::Windowinline
IsMaximized() constraylib::Windowinline
IsMinimized() constraylib::Windowinline
IsMinimized() constraylib::Windowinline
IsReady()raylib::Windowinlinestatic
IsResized() constraylib::Windowinline
IsResized() constraylib::Windowinline
IsState(unsigned int flag) constraylib::Windowinline
Maximize()raylib::Windowinline
Minimize()raylib::Windowinline
Restore()raylib::Windowinline
SetFullscreen(bool fullscreen)raylib::Windowinline
SetIcon(const ::Image &image)raylib::Windowinline
SetMinSize(int width, int height)raylib::Windowinline
SetMinSize(const ::Vector2 &size)raylib::Windowinline
SetMonitor(int monitor)raylib::Windowinline
SetPosition(int x, int y)raylib::Windowinline
SetPosition(const ::Vector2 &position)raylib::Windowinline
SetSize(int width, int height)raylib::Windowinline
SetSize(const ::Vector2 &size)raylib::Windowinline
SetState(unsigned int flag)raylib::Windowinline
SetTargetFPS(int fps)raylib::Windowinline
SetTitle(const std::string &title)raylib::Windowinline
Maximize()raylib::Windowinline
Minimize()raylib::Windowinline
Restore()raylib::Windowinline
SetFullscreen(bool fullscreen)raylib::Windowinline
SetIcon(const ::Image &image)raylib::Windowinline
SetMinSize(int width, int height)raylib::Windowinline
SetMinSize(const ::Vector2 &size)raylib::Windowinline
SetMonitor(int monitor)raylib::Windowinline
SetPosition(int x, int y)raylib::Windowinline
SetPosition(const ::Vector2 &position)raylib::Windowinline
SetSize(int width, int height)raylib::Windowinline
SetSize(const ::Vector2 &size)raylib::Windowinline
SetState(unsigned int flag)raylib::Windowinline
SetTargetFPS(int fps)raylib::Windowinline
SetTitle(const std::string &title)raylib::Windowinline
ShouldClose() constraylib::Windowinline
ToggleFullscreen()raylib::Windowinline
ToggleFullscreen()raylib::Windowinline
Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)raylib::Windowinline
~Window()raylib::Windowinline
~Window()raylib::Windowinline
+

- + diff --git a/docs/classraylib_1_1_window.html b/docs/classraylib_1_1_window.html index 418a2abb..7fc9c3ed 100644 --- a/docs/classraylib_1_1_window.html +++ b/docs/classraylib_1_1_window.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib::Window Class Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
raylib::Window Class Reference
+
raylib::Window Class Reference

Window and Graphics Device Functions. More...

+ +

#include <Window.hpp>

- - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + - - + + - - - - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + +

+

Public Member Functions

 Window (int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
 Initialize window and OpenGL context. More...
 
~Window ()
 Close window and unload OpenGL context.
 ~Window ()
 Close window and unload OpenGL context. More...
 
-WindowBeginDrawing ()
 Setup canvas (framebuffer) to start drawing.
 
-WindowClearBackground (const ::Color &color=BLACK)
 Clear window with given color.
 
-WindowClearState (unsigned int flag)
 Clear window configuration state flags.
 
-void Close ()
 Close window and unload OpenGL context.
WindowBeginDrawing ()
 Setup canvas (framebuffer) to start drawing. More...
 
WindowClearBackground (const ::Color &color=BLACK)
 Clear window with given color. More...
 
WindowClearState (unsigned int flag)
 Clear window configuration state flags. More...
 
void Close ()
 Close window and unload OpenGL context. More...
 
-WindowDrawFPS (int posX=10, int posY=10)
 Draw current FPS.
 
-WindowEndDrawing ()
 End canvas drawing and swap buffers (double buffering)
 
-int GetFPS () const
 Returns current FPS.
WindowDrawFPS (int posX=10, int posY=10)
 Draw current FPS. More...
 
WindowEndDrawing ()
 End canvas drawing and swap buffers (double buffering) More...
 
int GetFPS () const
 Returns current FPS. More...
 
-float GetFrameTime () const
 Returns time in seconds for last frame drawn.
float GetFrameTime () const
 Returns time in seconds for last frame drawn. More...
 
-void * GetHandle () const
 Get native window handle.
 
-int GetHeight () const
 Get current screen height.
void * GetHandle () const
 Get native window handle. More...
 
int GetHeight () const
 Get current screen height. More...
 
-inline ::Vector2 GetPosition () const
 Get window position XY on monitor.
inline ::Vector2 GetPosition () const
 Get window position XY on monitor. More...
 
-inline ::Vector2 GetScaleDPI () const
 Get window scale DPI factor.
inline ::Vector2 GetScaleDPI () const
 Get window scale DPI factor. More...
 
-Vector2 GetSize () const
 Get the screen's width and height.
Vector2 GetSize () const
 Get the screen's width and height. More...
 
-double GetTime () const
 Returns elapsed time in seconds since InitWindow()
double GetTime () const
 Returns elapsed time in seconds since InitWindow() More...
 
-int GetWidth () const
 Get current screen width.
int GetWidth () const
 Get current screen width. More...
 
bool Init (int width=800, int height=450, const std::string &title="raylib")
 Initializes the window. More...
 
-bool IsCursorOnScreen () const
 Check if cursor is on the current screen.
bool IsCursorOnScreen () const
 Check if cursor is on the current screen. More...
 
-bool IsFocused () const
 Check if window is currently focused.
bool IsFocused () const
 Check if window is currently focused. More...
 
-bool IsFullscreen () const
 Check if window is currently fullscreen.
bool IsFullscreen () const
 Check if window is currently fullscreen. More...
 
-bool IsHidden () const
 Check if window is currently hidden.
bool IsHidden () const
 Check if window is currently hidden. More...
 
-bool IsMaximized () const
 Check if window is currently minimized.
bool IsMaximized () const
 Check if window is currently minimized. More...
 
-bool IsMinimized () const
 Check if window is currently minimized.
bool IsMinimized () const
 Check if window is currently minimized. More...
 
-bool IsResized () const
 Check if window has been resized last frame.
bool IsResized () const
 Check if window has been resized last frame. More...
 
-bool IsState (unsigned int flag) const
 Check if one specific window flag is enabled.
bool IsState (unsigned int flag) const
 Check if one specific window flag is enabled. More...
 
-WindowMaximize ()
 Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
 
-WindowMinimize ()
 Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
 
-WindowRestore ()
 Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
 
-WindowSetFullscreen (bool fullscreen)
 Set whether or not the application should be fullscreen.
 
-WindowSetIcon (const ::Image &image)
 Set icon for window.
 
-WindowSetMinSize (const ::Vector2 &size)
 Set window minimum dimensions.
 
-WindowSetMinSize (int width, int height)
 Set window minimum dimensions.
 
-WindowSetMonitor (int monitor)
 Set monitor for the current window.
 
-WindowSetPosition (const ::Vector2 &position)
 Set window position on screen.
 
-WindowSetPosition (int x, int y)
 Set window position on screen.
 
-WindowSetSize (const ::Vector2 &size)
 Set window dimensions.
 
-WindowSetSize (int width, int height)
 Set window dimensions.
 
-WindowSetState (unsigned int flag)
 Set window configuration state using flags.
 
-WindowSetTargetFPS (int fps)
 Set target FPS (maximum)
 
-WindowSetTitle (const std::string &title)
 Set title for window.
 
-bool ShouldClose () const
 Check if KEY_ESCAPE pressed or Close icon pressed.
WindowMaximize ()
 Set window state: maximized, if resizable (only PLATFORM_DESKTOP) More...
 
WindowMinimize ()
 Set window state: minimized, if resizable (only PLATFORM_DESKTOP) More...
 
WindowRestore ()
 Set window state: not minimized/maximized (only PLATFORM_DESKTOP) More...
 
WindowSetFullscreen (bool fullscreen)
 Set whether or not the application should be fullscreen. More...
 
WindowSetIcon (const ::Image &image)
 Set icon for window. More...
 
WindowSetMinSize (const ::Vector2 &size)
 Set window minimum dimensions. More...
 
WindowSetMinSize (int width, int height)
 Set window minimum dimensions. More...
 
WindowSetMonitor (int monitor)
 Set monitor for the current window. More...
 
WindowSetPosition (const ::Vector2 &position)
 Set window position on screen. More...
 
WindowSetPosition (int x, int y)
 Set window position on screen. More...
 
WindowSetSize (const ::Vector2 &size)
 Set window dimensions. More...
 
WindowSetSize (int width, int height)
 Set window dimensions. More...
 
WindowSetState (unsigned int flag)
 Set window configuration state using flags. More...
 
WindowSetTargetFPS (int fps)
 Set target FPS (maximum) More...
 
WindowSetTitle (const std::string &title)
 Set title for window. More...
 
bool ShouldClose () const
 Check if KEY_ESCAPE pressed or Close icon pressed. More...
 
-WindowToggleFullscreen ()
 Toggle window state: fullscreen/windowed.
 
WindowToggleFullscreen ()
 Toggle window state: fullscreen/windowed. More...
 
- - - + +

+

Static Public Member Functions

-static bool IsReady ()
 Check if window has been initialized successfully.
static bool IsReady ()
 Check if window has been initialized successfully. More...
 

Detailed Description

-

Window and Graphics Device Functions.

+

Window and Graphics Device Functions.

Definition at line 13 of file Window.hpp.

Constructor & Destructor Documentation

- +

◆ Window()

@@ -322,11 +299,42 @@

References Init().

+

+
+ +

◆ ~Window()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Window::~Window ()
+
+inline
+
+ +

Close window and unload OpenGL context.

+ +

Definition at line 32 of file Window.hpp.

+ +

References Close().

+

Member Function Documentation

- -

◆ Init()

+ +

◆ BeginDrawing()

+inline
+
+ +

Setup canvas (framebuffer) to start drawing.

+ +

Definition at line 283 of file Window.hpp.

+ +

References BeginDrawing().

+ +

Referenced by BeginDrawing().

+ +
+
+ +

◆ ClearBackground()

+ +
+
+ + + + + +
+ - + + + + + + +
Window & raylib::Window::ClearBackground (const ::Color & color = BLACK)
+
+inline
+
+ +

Clear window with given color.

+ +

Definition at line 142 of file Window.hpp.

+ +

References ClearBackground().

+ +

Referenced by ClearBackground().

+ +
+
+ +

◆ ClearState()

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::ClearState (unsigned int flag)
+
+inline
+
+ +

Clear window configuration state flags.

+ +

Definition at line 134 of file Window.hpp.

+ +
+
+ +

◆ Close()

+ +
+
+ + + + + +
+ + + + + + +
void raylib::Window::Close ()
+
+inline
+
+ +

Close window and unload OpenGL context.

+ +

Definition at line 56 of file Window.hpp.

+ +

Referenced by ~Window().

+ +
+
+ +

◆ DrawFPS()

+ +
+
+ + + - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + - + - - + + @@ -365,23 +495,1194 @@

-

Initializes the window.

-
Returns
True or false, depending on if the Window initialized properly.
+

Draw current FPS.

-

Definition at line 41 of file Window.hpp.

+

Definition at line 342 of file Window.hpp.

-

References raylib::InitWindow().

+

References DrawFPS().

-

Referenced by Window().

+

Referenced by DrawFPS().

- - - + +

◆ EndDrawing()

+ +
+
+

Window & raylib::Window::DrawFPS ( int height = 450, posX = 10,
const std::string & title = "raylib" int posY = 10 
+ + + + +
+ + + + + + + +
Window & raylib::Window::EndDrawing ()
+
+inline
+
+ +

End canvas drawing and swap buffers (double buffering)

+ +

Definition at line 291 of file Window.hpp.

+ +

References EndDrawing().

+ +

Referenced by EndDrawing().

+ +
+ + +

◆ GetFPS()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Window::GetFPS () const
+
+inline
+
+ +

Returns current FPS.

+ +

Definition at line 335 of file Window.hpp.

+ +
+
+ +

◆ GetFrameTime()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Window::GetFrameTime () const
+
+inline
+
+ +

Returns time in seconds for last frame drawn.

+ +

Definition at line 350 of file Window.hpp.

+ +
+
+ +

◆ GetHandle()

+ +
+
+ + + + + +
+ + + + + + + +
void * raylib::Window::GetHandle () const
+
+inline
+
+ +

Get native window handle.

+ +

Definition at line 276 of file Window.hpp.

+ +
+
+ +

◆ GetHeight()

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

Get current screen height.

+ +

Definition at line 306 of file Window.hpp.

+ +

Referenced by GetSize().

+ +
+
+ +

◆ GetPosition()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Vector2 raylib::Window::GetPosition () const
+
+inline
+
+ +

Get window position XY on monitor.

+ +

Definition at line 313 of file Window.hpp.

+ +
+
+ +

◆ GetScaleDPI()

+ +
+
+ + + + + +
+ + + + + + + +
inline ::Vector2 raylib::Window::GetScaleDPI () const
+
+inline
+
+ +

Get window scale DPI factor.

+ +

Definition at line 320 of file Window.hpp.

+ +
+
+ +

◆ GetSize()

+ +
+
+ + + + + +
+ + + + + + + +
Vector2 raylib::Window::GetSize () const
+
+inline
+
+ +

Get the screen's width and height.

+ +

Definition at line 269 of file Window.hpp.

+ +

References GetHeight(), and GetWidth().

+ +
+
+ +

◆ GetTime()

+ +
+
+ + + + + +
+ + + + + + + +
double raylib::Window::GetTime () const
+
+inline
+
+ +

Returns elapsed time in seconds since InitWindow()

+ +

Definition at line 357 of file Window.hpp.

+ +
+
+ +

◆ GetWidth()

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

Get current screen width.

+ +

Definition at line 299 of file Window.hpp.

+ +

Referenced by GetSize().

+ +
+
+ +

◆ Init()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool raylib::Window::Init (int width = 800,
int height = 450,
const std::string & title = "raylib" 
)
+
+inline
+
+ +

Initializes the window.

+
Returns
True or false, depending on if the Window initialized properly.
+ +

Definition at line 41 of file Window.hpp.

+ +

References raylib::InitWindow().

+ +

Referenced by Window().

+ +
+
+ +

◆ IsCursorOnScreen()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::IsCursorOnScreen () const
+
+inline
+
+ +

Check if cursor is on the current screen.

+ +

Definition at line 63 of file Window.hpp.

+ +
+
+ +

◆ IsFocused()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::IsFocused () const
+
+inline
+
+ +

Check if window is currently focused.

+ +

Definition at line 105 of file Window.hpp.

+ +
+
+ +

◆ IsFullscreen()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::IsFullscreen () const
+
+inline
+
+ +

Check if window is currently fullscreen.

+ +

Definition at line 77 of file Window.hpp.

+ +

Referenced by SetFullscreen().

+ +
+
+ +

◆ IsHidden()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::IsHidden () const
+
+inline
+
+ +

Check if window is currently hidden.

+ +

Definition at line 84 of file Window.hpp.

+ +
+
+ +

◆ IsMaximized()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::IsMaximized () const
+
+inline
+
+ +

Check if window is currently minimized.

+ +

Definition at line 98 of file Window.hpp.

+ +
+
+ +

◆ IsMinimized()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::IsMinimized () const
+
+inline
+
+ +

Check if window is currently minimized.

+ +

Definition at line 91 of file Window.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
static bool raylib::Window::IsReady ()
+
+inlinestatic
+
+ +

Check if window has been initialized successfully.

+ +

Definition at line 70 of file Window.hpp.

+ +
+
+ +

◆ IsResized()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::IsResized () const
+
+inline
+
+ +

Check if window has been resized last frame.

+ +

Definition at line 112 of file Window.hpp.

+ +
+
+ +

◆ IsState()

+ +
+
+ + + + + +
+ + + + + + + + +
bool raylib::Window::IsState (unsigned int flag) const
+
+inline
+
+ +

Check if one specific window flag is enabled.

+ +

Definition at line 119 of file Window.hpp.

+ +
+
+ +

◆ Maximize()

+ +
+
+ + + + + +
+ + + + + + + +
Window & raylib::Window::Maximize ()
+
+inline
+
+ +

Set window state: maximized, if resizable (only PLATFORM_DESKTOP)

+ +

Definition at line 175 of file Window.hpp.

+ +
+
+ +

◆ Minimize()

+ +
+
+ + + + + +
+ + + + + + + +
Window & raylib::Window::Minimize ()
+
+inline
+
+ +

Set window state: minimized, if resizable (only PLATFORM_DESKTOP)

+ +

Definition at line 183 of file Window.hpp.

+ +
+
+ +

◆ Restore()

+ +
+
+ + + + + +
+ + + + + + + +
Window & raylib::Window::Restore ()
+
+inline
+
+ +

Set window state: not minimized/maximized (only PLATFORM_DESKTOP)

+ +

Definition at line 191 of file Window.hpp.

+ +
+
+ +

◆ SetFullscreen()

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetFullscreen (bool fullscreen)
+
+inline
+
+ +

Set whether or not the application should be fullscreen.

+ +

Definition at line 158 of file Window.hpp.

+ +

References IsFullscreen(), and ToggleFullscreen().

+ +
+
+ +

◆ SetIcon()

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetIcon (const ::Image & image)
+
+inline
+
+ +

Set icon for window.

+ +

Definition at line 199 of file Window.hpp.

+ +
+
+ +

◆ SetMinSize() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetMinSize (const ::Vector2 & size)
+
+inline
+
+ +

Set window minimum dimensions.

+ +

Definition at line 246 of file Window.hpp.

+ +
+
+ +

◆ SetMinSize() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Window & raylib::Window::SetMinSize (int width,
int height 
)
+
+inline
+
+ +

Set window minimum dimensions.

+ +

Definition at line 238 of file Window.hpp.

+ +
+
+ +

◆ SetMonitor()

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetMonitor (int monitor)
+
+inline
+
+ +

Set monitor for the current window.

+ +

Definition at line 230 of file Window.hpp.

+ +
+
+ +

◆ SetPosition() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetPosition (const ::Vector2 & position)
+
+inline
+
+ +

Set window position on screen.

+ +

Definition at line 223 of file Window.hpp.

+ +

References SetPosition().

+ +
+
+ +

◆ SetPosition() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Window & raylib::Window::SetPosition (int x,
int y 
)
+
+inline
+
+ +

Set window position on screen.

+ +

Definition at line 215 of file Window.hpp.

+ +

Referenced by SetPosition().

+ +
+
+ +

◆ SetSize() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetSize (const ::Vector2 & size)
+
+inline
+
+ +

Set window dimensions.

+ +

Definition at line 262 of file Window.hpp.

+ +

References SetSize().

+ +
+
+ +

◆ SetSize() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Window & raylib::Window::SetSize (int width,
int height 
)
+
+inline
+
+ +

Set window dimensions.

+ +

Definition at line 254 of file Window.hpp.

+ +

Referenced by SetSize().

+ +
+
+ +

◆ SetState()

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetState (unsigned int flag)
+
+inline
+
+ +

Set window configuration state using flags.

+ +

Definition at line 126 of file Window.hpp.

+ +
+
+ +

◆ SetTargetFPS()

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetTargetFPS (int fps)
+
+inline
+
+ +

Set target FPS (maximum)

+ +

Definition at line 327 of file Window.hpp.

+ +

References SetTargetFPS().

+ +

Referenced by SetTargetFPS().

+ +
+
+ +

◆ SetTitle()

+ +
+
+ + + + + +
+ + + + + + + + +
Window & raylib::Window::SetTitle (const std::string & title)
+
+inline
+
+ +

Set title for window.

+ +

Definition at line 207 of file Window.hpp.

+ +

References raylib::SetWindowTitle().

+ +
+
+ +

◆ ShouldClose()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Window::ShouldClose () const
+
+inline
+
+ +

Check if KEY_ESCAPE pressed or Close icon pressed.

+ +

Definition at line 49 of file Window.hpp.

+ +
+
+ +

◆ ToggleFullscreen()

+ +
+
+ + + + + +
+ + + + + + + +
Window & raylib::Window::ToggleFullscreen ()
+
+inline
+
+ +

Toggle window state: fullscreen/windowed.

+ +

Definition at line 150 of file Window.hpp.

+ +

References ToggleFullscreen().

+ +

Referenced by SetFullscreen(), and ToggleFullscreen().

+ +
+
+ + + + diff --git a/docs/classraylib_1_1_window.js b/docs/classraylib_1_1_window.js new file mode 100644 index 00000000..42e6fe46 --- /dev/null +++ b/docs/classraylib_1_1_window.js @@ -0,0 +1,47 @@ +var classraylib_1_1_window = +[ + [ "Window", "classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb", null ], + [ "~Window", "classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af", null ], + [ "BeginDrawing", "classraylib_1_1_window.html#a487e7b9ee38593be6f6bc5c5c2e2e80c", null ], + [ "ClearBackground", "classraylib_1_1_window.html#a734279b5494096d11fe0aad66d6fb3e6", null ], + [ "ClearState", "classraylib_1_1_window.html#a2cd6268d95ce7e3eb8edf3205305e6f3", null ], + [ "Close", "classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf", null ], + [ "DrawFPS", "classraylib_1_1_window.html#ab961dfef8fbec984bf9e94e0a01488d4", null ], + [ "EndDrawing", "classraylib_1_1_window.html#abc2674cb9309548d27da7b114ff709c7", null ], + [ "GetFPS", "classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43", null ], + [ "GetFrameTime", "classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad", null ], + [ "GetHandle", "classraylib_1_1_window.html#aff32da7f61b1e8ec87e54409dbbe66c7", null ], + [ "GetHeight", "classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9", null ], + [ "GetPosition", "classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c", null ], + [ "GetScaleDPI", "classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07", null ], + [ "GetSize", "classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0", null ], + [ "GetTime", "classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4", null ], + [ "GetWidth", "classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20", null ], + [ "Init", "classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e", null ], + [ "IsCursorOnScreen", "classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df", null ], + [ "IsFocused", "classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284", null ], + [ "IsFullscreen", "classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0", null ], + [ "IsHidden", "classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4", null ], + [ "IsMaximized", "classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2", null ], + [ "IsMinimized", "classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7", null ], + [ "IsReady", "classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77", null ], + [ "IsResized", "classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124", null ], + [ "IsState", "classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86", null ], + [ "Maximize", "classraylib_1_1_window.html#a5790d951ff3adbc50e59b4051f104c90", null ], + [ "Minimize", "classraylib_1_1_window.html#adbd8e0a801211692125a12faba18a141", null ], + [ "Restore", "classraylib_1_1_window.html#a363b508c37787a50067fdef7b6a8a7f4", null ], + [ "SetFullscreen", "classraylib_1_1_window.html#a97cd33ccd2b772aea0e7b7d66aa52205", null ], + [ "SetIcon", "classraylib_1_1_window.html#adb4f1c464cb2274d8d22123965ac2239", null ], + [ "SetMinSize", "classraylib_1_1_window.html#a4ffe8d15136a9cca7ffc8cb66886e2a6", null ], + [ "SetMinSize", "classraylib_1_1_window.html#af4bbbbbe9a241c7fda7d3ee4a72cbf2d", null ], + [ "SetMonitor", "classraylib_1_1_window.html#a4433c8726840fd2909da8437b7b3e007", null ], + [ "SetPosition", "classraylib_1_1_window.html#a96cd2f516efcab92927bf582b6fe754d", null ], + [ "SetPosition", "classraylib_1_1_window.html#a22162747a663a0e6ba5d644b28069020", null ], + [ "SetSize", "classraylib_1_1_window.html#a38c6f9d69df4ffb7a0a5dbf7f3da7023", null ], + [ "SetSize", "classraylib_1_1_window.html#a81f8680331de7345546070d54643b781", null ], + [ "SetState", "classraylib_1_1_window.html#a403f3d3d41bc642f9536cab91630ca75", null ], + [ "SetTargetFPS", "classraylib_1_1_window.html#a7ca2dff3eeae227e0cc9d6b090fd7a3d", null ], + [ "SetTitle", "classraylib_1_1_window.html#a43d26141e2460add21aec360a20ddbed", null ], + [ "ShouldClose", "classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01", null ], + [ "ToggleFullscreen", "classraylib_1_1_window.html#a06c1dd65d7f389a584e0440bef18838f", null ] +]; \ No newline at end of file diff --git a/docs/closed.png b/docs/closed.png index 98cc2c909da37a6df914fbf67780eebd99c597f5..12a4330f1add1c66636e89a8d60d9cc42219e53d 100644 GIT binary patch delta 100 zcmV-q0Gt1W0f7OKBwa{JL_t(|0qxz(4FDksMbRrOTegB}*_9e6ApxRTf#Iz@d`bXt zso$7@D*=d!umG+s=uQ6r - - + + raylib-cpp: include Directory Reference + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,22 +36,40 @@
- + +/* @license-end */ + +
+
+ +
+
+
+ +
- -
-
-
include Directory Reference
+
include Directory Reference
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  AudioDevice.hpp [code]
 
file  AudioStream.hpp [code]
 
file  BoundingBox.hpp [code]
 
file  Camera2D.hpp [code]
 
file  Camera3D.hpp [code]
 
file  Color.hpp [code]
 
file  Font.hpp [code]
 
file  Functions.hpp [code]
 
file  Gamepad.hpp [code]
 
file  Image.hpp [code]
 
file  Material.hpp [code]
 
file  Matrix.hpp [code]
 
file  Mesh.hpp [code]
 
file  Model.hpp [code]
 
file  ModelAnimation.hpp [code]
 
file  Mouse.hpp [code]
 
file  Music.hpp [code]
 
file  physac.hpp [code]
 
file  Physics.hpp [code]
 
file  Ray.hpp [code]
 
file  RayCollision.hpp [code]
 
file  raylib-cpp-utils.hpp [code]
 
file  raylib-cpp.hpp [code]
 
file  raylib.hpp [code]
 
file  RaylibException.hpp [code]
 
file  raymath.hpp [code]
 
file  Rectangle.hpp [code]
 
file  RenderTexture.hpp [code]
 
file  Shader.hpp [code]
 
file  Sound.hpp [code]
 
file  Text.hpp [code]
 
file  Texture.hpp [code]
 
file  Vector2.hpp [code]
 
file  Vector3.hpp [code]
 
file  Vector4.hpp [code]
 
file  VrStereoConfig.hpp [code]
 
file  Wave.hpp [code]
 
file  Window.hpp [code]
 
+ - + diff --git a/docs/doc.png b/docs/doc.png index 17edabff95f7b8da13c9516a04efe05493c29501..21780b68645c096ce582544eed072d2e1a20f086 100644 GIT binary patch delta 719 zcmV;=0xqMMDXE`VOH0R2RV2K}GKfDNS@G2>4_) z`NS{q$^C+UOBfN<3DLlNs4s@SRdDSo+WgLQEI zISfv?lXw%z4}S*I6$TWoU<_RQw zVz^m%-vK1U(}VOhB?NHpp5j=a5Z!^+IPC9Mth=H)bsH`ZKvA}Kx-m5akc^Z~_KUHn zTO{v0A=a$v*{wObMY_SH6lJ;IUGpUHITAtl3n7u)w#KDsozNkZTzCM7 zdSF*vWPcK`!csf{H+Xsw^jmW`m1%j_k{WZC*#7chU$ylBC;r|OcoNtoX~%;bub_FU z6l@Ig#q9f|ngg{^Chw!e^{Gixn5>;_8xJ~n!12xQ9t7lFVtNAL2G^qXj;L6)0!I=< zQX)4EWhk;G`=(rG8QmjNGUt{O=lC$}sY))ID@gb3oXFF3l+4l^GAkSB5nSHnAhg0F z{9hyC@*476j?5DS3ES0!jwq_5|02L&= zyQkfG*Iw^h?>SRfxm*S~GZ+A8i8Cj#08Zk=r);^nUt+Itpnvb>`^Hv*+}0kUfCrz~ zBCOViSb$_*&;{TGGn2^x9K*!Sf0=lVpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p z*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T< z5Kt;Y0XLt&<$v@ZA-UZVXL2^nayD;EV(Wqal5hN1yQl}DEES3PO;HW@~%QZH>z|`CtEsYVrEN$wz&M)TZxt1Uj z@^Up5rBo_YC{|_$IQBVpk`2|P2X~wK^I;nUJYB^?rU*|(rr8+ zyw1}` + static darkModeIcon = `` + static title = "Toggle Light/Dark Mode" + + static prefersLightModeInDarkModeKey = "prefers-light-mode-in-dark-mode" + static prefersDarkModeInLightModeKey = "prefers-dark-mode-in-light-mode" + + static _staticConstructor = function() { + DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.userPreference) + // Update the color scheme when the browsers preference changes + // without user interaction on the website. + window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => { + DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged() + }) + // Update the color scheme when the tab is made visible again. + // It is possible that the appearance was changed in another tab + // while this tab was in the background. + document.addEventListener("visibilitychange", visibilityState => { + if (document.visibilityState === 'visible') { + DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged() + } + }); + }() + + static init() { + $(function() { + $(document).ready(function() { + const toggleButton = document.createElement('doxygen-awesome-dark-mode-toggle') + toggleButton.title = DoxygenAwesomeDarkModeToggle.title + toggleButton.updateIcon() + + window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => { + toggleButton.updateIcon() + }) + document.addEventListener("visibilitychange", visibilityState => { + if (document.visibilityState === 'visible') { + toggleButton.updateIcon() + } + }); + + $(document).ready(function(){ + document.getElementById("MSearchBox").parentNode.appendChild(toggleButton) + }) + $(window).resize(function(){ + document.getElementById("MSearchBox").parentNode.appendChild(toggleButton) + }) + }) + }) + } + + constructor() { + super(); + this.onclick=this.toggleDarkMode + } + + /** + * @returns `true` for dark-mode, `false` for light-mode system preference + */ + static get systemPreference() { + return window.matchMedia('(prefers-color-scheme: dark)').matches + } + + /** + * @returns `true` for dark-mode, `false` for light-mode user preference + */ + static get userPreference() { + return (!DoxygenAwesomeDarkModeToggle.systemPreference && localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)) || + (DoxygenAwesomeDarkModeToggle.systemPreference && !localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey)) + } + + static set userPreference(userPreference) { + DoxygenAwesomeDarkModeToggle.darkModeEnabled = userPreference + if(!userPreference) { + if(DoxygenAwesomeDarkModeToggle.systemPreference) { + localStorage.setItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey, true) + } else { + localStorage.removeItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey) + } + } else { + if(!DoxygenAwesomeDarkModeToggle.systemPreference) { + localStorage.setItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey, true) + } else { + localStorage.removeItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey) + } + } + DoxygenAwesomeDarkModeToggle.onUserPreferenceChanged() + } + + static enableDarkMode(enable) { + if(enable) { + DoxygenAwesomeDarkModeToggle.darkModeEnabled = true + document.documentElement.classList.add("dark-mode") + document.documentElement.classList.remove("light-mode") + } else { + DoxygenAwesomeDarkModeToggle.darkModeEnabled = false + document.documentElement.classList.remove("dark-mode") + document.documentElement.classList.add("light-mode") + } + } + + static onSystemPreferenceChanged() { + DoxygenAwesomeDarkModeToggle.darkModeEnabled = DoxygenAwesomeDarkModeToggle.userPreference + DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.darkModeEnabled) + } + + static onUserPreferenceChanged() { + DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.darkModeEnabled) + } + + toggleDarkMode() { + DoxygenAwesomeDarkModeToggle.userPreference = !DoxygenAwesomeDarkModeToggle.userPreference + this.updateIcon() + } + + updateIcon() { + if(DoxygenAwesomeDarkModeToggle.darkModeEnabled) { + this.innerHTML = DoxygenAwesomeDarkModeToggle.darkModeIcon + } else { + this.innerHTML = DoxygenAwesomeDarkModeToggle.lightModeIcon + } + } +} + +customElements.define("doxygen-awesome-dark-mode-toggle", DoxygenAwesomeDarkModeToggle); diff --git a/docs/doxygen-awesome-fragment-copy-button.js b/docs/doxygen-awesome-fragment-copy-button.js new file mode 100644 index 00000000..7d06b348 --- /dev/null +++ b/docs/doxygen-awesome-fragment-copy-button.js @@ -0,0 +1,85 @@ +/** + +Doxygen Awesome +https://github.com/jothepro/doxygen-awesome-css + +MIT License + +Copyright (c) 2022 jothepro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ + +class DoxygenAwesomeFragmentCopyButton extends HTMLElement { + constructor() { + super(); + this.onclick=this.copyContent + } + static title = "Copy to clipboard" + static copyIcon = `` + static successIcon = `` + static successDuration = 980 + static init() { + $(function() { + $(document).ready(function() { + if(navigator.clipboard) { + const fragments = document.getElementsByClassName("fragment") + for(const fragment of fragments) { + const fragmentWrapper = document.createElement("div") + fragmentWrapper.className = "doxygen-awesome-fragment-wrapper" + const fragmentCopyButton = document.createElement("doxygen-awesome-fragment-copy-button") + fragmentCopyButton.innerHTML = DoxygenAwesomeFragmentCopyButton.copyIcon + fragmentCopyButton.title = DoxygenAwesomeFragmentCopyButton.title + + fragment.parentNode.replaceChild(fragmentWrapper, fragment) + fragmentWrapper.appendChild(fragment) + fragmentWrapper.appendChild(fragmentCopyButton) + + } + } + }) + }) + } + + + copyContent() { + const content = this.previousSibling.cloneNode(true) + // filter out line number from file listings + content.querySelectorAll(".lineno, .ttc").forEach((node) => { + node.remove() + }) + let textContent = content.textContent + // remove trailing newlines that appear in file listings + let numberOfTrailingNewlines = 0 + while(textContent.charAt(textContent.length - (numberOfTrailingNewlines + 1)) == '\n') { + numberOfTrailingNewlines++; + } + textContent = textContent.substring(0, textContent.length - numberOfTrailingNewlines) + navigator.clipboard.writeText(textContent); + this.classList.add("success") + this.innerHTML = DoxygenAwesomeFragmentCopyButton.successIcon + window.setTimeout(() => { + this.classList.remove("success") + this.innerHTML = DoxygenAwesomeFragmentCopyButton.copyIcon + }, DoxygenAwesomeFragmentCopyButton.successDuration); + } +} + +customElements.define("doxygen-awesome-fragment-copy-button", DoxygenAwesomeFragmentCopyButton) diff --git a/docs/doxygen-awesome-paragraph-link.js b/docs/doxygen-awesome-paragraph-link.js new file mode 100644 index 00000000..6424dbd4 --- /dev/null +++ b/docs/doxygen-awesome-paragraph-link.js @@ -0,0 +1,51 @@ +/** + +Doxygen Awesome +https://github.com/jothepro/doxygen-awesome-css + +MIT License + +Copyright (c) 2022 jothepro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ + +class DoxygenAwesomeParagraphLink { + // Icon from https://fonts.google.com/icons + // Licensed under the Apache 2.0 license: + // https://www.apache.org/licenses/LICENSE-2.0.html + static icon = `` + static title = "Permanent Link" + static init() { + $(function() { + $(document).ready(function() { + document.querySelectorAll(".contents a.anchor[id], .contents .groupheader > a[id]").forEach((node) => { + let anchorlink = document.createElement("a") + anchorlink.setAttribute("href", `#${node.getAttribute("id")}`) + anchorlink.setAttribute("title", DoxygenAwesomeParagraphLink.title) + anchorlink.classList.add("anchorlink") + node.classList.add("anchor") + anchorlink.innerHTML = DoxygenAwesomeParagraphLink.icon + node.parentElement.appendChild(anchorlink) + }) + }) + }) + } +} diff --git a/docs/doxygen-awesome-sidebar-only-darkmode-toggle.css b/docs/doxygen-awesome-sidebar-only-darkmode-toggle.css new file mode 100644 index 00000000..b988b6f0 --- /dev/null +++ b/docs/doxygen-awesome-sidebar-only-darkmode-toggle.css @@ -0,0 +1,40 @@ + +/** + +Doxygen Awesome +https://github.com/jothepro/doxygen-awesome-css + +MIT License + +Copyright (c) 2021 jothepro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ + +@media screen and (min-width: 768px) { + + #MSearchBox { + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - var(--searchbar-height) - 1px); + } + + #MSearchField { + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 66px - var(--searchbar-height)); + } +} diff --git a/docs/doxygen-awesome-sidebar-only.css b/docs/doxygen-awesome-sidebar-only.css new file mode 100644 index 00000000..b5c4e7cb --- /dev/null +++ b/docs/doxygen-awesome-sidebar-only.css @@ -0,0 +1,113 @@ +/** + +Doxygen Awesome +https://github.com/jothepro/doxygen-awesome-css + +MIT License + +Copyright (c) 2021 jothepro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + */ + +html { + /* side nav width. MUST be = `TREEVIEW_WIDTH`. + * Make sure it is wide enough to contain the page title (logo + title + version) + */ + --side-nav-fixed-width: 335px; + --menu-display: none; + + --top-height: 120px; +} + +#projectname { + white-space: nowrap; +} + + +@media screen and (min-width: 768px) { + html { + --searchbar-background: var(--page-background-color); + } + + #side-nav { + min-width: var(--side-nav-fixed-width); + max-width: var(--side-nav-fixed-width); + top: var(--top-height); + overflow: visible; + } + + #nav-tree, #side-nav { + height: calc(100vh - var(--top-height)) !important; + } + + #nav-tree { + padding: 0; + } + + #top { + display: block; + border-bottom: none; + height: var(--top-height); + margin-bottom: calc(0px - var(--top-height)); + max-width: var(--side-nav-fixed-width); + overflow: hidden; + background: var(--side-nav-background); + } + #main-nav { + float: left; + padding-right: 0; + } + + .ui-resizable-handle { + cursor: default; + width: 1px !important; + box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color); + } + + #nav-path { + position: fixed; + right: 0; + left: var(--side-nav-fixed-width); + bottom: 0; + width: auto; + } + + #doc-content { + height: calc(100vh - 31px) !important; + padding-bottom: calc(3 * var(--spacing-large)); + padding-top: calc(var(--top-height) - 80px); + box-sizing: border-box; + margin-left: var(--side-nav-fixed-width) !important; + } + + #MSearchBox { + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium))); + } + + #MSearchField { + width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 65px); + } + + #MSearchResultsWindow { + left: var(--spacing-medium) !important; + right: auto; + } +} diff --git a/docs/doxygen-awesome.css b/docs/doxygen-awesome.css new file mode 100644 index 00000000..5f420dc4 --- /dev/null +++ b/docs/doxygen-awesome.css @@ -0,0 +1,2135 @@ +/** + +Doxygen Awesome +https://github.com/jothepro/doxygen-awesome-css + +MIT License + +Copyright (c) 2021 - 2022 jothepro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ + +html { + /* primary theme color. This will affect the entire websites color scheme: links, arrows, labels, ... */ + --primary-color: #1779c4; + --primary-dark-color: #335c80; + --primary-light-color: #70b1e9; + + /* page base colors */ + --page-background-color: white; + --page-foreground-color: #2f4153; + --page-secondary-foreground-color: #637485; + + /* color for all separators on the website: hr, borders, ... */ + --separator-color: #dedede; + + /* border radius for all rounded components. Will affect many components, like dropdowns, memitems, codeblocks, ... */ + --border-radius-large: 8px; + --border-radius-small: 4px; + --border-radius-medium: 6px; + + /* default spacings. Most compontest reference these values for spacing, to provide uniform spacing on the page. */ + --spacing-small: 5px; + --spacing-medium: 10px; + --spacing-large: 16px; + + /* default box shadow used for raising an element above the normal content. Used in dropdowns, Searchresult, ... */ + --box-shadow: 0 2px 8px 0 rgba(0,0,0,.075); + + --odd-color: rgba(0,0,0,.028); + + /* font-families. will affect all text on the website + * font-family: the normal font for text, headlines, menus + * font-family-monospace: used for preformatted text in memtitle, code, fragments + */ + --font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif; + --font-family-monospace: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; + + /* font sizes */ + --page-font-size: 15.6px; + --navigation-font-size: 14.4px; + --code-font-size: 14px; /* affects code, fragment */ + --title-font-size: 22px; + + /* content text properties. These only affect the page content, not the navigation or any other ui elements */ + --content-line-height: 27px; + /* The content is centered and constraint in it's width. To make the content fill the whole page, set the variable to auto.*/ + --content-maxwidth: 1000px; + + /* colors for various content boxes: @warning, @note, @deprecated @bug */ + --warning-color: #f8d1cc; + --warning-color-dark: #b61825; + --warning-color-darker: #75070f; + --note-color: #faf3d8; + --note-color-dark: #f3a600; + --note-color-darker: #5f4204; + --todo-color: #e4f3ff; + --todo-color-dark: #1879C4; + --todo-color-darker: #274a5c; + --deprecated-color: #ecf0f3; + --deprecated-color-dark: #5b6269; + --deprecated-color-darker: #43454a; + --bug-color: #e4dafd; + --bug-color-dark: #5b2bdd; + --bug-color-darker: #2a0d72; + --invariant-color: #d8f1e3; + --invariant-color-dark: #44b86f; + --invariant-color-darker: #265532; + + /* blockquote colors */ + --blockquote-background: #f8f9fa; + --blockquote-foreground: #636568; + + /* table colors */ + --tablehead-background: #f1f1f1; + --tablehead-foreground: var(--page-foreground-color); + + /* menu-display: block | none + * Visibility of the top navigation on screens >= 768px. On smaller screen the menu is always visible. + * `GENERATE_TREEVIEW` MUST be enabled! + */ + --menu-display: block; + + --menu-focus-foreground: var(--page-background-color); + --menu-focus-background: var(--primary-color); + --menu-selected-background: rgba(0,0,0,.05); + + + --header-background: var(--page-background-color); + --header-foreground: var(--page-foreground-color); + + /* searchbar colors */ + --searchbar-background: var(--side-nav-background); + --searchbar-foreground: var(--page-foreground-color); + + /* searchbar size + * (`searchbar-width` is only applied on screens >= 768px. + * on smaller screens the searchbar will always fill the entire screen width) */ + --searchbar-height: 33px; + --searchbar-width: 210px; + --searchbar-border-radius: var(--searchbar-height); + + /* code block colors */ + --code-background: #f5f5f5; + --code-foreground: var(--page-foreground-color); + + /* fragment colors */ + --fragment-background: #F8F9FA; + --fragment-foreground: #37474F; + --fragment-keyword: #bb6bb2; + --fragment-keywordtype: #8258b3; + --fragment-keywordflow: #d67c3b; + --fragment-token: #438a59; + --fragment-comment: #969696; + --fragment-link: #5383d6; + --fragment-preprocessor: #46aaa5; + --fragment-linenumber-color: #797979; + --fragment-linenumber-background: #f4f4f5; + --fragment-linenumber-border: #e3e5e7; + --fragment-lineheight: 20px; + + /* sidebar navigation (treeview) colors */ + --side-nav-background: #fbfbfb; + --side-nav-foreground: var(--page-foreground-color); + --side-nav-arrow-opacity: 0; + --side-nav-arrow-hover-opacity: 0.9; + + --toc-background: var(--side-nav-background); + --toc-foreground: var(--side-nav-foreground); + + /* height of an item in any tree / collapsable table */ + --tree-item-height: 30px; + + --memname-font-size: var(--code-font-size); + --memtitle-font-size: 18px; + + --webkit-scrollbar-size: 7px; + --webkit-scrollbar-padding: 4px; + --webkit-scrollbar-color: var(--separator-color); +} + +@media screen and (max-width: 767px) { + html { + --page-font-size: 16px; + --navigation-font-size: 16px; + --code-font-size: 15px; /* affects code, fragment */ + --title-font-size: 22px; + } +} + +@media (prefers-color-scheme: dark) { + html:not(.light-mode) { + color-scheme: dark; + + --primary-color: #1982d2; + --primary-dark-color: #86a9c4; + --primary-light-color: #4779ac; + + --box-shadow: 0 2px 8px 0 rgba(0,0,0,.35); + + --odd-color: rgba(100,100,100,.06); + + --menu-selected-background: rgba(0,0,0,.4); + + --page-background-color: #1C1D1F; + --page-foreground-color: #d2dbde; + --page-secondary-foreground-color: #859399; + --separator-color: #38393b; + --side-nav-background: #252628; + + --code-background: #2a2c2f; + + --tablehead-background: #2a2c2f; + + --blockquote-background: #222325; + --blockquote-foreground: #7e8c92; + + --warning-color: #2e1917; + --warning-color-dark: #ad2617; + --warning-color-darker: #f5b1aa; + --note-color: #3b2e04; + --note-color-dark: #f1b602; + --note-color-darker: #ceb670; + --todo-color: #163750; + --todo-color-dark: #1982D2; + --todo-color-darker: #dcf0fa; + --deprecated-color: #2e323b; + --deprecated-color-dark: #738396; + --deprecated-color-darker: #abb0bd; + --bug-color: #2a2536; + --bug-color-dark: #7661b3; + --bug-color-darker: #ae9ed6; + --invariant-color: #303a35; + --invariant-color-dark: #76ce96; + --invariant-color-darker: #cceed5; + + --fragment-background: #282c34; + --fragment-foreground: #dbe4eb; + --fragment-keyword: #cc99cd; + --fragment-keywordtype: #ab99cd; + --fragment-keywordflow: #e08000; + --fragment-token: #7ec699; + --fragment-comment: #999999; + --fragment-link: #98c0e3; + --fragment-preprocessor: #65cabe; + --fragment-linenumber-color: #cccccc; + --fragment-linenumber-background: #35393c; + --fragment-linenumber-border: #1f1f1f; + } +} + +/* dark mode variables are defined twice, to support both the dark-mode without and with doxygen-awesome-darkmode-toggle.js */ +html.dark-mode { + color-scheme: dark; + + --primary-color: #1982d2; + --primary-dark-color: #86a9c4; + --primary-light-color: #4779ac; + + --box-shadow: 0 2px 8px 0 rgba(0,0,0,.30); + + --odd-color: rgba(100,100,100,.06); + + --menu-selected-background: rgba(0,0,0,.4); + + --page-background-color: #1C1D1F; + --page-foreground-color: #d2dbde; + --page-secondary-foreground-color: #859399; + --separator-color: #38393b; + --side-nav-background: #252628; + + --code-background: #2a2c2f; + + --tablehead-background: #2a2c2f; + + --blockquote-background: #222325; + --blockquote-foreground: #7e8c92; + + --warning-color: #2e1917; + --warning-color-dark: #ad2617; + --warning-color-darker: #f5b1aa; + --note-color: #3b2e04; + --note-color-dark: #f1b602; + --note-color-darker: #ceb670; + --todo-color: #163750; + --todo-color-dark: #1982D2; + --todo-color-darker: #dcf0fa; + --deprecated-color: #2e323b; + --deprecated-color-dark: #738396; + --deprecated-color-darker: #abb0bd; + --bug-color: #2a2536; + --bug-color-dark: #7661b3; + --bug-color-darker: #ae9ed6; + --invariant-color: #303a35; + --invariant-color-dark: #76ce96; + --invariant-color-darker: #cceed5; + + --fragment-background: #282c34; + --fragment-foreground: #dbe4eb; + --fragment-keyword: #cc99cd; + --fragment-keywordtype: #ab99cd; + --fragment-keywordflow: #e08000; + --fragment-token: #7ec699; + --fragment-comment: #999999; + --fragment-link: #98c0e3; + --fragment-preprocessor: #65cabe; + --fragment-linenumber-color: #cccccc; + --fragment-linenumber-background: #35393c; + --fragment-linenumber-border: #1f1f1f; +} + +body { + color: var(--page-foreground-color); + background-color: var(--page-background-color); + font-size: var(--page-font-size); +} + +body, table, div, p, dl, #nav-tree .label, .title, .sm-dox a, .sm-dox a:hover, .sm-dox a:focus, #projectname, .SelectItem, #MSearchField, .navpath li.navelem a, .navpath li.navelem a:hover { + font-family: var(--font-family); +} + +h1, h2, h3, h4, h5 { + margin-top: .9em; + font-weight: 600; + line-height: initial; +} + +p, div, table, dl { + font-size: var(--page-font-size); +} + +a:link, a:visited, a:hover, a:focus, a:active { + color: var(--primary-color) !important; + font-weight: 500; +} + +a.anchor { + scroll-margin-top: var(--spacing-large); +} + +/* + Title and top navigation + */ + +#top { + background: var(--header-background); + border-bottom: 1px solid var(--separator-color); +} + +@media screen and (min-width: 768px) { + #top { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + } +} + +#main-nav { + flex-grow: 5; + padding: var(--spacing-small) var(--spacing-medium); +} + +#titlearea { + width: auto; + padding: var(--spacing-medium) var(--spacing-large); + background: none; + color: var(--header-foreground); + border-bottom: none; +} + +@media screen and (max-width: 767px) { + #titlearea { + padding-bottom: var(--spacing-small); + } +} + +#titlearea table tbody tr { + height: auto !important; +} + +#projectname { + font-size: var(--title-font-size); + font-weight: 600; +} + +#projectnumber { + font-family: inherit; + font-size: 60%; +} + +#projectbrief { + font-family: inherit; + font-size: 80%; +} + +#projectlogo { + vertical-align: middle; +} + +#projectlogo img { + max-height: calc(var(--title-font-size) * 2); + margin-right: var(--spacing-small); +} + +.sm-dox, .tabs, .tabs2, .tabs3 { + background: none; + padding: 0; +} + +.tabs, .tabs2, .tabs3 { + border-bottom: 1px solid var(--separator-color); + margin-bottom: -1px; +} + +@media screen and (max-width: 767px) { + .sm-dox a span.sub-arrow { + background: var(--code-background); + } + + #main-menu a.has-submenu span.sub-arrow { + color: var(--page-secondary-foreground-color); + border-radius: var(--border-radius-medium); + } + + #main-menu a.has-submenu:hover span.sub-arrow { + color: var(--page-foreground-color); + } +} + +@media screen and (min-width: 768px) { + .sm-dox li, .tablist li { + display: var(--menu-display); + } + + .sm-dox a span.sub-arrow { + border-color: var(--header-foreground) transparent transparent transparent; + } + + .sm-dox a:hover span.sub-arrow { + border-color: var(--menu-focus-foreground) transparent transparent transparent; + } + + .sm-dox ul a span.sub-arrow { + border-color: transparent transparent transparent var(--page-foreground-color); + } + + .sm-dox ul a:hover span.sub-arrow { + border-color: transparent transparent transparent var(--menu-focus-foreground); + } +} + +.sm-dox ul { + background: var(--page-background-color); + box-shadow: var(--box-shadow); + border: 1px solid var(--separator-color); + border-radius: var(--border-radius-medium) !important; + padding: var(--spacing-small); + animation: ease-out 150ms slideInMenu; +} + +@keyframes slideInMenu { + from { + opacity: 0; + transform: translate(0px, -2px); + } + + to { + opacity: 1; + transform: translate(0px, 0px); + } +} + +.sm-dox ul a { + color: var(--page-foreground-color) !important; + background: var(--page-background-color); + font-size: var(--navigation-font-size); +} + +.sm-dox>li>ul:after { + border-bottom-color: var(--page-background-color) !important; +} + +.sm-dox>li>ul:before { + border-bottom-color: var(--separator-color) !important; +} + +.sm-dox ul a:hover, .sm-dox ul a:active, .sm-dox ul a:focus { + font-size: var(--navigation-font-size) !important; + color: var(--menu-focus-foreground) !important; + text-shadow: none; + background-color: var(--menu-focus-background); + border-radius: var(--border-radius-small) !important; +} + +.sm-dox a, .sm-dox a:focus, .tablist li, .tablist li a, .tablist li.current a { + text-shadow: none; + background: transparent; + background-image: none !important; + color: var(--header-foreground) !important; + font-weight: normal; + font-size: var(--navigation-font-size); + border-radius: var(--border-radius-small) !important; +} + +.sm-dox a:focus { + outline: auto; +} + +.sm-dox a:hover, .sm-dox a:active, .tablist li a:hover { + text-shadow: none; + font-weight: normal; + background: var(--menu-focus-background); + color: var(--menu-focus-foreground) !important; + border-radius: var(--border-radius-small) !important; + font-size: var(--navigation-font-size); +} + +.tablist li.current { + border-radius: var(--border-radius-small); + background: var(--menu-selected-background); +} + +.tablist li { + margin: var(--spacing-small) 0 var(--spacing-small) var(--spacing-small); +} + +.tablist a { + padding: 0 var(--spacing-large); +} + + +/* + Search box + */ + +#MSearchBox { + height: var(--searchbar-height); + background: var(--searchbar-background); + border-radius: var(--searchbar-border-radius); + border: 1px solid var(--separator-color); + overflow: hidden; + width: var(--searchbar-width); + position: relative; + box-shadow: none; + display: block; + margin-top: 0; +} + +.left #MSearchSelect { + left: 0; + user-select: none; +} + +.SelectionMark { + user-select: none; +} + +.tabs .left #MSearchSelect { + padding-left: 0; +} + +.tabs #MSearchBox { + position: absolute; + right: var(--spacing-medium); +} + +@media screen and (max-width: 767px) { + .tabs #MSearchBox { + position: relative; + right: 0; + margin-left: var(--spacing-medium); + margin-top: 0; + } +} + +#MSearchSelectWindow, #MSearchResultsWindow { + z-index: 9999; +} + +#MSearchBox.MSearchBoxActive { + border-color: var(--primary-color); + box-shadow: inset 0 0 0 1px var(--primary-color); +} + +#main-menu > li:last-child { + margin-right: 0; +} + +@media screen and (max-width: 767px) { + #main-menu > li:last-child { + height: 50px; + } +} + +#MSearchField { + font-size: var(--navigation-font-size); + height: calc(var(--searchbar-height) - 2px); + background: transparent; + width: calc(var(--searchbar-width) - 64px); +} + +.MSearchBoxActive #MSearchField { + color: var(--searchbar-foreground); +} + +#MSearchSelect { + top: calc(calc(var(--searchbar-height) / 2) - 11px); +} + +.left #MSearchSelect { + padding-left: 8px; +} + +#MSearchBox span.left, #MSearchBox span.right { + background: none; +} + +#MSearchBox span.right { + padding-top: calc(calc(var(--searchbar-height) / 2) - 12px); + position: absolute; + right: var(--spacing-small); +} + +.tabs #MSearchBox span.right { + top: calc(calc(var(--searchbar-height) / 2) - 12px); +} + +@keyframes slideInSearchResults { + from { + opacity: 0; + transform: translate(0, 15px); + } + + to { + opacity: 1; + transform: translate(0, 20px); + } +} + +#MSearchResultsWindow { + left: auto !important; + right: var(--spacing-medium); + border-radius: var(--border-radius-large); + border: 1px solid var(--separator-color); + transform: translate(0, 20px); + box-shadow: var(--box-shadow); + animation: ease-out 280ms slideInSearchResults; + background: var(--page-background-color); +} + +iframe#MSearchResults { + margin: 4px; +} + +iframe { + color-scheme: normal; +} + +@media (prefers-color-scheme: dark) { + html:not(.light-mode) iframe#MSearchResults { + filter: invert() hue-rotate(180deg); + } +} + +html.dark-mode iframe#MSearchResults { + filter: invert() hue-rotate(180deg); +} + +#MSearchSelectWindow { + border: 1px solid var(--separator-color); + border-radius: var(--border-radius-medium); + box-shadow: var(--box-shadow); + background: var(--page-background-color); + padding-top: var(--spacing-small); + padding-bottom: var(--spacing-small); +} + +#MSearchSelectWindow a.SelectItem { + font-size: var(--navigation-font-size); + line-height: var(--content-line-height); + margin: 0 var(--spacing-small); + border-radius: var(--border-radius-small); + color: var(--page-foreground-color) !important; + font-weight: normal; +} + +#MSearchSelectWindow a.SelectItem:hover { + background: var(--menu-focus-background); + color: var(--menu-focus-foreground) !important; +} + +@media screen and (max-width: 767px) { + #MSearchBox { + margin-top: var(--spacing-medium); + margin-bottom: var(--spacing-medium); + width: calc(100vw - 30px); + } + + #main-menu > li:last-child { + float: none !important; + } + + #MSearchField { + width: calc(100vw - 110px); + } + + @keyframes slideInSearchResultsMobile { + from { + opacity: 0; + transform: translate(0, 15px); + } + + to { + opacity: 1; + transform: translate(0, 20px); + } + } + + #MSearchResultsWindow { + left: var(--spacing-medium) !important; + right: var(--spacing-medium); + overflow: auto; + transform: translate(0, 20px); + animation: ease-out 280ms slideInSearchResultsMobile; + } + + /* + * Overwrites for fixing the searchbox on mobile in doxygen 1.9.2 + */ + label.main-menu-btn ~ #searchBoxPos1 { + top: 3px !important; + right: 6px !important; + left: 45px; + display: flex; + } + + label.main-menu-btn ~ #searchBoxPos1 > #MSearchBox { + margin-top: 0; + margin-bottom: 0; + flex-grow: 2; + float: left; + } +} + +/* + Tree view + */ + +#side-nav { + padding: 0 !important; + background: var(--side-nav-background); +} + +@media screen and (max-width: 767px) { + #side-nav { + display: none; + } + + #doc-content { + margin-left: 0 !important; + } +} + +#nav-tree { + background: transparent; +} + +#nav-tree .label { + font-size: var(--navigation-font-size); +} + +#nav-tree .item { + height: var(--tree-item-height); + line-height: var(--tree-item-height); +} + +#nav-sync { + bottom: 12px; + right: 12px; + top: auto !important; + user-select: none; +} + +#nav-tree .selected { + text-shadow: none; + background-image: none; + background-color: transparent; + position: relative; +} + +#nav-tree .selected::after { + content: ""; + position: absolute; + top: 1px; + bottom: 1px; + left: 0; + width: 4px; + border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0; + background: var(--primary-color); +} + + +#nav-tree a { + color: var(--side-nav-foreground) !important; + font-weight: normal; +} + +#nav-tree a:focus { + outline-style: auto; +} + +#nav-tree .arrow { + opacity: var(--side-nav-arrow-opacity); +} + +.arrow { + color: inherit; + cursor: pointer; + font-size: 45%; + vertical-align: middle; + margin-right: 2px; + font-family: serif; + height: auto; + text-align: right; +} + +#nav-tree div.item:hover .arrow, #nav-tree a:focus .arrow { + opacity: var(--side-nav-arrow-hover-opacity); +} + +#nav-tree .selected a { + color: var(--primary-color) !important; + font-weight: bolder; + font-weight: 600; +} + +.ui-resizable-e { + background: var(--separator-color); + width: 1px; +} + +/* + Contents + */ + +div.header { + border-bottom: 1px solid var(--separator-color); + background-color: var(--page-background-color); + background-image: none; +} + +div.contents, div.header .title, div.header .summary { + max-width: var(--content-maxwidth); +} + +div.contents, div.header .title { + line-height: initial; + margin: calc(var(--spacing-medium) + .2em) auto var(--spacing-medium) auto; +} + +div.header .summary { + margin: var(--spacing-medium) auto 0 auto; +} + +div.headertitle { + padding: 0; +} + +div.header .title { + font-weight: 600; + font-size: 210%; + padding: var(--spacing-medium) var(--spacing-large); + word-break: break-word; +} + +div.header .summary { + width: auto; + display: block; + float: none; + padding: 0 var(--spacing-large); +} + +td.memSeparator { + border-color: var(--separator-color); +} + +span.mlabel { + background: var(--primary-color); + border: none; + padding: 4px 9px; + border-radius: 12px; + margin-right: var(--spacing-medium); +} + +span.mlabel:last-of-type { + margin-right: 2px; +} + +div.contents { + padding: 0 var(--spacing-large); +} + +div.contents p, div.contents li { + line-height: var(--content-line-height); +} + +div.contents div.dyncontent { + margin: var(--spacing-medium) 0; +} + +@media (prefers-color-scheme: dark) { + html:not(.light-mode) div.contents div.dyncontent img, + html:not(.light-mode) div.contents center img, + html:not(.light-mode) div.contents table img, + html:not(.light-mode) div.contents div.dyncontent iframe, + html:not(.light-mode) div.contents center iframe, + html:not(.light-mode) div.contents table iframe { + filter: hue-rotate(180deg) invert(); + } +} + +html.dark-mode div.contents div.dyncontent img, +html.dark-mode div.contents center img, +html.dark-mode div.contents table img, +html.dark-mode div.contents div.dyncontent iframe, +html.dark-mode div.contents center iframe, +html.dark-mode div.contents table iframe { + filter: hue-rotate(180deg) invert(); +} + +h2.groupheader { + border-bottom: 0px; + color: var(--page-foreground-color); + box-shadow: + 100px 0 var(--page-background-color), + -100px 0 var(--page-background-color), + 100px 0.75px var(--separator-color), + -100px 0.75px var(--separator-color), + 500px 0 var(--page-background-color), + -500px 0 var(--page-background-color), + 500px 0.75px var(--separator-color), + -500px 0.75px var(--separator-color), + 1500px 0 var(--page-background-color), + -1500px 0 var(--page-background-color), + 1500px 0.75px var(--separator-color), + -1500px 0.75px var(--separator-color), + 2000px 0 var(--page-background-color), + -2000px 0 var(--page-background-color), + 2000px 0.75px var(--separator-color), + -2000px 0.75px var(--separator-color); +} + +blockquote { + margin: 0 var(--spacing-medium) 0 var(--spacing-medium); + padding: var(--spacing-small) var(--spacing-large); + background: var(--blockquote-background); + color: var(--blockquote-foreground); + border-left: 0; + overflow: visible; + border-radius: var(--border-radius-medium); + overflow: visible; + position: relative; +} + +blockquote::before, blockquote::after { + font-weight: bold; + font-family: serif; + font-size: 360%; + opacity: .15; + position: absolute; +} + +blockquote::before { + content: "“"; + left: -10px; + top: 4px; +} + +blockquote::after { + content: "”"; + right: -8px; + bottom: -25px; +} + +blockquote p { + margin: var(--spacing-small) 0 var(--spacing-medium) 0; +} +.paramname { + font-weight: 600; + color: var(--primary-dark-color); +} + +.paramname > code { + border: 0; +} + +table.params .paramname { + font-weight: 600; + font-family: var(--font-family-monospace); + font-size: var(--code-font-size); + padding-right: var(--spacing-small); +} + +.glow { + text-shadow: 0 0 15px var(--primary-light-color) !important; +} + +.alphachar a { + color: var(--page-foreground-color); +} + +/* + Table of Contents + */ + +div.toc { + z-index: 10; + position: relative; + background-color: var(--toc-background); + border: 1px solid var(--separator-color); + border-radius: var(--border-radius-medium); + box-shadow: var(--box-shadow); + padding: 0 var(--spacing-large); + margin: 0 0 var(--spacing-medium) var(--spacing-medium); +} + +div.toc h3 { + color: var(--toc-foreground); + font-size: var(--navigation-font-size); + margin: var(--spacing-large) 0; +} + +div.toc li { + font-size: var(--navigation-font-size); + padding: 0; + background: none; +} + +div.toc li:before { + content: '↓'; + font-weight: 800; + font-family: var(--font-family); + margin-right: var(--spacing-small); + color: var(--toc-foreground); + opacity: .4; +} + +div.toc ul li.level1 { + margin: 0; +} + +div.toc ul li.level2, div.toc ul li.level3 { + margin-top: 0; +} + + +@media screen and (max-width: 767px) { + div.toc { + float: none; + width: auto; + margin: 0 0 var(--spacing-medium) 0; + } +} + +/* + Code & Fragments + */ + +code, div.fragment, pre.fragment { + border-radius: var(--border-radius-small); + border: 1px solid var(--separator-color); + overflow: hidden; +} + +code { + display: inline; + background: var(--code-background); + color: var(--code-foreground); + padding: 2px 6px; + word-break: break-word; +} + +div.fragment, pre.fragment { + margin: var(--spacing-medium) 0; + padding: calc(var(--spacing-large) - (var(--spacing-large) / 6)) var(--spacing-large); + background: var(--fragment-background); + color: var(--fragment-foreground); + overflow-x: auto; +} + +@media screen and (max-width: 767px) { + div.fragment, pre.fragment { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-right: 0; + } + + .contents > div.fragment, + .textblock > div.fragment, + .textblock > pre.fragment, + .contents > .doxygen-awesome-fragment-wrapper > div.fragment, + .textblock > .doxygen-awesome-fragment-wrapper > div.fragment, + .textblock > .doxygen-awesome-fragment-wrapper > pre.fragment { + margin: var(--spacing-medium) calc(0px - var(--spacing-large)); + border-radius: 0; + border-left: 0; + } + + .textblock li > .fragment, + .textblock li > .doxygen-awesome-fragment-wrapper > .fragment { + margin: var(--spacing-medium) calc(0px - var(--spacing-large)); + } + + .memdoc li > .fragment, + .memdoc li > .doxygen-awesome-fragment-wrapper > .fragment { + margin: var(--spacing-medium) calc(0px - var(--spacing-medium)); + } + + .textblock ul, .memdoc ul { + overflow: initial; + } + + .memdoc > div.fragment, + .memdoc > pre.fragment, + dl dd > div.fragment, + dl dd pre.fragment, + .memdoc > .doxygen-awesome-fragment-wrapper > div.fragment, + .memdoc > .doxygen-awesome-fragment-wrapper > pre.fragment, + dl dd > .doxygen-awesome-fragment-wrapper > div.fragment, + dl dd .doxygen-awesome-fragment-wrapper > pre.fragment { + margin: var(--spacing-medium) calc(0px - var(--spacing-medium)); + border-radius: 0; + border-left: 0; + } +} + +code, code a, pre.fragment, div.fragment, div.fragment .line, div.fragment span, div.fragment .line a, div.fragment .line span { + font-family: var(--font-family-monospace); + font-size: var(--code-font-size) !important; +} + +div.line:after { + margin-right: var(--spacing-medium); +} + +div.fragment .line, pre.fragment { + white-space: pre; + word-wrap: initial; + line-height: var(--fragment-lineheight); +} + +div.fragment span.keyword { + color: var(--fragment-keyword); +} + +div.fragment span.keywordtype { + color: var(--fragment-keywordtype); +} + +div.fragment span.keywordflow { + color: var(--fragment-keywordflow); +} + +div.fragment span.stringliteral { + color: var(--fragment-token) +} + +div.fragment span.comment { + color: var(--fragment-comment); +} + +div.fragment a.code { + color: var(--fragment-link) !important; +} + +div.fragment span.preprocessor { + color: var(--fragment-preprocessor); +} + +div.fragment span.lineno { + display: inline-block; + width: 27px; + border-right: none; + background: var(--fragment-linenumber-background); + color: var(--fragment-linenumber-color); +} + +div.fragment span.lineno a { + background: none; + color: var(--fragment-link) !important; +} + +div.fragment .line:first-child .lineno { + box-shadow: -999999px 0px 0 999999px var(--fragment-linenumber-background), -999998px 0px 0 999999px var(--fragment-linenumber-border); +} + +/* + dl warning, attention, note, deprecated, bug, ... + */ + +dl.bug dt a, dl.deprecated dt a, dl.todo dt a { + font-weight: bold !important; +} + +dl.warning, dl.attention, dl.note, dl.deprecated, dl.bug, dl.invariant, dl.pre, dl.todo, dl.remark { + padding: var(--spacing-medium); + margin: var(--spacing-medium) 0; + color: var(--page-background-color); + overflow: hidden; + margin-left: 0; + border-radius: var(--border-radius-small); +} + +dl.section dd { + margin-bottom: 2px; +} + +dl.warning, dl.attention { + background: var(--warning-color); + border-left: 8px solid var(--warning-color-dark); + color: var(--warning-color-darker); +} + +dl.warning dt, dl.attention dt { + color: var(--warning-color-dark); +} + +dl.note, dl.remark { + background: var(--note-color); + border-left: 8px solid var(--note-color-dark); + color: var(--note-color-darker); +} + +dl.note dt, dl.remark dt { + color: var(--note-color-dark); +} + +dl.todo { + background: var(--todo-color); + border-left: 8px solid var(--todo-color-dark); + color: var(--todo-color-darker); +} + +dl.todo dt { + color: var(--todo-color-dark); +} + +dl.bug dt a { + color: var(--todo-color-dark) !important; +} + +dl.bug { + background: var(--bug-color); + border-left: 8px solid var(--bug-color-dark); + color: var(--bug-color-darker); +} + +dl.bug dt a { + color: var(--bug-color-dark) !important; +} + +dl.deprecated { + background: var(--deprecated-color); + border-left: 8px solid var(--deprecated-color-dark); + color: var(--deprecated-color-darker); +} + +dl.deprecated dt a { + color: var(--deprecated-color-dark) !important; +} + +dl.section dd, dl.bug dd, dl.deprecated dd, dl.todo dd { + margin-inline-start: 0px; +} + +dl.invariant, dl.pre { + background: var(--invariant-color); + border-left: 8px solid var(--invariant-color-dark); + color: var(--invariant-color-darker); +} + +dl.invariant dt, dl.pre dt { + color: var(--invariant-color-dark); +} + +/* + memitem + */ + +div.memdoc, div.memproto, h2.memtitle { + box-shadow: none; + background-image: none; + border: none; +} + +div.memdoc { + padding: 0 var(--spacing-medium); + background: var(--page-background-color); +} + +h2.memtitle, div.memitem { + border: 1px solid var(--separator-color); + box-shadow: var(--box-shadow); +} + +h2.memtitle { + box-shadow: 0px var(--spacing-medium) 0 -1px var(--fragment-background), var(--box-shadow); +} + +div.memitem { + transition: none; +} + +div.memproto, h2.memtitle { + background: var(--fragment-background); + text-shadow: none; +} + +h2.memtitle { + font-weight: 500; + font-size: var(--memtitle-font-size); + font-family: var(--font-family-monospace); + border-bottom: none; + border-top-left-radius: var(--border-radius-medium); + border-top-right-radius: var(--border-radius-medium); + word-break: break-all; + position: relative; +} + +h2.memtitle:after { + content: ""; + display: block; + background: var(--fragment-background); + height: var(--spacing-medium); + bottom: calc(0px - var(--spacing-medium)); + left: 0; + right: -14px; + position: absolute; + border-top-right-radius: var(--border-radius-medium); +} + +h2.memtitle > span.permalink { + font-size: inherit; +} + +h2.memtitle > span.permalink > a { + text-decoration: none; + padding-left: 3px; + margin-right: -4px; + user-select: none; + display: inline-block; + margin-top: -6px; +} + +h2.memtitle > span.permalink > a:hover { + color: var(--primary-dark-color) !important; +} + +a:target + h2.memtitle, a:target + h2.memtitle + div.memitem { + border-color: var(--primary-light-color); +} + +div.memitem { + border-top-right-radius: var(--border-radius-medium); + border-bottom-right-radius: var(--border-radius-medium); + border-bottom-left-radius: var(--border-radius-medium); + overflow: hidden; + display: block !important; +} + +div.memdoc { + border-radius: 0; +} + +div.memproto { + border-radius: 0 var(--border-radius-small) 0 0; + overflow: auto; + border-bottom: 1px solid var(--separator-color); + padding: var(--spacing-medium); + margin-bottom: -1px; +} + +div.memtitle { + border-top-right-radius: var(--border-radius-medium); + border-top-left-radius: var(--border-radius-medium); +} + +div.memproto table.memname { + font-family: var(--font-family-monospace); + color: var(--page-foreground-color); + font-size: var(--memname-font-size); +} + +div.memproto div.memtemplate { + font-family: var(--font-family-monospace); + color: var(--primary-dark-color); + font-size: var(--memname-font-size); + margin-left: 2px; +} + +table.mlabels, table.mlabels > tbody { + display: block; +} + +td.mlabels-left { + width: auto; +} + +td.mlabels-right { + margin-top: 3px; + position: sticky; + left: 0; +} + +table.mlabels > tbody > tr:first-child { + display: flex; + justify-content: space-between; + flex-wrap: wrap; +} + +.memname, .memitem span.mlabels { + margin: 0 +} + +/* + reflist + */ + +dl.reflist { + box-shadow: var(--box-shadow); + border-radius: var(--border-radius-medium); + border: 1px solid var(--separator-color); + overflow: hidden; + padding: 0; +} + + +dl.reflist dt, dl.reflist dd { + box-shadow: none; + text-shadow: none; + background-image: none; + border: none; + padding: 12px; +} + + +dl.reflist dt { + font-weight: 500; + border-radius: 0; + background: var(--code-background); + border-bottom: 1px solid var(--separator-color); + color: var(--page-foreground-color) +} + + +dl.reflist dd { + background: none; +} + +/* + Table + */ + +.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) { + display: inline-block; + max-width: 100%; + } + +.contents > table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname):not(.classindex) { + margin-left: calc(0px - var(--spacing-large)); + margin-right: calc(0px - var(--spacing-large)); + max-width: calc(100% + 2 * var(--spacing-large)); +} + +table.markdownTable, table.fieldtable { + border: none; + margin: var(--spacing-medium) 0; + box-shadow: 0 0 0 1px var(--separator-color); + border-radius: var(--border-radius-small); +} + +table.fieldtable { + width: 100%; +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background: var(--tablehead-background); + color: var(--tablehead-foreground); + font-weight: 600; + font-size: var(--page-font-size); +} + +th.markdownTableHeadLeft:first-child, th.markdownTableHeadRight:first-child, th.markdownTableHeadCenter:first-child, th.markdownTableHeadNone:first-child { + border-top-left-radius: var(--border-radius-small); +} + +th.markdownTableHeadLeft:last-child, th.markdownTableHeadRight:last-child, th.markdownTableHeadCenter:last-child, th.markdownTableHeadNone:last-child { + border-top-right-radius: var(--border-radius-small); +} + +table.markdownTable td, table.markdownTable th, table.fieldtable dt { + border: none; + border-right: 1px solid var(--separator-color); + padding: var(--spacing-small) var(--spacing-medium); +} + +table.markdownTable td:last-child, table.markdownTable th:last-child, table.fieldtable dt:last-child { + border: none; +} + +table.markdownTable tr, table.markdownTable tr { + border-bottom: 1px solid var(--separator-color); +} + +table.markdownTable tr:last-child, table.markdownTable tr:last-child { + border-bottom: none; +} + +table.fieldtable th { + font-size: var(--page-font-size); + font-weight: 600; + background-image: none; + background-color: var(--tablehead-background); + color: var(--tablehead-foreground); + border-bottom: 1px solid var(--separator-color); +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + border-bottom: 1px solid var(--separator-color); + border-right: 1px solid var(--separator-color); +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid var(--separator-color); +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: var(--primary-light-color); + box-shadow: 0 0 15px var(--primary-light-color); +} + +table.memberdecls { + display: block; +} + +table.memberdecls tr[class^='memitem'] { + font-family: var(--font-family-monospace); + font-size: var(--code-font-size); +} + +table.memberdecls tr[class^='memitem'] .memTemplParams { + font-family: var(--font-family-monospace); + font-size: var(--code-font-size); + color: var(--primary-dark-color); +} + +table.memberdecls .memItemLeft, +table.memberdecls .memItemRight, +table.memberdecls .memTemplItemLeft, +table.memberdecls .memTemplItemRight, +table.memberdecls .memTemplParams { + transition: none; + padding-top: var(--spacing-small); + padding-bottom: var(--spacing-small); + border-top: 1px solid var(--separator-color); + border-bottom: 1px solid var(--separator-color); + background-color: var(--fragment-background); +} + +table.memberdecls .memTemplItemLeft, +table.memberdecls .memTemplItemRight { + padding-top: 2px; +} + +table.memberdecls .memTemplParams { + border-bottom: 0; + border-left: 1px solid var(--separator-color); + border-right: 1px solid var(--separator-color); + border-radius: var(--border-radius-small) var(--border-radius-small) 0 0; + padding-bottom: 0; +} + +table.memberdecls .memTemplItemLeft { + border-radius: 0 0 0 var(--border-radius-small); + border-left: 1px solid var(--separator-color); + border-top: 0; +} + +table.memberdecls .memTemplItemRight { + border-radius: 0 0 var(--border-radius-small) 0; + border-right: 1px solid var(--separator-color); + border-top: 0; +} + +table.memberdecls .memItemLeft { + border-radius: var(--border-radius-small) 0 0 var(--border-radius-small); + border-left: 1px solid var(--separator-color); + padding-left: var(--spacing-medium); + padding-right: 0; +} + +table.memberdecls .memItemRight { + border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0; + border-right: 1px solid var(--separator-color); + padding-right: var(--spacing-medium); + padding-left: 0; + +} + +table.memberdecls .mdescLeft, table.memberdecls .mdescRight { + background: none; + color: var(--page-foreground-color); + padding: var(--spacing-small) 0; +} + +table.memberdecls .memSeparator { + background: var(--page-background-color); + height: var(--spacing-large); + border: 0; + transition: none; +} + +table.memberdecls .groupheader { + margin-bottom: var(--spacing-large); +} + +table.memberdecls .inherit_header td { + padding: 0 0 var(--spacing-medium) 0; + text-indent: -12px; + line-height: 1.5em; + color: var(--page-secondary-foreground-color); +} + +@media screen and (max-width: 767px) { + + table.memberdecls .memItemLeft, + table.memberdecls .memItemRight, + table.memberdecls .mdescLeft, + table.memberdecls .mdescRight, + table.memberdecls .memTemplItemLeft, + table.memberdecls .memTemplItemRight, + table.memberdecls .memTemplParams { + display: block; + text-align: left; + padding-left: var(--spacing-large); + margin: 0 calc(0px - var(--spacing-large)) 0 calc(0px - var(--spacing-large)); + border-right: none; + border-left: none; + border-radius: 0; + } + + table.memberdecls .memItemLeft, + table.memberdecls .mdescLeft, + table.memberdecls .memTemplItemLeft { + border-bottom: 0; + padding-bottom: 0; + } + + table.memberdecls .memTemplItemLeft { + padding-top: 0; + } + + table.memberdecls .mdescLeft { + margin-top: calc(0px - var(--page-font-size)); + } + + table.memberdecls .memItemRight, + table.memberdecls .mdescRight, + table.memberdecls .memTemplItemRight { + border-top: 0; + padding-top: 0; + padding-right: var(--spacing-large); + overflow-x: auto; + } + + table.memberdecls tr[class^='memitem']:not(.inherit) { + display: block; + width: calc(100vw - 2 * var(--spacing-large)); + } + + table.memberdecls .mdescRight { + color: var(--page-foreground-color); + } + + table.memberdecls tr.inherit { + visibility: hidden; + } + + table.memberdecls tr[style="display: table-row;"] { + display: block !important; + visibility: visible; + width: calc(100vw - 2 * var(--spacing-large)); + animation: fade .5s; + } + + @keyframes fade { + 0% { + opacity: 0; + max-height: 0; + } + + 100% { + opacity: 1; + max-height: 200px; + } + } +} + + +/* + Horizontal Rule + */ + +hr { + margin-top: var(--spacing-large); + margin-bottom: var(--spacing-large); + height: 1px; + background-color: var(--separator-color); + border: 0; +} + +.contents hr { + box-shadow: 100px 0 0 var(--separator-color), + -100px 0 0 var(--separator-color), + 500px 0 0 var(--separator-color), + -500px 0 0 var(--separator-color), + 1500px 0 0 var(--separator-color), + -1500px 0 0 var(--separator-color), + 2000px 0 0 var(--separator-color), + -2000px 0 0 var(--separator-color); +} + +.contents img, .contents .center, .contents center, .contents div.image object { + max-width: 100%; + overflow: auto; +} + +@media screen and (max-width: 767px) { + .contents .dyncontent > .center, .contents > center { + margin-left: calc(0px - var(--spacing-large)); + margin-right: calc(0px - var(--spacing-large)); + max-width: calc(100% + 2 * var(--spacing-large)); + } +} + +/* + Directories + */ +div.directory { + border-top: 1px solid var(--separator-color); + border-bottom: 1px solid var(--separator-color); + width: auto; +} + +table.directory { + font-family: var(--font-family); + font-size: var(--page-font-size); + font-weight: normal; + width: 100%; +} + +table.directory td.entry { + padding: var(--spacing-small); +} + +table.directory td.desc { + min-width: 250px; +} + +table.directory tr.even { + background-color: var(--odd-color); +} + +.icona { + width: auto; + height: auto; + margin: 0 var(--spacing-small); +} + +.icon { + background: var(--primary-color); + width: 18px; + height: 18px; + line-height: 18px; +} + +.iconfopen, .icondoc, .iconfclosed { + background-position: center; + margin-bottom: 0; +} + +.icondoc { + filter: saturate(0.2); +} + +@media screen and (max-width: 767px) { + div.directory { + margin-left: calc(0px - var(--spacing-large)); + margin-right: calc(0px - var(--spacing-large)); + } +} + +@media (prefers-color-scheme: dark) { + html:not(.light-mode) .iconfopen, html:not(.light-mode) .iconfclosed { + filter: hue-rotate(180deg) invert(); + } +} + +html.dark-mode .iconfopen, html.dark-mode .iconfclosed { + filter: hue-rotate(180deg) invert(); +} + +/* + Class list + */ + +.classindex dl.odd { + background: var(--odd-color); + border-radius: var(--border-radius-small); +} + +/* + Class Index Doxygen 1.8 +*/ + +table.classindex { + margin-left: 0; + margin-right: 0; + width: 100%; +} + +table.classindex table div.ah { + background-image: none; + background-color: initial; + border-color: var(--separator-color); + color: var(--page-foreground-color); + box-shadow: var(--box-shadow); + border-radius: var(--border-radius-large); + padding: var(--spacing-small); +} + +div.qindex { + background-color: var(--odd-color); + border-radius: var(--border-radius-small); + border: 1px solid var(--separator-color); + padding: var(--spacing-small) 0; +} + +/* + Footer and nav-path + */ + +#nav-path { + width: 100%; +} + +#nav-path ul { + background-image: none; + background: var(--page-background-color); + border: none; + border-top: 1px solid var(--separator-color); + border-bottom: 1px solid var(--separator-color); + border-bottom: 0; + box-shadow: 0 0.75px 0 var(--separator-color); + font-size: var(--navigation-font-size); +} + +img.footer { + width: 60px; +} + +.navpath li.footer { + color: var(--page-secondary-foreground-color); +} + +address.footer { + color: var(--page-secondary-foreground-color); + margin-bottom: var(--spacing-large); +} + +#nav-path li.navelem { + background-image: none; + display: flex; + align-items: center; +} + +.navpath li.navelem a { + text-shadow: none; + display: inline-block; + color: var(--primary-color) !important; +} + +.navpath li.navelem b { + color: var(--primary-dark-color); + font-weight: 500; +} + +li.navelem { + padding: 0; + margin-left: -8px; +} + +li.navelem:first-child { + margin-left: var(--spacing-large); +} + +li.navelem:first-child:before { + display: none; +} + +#nav-path li.navelem:after { + content: ''; + border: 5px solid var(--page-background-color); + border-bottom-color: transparent; + border-right-color: transparent; + border-top-color: transparent; + transform: translateY(-1px) scaleY(4.2); + z-index: 10; + margin-left: 6px; +} + +#nav-path li.navelem:before { + content: ''; + border: 5px solid var(--separator-color); + border-bottom-color: transparent; + border-right-color: transparent; + border-top-color: transparent; + transform: translateY(-1px) scaleY(3.2); + margin-right: var(--spacing-small); +} + +.navpath li.navelem a:hover { + color: var(--primary-color); +} + +/* + Scrollbars for Webkit +*/ + +#nav-tree::-webkit-scrollbar, +div.fragment::-webkit-scrollbar, +pre.fragment::-webkit-scrollbar, +div.memproto::-webkit-scrollbar, +.contents center::-webkit-scrollbar, +.contents .center::-webkit-scrollbar, +.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname)::-webkit-scrollbar { + width: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding)); + height: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding)); +} + +#nav-tree::-webkit-scrollbar-thumb, +div.fragment::-webkit-scrollbar-thumb, +pre.fragment::-webkit-scrollbar-thumb, +div.memproto::-webkit-scrollbar-thumb, +.contents center::-webkit-scrollbar-thumb, +.contents .center::-webkit-scrollbar-thumb, +.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname)::-webkit-scrollbar-thumb { + background-color: transparent; + border: var(--webkit-scrollbar-padding) solid transparent; + border-radius: calc(var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding)); + background-clip: padding-box; +} + +#nav-tree:hover::-webkit-scrollbar-thumb, +div.fragment:hover::-webkit-scrollbar-thumb, +pre.fragment:hover::-webkit-scrollbar-thumb, +div.memproto:hover::-webkit-scrollbar-thumb, +.contents center:hover::-webkit-scrollbar-thumb, +.contents .center:hover::-webkit-scrollbar-thumb, +.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname):hover::-webkit-scrollbar-thumb { + background-color: var(--webkit-scrollbar-color); +} + +#nav-tree::-webkit-scrollbar-track, +div.fragment::-webkit-scrollbar-track, +pre.fragment::-webkit-scrollbar-track, +div.memproto::-webkit-scrollbar-track, +.contents center::-webkit-scrollbar-track, +.contents .center::-webkit-scrollbar-track, +.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname)::-webkit-scrollbar-track { + background: transparent; +} + +#nav-tree::-webkit-scrollbar-corner { + background-color: var(--side-nav-background); +} + +#nav-tree, +div.fragment, +pre.fragment, +div.memproto, +.contents center, +.contents .center, +.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) { + overflow-x: auto; + overflow-x: overlay; +} + +#nav-tree { + overflow-x: auto; + overflow-y: auto; + overflow-y: overlay; +} + +/* + Scrollbars for Firefox +*/ + +#nav-tree, +div.fragment, +pre.fragment, +div.memproto, +.contents center, +.contents .center, +.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) { + scrollbar-width: thin; +} + +/* + Optional Dark mode toggle button +*/ + +doxygen-awesome-dark-mode-toggle { + display: inline-block; + margin: 0 0 0 var(--spacing-small); + padding: 0; + width: var(--searchbar-height); + height: var(--searchbar-height); + background: none; + border: none; + border-radius: var(--searchbar-height); + vertical-align: middle; + text-align: center; + line-height: var(--searchbar-height); + font-size: 22px; + display: flex; + align-items: center; + justify-content: center; + user-select: none; + cursor: pointer; +} + +doxygen-awesome-dark-mode-toggle > svg { + transition: transform .1s ease-in-out; +} + +doxygen-awesome-dark-mode-toggle:active > svg { + transform: scale(.5); +} + +doxygen-awesome-dark-mode-toggle:hover { + background-color: rgba(0,0,0,.03); +} + +html.dark-mode doxygen-awesome-dark-mode-toggle:hover { + background-color: rgba(0,0,0,.18); +} + +/* + Optional fragment copy button +*/ +.doxygen-awesome-fragment-wrapper { + position: relative; +} + +doxygen-awesome-fragment-copy-button { + opacity: 0; + background: var(--fragment-background); + width: 28px; + height: 28px; + position: absolute; + right: calc(var(--spacing-large) - (var(--spacing-large) / 2.5)); + top: calc(var(--spacing-large) - (var(--spacing-large) / 2.5)); + border: 1px solid var(--fragment-foreground); + cursor: pointer; + border-radius: var(--border-radius-small); + display: flex; + justify-content: center; + align-items: center; +} + +.doxygen-awesome-fragment-wrapper:hover doxygen-awesome-fragment-copy-button, doxygen-awesome-fragment-copy-button.success { + opacity: .28; +} + +doxygen-awesome-fragment-copy-button:hover, doxygen-awesome-fragment-copy-button.success { + opacity: 1 !important; +} + +doxygen-awesome-fragment-copy-button:active:not([class~=success]) svg { + transform: scale(.91); +} + +doxygen-awesome-fragment-copy-button svg { + fill: var(--fragment-foreground); + width: 18px; + height: 18px; +} + +doxygen-awesome-fragment-copy-button.success svg { + fill: rgb(14, 168, 14); +} + +doxygen-awesome-fragment-copy-button.success { + border-color: rgb(14, 168, 14); +} + +@media screen and (max-width: 767px) { + .textblock > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button, + .textblock li > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button, + .memdoc li > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button, + .memdoc > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button, + dl dd > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button { + right: 0; + } +} + +/* + Optional paragraph link button +*/ + +a.anchorlink { + font-size: 90%; + margin-left: var(--spacing-small); + color: var(--page-foreground-color) !important; + text-decoration: none; + opacity: .15; + display: none; + transition: opacity .1s ease-in-out, color .1s ease-in-out; +} + +a.anchorlink svg { + fill: var(--page-foreground-color); +} + +h3 a.anchorlink svg, h4 a.anchorlink svg { + margin-bottom: -3px; + margin-top: -4px; +} + +a.anchorlink:hover { + opacity: .45; +} + +h2:hover a.anchorlink, h1:hover a.anchorlink, h3:hover a.anchorlink, h4:hover a.anchorlink { + display: inline-block; +} diff --git a/docs/doxygen.css b/docs/doxygen.css index 73ecbb2c..43b9d950 100644 --- a/docs/doxygen.css +++ b/docs/doxygen.css @@ -1,4 +1,4 @@ -/* The standard CSS for doxygen 1.8.17 */ +/* The standard CSS for doxygen 1.9.3 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; @@ -22,8 +22,8 @@ h1.groupheader { } h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; + border-bottom: 1px solid #1F92FF; + color: #003B72; font-size: 150%; font-weight: normal; margin-top: 1.75em; @@ -66,7 +66,7 @@ p.startli, p.startdd { margin-top: 2px; } -th p.starttd, p.intertd, p.endtd { +th p.starttd, th p.intertd, th p.endtd { font-size: 100%; font-weight: 700; } @@ -103,57 +103,112 @@ caption { } span.legend { - font-size: 70%; - text-align: center; + font-size: 70%; + text-align: center; } h3.version { - font-size: 90%; - text-align: center; + font-size: 90%; + text-align: center; } -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; +div.navtab { + border-right: 1px solid #50AAFE; + padding-right: 15px; + text-align: right; + line-height: 110%; +} + +div.navtab table { + border-spacing: 0; } -div.qindex, div.navpath { +td.navtab { + padding-right: 6px; + padding-left: 6px; +} +td.navtabHL { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; width: 100%; line-height: 140%; + font-size: 130%; + color: #A0A0A0; } -div.navtab { - margin-right: 15px; +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: black; +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; } +.classindex dl.odd { + background-color: #F1F8FF; +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } +} + + /* @group Link Styling */ a { - color: #3D578C; + color: #004789; font-weight: normal; text-decoration: none; } .contents a:visited { - color: #4665A2; + color: #0057A9; } a:hover { text-decoration: underline; } -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #FFFFFF; - border: 1px double #869DCA; -} - .contents a.qindexHL:visited { color: #FFFFFF; } @@ -166,12 +221,39 @@ a.elRef { } a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; + color: #0057A9; } a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} + color: #0057A9; +} + +a.code.hl_class { /* style for links to class names in code snippets */ } +a.code.hl_struct { /* style for links to struct names in code snippets */ } +a.code.hl_union { /* style for links to union names in code snippets */ } +a.code.hl_interface { /* style for links to interface names in code snippets */ } +a.code.hl_protocol { /* style for links to protocol names in code snippets */ } +a.code.hl_category { /* style for links to category names in code snippets */ } +a.code.hl_exception { /* style for links to exception names in code snippets */ } +a.code.hl_service { /* style for links to service names in code snippets */ } +a.code.hl_singleton { /* style for links to singleton names in code snippets */ } +a.code.hl_concept { /* style for links to concept names in code snippets */ } +a.code.hl_namespace { /* style for links to namespace names in code snippets */ } +a.code.hl_package { /* style for links to package names in code snippets */ } +a.code.hl_define { /* style for links to macro names in code snippets */ } +a.code.hl_function { /* style for links to function names in code snippets */ } +a.code.hl_variable { /* style for links to variable names in code snippets */ } +a.code.hl_typedef { /* style for links to typedef names in code snippets */ } +a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } +a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } +a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } +a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } +a.code.hl_friend { /* style for links to friend names in code snippets */ } +a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } +a.code.hl_property { /* style for links to property names in code snippets */ } +a.code.hl_event { /* style for links to event names in code snippets */ } +a.code.hl_sequence { /* style for links to sequence names in code snippets */ } +a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } /* @end */ @@ -180,7 +262,7 @@ dl.el { } ul { - overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ + overflow: visible; } #side-nav ul { @@ -199,8 +281,8 @@ ul { } pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; + border: 1px solid #8DC8FF; + background-color: #F8FBFF; padding: 4px 6px; margin: 4px 8px 4px 2px; overflow: auto; @@ -214,8 +296,8 @@ pre.fragment { div.fragment { padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; + background-color: #F8FBFF; + border: 1px solid #8DC8FF; } div.line { @@ -258,6 +340,7 @@ div.line.glow { span.lineno { padding-right: 4px; + margin-right: 9px; text-align: right; border-right: 2px solid #0F0; background-color: #E8E8E8; @@ -331,9 +414,9 @@ div.contents { } td.indexkey { - background-color: #EBEFF6; + background-color: #D8ECFF; font-weight: bold; - border: 1px solid #C4CFE5; + border: 1px solid #8DC8FF; margin: 2px 0px 2px 0; padding: 2px 10px; white-space: nowrap; @@ -341,14 +424,14 @@ td.indexkey { } td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; + background-color: #D8ECFF; + border: 1px solid #8DC8FF; padding: 2px 10px; margin: 2px 0px; } tr.memlist { - background-color: #EEF1F7; + background-color: #DDEEFE; } p.formulaDsp { @@ -384,6 +467,12 @@ img.footer { vertical-align: middle; } +.compoundTemplParams { + color: #0057A9; + font-size: 80%; + line-height: 120%; +} + /* @group Code Colorization */ span.keyword { @@ -431,15 +520,15 @@ span.vhdllogic { } blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; + background-color: #EFF7FF; + border-left: 2px solid #43A4FF; margin: 0 24px 0 4px; padding: 0 12px 0 16px; } blockquote.DocNodeRTL { border-left: 0; - border-right: 2px solid #9CAFD4; + border-right: 2px solid #43A4FF; margin: 0 4px 0 24px; padding: 0 16px 0 12px; } @@ -472,18 +561,18 @@ td.tiny { .dirtab { padding: 4px; border-collapse: collapse; - border: 1px solid #A3B4D7; + border: 1px solid #50AAFE; } th.dirtab { - background: #EBEFF6; + background: #D8ECFF; font-weight: bold; } hr { height: 0px; border: none; - border-top: 1px solid #4A6AAA; + border-top: 1px solid #005DB5; } hr.footer { @@ -518,7 +607,7 @@ table.memberdecls { .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; + background-color: #F3F9FE; border: none; margin: 4px; padding: 1px 0 0 8px; @@ -530,7 +619,7 @@ table.memberdecls { } .memSeparator { - border-bottom: 1px solid #DEE4F0; + border-bottom: 1px solid #BDDFFF; line-height: 1px; margin: 0px; padding: 0px; @@ -545,7 +634,7 @@ table.memberdecls { } .memTemplParams { - color: #4665A2; + color: #0057A9; white-space: nowrap; font-size: 80%; } @@ -558,15 +647,15 @@ table.memberdecls { .memtitle { padding: 8px; - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-top: 1px solid #59AEFF; + border-left: 1px solid #59AEFF; + border-right: 1px solid #59AEFF; border-top-right-radius: 4px; border-top-left-radius: 4px; margin-bottom: -1px; background-image: url('nav_f.png'); background-repeat: repeat-x; - background-color: #E2E8F2; + background-color: #C6E3FE; line-height: 1.25; font-weight: 300; float:left; @@ -581,14 +670,14 @@ table.memberdecls { .memtemplate { font-size: 80%; - color: #4665A2; + color: #0057A9; font-weight: normal; margin-left: 9px; } .memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; + background-color: #D8ECFF; + border: 1px solid #50AAFE; text-align: center; margin: 2px; margin-right: 15px; @@ -626,14 +715,14 @@ table.memberdecls { } .memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-top: 1px solid #59AEFF; + border-left: 1px solid #59AEFF; + border-right: 1px solid #59AEFF; padding: 6px 0px 6px 0px; - color: #253555; + color: #002344; font-weight: bold; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #DFE5F1; + background-color: #C0E0FF; /* opera specific markup */ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); border-top-right-radius: 4px; @@ -652,11 +741,11 @@ table.memberdecls { } .memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #59AEFF; + border-left: 1px solid #59AEFF; + border-right: 1px solid #59AEFF; padding: 6px 10px 2px 10px; - background-color: #FBFCFD; + background-color: #F8FBFF; border-top-width: 0; background-image:url('nav_g.png'); background-repeat:repeat-x; @@ -743,11 +832,11 @@ span.mlabels { } span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; + background-color: #0081FA; + border-top:1px solid #0067C9; + border-left:1px solid #0067C9; + border-right:1px solid #8DC8FF; + border-bottom:1px solid #8DC8FF; text-shadow: none; color: white; margin-right: 4px; @@ -766,8 +855,8 @@ span.mlabel { div.directory { margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; + border-top: 1px solid #43A4FF; + border-bottom: 1px solid #43A4FF; width: 100%; } @@ -805,7 +894,7 @@ div.directory { .directory tr.even { padding-left: 6px; - background-color: #F7F8FB; + background-color: #EFF7FF; } .directory img { @@ -823,11 +912,11 @@ div.directory { cursor: pointer; padding-left: 2px; padding-right: 2px; - color: #3D578C; + color: #004789; } .arrow { - color: #9CAFD4; + color: #43A4FF; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; @@ -847,7 +936,7 @@ div.directory { height: 14px; width: 16px; display: inline-block; - background-color: #728DC1; + background-color: #0081FA; color: white; text-align: center; border-radius: 4px; @@ -912,7 +1001,7 @@ div.dynheader { address { font-style: normal; - color: #2A3D61; + color: #002A52; } table.doxtable caption { @@ -926,12 +1015,12 @@ table.doxtable { } table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; + border: 1px solid #002E5A; padding: 3px 7px 2px; } table.doxtable th { - background-color: #374F7F; + background-color: #003E78; color: #FFFFFF; font-size: 110%; padding-bottom: 4px; @@ -941,7 +1030,7 @@ table.doxtable th { table.fieldtable { /*width: 100%;*/ margin-bottom: 10px; - border: 1px solid #A8B8D9; + border: 1px solid #59AEFF; border-spacing: 0px; -moz-border-radius: 4px; -webkit-border-radius: 4px; @@ -957,8 +1046,8 @@ table.fieldtable { .fieldtable td.fieldtype, .fieldtable td.fieldname { white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; + border-right: 1px solid #59AEFF; + border-bottom: 1px solid #59AEFF; vertical-align: top; } @@ -967,7 +1056,7 @@ table.fieldtable { } .fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; + border-bottom: 1px solid #59AEFF; /*width: 100%;*/ } @@ -986,9 +1075,9 @@ table.fieldtable { .fieldtable th { background-image:url('nav_f.png'); background-repeat:repeat-x; - background-color: #E2E8F2; + background-color: #C6E3FE; font-size: 90%; - color: #253555; + color: #002344; padding-bottom: 4px; padding-top: 5px; text-align:left; @@ -999,7 +1088,7 @@ table.fieldtable { -webkit-border-top-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; + border-bottom: 1px solid #59AEFF; } @@ -1021,8 +1110,8 @@ table.fieldtable { background-position: 0 -5px; height:30px; line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; + color:#2394FF; + border:solid 1px #88C5FF; overflow:hidden; margin:0px; padding:0px; @@ -1037,7 +1126,7 @@ table.fieldtable { background-image:url('bc_s.png'); background-repeat:no-repeat; background-position:right; - color:#364D7C; + color:#003C74; } .navpath li.navelem a @@ -1046,7 +1135,7 @@ table.fieldtable { display:block; text-decoration: none; outline: none; - color: #283A5D; + color: #00274D; font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); text-decoration: none; @@ -1054,7 +1143,7 @@ table.fieldtable { .navpath li.navelem a:hover { - color:#6884BD; + color:#0078EA; } .navpath li.footer @@ -1066,7 +1155,7 @@ table.fieldtable { background-image:none; background-repeat:no-repeat; background-position:right; - color:#364D7C; + color:#003C74; font-size: 8pt; } @@ -1113,9 +1202,9 @@ div.header { background-image:url('nav_h.png'); background-repeat:repeat-x; - background-color: #F9FAFC; + background-color: #F3F9FE; margin: 0px; - border-bottom: 1px solid #C4CFE5; + border-bottom: 1px solid #8DC8FF; } div.headertitle @@ -1267,6 +1356,11 @@ dl.section dd { } +#projectrow +{ + height: 56px; +} + #projectlogo { text-align: center; @@ -1282,18 +1376,19 @@ dl.section dd { #projectalign { vertical-align: middle; + padding-left: 0.5em; } #projectname { - font: 300% Tahoma, Arial,sans-serif; + font: 200% Tahoma, Arial,sans-serif; margin: 0px; padding: 2px 0px; } #projectbrief { - font: 120% Tahoma, Arial,sans-serif; + font: 90% Tahoma, Arial,sans-serif; margin: 0px; padding: 0px; } @@ -1310,7 +1405,7 @@ dl.section dd { padding: 0px; margin: 0px; width: 100%; - border-bottom: 1px solid #5373B4; + border-bottom: 1px solid #0067C9; } .image @@ -1345,7 +1440,7 @@ dl.section dd { div.zoom { - border: 1px solid #90A5CE; + border: 1px solid #2E9AFE; } dl.citelist { @@ -1353,22 +1448,24 @@ dl.citelist { } dl.citelist dt { - color:#334975; + color:#00376A; float:left; font-weight:bold; margin-right:10px; padding:5px; + text-align:right; + width:52px; } dl.citelist dd { - margin:2px 0; + margin:2px 0 2px 72px; padding:5px 0; } div.toc { padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; + background-color: #EAF5FE; + border: 1px solid #B2DAFF; border-radius: 7px 7px 7px 7px; float: right; height: auto; @@ -1397,7 +1494,7 @@ div.toc li { div.toc h3 { font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; + color: #0057A9; border-bottom: 0 none; margin: 0; } @@ -1424,6 +1521,16 @@ div.toc li.level4 { margin-left: 45px; } +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + +span.obfuscator { + display: none; +} + .PageDocRTL-title div.toc li.level1 { margin-left: 0 !important; margin-right: 0; @@ -1478,7 +1585,7 @@ tr.heading h2 { #powerTip { cursor: default; - white-space: nowrap; + /*white-space: nowrap;*/ background-color: white; border: 1px solid gray; border-radius: 4px 4px 4px 4px; @@ -1661,47 +1768,6 @@ tr.heading h2 { /* @group Markdown */ -/* -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTableHead tr { -} - -table.markdownTableBodyLeft td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft { - text-align: left -} - -th.markdownTableHeadRight { - text-align: right -} - -th.markdownTableHeadCenter { - text-align: center -} -*/ - table.markdownTable { border-collapse:collapse; margin-top: 4px; @@ -1709,7 +1775,7 @@ table.markdownTable { } table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; + border: 1px solid #002E5A; padding: 3px 7px 2px; } @@ -1717,7 +1783,7 @@ table.markdownTable tr { } th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #374F7F; + background-color: #003E78; color: #FFFFFF; font-size: 110%; padding-bottom: 4px; @@ -1758,6 +1824,10 @@ table.DocNodeLTR { margin-left: 0; } +code.JavaDocCode + direction:ltr; +} + tt, code, kbd, samp { display: inline-block; diff --git a/docs/doxygen.svg b/docs/doxygen.svg new file mode 100644 index 00000000..3f5ebcb6 --- /dev/null +++ b/docs/doxygen.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/dynsections.js b/docs/dynsections.js index c8e84aaa..7906639f 100644 --- a/docs/dynsections.js +++ b/docs/dynsections.js @@ -1,25 +1,26 @@ /* - @licstart The following is the entire license notice for the - JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. - Copyright (C) 1997-2017 by Dimitri van Heesch + The MIT License (MIT) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + Copyright (C) 1997-2020 by Dimitri van Heesch - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. - @licend The above is the entire license notice - for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ function toggleVisibility(linkObj) { @@ -118,10 +119,10 @@ function toggleInherit(id) } } /* @license-end */ - $(document).ready(function() { $('.code,.codeRef').each(function() { $(this).data('powertip',$('#a'+$(this).attr('href').replace(/.*\//,'').replace(/[^a-z_A-Z0-9]/g,'_')).html()); + $.fn.powerTip.smartPlacementLists.s = [ 's', 'n', 'ne', 'se' ]; $(this).powerTip({ placement: 's', smartPlacement: true, mouseOnToPopup: true }); }); }); diff --git a/docs/folderclosed.png b/docs/folderclosed.png index bb8ab35edce8e97554e360005ee9fc5bffb36e66..6963cc018ec253ece58b0e8b13d2a36bfb3d9071 100644 GIT binary patch delta 574 zcmV-E0>S<01lI(RB!3=BL_t(|0qvbXXcSQp#(%TtDI#bo5^N#~qM)E4h)o&=K?Om? zDuuP3prrBy3&GmP#zF)ITRR&q1PcWrTG@%%2%->^xOY3w?7QdNce{9`xWeKw!`r++ z^Ue3oyh|&p3NSM-0A}ek2iOKM>9<~@k5_?)T{#SQmJoogcz-8=2S2}f8PjmVRt;3k5MIcFjJM^7O-BkGY;%$*2aK9W}OU53*f;V zAc6)D8J4yefqjl_0Vcgwmqir1@O8i`pXTg(0)pUd`r-aQA9c?;mp)#5(vx7R843w0*m_d|PC z<@m9={x{B`-*fqd9hSYjKRh6_7Ql%)xdzboE~%#fdjJ3b(Pj?t2d3rtPhYV*hX4Qo M07*qoM6N<$f`PCSssI20 delta 591 zcmV-V0gLx@~C z`2)Op(cfU!#Q)%d|G>$3^Wp)bLm(y)J#o;)5RC_;0he}K=bd)8Gi`y8*n@|5o=p2r z=Y8JyecqkDT0sy1KyI)BAW!5@a0&pDc=P^Cu<`L5fOy<$lz*@|bI}5TlOU6ToR41{ z9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6`BLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XU zdOZN~c=dLt_h_k!dbxm_*ibDMlFX`g{k$X}yIe%$N)cn1LNu=q_@#L(Wh4w&_(B<)PCL5V( zK5#hzq>z~bMMci6sLslfBA|7poo)w!BvK+jd$|@om>z}eg(XlYwOPqkRDwBSqkP9DDmN zIB6j6aI@+tK}2^%rUyj?JnF1tMWz-c4M=3l#1;&cjV?Ob3`dSF0{~!*OoIKsC!&eO zJfuS$Nvgd&*~e5`WU*;|J3i?2--3GAJ4@H6ICK^O45W?N~I-6>iS#jvx>mxG|=g(6B_*eM< d|Iu002ovPDHLkV1mZ+AQbgi&%&YR#rk#f>;SE0h3%VJHENSz_Gr|T}hsURA3f!_p^CjW?f-=8kdv(F!^e&j% zE}R$L4z=W`}NDb`NX(inE(8hpr5+?`F4iAhA*a_To=h z_l~w|4J*zu7>-dfkXf_>9Qj3dAhDVN!0%-$w6w;?PJgB?n>e7cCjO3WUGM9N3Dj20Nv;pjDtLWUn*z21_&oO&s9W}B;&@y6LaSqwy=ku( zAR(zi+g_T@^c>&m1xE^AaB!O!>=}$?yx$MT`ut!=&UgFHU~k?J_T{s|#IP4kj{1T5 z9Lr0vKgaV`GdMfWd4Qxe=D+p}_5VK_z^d{G_3ZAKa21_^00000NkvXXu0mjf<|!@l delta 572 zcmV-C0>l0O1l0tPB!3)9L_t(|0qtEsZ_`i^|2b)zG-)zIqMyJ1#FwLU*%bl38ok+!h78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5 zjDplgxd44}9;IRqUH1YHH|@6oFe%z(o4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=| z)Rz|V`sGfHNq>UD$Ae?%!MY`*tW}DzNwaMmW3luFnB~0G#-04gKIyo4{&YFUB((

I=dn`Bz9a_EucaR5n# z1ORWm9QagRjx2PlY7jCA9Y#TT9|v|V227tBaMz3-aDNI^#7Qp-T%~hn7wx?}3~E+s zRD)b>9@NRZ}#V4biOYV(p$zwl3Oh zrr2s!#5MN1B_6e^;t8E;uU5p$-SVfI49NK#0Jtgn|3?FWneqp^N(ewypm>x30000< KMNUMnLSTY!^B64v diff --git a/docs/functions.html b/docs/functions.html index 0a970231..7caa27e4 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +

- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- a -

+
- + diff --git a/docs/functions_b.html b/docs/functions_b.html index 5c6f8efc..f0e137fa 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- b -

+
- + diff --git a/docs/functions_c.html b/docs/functions_c.html index 539c4f59..07f0098a 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- c -

+
- + diff --git a/docs/functions_d.html b/docs/functions_d.html index b78faeb0..f54239c6 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- d -

+
- + diff --git a/docs/functions_dup.js b/docs/functions_dup.js new file mode 100644 index 00000000..adfacf04 --- /dev/null +++ b/docs/functions_dup.js @@ -0,0 +1,27 @@ +var functions_dup = +[ + [ "a", "functions.html", null ], + [ "b", "functions_b.html", null ], + [ "c", "functions_c.html", null ], + [ "d", "functions_d.html", null ], + [ "e", "functions_e.html", null ], + [ "f", "functions_f.html", null ], + [ "g", "functions_g.html", null ], + [ "h", "functions_h.html", null ], + [ "i", "functions_i.html", null ], + [ "k", "functions_k.html", null ], + [ "l", "functions_l.html", null ], + [ "m", "functions_m.html", null ], + [ "n", "functions_n.html", null ], + [ "o", "functions_o.html", null ], + [ "p", "functions_p.html", null ], + [ "r", "functions_r.html", null ], + [ "s", "functions_s.html", null ], + [ "t", "functions_t.html", null ], + [ "u", "functions_u.html", null ], + [ "v", "functions_v.html", null ], + [ "w", "functions_w.html", null ], + [ "y", "functions_y.html", null ], + [ "z", "functions_z.html", null ], + [ "~", "functions_~.html", null ] +]; \ No newline at end of file diff --git a/docs/functions_e.html b/docs/functions_e.html index bb5f7fb3..eb99e1f5 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- e -

+
- + diff --git a/docs/functions_f.html b/docs/functions_f.html index 4d0de986..7c4bbd84 100644 --- a/docs/functions_f.html +++ b/docs/functions_f.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- f -

+
- + diff --git a/docs/functions_func.html b/docs/functions_func.html index a0ad2798..c950da8d 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- a -

+
- + diff --git a/docs/functions_func.js b/docs/functions_func.js new file mode 100644 index 00000000..647d77e4 --- /dev/null +++ b/docs/functions_func.js @@ -0,0 +1,27 @@ +var functions_func = +[ + [ "a", "functions_func.html", null ], + [ "b", "functions_func_b.html", null ], + [ "c", "functions_func_c.html", null ], + [ "d", "functions_func_d.html", null ], + [ "e", "functions_func_e.html", null ], + [ "f", "functions_func_f.html", null ], + [ "g", "functions_func_g.html", null ], + [ "h", "functions_func_h.html", null ], + [ "i", "functions_func_i.html", null ], + [ "k", "functions_func_k.html", null ], + [ "l", "functions_func_l.html", null ], + [ "m", "functions_func_m.html", null ], + [ "n", "functions_func_n.html", null ], + [ "o", "functions_func_o.html", null ], + [ "p", "functions_func_p.html", null ], + [ "r", "functions_func_r.html", null ], + [ "s", "functions_func_s.html", null ], + [ "t", "functions_func_t.html", null ], + [ "u", "functions_func_u.html", null ], + [ "v", "functions_func_v.html", null ], + [ "w", "functions_func_w.html", null ], + [ "y", "functions_func_y.html", null ], + [ "z", "functions_func_z.html", null ], + [ "~", "functions_func_~.html", null ] +]; \ No newline at end of file diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html index afd5b063..9218291f 100644 --- a/docs/functions_func_b.html +++ b/docs/functions_func_b.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- b -

+
- + diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html index f7e67190..f51911d9 100644 --- a/docs/functions_func_c.html +++ b/docs/functions_func_c.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- c -

+
- + diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html index 8fb34b4b..80047185 100644 --- a/docs/functions_func_d.html +++ b/docs/functions_func_d.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- d -

+
- + diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html index 162bf289..b89925b8 100644 --- a/docs/functions_func_e.html +++ b/docs/functions_func_e.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ + - + diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html index 1d7b0483..42c6b245 100644 --- a/docs/functions_func_f.html +++ b/docs/functions_func_f.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- f -

+
- + diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html index 36f5e40b..638d9190 100644 --- a/docs/functions_func_g.html +++ b/docs/functions_func_g.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- g -

+
- + diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html index 6f7a468c..61e8ef94 100644 --- a/docs/functions_func_h.html +++ b/docs/functions_func_h.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- h -

+
- + diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html index 533e89ec..7dc562c8 100644 --- a/docs/functions_func_i.html +++ b/docs/functions_func_i.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- i -

+
- + diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html index 14311813..9718ee82 100644 --- a/docs/functions_func_k.html +++ b/docs/functions_func_k.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- k -

+
- + diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html index 38f2a87a..510772c1 100644 --- a/docs/functions_func_l.html +++ b/docs/functions_func_l.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- l -

+
- + diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html index 5665b621..a3e08561 100644 --- a/docs/functions_func_m.html +++ b/docs/functions_func_m.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- m -

+
- + diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html index 98996f7b..94508609 100644 --- a/docs/functions_func_n.html +++ b/docs/functions_func_n.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- n -

+
- + diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html index cc530be0..04ec63a9 100644 --- a/docs/functions_func_o.html +++ b/docs/functions_func_o.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- o -

+
- + diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html index 86026af9..56eec531 100644 --- a/docs/functions_func_p.html +++ b/docs/functions_func_p.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- p -

+
- + diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html index fdd9b99a..582f6252 100644 --- a/docs/functions_func_r.html +++ b/docs/functions_func_r.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- r -

+
- + diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html index 1140180b..61b62ec8 100644 --- a/docs/functions_func_s.html +++ b/docs/functions_func_s.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- s -

+
- + diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html index c60caddf..55361097 100644 --- a/docs/functions_func_t.html +++ b/docs/functions_func_t.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- t -

+
- + diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html index bc10e8e4..1e0ca386 100644 --- a/docs/functions_func_u.html +++ b/docs/functions_func_u.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ + - + diff --git a/docs/functions_func_v.html b/docs/functions_func_v.html index c89b477e..e5366a35 100644 --- a/docs/functions_func_v.html +++ b/docs/functions_func_v.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- v -

+
- + diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html index e2caa47e..8107477e 100644 --- a/docs/functions_func_w.html +++ b/docs/functions_func_w.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- w -

+
- + diff --git a/docs/functions_func_y.html b/docs/functions_func_y.html index e7ddf029..f763ce43 100644 --- a/docs/functions_func_y.html +++ b/docs/functions_func_y.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- y -

+
- + diff --git a/docs/functions_func_z.html b/docs/functions_func_z.html index 0fd46504..db82aa91 100644 --- a/docs/functions_func_z.html +++ b/docs/functions_func_z.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- z -

+
- + diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html index ffe1f631..07088c64 100644 --- a/docs/functions_func_~.html +++ b/docs/functions_func_~.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Functions + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
  -

- ~ -

+
- + diff --git a/docs/functions_g.html b/docs/functions_g.html index 8e64f8a8..c80e476a 100644 --- a/docs/functions_g.html +++ b/docs/functions_g.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- g -

+
- + diff --git a/docs/functions_h.html b/docs/functions_h.html index 4f72c921..7791c024 100644 --- a/docs/functions_h.html +++ b/docs/functions_h.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- h -

+
- + diff --git a/docs/functions_i.html b/docs/functions_i.html index 0def86e4..2441f6a2 100644 --- a/docs/functions_i.html +++ b/docs/functions_i.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- i -

+
- + diff --git a/docs/functions_k.html b/docs/functions_k.html index abc5a48d..0b35c132 100644 --- a/docs/functions_k.html +++ b/docs/functions_k.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- k -

+
- + diff --git a/docs/functions_l.html b/docs/functions_l.html index 00975e35..165ff993 100644 --- a/docs/functions_l.html +++ b/docs/functions_l.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- l -

+
- + diff --git a/docs/functions_m.html b/docs/functions_m.html index 10318ff1..a0c4d510 100644 --- a/docs/functions_m.html +++ b/docs/functions_m.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- m -

+
- + diff --git a/docs/functions_n.html b/docs/functions_n.html index 333b7742..708e1071 100644 --- a/docs/functions_n.html +++ b/docs/functions_n.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- n -

+
- + diff --git a/docs/functions_o.html b/docs/functions_o.html index d386e90b..70714139 100644 --- a/docs/functions_o.html +++ b/docs/functions_o.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- o -

+
- + diff --git a/docs/functions_p.html b/docs/functions_p.html index 1af14c4b..d0cca733 100644 --- a/docs/functions_p.html +++ b/docs/functions_p.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- p -

+
- + diff --git a/docs/functions_r.html b/docs/functions_r.html index e9c6cb25..8b3e2c63 100644 --- a/docs/functions_r.html +++ b/docs/functions_r.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- r -

+
- + diff --git a/docs/functions_s.html b/docs/functions_s.html index ce5a6869..4a5e5586 100644 --- a/docs/functions_s.html +++ b/docs/functions_s.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- s -

+
- + diff --git a/docs/functions_t.html b/docs/functions_t.html index 4aee11e0..ff00f90d 100644 --- a/docs/functions_t.html +++ b/docs/functions_t.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- t -

+
- + diff --git a/docs/functions_u.html b/docs/functions_u.html index 391e8778..6de509dc 100644 --- a/docs/functions_u.html +++ b/docs/functions_u.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- u -

+
- + diff --git a/docs/functions_v.html b/docs/functions_v.html index 37de7bfd..dc96a81e 100644 --- a/docs/functions_v.html +++ b/docs/functions_v.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
Here is a list of all class members with links to the classes they belong to:
-

- v -

+
- + diff --git a/docs/functions_vars.html b/docs/functions_vars.html index 3a7857d5..6a86ee66 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members - Variables + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
 
+
- + diff --git a/docs/functions_w.html b/docs/functions_w.html index 18e8bc2e..27411860 100644 --- a/docs/functions_w.html +++ b/docs/functions_w.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- w -

+
- + diff --git a/docs/functions_y.html b/docs/functions_y.html index c34909f6..215b28c3 100644 --- a/docs/functions_y.html +++ b/docs/functions_y.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
Here is a list of all class members with links to the classes they belong to:
-

- y -

+
- + diff --git a/docs/functions_z.html b/docs/functions_z.html index d8584147..df82e627 100644 --- a/docs/functions_z.html +++ b/docs/functions_z.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- z -

+
- + diff --git a/docs/functions_~.html b/docs/functions_~.html index 937d0cc5..717e4cf3 100644 --- a/docs/functions_~.html +++ b/docs/functions_~.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Members + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
Here is a list of all documented class members with links to the class documentation for each member:
+
Here is a list of all class members with links to the classes they belong to:
-

- ~ -

+
- + diff --git a/docs/hierarchy.html b/docs/hierarchy.html index a56401b8..87a31638 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Class Hierarchy + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
-
Class Hierarchy
+
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 123]
- - - - - - - - - + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Craylib::AudioDeviceAudio device management functions
 Craylib::AudioStreamAudioStream management functions
 Craylib::BoundingBoxBounding box type
 Craylib::Camera2DCamera2D type, defines a 2d camera
 Craylib::Camera3DCamera type, defines a camera position/orientation in 3d space
 Craylib::ColorColor type, RGBA (32bit)
 Cstd::exceptionSTL class
 Cstd::runtime_errorSTL class
 Craylib::RaylibExceptionException used for most raylib-related exceptions
 Craylib::FontFont type, includes texture and charSet array data
 CAudioStream
 Craylib::AudioStreamAudioStream management functions
 CBoundingBox
 Craylib::BoundingBoxBounding box type
 CCamera2D
 Craylib::Camera2DCamera2D type, defines a 2d camera
 CCamera3D
 Craylib::Camera3DCamera type, defines a camera position/orientation in 3d space
 CColor
 Craylib::ColorColor type, RGBA (32bit)
 Cstd::exceptionSTL class
 Cstd::runtime_errorSTL class
 Craylib::RaylibExceptionException used for most raylib-related exceptions
 CFont
 Craylib::FontFont type, includes texture and charSet array data
 Craylib::GamepadInput-related functions: gamepads
 Craylib::ImageImage type, bpp always RGBA (32bit)
 Craylib::MaterialMaterial type (generic)
 Craylib::MatrixMatrix type (OpenGL style 4x4 - right handed, column major)
 Craylib::MeshVertex data definning a mesh
 Craylib::ModelModel type
 Craylib::ModelAnimationModel animation
 CImage
 Craylib::ImageImage type, bpp always RGBA (32bit)
 CMaterial
 Craylib::MaterialMaterial type (generic)
 CMatrix
 Craylib::MatrixMatrix type (OpenGL style 4x4 - right handed, column major)
 CMesh
 Craylib::MeshVertex data definning a mesh
 CModel
 Craylib::ModelModel type
 CModelAnimation
 Craylib::ModelAnimationModel animation
 Craylib::MouseInput-related functions: mouse
 Craylib::MusicMusic stream type (audio file streaming from memory)
 Craylib::Physics2D Physics library for videogames
 Craylib::RayRay type (useful for raycast)
 Craylib::RayCollisionRaycast hit information
 Craylib::RectangleRectangle type
 Craylib::RenderTextureRenderTexture type, for texture rendering
 Craylib::ShaderShader type (generic)
 Craylib::SoundWave/Sound management functions
 Craylib::TextText Functions
 Craylib::TextureTexture type
 Craylib::Vector2Vector2 type
 Craylib::Vector3Vector3 type
 Craylib::Vector4Vector4 type
 Craylib::VrStereoConfigVR stereo config functions for VR simulator
 Craylib::WaveWave type, defines audio wave data
 Craylib::WindowWindow and Graphics Device Functions
 CMusic
 Craylib::MusicMusic stream type (audio file streaming from memory)
 Craylib::Physics2D Physics library for videogames
 CRay
 Craylib::RayRay type (useful for raycast)
 CRayCollision
 Craylib::RayCollisionRaycast hit information
 CRectangle
 Craylib::RectangleRectangle type
 CRenderTexture
 Craylib::RenderTextureRenderTexture type, for texture rendering
 CShader
 Craylib::ShaderShader type (generic)
 CSound
 Craylib::SoundWave/Sound management functions
 Craylib::TextText Functions
 CTexture
 Craylib::TextureTexture type
 CVector2
 Craylib::Vector2Vector2 type
 CVector3
 Craylib::Vector3Vector3 type
 CVector4
 Craylib::Vector4Vector4 type
 CVrStereoConfig
 Craylib::VrStereoConfigVR stereo config functions for VR simulator
 CWave
 Craylib::WaveWave type, defines audio wave data
 Craylib::WindowWindow and Graphics Device Functions
+
- + diff --git a/docs/hierarchy.js b/docs/hierarchy.js new file mode 100644 index 00000000..a9cf2560 --- /dev/null +++ b/docs/hierarchy.js @@ -0,0 +1,89 @@ +var hierarchy = +[ + [ "raylib::AudioDevice", "classraylib_1_1_audio_device.html", null ], + [ "AudioStream", "class_audio_stream.html", [ + [ "raylib::AudioStream", "classraylib_1_1_audio_stream.html", null ] + ] ], + [ "BoundingBox", "class_bounding_box.html", [ + [ "raylib::BoundingBox", "classraylib_1_1_bounding_box.html", null ] + ] ], + [ "Camera2D", "class_camera2_d.html", [ + [ "raylib::Camera2D", "classraylib_1_1_camera2_d.html", null ] + ] ], + [ "Camera3D", "class_camera3_d.html", [ + [ "raylib::Camera3D", "classraylib_1_1_camera3_d.html", null ] + ] ], + [ "Color", "class_color.html", [ + [ "raylib::Color", "classraylib_1_1_color.html", null ] + ] ], + [ "std::exception", null, [ + [ "std::runtime_error", null, [ + [ "raylib::RaylibException", "classraylib_1_1_raylib_exception.html", null ] + ] ] + ] ], + [ "Font", "class_font.html", [ + [ "raylib::Font", "classraylib_1_1_font.html", null ] + ] ], + [ "raylib::Gamepad", "classraylib_1_1_gamepad.html", null ], + [ "Image", "class_image.html", [ + [ "raylib::Image", "classraylib_1_1_image.html", null ] + ] ], + [ "Material", "class_material.html", [ + [ "raylib::Material", "classraylib_1_1_material.html", null ] + ] ], + [ "Matrix", "class_matrix.html", [ + [ "raylib::Matrix", "classraylib_1_1_matrix.html", null ] + ] ], + [ "Mesh", "class_mesh.html", [ + [ "raylib::Mesh", "classraylib_1_1_mesh.html", null ] + ] ], + [ "Model", "class_model.html", [ + [ "raylib::Model", "classraylib_1_1_model.html", null ] + ] ], + [ "ModelAnimation", "class_model_animation.html", [ + [ "raylib::ModelAnimation", "classraylib_1_1_model_animation.html", null ] + ] ], + [ "raylib::Mouse", "classraylib_1_1_mouse.html", null ], + [ "Music", "class_music.html", [ + [ "raylib::Music", "classraylib_1_1_music.html", null ] + ] ], + [ "raylib::Physics", "classraylib_1_1_physics.html", null ], + [ "Ray", "class_ray.html", [ + [ "raylib::Ray", "classraylib_1_1_ray.html", null ] + ] ], + [ "RayCollision", "class_ray_collision.html", [ + [ "raylib::RayCollision", "classraylib_1_1_ray_collision.html", null ] + ] ], + [ "Rectangle", "class_rectangle.html", [ + [ "raylib::Rectangle", "classraylib_1_1_rectangle.html", null ] + ] ], + [ "RenderTexture", "class_render_texture.html", [ + [ "raylib::RenderTexture", "classraylib_1_1_render_texture.html", null ] + ] ], + [ "Shader", "class_shader.html", [ + [ "raylib::Shader", "classraylib_1_1_shader.html", null ] + ] ], + [ "Sound", "class_sound.html", [ + [ "raylib::Sound", "classraylib_1_1_sound.html", null ] + ] ], + [ "raylib::Text", "classraylib_1_1_text.html", null ], + [ "Texture", "class_texture.html", [ + [ "raylib::Texture", "classraylib_1_1_texture.html", null ] + ] ], + [ "Vector2", "class_vector2.html", [ + [ "raylib::Vector2", "classraylib_1_1_vector2.html", null ] + ] ], + [ "Vector3", "class_vector3.html", [ + [ "raylib::Vector3", "classraylib_1_1_vector3.html", null ] + ] ], + [ "Vector4", "class_vector4.html", [ + [ "raylib::Vector4", "classraylib_1_1_vector4.html", null ] + ] ], + [ "VrStereoConfig", "class_vr_stereo_config.html", [ + [ "raylib::VrStereoConfig", "classraylib_1_1_vr_stereo_config.html", null ] + ] ], + [ "Wave", "class_wave.html", [ + [ "raylib::Wave", "classraylib_1_1_wave.html", null ] + ] ], + [ "raylib::Window", "classraylib_1_1_window.html", null ] +]; \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 39248681..62487f8b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib-cpp + + + + + +
- - - +
+
raylib-cpp
C++ object-oriented wrapper library for raylib.
@@ -31,23 +36,40 @@
- + +/* @license-end */ +
+
+ +
+
+
+ +
-
-
-
raylib-cpp
+
+
raylib-cpp
-

raylib-cpp is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces.

+

raylib-cpp is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces.

See also
raylib namespace for a list of all available classes.
/*******************************************************************************************
*
@@ -97,8 +118,8 @@
//--------------------------------------------------------------------------------------
int screenWidth = 800;
int screenHeight = 450;
-
raylib::Color textColor = raylib::Color::LightGray();
-
raylib::Window window(screenWidth, screenHeight, "raylib [core] example - basic window");
+ +
raylib::Window window(screenWidth, screenHeight, "raylib [core] example - basic window");
SetTargetFPS(60);
//--------------------------------------------------------------------------------------
@@ -115,7 +136,7 @@
BeginDrawing();
{
window.ClearBackground(RAYWHITE);
-
textColor.DrawText("Congrats! You created your first window!", 190, 200, 20);
+
textColor.DrawText("Congrats! You created your first window!", 190, 200, 20);
}
EndDrawing();
//----------------------------------------------------------------------------------
@@ -123,12 +144,16 @@
return 0;
}
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
Definition: Color.hpp:153
+
static Color LightGray()
Definition: Color.hpp:220
+
Window and Graphics Device Functions.
Definition: Window.hpp:13
Author
Rob Loach (RobLoach)

raylib-cpp is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software:

-

Copyright 2020 Rob Loach (RobLoach)

-

This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

-

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

+

Copyright 2020 Rob Loach (RobLoach)

+

This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

+

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. @@ -136,13 +161,12 @@
-
Color type, RGBA (32bit)
Definition: Color.hpp:14
-
Window and Graphics Device Functions.
Definition: Window.hpp:13
+
- + diff --git a/docs/jquery.js b/docs/jquery.js index 103c32d7..c9ed3d99 100644 --- a/docs/jquery.js +++ b/docs/jquery.js @@ -1,5 +1,5 @@ -/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0
'); + searchBox='
'+ + '
'+ + '
'+ + ''+ + '
'+ + '
'+ + '
'+ + '
'; } else { - $('#main-menu').append('
  • '); + searchBox='
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + '' + '' + '
    '; + } + } + + $('#main-nav').before('
    '+ + ''+ + ''+ + '
    '); + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchBox) { + $('#main-menu').append('
  • '); + } + var $mainMenuState = $('#main-menu-state'); + var prevWidth = 0; + if ($mainMenuState.length) { + function initResizableIfExists() { + if (typeof initResizable==='function') initResizable(); + } + // animate mobile menu + $mainMenuState.change(function(e) { + var $menu = $('#main-menu'); + var options = { duration: 250, step: initResizableIfExists }; + if (this.checked) { + options['complete'] = function() { $menu.css('display', 'block') }; + $menu.hide().slideDown(options); + } else { + options['complete'] = function() { $menu.css('display', 'none') }; + $menu.show().slideUp(options); + } + }); + // set default menu visibility + function resetState() { + var $menu = $('#main-menu'); + var $mainMenuState = $('#main-menu-state'); + var newWidth = $(window).outerWidth(); + if (newWidth!=prevWidth) { + if ($(window).outerWidth()<768) { + $mainMenuState.prop('checked',false); $menu.hide(); + $('#searchBoxPos1').html(searchBox); + $('#searchBoxPos2').hide(); + } else { + $menu.show(); + $('#searchBoxPos1').empty(); + $('#searchBoxPos2').html(searchBox); + $('#searchBoxPos2').show(); + } + prevWidth = newWidth; + } } + $(window).ready(function() { resetState(); initResizableIfExists(); }); + $(window).resize(resetState); } $('#main-menu').smartmenus(); } diff --git a/docs/menudata.js b/docs/menudata.js index c3b7de7b..08ada454 100644 --- a/docs/menudata.js +++ b/docs/menudata.js @@ -1,24 +1,26 @@ /* -@licstart The following is the entire license notice for the -JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. -Copyright (C) 1997-2019 by Dimitri van Heesch + The MIT License (MIT) -This program is free software; you can redistribute it and/or modify -it under the terms of version 2 of the GNU General Public License as published by -the Free Software Foundation + Copyright (C) 1997-2020 by Dimitri van Heesch -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. -@licend The above is the entire license notice -for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ var menudata={children:[ {text:"Main Page",url:"index.html"}, @@ -35,6 +37,8 @@ var menudata={children:[ {text:"l",url:"namespacemembers.html#index_l"}, {text:"m",url:"namespacemembers.html#index_m"}, {text:"o",url:"namespacemembers.html#index_o"}, +{text:"q",url:"namespacemembers.html#index_q"}, +{text:"r",url:"namespacemembers.html#index_r"}, {text:"s",url:"namespacemembers.html#index_s"}, {text:"t",url:"namespacemembers.html#index_t"}, {text:"u",url:"namespacemembers.html#index_u"}]}, @@ -50,7 +54,8 @@ var menudata={children:[ {text:"o",url:"namespacemembers_func.html#index_o"}, {text:"s",url:"namespacemembers_func.html#index_s"}, {text:"t",url:"namespacemembers_func.html#index_t"}, -{text:"u",url:"namespacemembers_func.html#index_u"}]}]}]}, +{text:"u",url:"namespacemembers_func.html#index_u"}]}, +{text:"Typedefs",url:"namespacemembers_type.html"}]}]}, {text:"Classes",url:"annotated.html",children:[ {text:"Class List",url:"annotated.html"}, {text:"Class Index",url:"classes.html"}, @@ -76,7 +81,9 @@ var menudata={children:[ {text:"s",url:"functions_s.html#index_s"}, {text:"t",url:"functions_t.html#index_t"}, {text:"u",url:"functions_u.html#index_u"}, +{text:"v",url:"functions_v.html#index_v"}, {text:"w",url:"functions_w.html#index_w"}, +{text:"y",url:"functions_y.html#index_y"}, {text:"z",url:"functions_z.html#index_z"}, {text:"~",url:"functions_~.html#index__7E"}]}, {text:"Functions",url:"functions_func.html",children:[ @@ -99,7 +106,9 @@ var menudata={children:[ {text:"s",url:"functions_func_s.html#index_s"}, {text:"t",url:"functions_func_t.html#index_t"}, {text:"u",url:"functions_func_u.html#index_u"}, +{text:"v",url:"functions_func_v.html#index_v"}, {text:"w",url:"functions_func_w.html#index_w"}, +{text:"y",url:"functions_func_y.html#index_y"}, {text:"z",url:"functions_func_z.html#index_z"}, {text:"~",url:"functions_func_~.html#index__7E"}]}, {text:"Variables",url:"functions_vars.html"}]}]}]} diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html index a30994c3..1ede3cc2 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Namespace Members + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,23 +36,40 @@
    - + +/* @license-end */ +
    +
    + +
    +
    +
    + +
    -
    Here is a list of all documented namespace members with links to the namespaces they belong to:
    +
    Here is a list of all namespace members with links to the namespace documentation for each member:
    -

    - c -

      -
    • ChangeDirectory() -: raylib -
    • +

      - c -

      -

      - d -

        -
      • DirectoryExists() -: raylib -
      • -
      • DrawText() -: raylib -
      • -
      • DrawTextEx() -: raylib -
      • -
      • DrawTextPro() -: raylib -
      • +

        - d -

        -

        - e -

          -
        • ExportImage() -: raylib -
        • -
        • ExportImageAsCode() -: raylib -
        • +

          - e -

          -

          - f -

            -
          • FileExists() -: raylib -
          • +

            - f -

            -

            - g -

              -
            • GetClipboardText() -: raylib -
            • -
            • GetDirectoryFiles() -: raylib -
            • -
            • GetDirectoryPath() -: raylib -
            • -
            • GetDroppedFiles() -: raylib -
            • -
            • GetFileExtension() -: raylib -
            • -
            • GetFileModTime() -: raylib -
            • -
            • GetFileName() -: raylib -
            • -
            • GetFileNameWithoutExt() -: raylib -
            • -
            • GetGamepadName() -: raylib -
            • -
            • GetMonitorName() -: raylib -
            • -
            • GetPrevDirectoryPath() -: raylib -
            • -
            • GetWorkingDirectory() -: raylib -
            • +

              - g -

                +
              • GetClipboardText() : raylib
              • +
              • GetDirectoryFiles() : raylib
              • +
              • GetDirectoryPath() : raylib
              • +
              • GetDroppedFiles() : raylib
              • +
              • GetFileExtension() : raylib
              • +
              • GetFileModTime() : raylib
              • +
              • GetFileName() : raylib
              • +
              • GetFileNameWithoutExt() : raylib
              • +
              • GetGamepadName() : raylib
              • +
              • GetMonitorName() : raylib
              • +
              • GetPrevDirectoryPath() : raylib
              • +
              • GetWorkingDirectory() : raylib
              -

              - i -

    +
    - + diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html index a65f44d2..58ebafb5 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Namespace Members + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,23 +36,40 @@
    - + +/* @license-end */ +
    +
    + +
    +
    +
    + +
      -

    - c -

      -
    • ChangeDirectory() -: raylib -
    • +

      - c -

        +
      • ChangeDirectory() : raylib
      -

      - d -

        -
      • DirectoryExists() -: raylib -
      • -
      • DrawText() -: raylib -
      • -
      • DrawTextEx() -: raylib -
      • -
      • DrawTextPro() -: raylib -
      • +

        - d -

        -

        - e -

          -
        • ExportImage() -: raylib -
        • -
        • ExportImageAsCode() -: raylib -
        • +

          - e -

          -

          - f -

            -
          • FileExists() -: raylib -
          • +

            - f -

            -

            - g -

              -
            • GetClipboardText() -: raylib -
            • -
            • GetDirectoryFiles() -: raylib -
            • -
            • GetDirectoryPath() -: raylib -
            • -
            • GetDroppedFiles() -: raylib -
            • -
            • GetFileExtension() -: raylib -
            • -
            • GetFileModTime() -: raylib -
            • -
            • GetFileName() -: raylib -
            • -
            • GetFileNameWithoutExt() -: raylib -
            • -
            • GetGamepadName() -: raylib -
            • -
            • GetMonitorName() -: raylib -
            • -
            • GetPrevDirectoryPath() -: raylib -
            • -
            • GetWorkingDirectory() -: raylib -
            • +

              - g -

                +
              • GetClipboardText() : raylib
              • +
              • GetDirectoryFiles() : raylib
              • +
              • GetDirectoryPath() : raylib
              • +
              • GetDroppedFiles() : raylib
              • +
              • GetFileExtension() : raylib
              • +
              • GetFileModTime() : raylib
              • +
              • GetFileName() : raylib
              • +
              • GetFileNameWithoutExt() : raylib
              • +
              • GetGamepadName() : raylib
              • +
              • GetMonitorName() : raylib
              • +
              • GetPrevDirectoryPath() : raylib
              • +
              • GetWorkingDirectory() : raylib
              -

              - i -

    +
    - + diff --git a/docs/namespacemembers_type.html b/docs/namespacemembers_type.html index 818e2285..844855d4 100644 --- a/docs/namespacemembers_type.html +++ b/docs/namespacemembers_type.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Namespace Members + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,23 +36,40 @@
    - + +/* @license-end */ +
    +
    + +
    +
    +
    + +
     
    +
    - + diff --git a/docs/namespaceraylib.html b/docs/namespaceraylib.html index 97e33ca9..f68d3388 100644 --- a/docs/namespaceraylib.html +++ b/docs/namespaceraylib.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib Namespace Reference + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,22 +36,40 @@
    - + +/* @license-end */ + +
    +
    + +
    +
    +
    + +
    -
    -
    -
    raylib Namespace Reference
    +
    raylib Namespace Reference

    All raylib-cpp classes and functions appear in the raylib namespace. More...

    - @@ -174,219 +195,2011 @@

    +

    Classes

    class  AudioDevice
     Audio device management functions. More...
     Window and Graphics Device Functions. More...
     
    - - + - + - + - + - +

    +

    Typedefs

    -typedef Camera3D Camera
    typedef Camera3D Camera
     
    -typedef Vector4 Quaternion
    typedef Vector4 Quaternion
     
    -typedef RenderTexture RenderTexture2D
    typedef RenderTexture RenderTexture2D
     
    -typedef Texture Texture2D
    typedef Texture Texture2D
     
    -typedef Texture TextureCubemap
    typedef Texture TextureCubemap
     
    - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - - - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

    +

    Functions

    -static bool ChangeDirectory (const std::string &dir)
     Change working directory, return true on success.
    static bool ChangeDirectory (const std::string &dir)
     Change working directory, return true on success. More...
     
    -static bool DirectoryExists (const std::string &dirPath)
     Check if directory path exists.
    static bool DirectoryExists (const std::string &dirPath)
     Check if directory path exists. More...
     
    -static void DrawText (const std::string &text, int posX, int posY, int fontSize, ::Color color)
     Draw text (using default font)
    static void DrawText (const std::string &text, int posX, int posY, int fontSize, ::Color color)
     Draw text (using default font) More...
     
    -static void DrawTextEx (const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
     Draw text using font and additional parameters.
    static void DrawTextEx (const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
     Draw text using font and additional parameters. More...
     
    -static void DrawTextPro (const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
     Draw text using Font and pro parameters (rotation)
    static void DrawTextPro (const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
     Draw text using Font and pro parameters (rotation) More...
     
    -static bool ExportImage (const Image &image, const std::string &fileName)
     Export image data to file.
    static bool ExportImage (const Image &image, const std::string &fileName)
     Export image data to file. More...
     
    -static bool ExportImageAsCode (const Image &image, const std::string &fileName)
     Export image as code file (.h) defining an array of bytes.
    static bool ExportImageAsCode (const Image &image, const std::string &fileName)
     Export image as code file (.h) defining an array of bytes. More...
     
    -static bool FileExists (const std::string &fileName)
     Check if file exists.
    static bool FileExists (const std::string &fileName)
     Check if file exists. More...
     
    -static std::string GetClipboardText ()
     Get clipboard text content.
    static std::string GetClipboardText ()
     Get clipboard text content. More...
     
    -static std::vector< std::string > GetDirectoryFiles (const std::string &dirPath)
     Get filenames in a directory path.
     
    -static std::string GetDirectoryPath (const std::string &filePath)
     Get full path for a given fileName with path.
    static std::vector< std::string > GetDirectoryFiles (const std::string &dirPath)
     Get filenames in a directory path. More...
     
    static std::string GetDirectoryPath (const std::string &filePath)
     Get full path for a given fileName with path. More...
     
    -static std::vector< std::string > GetDroppedFiles ()
     Get dropped files names.
     
    -static std::string GetFileExtension (const std::string &fileName)
     Get pointer to extension for a filename string (including point: ".png")
    static std::vector< std::string > GetDroppedFiles ()
     Get dropped files names. More...
     
    static std::string GetFileExtension (const std::string &fileName)
     Get pointer to extension for a filename string (including point: ".png") More...
     
    -static long GetFileModTime (const std::string &fileName)
     Get file modification time (last write time)
    static long GetFileModTime (const std::string &fileName)
     Get file modification time (last write time) More...
     
    -static std::string GetFileName (const std::string &filePath)
     Get pointer to filename for a path string.
    static std::string GetFileName (const std::string &filePath)
     Get pointer to filename for a path string. More...
     
    -static std::string GetFileNameWithoutExt (const std::string &filePath)
     Get filename string without extension.
    static std::string GetFileNameWithoutExt (const std::string &filePath)
     Get filename string without extension. More...
     
    -static std::string GetGamepadName (int gamepad)
     Get gamepad internal name id.
    static std::string GetGamepadName (int gamepad)
     Get gamepad internal name id. More...
     
    -static std::string GetMonitorName (int monitor=0)
     Get the human-readable, UTF-8 encoded name of the primary monitor.
    static std::string GetMonitorName (int monitor=0)
     Get the human-readable, UTF-8 encoded name of the primary monitor. More...
     
    -static std::string GetPrevDirectoryPath (const std::string &dirPath)
     Get previous directory path for a given path.
    static std::string GetPrevDirectoryPath (const std::string &dirPath)
     Get previous directory path for a given path. More...
     
    -static std::string GetWorkingDirectory ()
     Get current working directory.
    static std::string GetWorkingDirectory ()
     Get current working directory. More...
     
    -static void InitWindow (int width, int height, const std::string &title="raylib")
     Initialize window and OpenGL context.
    static void InitWindow (int width, int height, const std::string &title="raylib")
     Initialize window and OpenGL context. More...
     
    -static bool IsFileExtension (const std::string &fileName, const std::string &ext)
     Check file extension (including point: .png, .wav)
    static bool IsFileExtension (const std::string &fileName, const std::string &ext)
     Check file extension (including point: .png, .wav) More...
     
    -static std::string LoadFileText (const std::string &fileName)
     Load text data from file (read)
    static std::string LoadFileText (const std::string &fileName)
     Load text data from file (read) More...
     
    -static inline ::Font LoadFont (const std::string &fileName)
     Load font from file (filename must include file extension)
    static inline ::Font LoadFont (const std::string &fileName)
     Load font from file (filename must include file extension) More...
     
    -static inline ::Font LoadFontEx (const std::string &fileName, int fontSize, int *fontChars, int charsCount)
     Load font from file (filename must include file extension)
    static inline ::Font LoadFontEx (const std::string &fileName, int fontSize, int *fontChars, int charsCount)
     Load font from file (filename must include file extension) More...
     
    -static inline ::Image LoadImage (const std::string &fileName)
     Load an image.
    static inline ::Image LoadImage (const std::string &fileName)
     Load an image. More...
     
    -static inline ::Image LoadImageAnim (const std::string &fileName, int *frames)
     Load animated image data.
    static inline ::Image LoadImageAnim (const std::string &fileName, int *frames)
     Load animated image data. More...
     
    -static inline ::Image LoadImageFromMemory (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load image from memory buffer, fileType refers to extension like "png".
    static inline ::Image LoadImageFromMemory (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load image from memory buffer, fileType refers to extension like "png". More...
     
    -static inline ::Image LoadImageRaw (const std::string &fileName, int width, int height, int format, int headerSize)
     Load an image from RAW file data.
    static inline ::Image LoadImageRaw (const std::string &fileName, int width, int height, int format, int headerSize)
     Load an image from RAW file data. More...
     
    -static int MeasureText (const std::string &text, int fontSize)
     Measure string width for default font.
    static int MeasureText (const std::string &text, int fontSize)
     Measure string width for default font. More...
     
    -static void OpenURL (const std::string &url)
     Open URL with default system browser (if available)
    static void OpenURL (const std::string &url)
     Open URL with default system browser (if available) More...
     
    -static bool SaveFileText (const std::string &fileName, const std::string &text)
     Save text data to file (write)
    static bool SaveFileText (const std::string &fileName, const std::string &text)
     Save text data to file (write) More...
     
    -static void SetClipboardText (const std::string &text)
     Set clipboard text content.
    static void SetClipboardText (const std::string &text)
     Set clipboard text content. More...
     
    -static void SetWindowTitle (const std::string &title)
     Set title for window.
    static void SetWindowTitle (const std::string &title)
     Set title for window. More...
     
    -static void TakeScreenshot (const std::string &fileName)
     Takes a screenshot of current screen (saved a .png)
    static void TakeScreenshot (const std::string &fileName)
     Takes a screenshot of current screen (saved a .png) More...
     
    -RLAPI int TextFindIndex (const std::string &text, const std::string &find)
     Find first text occurrence within a string.
    RLAPI int TextFindIndex (const std::string &text, const std::string &find)
     Find first text occurrence within a string. More...
     
    -RLAPI std::string TextInsert (const std::string &text, const std::string &insert, int position)
     Insert text in a position.
    RLAPI std::string TextInsert (const std::string &text, const std::string &insert, int position)
     Insert text in a position. More...
     
    -static bool TextIsEqual (const std::string &text1, const std::string &text2)
     Check if two text string are equal.
    static bool TextIsEqual (const std::string &text1, const std::string &text2)
     Check if two text string are equal. More...
     
    -static unsigned int TextLength (const std::string &text)
     Check if two text string are equal.
    static unsigned int TextLength (const std::string &text)
     Check if two text string are equal. More...
     
    -RLAPI std::string TextReplace (const std::string &text, const std::string &replace, const std::string &by)
     Replace text string.
    RLAPI std::string TextReplace (const std::string &text, const std::string &replace, const std::string &by)
     Replace text string. More...
     
    -RLAPI std::string TextSubtext (const std::string &text, int position, int length)
     Get text length, checks for '\0' ending.
    RLAPI std::string TextSubtext (const std::string &text, int position, int length)
     Get text length, checks for '\0' ending. More...
     
    -RLAPI int TextToInteger (const std::string &text)
     Get integer value from text (negative values not supported)
    RLAPI int TextToInteger (const std::string &text)
     Get integer value from text (negative values not supported) More...
     
    -RLAPI std::string TextToLower (const std::string &text)
     Get lower case version of provided string.
    RLAPI std::string TextToLower (const std::string &text)
     Get lower case version of provided string. More...
     
    -RLAPI std::string TextToPascal (const std::string &text)
     Get Pascal case notation version of provided string.
    RLAPI std::string TextToPascal (const std::string &text)
     Get Pascal case notation version of provided string. More...
     
    -RLAPI std::string TextToUpper (const std::string &text)
     Get upper case version of provided string.
    RLAPI std::string TextToUpper (const std::string &text)
     Get upper case version of provided string. More...
     
    -static void UpdateCamera (const ::Camera &camera)
     Update camera depending on selected mode.
    static void UpdateCamera (const ::Camera &camera)
     Update camera depending on selected mode. More...
     

    Detailed Description

    -

    All raylib-cpp classes and functions appear in the raylib namespace.

    -
    +

    All raylib-cpp classes and functions appear in the raylib namespace.

    +

    Typedef Documentation

    + +

    ◆ Camera

    + +
    +
    + + + + +
    typedef Camera3D raylib::Camera
    +
    + +

    Definition at line 161 of file Camera3D.hpp.

    + +
    +
    + +

    ◆ Quaternion

    + +
    +
    + + + + +
    typedef Vector4 raylib::Quaternion
    +
    + +

    Definition at line 166 of file Vector4.hpp.

    + +
    +
    + +

    ◆ RenderTexture2D

    + +
    +
    + +

    Definition at line 115 of file RenderTexture.hpp.

    + +
    +
    + +

    ◆ Texture2D

    + +
    +
    + + + + +
    typedef Texture raylib::Texture2D
    +
    + +

    Definition at line 320 of file Texture.hpp.

    + +
    +
    + +

    ◆ TextureCubemap

    + +
    +
    + + + + +
    typedef Texture raylib::TextureCubemap
    +
    + +

    Definition at line 321 of file Texture.hpp.

    + +
    +
    +

    Function Documentation

    + +

    ◆ ChangeDirectory()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static bool raylib::ChangeDirectory (const std::string & dir)
    +
    +inlinestatic
    +
    + +

    Change working directory, return true on success.

    + +

    Definition at line 166 of file Functions.hpp.

    + +
    +
    + +

    ◆ DirectoryExists()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static bool raylib::DirectoryExists (const std::string & dirPath)
    +
    +inlinestatic
    +
    + +

    Check if directory path exists.

    + +

    Definition at line 98 of file Functions.hpp.

    + +
    +
    + +

    ◆ DrawText()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static void raylib::DrawText (const std::string & text,
    int posX,
    int posY,
    int fontSize,
    ::Color color 
    )
    +
    +inlinestatic
    +
    + +

    Draw text (using default font)

    + +

    Definition at line 256 of file Functions.hpp.

    + +

    References DrawText().

    + +

    Referenced by raylib::Text::Draw(), and DrawText().

    + +
    +
    + +

    ◆ DrawTextEx()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static void raylib::DrawTextEx (const Fontfont,
    const std::string & text,
    Vector2 position,
    float fontSize,
    float spacing,
    ::Color tint 
    )
    +
    +inlinestatic
    +
    + +

    Draw text using font and additional parameters.

    + +

    Definition at line 263 of file Functions.hpp.

    + +

    References DrawTextEx().

    + +

    Referenced by raylib::Text::Draw(), raylib::Color::DrawText(), raylib::Font::DrawText(), and DrawTextEx().

    + +
    +
    + +

    ◆ DrawTextPro()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static void raylib::DrawTextPro (const Fontfont,
    const std::string & text,
    Vector2 position,
    Vector2 origin,
    float rotation,
    float fontSize,
    float spacing,
    ::Color tint 
    )
    +
    +inlinestatic
    +
    + +

    Draw text using Font and pro parameters (rotation)

    + +

    Definition at line 271 of file Functions.hpp.

    + +

    References DrawTextPro().

    + +

    Referenced by raylib::Text::Draw(), raylib::Color::DrawText(), raylib::Font::DrawText(), and DrawTextPro().

    + +
    +
    + +

    ◆ ExportImage()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool raylib::ExportImage (const Imageimage,
    const std::string & fileName 
    )
    +
    +inlinestatic
    +
    + +

    Export image data to file.

    + +

    Definition at line 242 of file Functions.hpp.

    + +
    +
    + +

    ◆ ExportImageAsCode()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool raylib::ExportImageAsCode (const Imageimage,
    const std::string & fileName 
    )
    +
    +inlinestatic
    +
    + +

    Export image as code file (.h) defining an array of bytes.

    + +

    Definition at line 249 of file Functions.hpp.

    + +
    +
    + +

    ◆ FileExists()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static bool raylib::FileExists (const std::string & fileName)
    +
    +inlinestatic
    +
    + +

    Check if file exists.

    + +

    Definition at line 91 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetClipboardText()

    + +
    +
    + + + + + +
    + + + + + + + +
    static std::string raylib::GetClipboardText ()
    +
    +inlinestatic
    +
    + +

    Get clipboard text content.

    + +

    Definition at line 52 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetDirectoryFiles()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::vector< std::string > raylib::GetDirectoryFiles (const std::string & dirPath)
    +
    +static
    +
    + +

    Get filenames in a directory path.

    + +

    Definition at line 155 of file Functions.hpp.

    + +

    References GetDirectoryFiles().

    + +

    Referenced by GetDirectoryFiles().

    + +
    +
    + +

    ◆ GetDirectoryPath()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::GetDirectoryPath (const std::string & filePath)
    +
    +inlinestatic
    +
    + +

    Get full path for a given fileName with path.

    + +

    Definition at line 133 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetDroppedFiles()

    + +
    +
    + + + + + +
    + + + + + + + +
    static std::vector< std::string > raylib::GetDroppedFiles ()
    +
    +static
    +
    + +

    Get dropped files names.

    + +

    Definition at line 174 of file Functions.hpp.

    + +

    References GetDroppedFiles().

    + +

    Referenced by GetDroppedFiles().

    + +
    +
    + +

    ◆ GetFileExtension()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::GetFileExtension (const std::string & fileName)
    +
    +inlinestatic
    +
    + +

    Get pointer to extension for a filename string (including point: ".png")

    + +

    Definition at line 112 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetFileModTime()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static long raylib::GetFileModTime (const std::string & fileName)
    +
    +inlinestatic
    +
    + +

    Get file modification time (last write time)

    + +

    Definition at line 188 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetFileName()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::GetFileName (const std::string & filePath)
    +
    +inlinestatic
    +
    + +

    Get pointer to filename for a path string.

    + +

    Definition at line 119 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetFileNameWithoutExt()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::GetFileNameWithoutExt (const std::string & filePath)
    +
    +inlinestatic
    +
    + +

    Get filename string without extension.

    + +

    Definition at line 126 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetGamepadName()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::GetGamepadName (int gamepad)
    +
    +inlinestatic
    +
    + +

    Get gamepad internal name id.

    + +

    Definition at line 66 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetMonitorName()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::GetMonitorName (int monitor = 0)
    +
    +inlinestatic
    +
    + +

    Get the human-readable, UTF-8 encoded name of the primary monitor.

    + +

    Definition at line 38 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetPrevDirectoryPath()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::GetPrevDirectoryPath (const std::string & dirPath)
    +
    +inlinestatic
    +
    + +

    Get previous directory path for a given path.

    + +

    Definition at line 140 of file Functions.hpp.

    + +
    +
    + +

    ◆ GetWorkingDirectory()

    + +
    +
    + + + + + +
    + + + + + + + +
    static std::string raylib::GetWorkingDirectory ()
    +
    +inlinestatic
    +
    + +

    Get current working directory.

    + +

    Definition at line 147 of file Functions.hpp.

    + +
    +
    + +

    ◆ InitWindow()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static void raylib::InitWindow (int width,
    int height,
    const std::string & title = "raylib" 
    )
    +
    +inlinestatic
    +
    + +

    Initialize window and OpenGL context.

    + +

    Definition at line 24 of file Functions.hpp.

    + +

    References InitWindow().

    + +

    Referenced by raylib::Window::Init(), and InitWindow().

    + +
    +
    + +

    ◆ IsFileExtension()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool raylib::IsFileExtension (const std::string & fileName,
    const std::string & ext 
    )
    +
    +inlinestatic
    +
    + +

    Check file extension (including point: .png, .wav)

    + +

    Definition at line 105 of file Functions.hpp.

    + +
    +
    + +

    ◆ LoadFileText()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static std::string raylib::LoadFileText (const std::string & fileName)
    +
    +static
    +
    + +

    Load text data from file (read)

    + +

    Definition at line 74 of file Functions.hpp.

    + +

    References LoadFileText().

    + +

    Referenced by LoadFileText().

    + +
    +
    + +

    ◆ LoadFont()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static inline ::Font raylib::LoadFont (const std::string & fileName)
    +
    +static
    +
    + +

    Load font from file (filename must include file extension)

    + +

    Definition at line 279 of file Functions.hpp.

    + +

    Referenced by raylib::Font::Load().

    + +
    +
    + +

    ◆ LoadFontEx()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static inline ::Font raylib::LoadFontEx (const std::string & fileName,
    int fontSize,
    int * fontChars,
    int charsCount 
    )
    +
    +static
    +
    + +

    Load font from file (filename must include file extension)

    + +

    Definition at line 286 of file Functions.hpp.

    + +

    Referenced by raylib::Font::Load().

    + +
    +
    + +

    ◆ LoadImage()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static inline ::Image raylib::LoadImage (const std::string & fileName)
    +
    +static
    +
    + +

    Load an image.

    + +

    Definition at line 210 of file Functions.hpp.

    + +

    Referenced by raylib::Image::Load().

    + +
    +
    + +

    ◆ LoadImageAnim()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static inline ::Image raylib::LoadImageAnim (const std::string & fileName,
    int * frames 
    )
    +
    +static
    +
    + +

    Load animated image data.

    + +

    Definition at line 226 of file Functions.hpp.

    + +

    Referenced by raylib::Image::Load().

    + +
    +
    + +

    ◆ LoadImageFromMemory()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static inline ::Image raylib::LoadImageFromMemory (const std::string & fileType,
    const unsigned char * fileData,
    int dataSize 
    )
    +
    +static
    +
    + +

    Load image from memory buffer, fileType refers to extension like "png".

    + +

    Definition at line 233 of file Functions.hpp.

    + +

    Referenced by raylib::Image::Load().

    + +
    +
    + +

    ◆ LoadImageRaw()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static inline ::Image raylib::LoadImageRaw (const std::string & fileName,
    int width,
    int height,
    int format,
    int headerSize 
    )
    +
    +static
    +
    + +

    Load an image from RAW file data.

    + +

    Definition at line 217 of file Functions.hpp.

    + +

    Referenced by raylib::Image::Load().

    + +
    +
    + +

    ◆ MeasureText()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static int raylib::MeasureText (const std::string & text,
    int fontSize 
    )
    +
    +inlinestatic
    +
    + +

    Measure string width for default font.

    + +

    Definition at line 293 of file Functions.hpp.

    + +
    +
    + +

    ◆ OpenURL()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static void raylib::OpenURL (const std::string & url)
    +
    +inlinestatic
    +
    + +

    Open URL with default system browser (if available)

    + +

    Definition at line 195 of file Functions.hpp.

    + +
    +
    + +

    ◆ SaveFileText()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool raylib::SaveFileText (const std::string & fileName,
    const std::string & text 
    )
    +
    +inlinestatic
    +
    + +

    Save text data to file (write)

    + +

    Definition at line 84 of file Functions.hpp.

    + +
    +
    + +

    ◆ SetClipboardText()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static void raylib::SetClipboardText (const std::string & text)
    +
    +inlinestatic
    +
    + +

    Set clipboard text content.

    + +

    Definition at line 45 of file Functions.hpp.

    + +

    References SetClipboardText().

    + +

    Referenced by SetClipboardText().

    + +
    +
    + +

    ◆ SetWindowTitle()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static void raylib::SetWindowTitle (const std::string & title)
    +
    +inlinestatic
    +
    + +

    Set title for window.

    + +

    Definition at line 31 of file Functions.hpp.

    + +

    References SetWindowTitle().

    + +

    Referenced by raylib::Window::SetTitle(), and SetWindowTitle().

    + +
    +
    + +

    ◆ TakeScreenshot()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static void raylib::TakeScreenshot (const std::string & fileName)
    +
    +inlinestatic
    +
    + +

    Takes a screenshot of current screen (saved a .png)

    + +

    Definition at line 59 of file Functions.hpp.

    + +

    References TakeScreenshot().

    + +

    Referenced by TakeScreenshot().

    + +
    +
    + +

    ◆ TextFindIndex()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    RLAPI int raylib::TextFindIndex (const std::string & text,
    const std::string & find 
    )
    +
    +inline
    +
    + +

    Find first text occurrence within a string.

    + +

    Definition at line 348 of file Functions.hpp.

    + +
    +
    + +

    ◆ TextInsert()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    RLAPI std::string raylib::TextInsert (const std::string & text,
    const std::string & insert,
    int position 
    )
    +
    +inline
    +
    + +

    Insert text in a position.

    + +

    Definition at line 335 of file Functions.hpp.

    + +

    References TextInsert().

    + +

    Referenced by TextInsert().

    + +
    +
    + +

    ◆ TextIsEqual()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool raylib::TextIsEqual (const std::string & text1,
    const std::string & text2 
    )
    +
    +inlinestatic
    +
    + +

    Check if two text string are equal.

    + +

    Definition at line 300 of file Functions.hpp.

    + +
    +
    + +

    ◆ TextLength()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static unsigned int raylib::TextLength (const std::string & text)
    +
    +inlinestatic
    +
    + +

    Check if two text string are equal.

    + +

    Definition at line 307 of file Functions.hpp.

    + +
    +
    + +

    ◆ TextReplace()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    RLAPI std::string raylib::TextReplace (const std::string & text,
    const std::string & replace,
    const std::string & by 
    )
    +
    +inline
    +
    + +

    Replace text string.

    + +

    Definition at line 321 of file Functions.hpp.

    + +

    References TextReplace().

    + +

    Referenced by TextReplace().

    + +
    +
    + +

    ◆ TextSubtext()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    RLAPI std::string raylib::TextSubtext (const std::string & text,
    int position,
    int length 
    )
    +
    +inline
    +
    + +

    Get text length, checks for '\0' ending.

    + +

    Definition at line 314 of file Functions.hpp.

    + +
    +
    + +

    ◆ TextToInteger()

    + +
    +
    + + + + + +
    + + + + + + + + +
    RLAPI int raylib::TextToInteger (const std::string & text)
    +
    +inline
    +
    + +

    Get integer value from text (negative values not supported)

    + +

    Definition at line 376 of file Functions.hpp.

    + +
    +
    + +

    ◆ TextToLower()

    + +
    +
    + + + + + +
    + + + + + + + + +
    RLAPI std::string raylib::TextToLower (const std::string & text)
    +
    +inline
    +
    + +

    Get lower case version of provided string.

    + +

    Definition at line 362 of file Functions.hpp.

    + +
    +
    + +

    ◆ TextToPascal()

    + +
    +
    + + + + + +
    + + + + + + + + +
    RLAPI std::string raylib::TextToPascal (const std::string & text)
    +
    +inline
    +
    + +

    Get Pascal case notation version of provided string.

    + +

    Definition at line 369 of file Functions.hpp.

    + +
    +
    + +

    ◆ TextToUpper()

    + +
    +
    + + + + + +
    + + + + + + + + +
    RLAPI std::string raylib::TextToUpper (const std::string & text)
    +
    +inline
    +
    + +

    Get upper case version of provided string.

    + +

    Definition at line 355 of file Functions.hpp.

    + +
    +
    + +

    ◆ UpdateCamera()

    + +
    +
    + + + + + +
    + + + + + + + + +
    static void raylib::UpdateCamera (const ::Cameracamera)
    +
    +inlinestatic
    +
    + +

    Update camera depending on selected mode.

    + +

    Definition at line 202 of file Functions.hpp.

    + +

    References UpdateCamera().

    + +

    Referenced by raylib::Camera3D::Update(), and UpdateCamera().

    + +
    +
    +
    +
    - + diff --git a/docs/namespaceraylib.js b/docs/namespaceraylib.js new file mode 100644 index 00000000..d3315e48 --- /dev/null +++ b/docs/namespaceraylib.js @@ -0,0 +1,86 @@ +var namespaceraylib = +[ + [ "AudioDevice", "classraylib_1_1_audio_device.html", "classraylib_1_1_audio_device" ], + [ "AudioStream", "classraylib_1_1_audio_stream.html", "classraylib_1_1_audio_stream" ], + [ "BoundingBox", "classraylib_1_1_bounding_box.html", "classraylib_1_1_bounding_box" ], + [ "Camera2D", "classraylib_1_1_camera2_d.html", "classraylib_1_1_camera2_d" ], + [ "Camera3D", "classraylib_1_1_camera3_d.html", "classraylib_1_1_camera3_d" ], + [ "Color", "classraylib_1_1_color.html", "classraylib_1_1_color" ], + [ "Font", "classraylib_1_1_font.html", "classraylib_1_1_font" ], + [ "Gamepad", "classraylib_1_1_gamepad.html", "classraylib_1_1_gamepad" ], + [ "Image", "classraylib_1_1_image.html", "classraylib_1_1_image" ], + [ "Material", "classraylib_1_1_material.html", "classraylib_1_1_material" ], + [ "Matrix", "classraylib_1_1_matrix.html", "classraylib_1_1_matrix" ], + [ "Mesh", "classraylib_1_1_mesh.html", "classraylib_1_1_mesh" ], + [ "Model", "classraylib_1_1_model.html", "classraylib_1_1_model" ], + [ "ModelAnimation", "classraylib_1_1_model_animation.html", "classraylib_1_1_model_animation" ], + [ "Mouse", "classraylib_1_1_mouse.html", "classraylib_1_1_mouse" ], + [ "Music", "classraylib_1_1_music.html", "classraylib_1_1_music" ], + [ "Physics", "classraylib_1_1_physics.html", "classraylib_1_1_physics" ], + [ "Ray", "classraylib_1_1_ray.html", "classraylib_1_1_ray" ], + [ "RayCollision", "classraylib_1_1_ray_collision.html", "classraylib_1_1_ray_collision" ], + [ "RaylibException", "classraylib_1_1_raylib_exception.html", "classraylib_1_1_raylib_exception" ], + [ "Rectangle", "classraylib_1_1_rectangle.html", "classraylib_1_1_rectangle" ], + [ "RenderTexture", "classraylib_1_1_render_texture.html", "classraylib_1_1_render_texture" ], + [ "Shader", "classraylib_1_1_shader.html", "classraylib_1_1_shader" ], + [ "Sound", "classraylib_1_1_sound.html", "classraylib_1_1_sound" ], + [ "Text", "classraylib_1_1_text.html", "classraylib_1_1_text" ], + [ "Texture", "classraylib_1_1_texture.html", "classraylib_1_1_texture" ], + [ "Vector2", "classraylib_1_1_vector2.html", "classraylib_1_1_vector2" ], + [ "Vector3", "classraylib_1_1_vector3.html", "classraylib_1_1_vector3" ], + [ "Vector4", "classraylib_1_1_vector4.html", "classraylib_1_1_vector4" ], + [ "VrStereoConfig", "classraylib_1_1_vr_stereo_config.html", "classraylib_1_1_vr_stereo_config" ], + [ "Wave", "classraylib_1_1_wave.html", "classraylib_1_1_wave" ], + [ "Window", "classraylib_1_1_window.html", "classraylib_1_1_window" ], + [ "Camera", "namespaceraylib.html#a44fa75f4522455fb2231d9950c40d629", null ], + [ "Quaternion", "namespaceraylib.html#a35a146d156ee0cb20e51c65c1356009f", null ], + [ "RenderTexture2D", "namespaceraylib.html#ad0bcd17a51d5afe483d6f57e03cc3237", null ], + [ "Texture2D", "namespaceraylib.html#acbfa8d0b01da4e378cebe24c50c2f55f", null ], + [ "TextureCubemap", "namespaceraylib.html#a31a94f5d187fbad00d1231541a1fe445", null ], + [ "ChangeDirectory", "namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1", null ], + [ "DirectoryExists", "namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69", null ], + [ "DrawText", "namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda", null ], + [ "DrawTextEx", "namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd", null ], + [ "DrawTextPro", "namespaceraylib.html#ad9373305a332c98fd718966388bc2946", null ], + [ "ExportImage", "namespaceraylib.html#a5099093ce156cc4d2f25593261009c18", null ], + [ "ExportImageAsCode", "namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987", null ], + [ "FileExists", "namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4", null ], + [ "GetClipboardText", "namespaceraylib.html#afe0adc469dc76944514cda9878393457", null ], + [ "GetDirectoryFiles", "namespaceraylib.html#a5fbfb157d027ca5175b19470fb7738ea", null ], + [ "GetDirectoryPath", "namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1", null ], + [ "GetDroppedFiles", "namespaceraylib.html#a06a812d32296cfd0b9f3229205f16fc8", null ], + [ "GetFileExtension", "namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c", null ], + [ "GetFileModTime", "namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87", null ], + [ "GetFileName", "namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43", null ], + [ "GetFileNameWithoutExt", "namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95", null ], + [ "GetGamepadName", "namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2", null ], + [ "GetMonitorName", "namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c", null ], + [ "GetPrevDirectoryPath", "namespaceraylib.html#ade271537f199a6fb169389b9bb05a529", null ], + [ "GetWorkingDirectory", "namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6", null ], + [ "InitWindow", "namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5", null ], + [ "IsFileExtension", "namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5", null ], + [ "LoadFileText", "namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82", null ], + [ "LoadFont", "namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6", null ], + [ "LoadFontEx", "namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e", null ], + [ "LoadImage", "namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f", null ], + [ "LoadImageAnim", "namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9", null ], + [ "LoadImageFromMemory", "namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430", null ], + [ "LoadImageRaw", "namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e", null ], + [ "MeasureText", "namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c", null ], + [ "OpenURL", "namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd", null ], + [ "SaveFileText", "namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78", null ], + [ "SetClipboardText", "namespaceraylib.html#a908a40d71074671f52382da28aee734b", null ], + [ "SetWindowTitle", "namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0", null ], + [ "TakeScreenshot", "namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed", null ], + [ "TextFindIndex", "namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d", null ], + [ "TextInsert", "namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6", null ], + [ "TextIsEqual", "namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261", null ], + [ "TextLength", "namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf", null ], + [ "TextReplace", "namespaceraylib.html#a80f557311e1acab398ea456340db6566", null ], + [ "TextSubtext", "namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3", null ], + [ "TextToInteger", "namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9", null ], + [ "TextToLower", "namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0", null ], + [ "TextToPascal", "namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b", null ], + [ "TextToUpper", "namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04", null ], + [ "UpdateCamera", "namespaceraylib.html#abd45302dac72cb253026bce044dee236", null ] +]; \ No newline at end of file diff --git a/docs/namespaces.html b/docs/namespaces.html index 51d03287..57d96d9e 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: Namespace List + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,23 +36,40 @@
    - + +/* @license-end */ +
    +
    + +
    +
    +
    + +
    -
    -
    Namespace List
    +
    Namespace List
    -
    Here is a list of all documented namespaces with brief descriptions:
    - - +
    Here is a list of all namespaces with brief descriptions:
    +
    [detail level 12]
     NraylibAll raylib-cpp classes and functions appear in the raylib namespace
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     NraylibAll raylib-cpp classes and functions appear in the raylib namespace
     CAudioDeviceAudio device management functions
     CAudioStreamAudioStream management functions
     CBoundingBoxBounding box type
     CCamera2DCamera2D type, defines a 2d camera
     CCamera3DCamera type, defines a camera position/orientation in 3d space
     CColorColor type, RGBA (32bit)
     CFontFont type, includes texture and charSet array data
     CGamepadInput-related functions: gamepads
     CImageImage type, bpp always RGBA (32bit)
     CMaterialMaterial type (generic)
     CMatrixMatrix type (OpenGL style 4x4 - right handed, column major)
     CMeshVertex data definning a mesh
     CModelModel type
     CModelAnimationModel animation
     CMouseInput-related functions: mouse
     CMusicMusic stream type (audio file streaming from memory)
     CPhysics2D Physics library for videogames
     CRayRay type (useful for raycast)
     CRayCollisionRaycast hit information
     CRaylibExceptionException used for most raylib-related exceptions
     CRectangleRectangle type
     CRenderTextureRenderTexture type, for texture rendering
     CShaderShader type (generic)
     CSoundWave/Sound management functions
     CTextText Functions
     CTextureTexture type
     CVector2Vector2 type
     CVector3Vector3 type
     CVector4Vector4 type
     CVrStereoConfigVR stereo config functions for VR simulator
     CWaveWave type, defines audio wave data
     CWindowWindow and Graphics Device Functions
    +
    - + diff --git a/docs/namespaces_dup.js b/docs/namespaces_dup.js new file mode 100644 index 00000000..1b290eb7 --- /dev/null +++ b/docs/namespaces_dup.js @@ -0,0 +1,4 @@ +var namespaces_dup = +[ + [ "raylib", "namespaceraylib.html", "namespaceraylib" ] +]; \ No newline at end of file diff --git a/docs/nav_f.png b/docs/nav_f.png index 72a58a529ed3a9ed6aa0c51a79cf207e026deee2..940086dd91bf2f6a32057d186de835171e3e03b9 100644 GIT binary patch delta 128 zcmV-`0Du3P0i6MmBza^>L_t(|0qxx}4udch1JE?SV`o5ZRZ0X2fkNBi`^Jon^uvfy z#1YeUmadUnKP6^XmL1wo8&Wn}AXZ5Qu@Xg)f;DQhglrV^nwx1!n5^FF=Snb)(Gk%vj{BRL9T9c- e@$=rlHgf|=7$DsN0QGqQ0000}%WQo;CkE~6lWg1{lU7e7UN6281#ncgQWt;yxlpSjx1O8WD!x}WEm Y?)_wIdb^_c6$21>y85}Sb4q9e0G??Z`2YX_ delta 67 zcmYdJnxJB*>FMGaQo;E4t|J$N1BX-KT4wgmvu@A6u&D20{R2$}&DVbwUM3!Wac4i{ Xv3!>HpqvZ$8Gyjk)z4*}Q$iB}sx%x@ diff --git a/docs/navtree.css b/docs/navtree.css new file mode 100644 index 00000000..10f69af0 --- /dev/null +++ b/docs/navtree.css @@ -0,0 +1,147 @@ +#nav-tree .children_ul { + margin:0; + padding:4px; +} + +#nav-tree ul { + list-style:none outside none; + margin:0px; + padding:0px; +} + +#nav-tree li { + white-space:nowrap; + margin:0px; + padding:0px; +} + +#nav-tree .plus { + margin:0px; +} + +#nav-tree .selected { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +#nav-tree img { + margin:0px; + padding:0px; + border:0px; + vertical-align: middle; +} + +#nav-tree a { + text-decoration:none; + padding:0px; + margin:0px; + outline:none; +} + +#nav-tree .label { + margin:0px; + padding:0px; + font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +#nav-tree .label a { + padding:2px; +} + +#nav-tree .selected a { + text-decoration:none; + color:#fff; +} + +#nav-tree .children_ul { + margin:0px; + padding:0px; +} + +#nav-tree .item { + margin:0px; + padding:0px; +} + +#nav-tree { + padding: 0px 0px; + background-color: #FAFAFF; + font-size:14px; + overflow:auto; +} + +#doc-content { + overflow:auto; + display:block; + padding:0px; + margin:0px; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#side-nav { + padding:0 6px 0 0; + margin: 0px; + display:block; + position: absolute; + left: 0px; + width: 250px; + overflow : hidden; +} + +.ui-resizable .ui-resizable-handle { + display:block; +} + +.ui-resizable-e { + background-image:url("splitbar.png"); + background-size:100%; + background-repeat:repeat-y; + background-attachment: scroll; + cursor:ew-resize; + height:100%; + right:0; + top:0; + width:6px; +} + +.ui-resizable-handle { + display:none; + font-size:0.1px; + position:absolute; + z-index:1; +} + +#nav-tree-contents { + margin: 6px 0px 0px 0px; +} + +#nav-tree { + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F3F9FE; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#nav-sync { + position:absolute; + top:5px; + right:24px; + z-index:0; +} + +#nav-sync img { + opacity:0.3; +} + +#nav-sync img:hover { + opacity:0.9; +} + +@media print +{ + #nav-tree { display: none; } + div.ui-resizable-handle { display: none; position: relative; } +} + diff --git a/docs/navtree.js b/docs/navtree.js new file mode 100644 index 00000000..27983687 --- /dev/null +++ b/docs/navtree.js @@ -0,0 +1,549 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +var navTreeSubIndices = new Array(); +var arrowDown = '▼'; +var arrowRight = '►'; + +function getData(varName) +{ + var i = varName.lastIndexOf('/'); + var n = i>=0 ? varName.substring(i+1) : varName; + return eval(n.replace(/\-/g,'_')); +} + +function stripPath(uri) +{ + return uri.substring(uri.lastIndexOf('/')+1); +} + +function stripPath2(uri) +{ + var i = uri.lastIndexOf('/'); + var s = uri.substring(i+1); + var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); + return m ? uri.substring(i-6) : s; +} + +function hashValue() +{ + return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,''); +} + +function hashUrl() +{ + return '#'+hashValue(); +} + +function pathName() +{ + return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, ''); +} + +function localStorageSupported() +{ + try { + return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; + } + catch(e) { + return false; + } +} + +function storeLink(link) +{ + if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { + window.localStorage.setItem('navpath',link); + } +} + +function deleteLink() +{ + if (localStorageSupported()) { + window.localStorage.setItem('navpath',''); + } +} + +function cachedLink() +{ + if (localStorageSupported()) { + return window.localStorage.getItem('navpath'); + } else { + return ''; + } +} + +function getScript(scriptName,func,show) +{ + var head = document.getElementsByTagName("head")[0]; + var script = document.createElement('script'); + script.id = scriptName; + script.type = 'text/javascript'; + script.onload = func; + script.src = scriptName+'.js'; + head.appendChild(script); +} + +function createIndent(o,domNode,node,level) +{ + var level=-1; + var n = node; + while (n.parentNode) { level++; n=n.parentNode; } + if (node.childrenData) { + var imgNode = document.createElement("span"); + imgNode.className = 'arrow'; + imgNode.style.paddingLeft=(16*level).toString()+'px'; + imgNode.innerHTML=arrowRight; + node.plus_img = imgNode; + node.expandToggle = document.createElement("a"); + node.expandToggle.href = "javascript:void(0)"; + node.expandToggle.onclick = function() { + if (node.expanded) { + $(node.getChildrenUL()).slideUp("fast"); + node.plus_img.innerHTML=arrowRight; + node.expanded = false; + } else { + expandNode(o, node, false, false); + } + } + node.expandToggle.appendChild(imgNode); + domNode.appendChild(node.expandToggle); + } else { + var span = document.createElement("span"); + span.className = 'arrow'; + span.style.width = 16*(level+1)+'px'; + span.innerHTML = ' '; + domNode.appendChild(span); + } +} + +var animationInProgress = false; + +function gotoAnchor(anchor,aname,updateLocation) +{ + var pos, docContent = $('#doc-content'); + var ancParent = $(anchor.parent()); + if (ancParent.hasClass('memItemLeft') || + ancParent.hasClass('memtitle') || + ancParent.hasClass('fieldname') || + ancParent.hasClass('fieldtype') || + ancParent.is(':header')) + { + pos = ancParent.position().top; + } else if (anchor.position()) { + pos = anchor.position().top; + } + if (pos) { + var dist = Math.abs(Math.min( + pos-docContent.offset().top, + docContent[0].scrollHeight- + docContent.height()-docContent.scrollTop())); + animationInProgress=true; + docContent.animate({ + scrollTop: pos + docContent.scrollTop() - docContent.offset().top + },Math.max(50,Math.min(500,dist)),function(){ + if (updateLocation) window.location.href=aname; + animationInProgress=false; + }); + } +} + +function newNode(o, po, text, link, childrenData, lastNode) +{ + var node = new Object(); + node.children = Array(); + node.childrenData = childrenData; + node.depth = po.depth + 1; + node.relpath = po.relpath; + node.isLast = lastNode; + + node.li = document.createElement("li"); + po.getChildrenUL().appendChild(node.li); + node.parentNode = po; + + node.itemDiv = document.createElement("div"); + node.itemDiv.className = "item"; + + node.labelSpan = document.createElement("span"); + node.labelSpan.className = "label"; + + createIndent(o,node.itemDiv,node,0); + node.itemDiv.appendChild(node.labelSpan); + node.li.appendChild(node.itemDiv); + + var a = document.createElement("a"); + node.labelSpan.appendChild(a); + node.label = document.createTextNode(text); + node.expanded = false; + a.appendChild(node.label); + if (link) { + var url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + link = url; + } else { + url = node.relpath+link; + } + a.className = stripPath(link.replace('#',':')); + if (link.indexOf('#')!=-1) { + var aname = '#'+link.split('#')[1]; + var srcPage = stripPath(pathName()); + var targetPage = stripPath(link.split('#')[0]); + a.href = srcPage!=targetPage ? url : "javascript:void(0)"; + a.onclick = function(){ + storeLink(link); + if (!$(a).parent().parent().hasClass('selected')) + { + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + $(a).parent().parent().addClass('selected'); + $(a).parent().parent().attr('id','selected'); + } + var anchor = $(aname); + gotoAnchor(anchor,aname,true); + }; + } else { + a.href = url; + a.onclick = function() { storeLink(link); } + } + } else { + if (childrenData != null) + { + a.className = "nolink"; + a.href = "javascript:void(0)"; + a.onclick = node.expandToggle.onclick; + } + } + + node.childrenUL = null; + node.getChildrenUL = function() { + if (!node.childrenUL) { + node.childrenUL = document.createElement("ul"); + node.childrenUL.className = "children_ul"; + node.childrenUL.style.display = "none"; + node.li.appendChild(node.childrenUL); + } + return node.childrenUL; + }; + + return node; +} + +function showRoot() +{ + var headerHeight = $("#top").height(); + var footerHeight = $("#nav-path").height(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + (function (){ // retry until we can scroll to the selected item + try { + var navtree=$('#nav-tree'); + navtree.scrollTo('#selected',100,{offset:-windowHeight/2}); + } catch (err) { + setTimeout(arguments.callee, 0); + } + })(); +} + +function expandNode(o, node, imm, showRoot) +{ + if (node.childrenData && !node.expanded) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + expandNode(o, node, imm, showRoot); + }, showRoot); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).slideDown("fast"); + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + } + } +} + +function glowEffect(n,duration) +{ + n.addClass('glow').delay(duration).queue(function(next){ + $(this).removeClass('glow');next(); + }); +} + +function highlightAnchor() +{ + var aname = hashUrl(); + var anchor = $(aname); + if (anchor.parent().attr('class')=='memItemLeft'){ + var rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); + glowEffect(rows.children(),300); // member without details + } else if (anchor.parent().attr('class')=='fieldname'){ + glowEffect(anchor.parent().parent(),1000); // enum value + } else if (anchor.parent().attr('class')=='fieldtype'){ + glowEffect(anchor.parent().parent(),1000); // struct field + } else if (anchor.parent().is(":header")) { + glowEffect(anchor.parent(),1000); // section header + } else { + glowEffect(anchor.next(),1000); // normal member + } +} + +function selectAndHighlight(hash,n) +{ + var a; + if (hash) { + var link=stripPath(pathName())+':'+hash.substring(1); + a=$('.item a[class$="'+link+'"]'); + } + if (a && a.length) { + a.parent().parent().addClass('selected'); + a.parent().parent().attr('id','selected'); + highlightAnchor(); + } else if (n) { + $(n.itemDiv).addClass('selected'); + $(n.itemDiv).attr('id','selected'); + } + var topOffset=5; + if (typeof page_layout!=='undefined' && page_layout==1) { + topOffset+=$('#top').outerHeight(); + } + if ($('#nav-tree-contents .item:first').hasClass('selected')) { + topOffset+=25; + } + $('#nav-sync').css('top',topOffset+'px'); + showRoot(); +} + +function showNode(o, node, index, hash) +{ + if (node && node.childrenData) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + showNode(o,node,index,hash); + },true); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).css({'display':'block'}); + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + var n = node.children[o.breadcrumbs[index]]; + if (index+11) hash = '#'+parts[1].replace(/[^\w\-]/g,''); + else hash=''; + } + if (hash.match(/^#l\d+$/)) { + var anchor=$('a[name='+hash.substring(1)+']'); + glowEffect(anchor.parent(),1000); // line number + hash=''; // strip line number anchors + } + var url=root+hash; + var i=-1; + while (NAVTREEINDEX[i+1]<=url) i++; + if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath) + } else { + getScript(relpath+'navtreeindex'+i,function(){ + navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath); + } + },true); + } +} + +function showSyncOff(n,relpath) +{ + n.html(''); +} + +function showSyncOn(n,relpath) +{ + n.html(''); +} + +function toggleSyncButton(relpath) +{ + var navSync = $('#nav-sync'); + if (navSync.hasClass('sync')) { + navSync.removeClass('sync'); + showSyncOff(navSync,relpath); + storeLink(stripPath2(pathName())+hashUrl()); + } else { + navSync.addClass('sync'); + showSyncOn(navSync,relpath); + deleteLink(); + } +} + +var loadTriggered = false; +var readyTriggered = false; +var loadObject,loadToRoot,loadUrl,loadRelPath; + +$(window).on('load',function(){ + if (readyTriggered) { // ready first + navTo(loadObject,loadToRoot,loadUrl,loadRelPath); + showRoot(); + } + loadTriggered=true; +}); + +function initNavTree(toroot,relpath) +{ + var o = new Object(); + o.toroot = toroot; + o.node = new Object(); + o.node.li = document.getElementById("nav-tree-contents"); + o.node.childrenData = NAVTREE; + o.node.children = new Array(); + o.node.childrenUL = document.createElement("ul"); + o.node.getChildrenUL = function() { return o.node.childrenUL; }; + o.node.li.appendChild(o.node.childrenUL); + o.node.depth = 0; + o.node.relpath = relpath; + o.node.expanded = false; + o.node.isLast = true; + o.node.plus_img = document.createElement("span"); + o.node.plus_img.className = 'arrow'; + o.node.plus_img.innerHTML = arrowRight; + + if (localStorageSupported()) { + var navSync = $('#nav-sync'); + if (cachedLink()) { + showSyncOff(navSync,relpath); + navSync.removeClass('sync'); + } else { + showSyncOn(navSync,relpath); + } + navSync.click(function(){ toggleSyncButton(relpath); }); + } + + if (loadTriggered) { // load before ready + navTo(o,toroot,hashUrl(),relpath); + showRoot(); + } else { // ready before load + loadObject = o; + loadToRoot = toroot; + loadUrl = hashUrl(); + loadRelPath = relpath; + readyTriggered=true; + } + + $(window).bind('hashchange', function(){ + if (window.location.hash && window.location.hash.length>1){ + var a; + if ($(location).attr('hash')){ + var clslink=stripPath(pathName())+':'+hashValue(); + a=$('.item a[class$="'+clslink.replace(/ - - + + raylib-cpp: physac.hpp Source File + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,22 +36,40 @@
    - + +/* @license-end */ + +
    +
    + +
    +
    +
    + +
    - -
    -
    -
    physac.hpp
    +
    physac.hpp
    -
    1 
    -
    4 #ifndef RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    -
    5 #define RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    -
    6 
    -
    7 #ifdef __cplusplus
    -
    8 extern "C" {
    -
    9 #endif
    -
    10 #include "extras/physac.h" // NOLINT
    -
    11 #ifdef __cplusplus
    -
    12 }
    -
    13 #endif
    -
    14 
    -
    15 #endif // RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    +
    1
    +
    4#ifndef RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    +
    5#define RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    +
    6
    +
    7#ifdef __cplusplus
    +
    8extern "C" {
    +
    9#endif
    +
    10#include "extras/physac.h" // NOLINT
    +
    11#ifdef __cplusplus
    +
    12}
    +
    13#endif
    +
    14
    +
    15#endif // RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    +
    - + diff --git a/docs/raylib-cpp-utils_8hpp_source.html b/docs/raylib-cpp-utils_8hpp_source.html index 540f95a9..0fbc1e3e 100644 --- a/docs/raylib-cpp-utils_8hpp_source.html +++ b/docs/raylib-cpp-utils_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib-cpp-utils.hpp Source File + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,22 +36,40 @@
    - + +/* @license-end */ + +
    +
    + +
    +
    +
    + +
    - -
    -
    -
    raylib-cpp-utils.hpp
    +
    raylib-cpp-utils.hpp
    -
    1 
    -
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    -
    5 #define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    -
    6 
    -
    7 #ifndef GETTERSETTER
    -
    8 
    -
    15 #define GETTERSETTER(type, method, name) \
    -
    16  \
    -
    17  inline type Get##method() const { return name; } \
    -
    18  \
    -
    19  inline void Set##method(type value) { name = value; }
    -
    20 #endif
    -
    21 
    -
    22 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    1
    +
    4#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    5#define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    6
    +
    7#ifndef GETTERSETTER
    +
    15#define GETTERSETTER(type, method, name) \
    +
    16 \
    +
    17 inline type Get##method() const { return name; } \
    +
    18 \
    +
    19 inline void Set##method(type value) { name = value; }
    +
    20#endif
    +
    21
    +
    22#endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    - + diff --git a/docs/raylib-cpp_8hpp_source.html b/docs/raylib-cpp_8hpp_source.html index 62c66e8e..5830b8ae 100644 --- a/docs/raylib-cpp_8hpp_source.html +++ b/docs/raylib-cpp_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib-cpp.hpp Source File + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,22 +36,40 @@
    - + +/* @license-end */ + +
    +
    + +
    +
    +
    + +
    - -
    -
    -
    raylib-cpp.hpp
    +
    raylib-cpp.hpp
    -
    1 
    -
    31 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    -
    32 #define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    -
    33 
    -
    34 #include "./AudioDevice.hpp"
    -
    35 #include "./AudioStream.hpp"
    -
    36 #include "./BoundingBox.hpp"
    -
    37 #include "./Camera2D.hpp"
    -
    38 #include "./Camera3D.hpp"
    -
    39 #include "./Color.hpp"
    -
    40 #include "./Font.hpp"
    -
    41 #include "./Functions.hpp"
    -
    42 #include "./Gamepad.hpp"
    -
    43 #include "./Image.hpp"
    -
    44 #include "./Material.hpp"
    -
    45 #include "./Matrix.hpp"
    -
    46 #include "./Mesh.hpp"
    -
    47 #include "./Model.hpp"
    -
    48 #include "./ModelAnimation.hpp"
    -
    49 #include "./Mouse.hpp"
    -
    50 #include "./Music.hpp"
    -
    51 #include "./Ray.hpp"
    -
    52 #include "./RaylibException.hpp"
    -
    53 #include "./RayCollision.hpp"
    -
    54 #include "./Rectangle.hpp"
    -
    55 #include "./RenderTexture.hpp"
    -
    56 #include "./Shader.hpp"
    -
    57 #include "./Sound.hpp"
    -
    58 #include "./Text.hpp"
    -
    59 #include "./Texture.hpp"
    -
    60 #include "./Vector2.hpp"
    -
    61 #include "./Vector3.hpp"
    -
    62 #include "./Vector4.hpp"
    -
    63 #include "./VrStereoConfig.hpp"
    -
    64 #include "./Wave.hpp"
    -
    65 #include "./Window.hpp"
    -
    66 
    -
    70 namespace raylib {
    -
    71  // Nothing.
    -
    72 } // namespace raylib
    -
    73 
    -
    74 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    -
    +
    1
    +
    31#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    +
    32#define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    +
    33
    +
    34#include "./AudioDevice.hpp"
    +
    35#include "./AudioStream.hpp"
    +
    36#include "./BoundingBox.hpp"
    +
    37#include "./Camera2D.hpp"
    +
    38#include "./Camera3D.hpp"
    +
    39#include "./Color.hpp"
    +
    40#include "./Font.hpp"
    +
    41#include "./Functions.hpp"
    +
    42#include "./Gamepad.hpp"
    +
    43#include "./Image.hpp"
    +
    44#include "./Material.hpp"
    +
    45#include "./Matrix.hpp"
    +
    46#include "./Mesh.hpp"
    +
    47#include "./Model.hpp"
    +
    48#include "./ModelAnimation.hpp"
    +
    49#include "./Mouse.hpp"
    +
    50#include "./Music.hpp"
    +
    51#include "./Ray.hpp"
    +
    52#include "./RaylibException.hpp"
    +
    53#include "./RayCollision.hpp"
    +
    54#include "./Rectangle.hpp"
    +
    55#include "./RenderTexture.hpp"
    +
    56#include "./Shader.hpp"
    +
    57#include "./Sound.hpp"
    +
    58#include "./Text.hpp"
    +
    59#include "./Texture.hpp"
    +
    60#include "./Vector2.hpp"
    +
    61#include "./Vector3.hpp"
    +
    62#include "./Vector4.hpp"
    +
    63#include "./VrStereoConfig.hpp"
    +
    64#include "./Wave.hpp"
    +
    65#include "./Window.hpp"
    +
    66
    +
    70namespace raylib {
    +
    71 // Nothing.
    +
    72} // namespace raylib
    +
    73
    +
    74#endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    +
    - + diff --git a/docs/raylib_8hpp_source.html b/docs/raylib_8hpp_source.html index 0450a00b..60d79202 100644 --- a/docs/raylib_8hpp_source.html +++ b/docs/raylib_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raylib.hpp Source File + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,22 +36,40 @@
    - + +/* @license-end */ + +
    +
    + +
    +
    +
    + +
    - -
    -
    -
    raylib.hpp
    +
    raylib.hpp
    -
    1 
    -
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    -
    5 #define RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    -
    6 
    -
    7 #ifdef __cplusplus
    -
    8 extern "C" {
    -
    9 #endif
    -
    10 #include "raylib.h" // NOLINT
    -
    11 #ifdef __cplusplus
    -
    12 }
    -
    13 #endif
    -
    14 
    -
    15 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    1
    +
    4#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    5#define RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    6
    +
    7#ifdef __cplusplus
    +
    8extern "C" {
    +
    9#endif
    +
    10#include "raylib.h" // NOLINT
    +
    11#ifdef __cplusplus
    +
    12}
    +
    13#endif
    +
    14
    +
    15#endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    - + diff --git a/docs/raymath_8hpp_source.html b/docs/raymath_8hpp_source.html index f7d18cd7..5de6d716 100644 --- a/docs/raymath_8hpp_source.html +++ b/docs/raymath_8hpp_source.html @@ -2,26 +2,31 @@ - - + + raylib-cpp: raymath.hpp Source File + + + + + +
    - - - +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -31,22 +36,40 @@
    - + +/* @license-end */ + +
    +
    + +
    +
    +
    + +
    - -
    -
    -
    raymath.hpp
    +
    raymath.hpp
    -
    1 
    -
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    -
    5 #define RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    -
    6 
    -
    7 #ifdef __cplusplus
    -
    8 extern "C" {
    -
    9 #endif
    -
    10 #ifndef RAYLIB_CPP_NO_MATH
    -
    11 #ifndef RAYMATH_STATIC_INLINE
    -
    12 #define RAYMATH_STATIC_INLINE
    -
    13 #endif
    -
    14 #pragma GCC diagnostic push
    -
    15 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
    -
    16 #include "raymath.h" // NOLINT
    -
    17 #pragma GCC diagnostic pop
    -
    18 #endif
    -
    19 #ifdef __cplusplus
    -
    20 }
    -
    21 #endif
    -
    22 
    -
    23 #endif // RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    1
    +
    4#ifndef RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    5#define RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    6
    +
    7#ifdef __cplusplus
    +
    8extern "C" {
    +
    9#endif
    +
    10#ifndef RAYLIB_CPP_NO_MATH
    +
    11#ifndef RAYMATH_STATIC_INLINE
    +
    12#define RAYMATH_STATIC_INLINE
    +
    13#endif
    +
    14#pragma GCC diagnostic push
    +
    15#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
    +
    16#include "raymath.h" // NOLINT
    +
    17#pragma GCC diagnostic pop
    +
    18#endif
    +
    19#ifdef __cplusplus
    +
    20}
    +
    21#endif
    +
    22
    +
    23#endif // RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    - + diff --git a/docs/resize.js b/docs/resize.js new file mode 100644 index 00000000..7fe30d10 --- /dev/null +++ b/docs/resize.js @@ -0,0 +1,150 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function initResizable() +{ + var cookie_namespace = 'doxygen'; + var sidenav,navtree,content,header,collapsed,collapsedWidth=0,barWidth=6,desktop_vp=768,titleHeight; + + function readCookie(cookie) + { + var myCookie = cookie_namespace+"_"+cookie+"="; + if (document.cookie) { + var index = document.cookie.indexOf(myCookie); + if (index != -1) { + var valStart = index + myCookie.length; + var valEnd = document.cookie.indexOf(";", valStart); + if (valEnd == -1) { + valEnd = document.cookie.length; + } + var val = document.cookie.substring(valStart, valEnd); + return val; + } + } + return 0; + } + + function writeCookie(cookie, val, expiration) + { + if (val==undefined) return; + if (expiration == null) { + var date = new Date(); + date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week + expiration = date.toGMTString(); + } + document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; SameSite=Lax; expires=" + expiration+"; path=/"; + } + + function resizeWidth() + { + var windowWidth = $(window).width() + "px"; + var sidenavWidth = $(sidenav).outerWidth(); + content.css({marginLeft:parseInt(sidenavWidth)+"px"}); + writeCookie('width',sidenavWidth-barWidth, null); + } + + function restoreWidth(navWidth) + { + var windowWidth = $(window).width() + "px"; + content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + sidenav.css({width:navWidth + "px"}); + } + + function resizeHeight() + { + var headerHeight = header.outerHeight(); + var footerHeight = footer.outerHeight(); + var windowHeight = $(window).height(); + var contentHeight,navtreeHeight,sideNavHeight; + if (typeof page_layout==='undefined' || page_layout==0) { /* DISABLE_INDEX=NO */ + contentHeight = windowHeight - headerHeight - footerHeight; + navtreeHeight = contentHeight; + sideNavHeight = contentHeight; + } else if (page_layout==1) { /* DISABLE_INDEX=YES */ + contentHeight = windowHeight - footerHeight; + navtreeHeight = windowHeight - headerHeight; + sideNavHeight = windowHeight; + } + content.css({height:contentHeight + "px"}); + navtree.css({height:navtreeHeight + "px"}); + sidenav.css({height:sideNavHeight + "px"}); + var width=$(window).width(); + if (width!=collapsedWidth) { + if (width=desktop_vp) { + if (!collapsed) { + collapseExpand(); + } + } else if (width>desktop_vp && collapsedWidth0) { + restoreWidth(0); + collapsed=true; + } + else { + var width = readCookie('width'); + if (width>200 && width<$(window).width()) { restoreWidth(width); } else { restoreWidth(200); } + collapsed=false; + } + } + + header = $("#top"); + sidenav = $("#side-nav"); + content = $("#doc-content"); + navtree = $("#nav-tree"); + footer = $("#nav-path"); + $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); + $(sidenav).resizable({ minWidth: 0 }); + $(window).resize(function() { resizeHeight(); }); + var device = navigator.userAgent.toLowerCase(); + var touch_device = device.match(/(iphone|ipod|ipad|android)/); + if (touch_device) { /* wider split bar for touch only devices */ + $(sidenav).css({ paddingRight:'20px' }); + $('.ui-resizable-e').css({ width:'20px' }); + $('#nav-sync').css({ right:'34px' }); + barWidth=20; + } + var width = readCookie('width'); + if (width) { restoreWidth(width); } else { resizeWidth(); } + resizeHeight(); + var url = location.href; + var i=url.indexOf("#"); + if (i>=0) window.location.hash=url.substr(i); + var _preventDefault = function(evt) { evt.preventDefault(); }; + $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); + $(".ui-resizable-handle").dblclick(collapseExpand); + $(window).on('load',resizeHeight); +} +/* @license-end */ diff --git a/docs/search/all_0.html b/docs/search/all_0.html index 26dd244f..c36c9af5 100644 --- a/docs/search/all_0.html +++ b/docs/search/all_0.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_0.js b/docs/search/all_0.js index 3c5e0041..059853ea 100644 --- a/docs/search/all_0.js +++ b/docs/search/all_0.js @@ -1,12 +1,15 @@ var searchData= [ - ['alpha_0',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], - ['alphablend_1',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], - ['alphaclear_2',['AlphaClear',['../classraylib_1_1_image.html#a39d6f6b230bcdaba3d85f45e9b5dad20',1,'raylib::Image']]], - ['alphacrop_3',['AlphaCrop',['../classraylib_1_1_image.html#a5945a136f675e024dda002075b34dfef',1,'raylib::Image']]], - ['alphamask_4',['AlphaMask',['../classraylib_1_1_image.html#a3bbcbb96834c526b6b789a804078d472',1,'raylib::Image']]], - ['alphapremultiply_5',['AlphaPremultiply',['../classraylib_1_1_image.html#ace3ef45495b17bf2e5a645931b792483',1,'raylib::Image']]], - ['angle_6',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], - ['audiodevice_7',['AudioDevice',['../classraylib_1_1_audio_device.html',1,'raylib::AudioDevice'],['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice::AudioDevice()']]], - ['audiostream_8',['AudioStream',['../classraylib_1_1_audio_stream.html',1,'raylib::AudioStream'],['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream::AudioStream()']]] + ['add_0',['Add',['../classraylib_1_1_matrix.html#aaecef455d7b249b1c0bbc77cbb27e1d0',1,'raylib::Matrix::Add()'],['../classraylib_1_1_vector2.html#a9b508085257410f314beb2f405259678',1,'raylib::Vector2::Add()'],['../classraylib_1_1_vector3.html#a640c5d01ab7d004830de1f7609abfdd2',1,'raylib::Vector3::Add()']]], + ['addforce_1',['AddForce',['../classraylib_1_1_physics.html#afb38fb0c3a3bebd5c5ff0e76d5204d6d',1,'raylib::Physics']]], + ['addtorque_2',['AddTorque',['../classraylib_1_1_physics.html#a7a663b83d1f9c7af8fcfbda8fefc9682',1,'raylib::Physics']]], + ['alpha_3',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], + ['alphablend_4',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], + ['alphaclear_5',['AlphaClear',['../classraylib_1_1_image.html#acea9718468977973dceaf84797cab842',1,'raylib::Image']]], + ['alphacrop_6',['AlphaCrop',['../classraylib_1_1_image.html#a99650b633aca69b1402d04e719d10faf',1,'raylib::Image']]], + ['alphamask_7',['AlphaMask',['../classraylib_1_1_image.html#aaf9f5429b67e2e4e37a23e1193b07215',1,'raylib::Image']]], + ['alphapremultiply_8',['AlphaPremultiply',['../classraylib_1_1_image.html#a726a612e5ad5e1d25764cbbb0e2f6ea1',1,'raylib::Image']]], + ['angle_9',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], + ['audiodevice_10',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice::AudioDevice()'],['../classraylib_1_1_audio_device.html',1,'raylib::AudioDevice']]], + ['audiostream_11',['AudioStream',['../classraylib_1_1_audio_stream.html#ad8a74cd0657258f1fe495d2dc7fd6881',1,'raylib::AudioStream::AudioStream(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#a1d47b4e6c51959d9a6408ff6660cd629',1,'raylib::AudioStream::AudioStream(AudioStream &&other)'],['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream::AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)'],['../classraylib_1_1_audio_stream.html#a8da5fee94a06fb1bf797d93e94472d9f',1,'raylib::AudioStream::AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)'],['../classraylib_1_1_audio_stream.html#a894b806cbf3e016b9cc7d9f413758012',1,'raylib::AudioStream::AudioStream(const ::AudioStream &music)'],['../class_audio_stream.html',1,'AudioStream'],['../classraylib_1_1_audio_stream.html',1,'raylib::AudioStream']]] ]; diff --git a/docs/search/all_1.html b/docs/search/all_1.html index 8eb215b9..91cfe8ac 100644 --- a/docs/search/all_1.html +++ b/docs/search/all_1.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_1.js b/docs/search/all_1.js index feaa8ca1..f5000c22 100644 --- a/docs/search/all_1.js +++ b/docs/search/all_1.js @@ -1,6 +1,12 @@ var searchData= [ - ['begindrawing_9',['BeginDrawing',['../classraylib_1_1_window.html#a8f2b932e51fc0ac154e2fd578691ebd6',1,'raylib::Window']]], - ['beginmode_10',['BeginMode',['../classraylib_1_1_camera3_d.html#a0aeaa99678bacc68d410a4d42e95548a',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a7d05e471bb2d7fc83094f7a9463d836f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a63311cdadb7f81791a61e2ccea33efbe',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#aee11917e6f68d22e12e06a81d58ee340',1,'raylib::VrStereoConfig::BeginMode()']]], - ['boundingbox_11',['BoundingBox',['../classraylib_1_1_bounding_box.html',1,'raylib::BoundingBox'],['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox()'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()']]] + ['barycenter_0',['Barycenter',['../classraylib_1_1_vector3.html#a3adb51fa6e3c137095ba6aa60f976ddc',1,'raylib::Vector3']]], + ['begindrawing_1',['BeginDrawing',['../classraylib_1_1_window.html#a487e7b9ee38593be6f6bc5c5c2e2e80c',1,'raylib::Window']]], + ['beginmode_2',['BeginMode',['../classraylib_1_1_camera2_d.html#a39d12d507baf5ba6112ea31d9ff8b01f',1,'raylib::Camera2D::BeginMode()'],['../classraylib_1_1_camera3_d.html#a23437f027bbd7608ca9e5f2370344271',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a4e2cede5c6b58d0b4f0a38eba6897a5f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a662293424e1923c1a2ed73d3fb0ccb61',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#a57c7c3064803f61af4a7da1e0ae10167',1,'raylib::VrStereoConfig::BeginMode()']]], + ['beige_3',['Beige',['../classraylib_1_1_color.html#a13dc46e6133581a791e918af361fdfcc',1,'raylib::Color']]], + ['black_4',['Black',['../classraylib_1_1_color.html#a6d4168bda8afca4a98d4e4a6a74c2d63',1,'raylib::Color']]], + ['blank_5',['Blank',['../classraylib_1_1_color.html#a7833da21008e487f44324007b9d8e6c1',1,'raylib::Color']]], + ['blue_6',['Blue',['../classraylib_1_1_color.html#a8bd1ba9bc65bae856d0b716aa85c407d',1,'raylib::Color']]], + ['boundingbox_7',['BoundingBox',['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()'],['../classraylib_1_1_bounding_box.html#ad7e2ee18a319a9ea834e46add4b0dbc8',1,'raylib::BoundingBox::BoundingBox(::Vector3 min, ::Vector3 max)'],['../classraylib_1_1_bounding_box.html#a6e0d7b4af3123898d6fa541ed2fd2672',1,'raylib::BoundingBox::BoundingBox(::Vector3 minMax)'],['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox(const ::Mesh &mesh)'],['../classraylib_1_1_bounding_box.html#a2d5d6d98333d7a2e15b3703b1c383fe9',1,'raylib::BoundingBox::BoundingBox(const ::BoundingBox &box)'],['../class_bounding_box.html',1,'BoundingBox'],['../classraylib_1_1_bounding_box.html',1,'raylib::BoundingBox']]], + ['brown_8',['Brown',['../classraylib_1_1_color.html#aee8f4a4e55fe68cf5d3854208e16c5b7',1,'raylib::Color']]] ]; diff --git a/docs/search/all_10.html b/docs/search/all_10.html index 6fd3a4aa..765f5848 100644 --- a/docs/search/all_10.html +++ b/docs/search/all_10.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_10.js b/docs/search/all_10.js index 3dd12129..49f0fe5a 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -1,130 +1,28 @@ var searchData= [ - ['savefiletext_298',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], - ['seek_299',['Seek',['../classraylib_1_1_music.html#ab2013c089ab1b10e6dcc70c9c350c0f2',1,'raylib::Music']]], - ['seta_300',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], - ['setaltcontrol_301',['SetAltControl',['../classraylib_1_1_camera3_d.html#af4494c05808722f3111c6bcb3703b662',1,'raylib::Camera3D']]], - ['setanimnormals_302',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], - ['setanimvertices_303',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], - ['setb_304',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], - ['setbasesize_305',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], - ['setbindpoe_306',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], - ['setbonecount_307',['SetBoneCount',['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()'],['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()']]], - ['setboneids_308',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], - ['setbones_309',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], - ['setboneweights_310',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], - ['setbuffer_311',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], - ['setbuffersizedefault_312',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], - ['setchannels_313',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], - ['setclipboardtext_314',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], - ['setcolor_315',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], - ['setcolors_316',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], - ['setctxdata_317',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], - ['setctxtype_318',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], - ['setcursor_319',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], - ['setdata_320',['SetData',['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()'],['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()']]], - ['setdepth_321',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], - ['setdirection_322',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], - ['setdistance_323',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], - ['setfilter_324',['SetFilter',['../classraylib_1_1_texture.html#a2f15e4f84badfdb2520133b645908bb7',1,'raylib::Texture']]], - ['setfont_325',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], - ['setfontsize_326',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], - ['setformat_327',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()']]], - ['setfovy_328',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], - ['setframecount_329',['SetFrameCount',['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()']]], - ['setframeposes_330',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], - ['setfullscreen_331',['SetFullscreen',['../classraylib_1_1_window.html#aeb4c203ec7f228bb196d7d6c3278984f',1,'raylib::Window']]], - ['setg_332',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], - ['setglyphcount_333',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], - ['setglyphpadding_334',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], - ['setglyphs_335',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], - ['setheight_336',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], - ['sethit_337',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], - ['seticon_338',['SetIcon',['../classraylib_1_1_window.html#a5035259115c985be13b506af12b1f525',1,'raylib::Window']]], - ['setid_339',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()']]], - ['setindices_340',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], - ['setlocs_341',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], - ['setlooping_342',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], - ['setm0_343',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], - ['setm1_344',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], - ['setm10_345',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], - ['setm11_346',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], - ['setm12_347',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], - ['setm13_348',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], - ['setm14_349',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], - ['setm15_350',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], - ['setm2_351',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], - ['setm3_352',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], - ['setm4_353',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], - ['setm5_354',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], - ['setm6_355',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], - ['setm7_356',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], - ['setm8_357',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], - ['setm9_358',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], - ['setmaps_359',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], - ['setmaterial_360',['SetMaterial',['../classraylib_1_1_texture.html#a8667f5e1c478cfe06e48a1a98f3c1368',1,'raylib::Texture']]], - ['setmaterialcount_361',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], - ['setmaterials_362',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], - ['setmax_363',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], - ['setmeshcount_364',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], - ['setmeshes_365',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], - ['setmeshmaterial_366',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#acb7831c2542e8e1a7b80859cc7f43aa1',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], - ['setmin_367',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], - ['setminsize_368',['SetMinSize',['../classraylib_1_1_window.html#abd534b189b57a77e491bd7852c9ee3a4',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#ad8acc035fd7ae1ca24452de0ca97ff2b',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], - ['setmipmaps_369',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], - ['setmode_370',['SetMode',['../classraylib_1_1_camera3_d.html#a9a2649478bcbc00bc738112d9deacc04',1,'raylib::Camera3D']]], - ['setmonitor_371',['SetMonitor',['../classraylib_1_1_window.html#a69b43267e498bdbe64092cfb96e0e950',1,'raylib::Window']]], - ['setmovecontrols_372',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a6d179e8e85e580dc9e50b6d01c99dd51',1,'raylib::Camera3D']]], - ['setnormal_373',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], - ['setnormals_374',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], - ['setnumber_375',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], - ['setoffset_376',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D']]], - ['setpitch_377',['SetPitch',['../classraylib_1_1_audio_stream.html#a3142331c775e25f172247d86fd112207',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#a863348374483c4b9b01f6e2624f833e8',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#a5018b4876727080e904385ce98ee4990',1,'raylib::Sound::SetPitch()']]], - ['setposition_378',['SetPosition',['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_window.html#a662e058a9f5b3121e6280411fa0cc73d',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_window.html#a701de0c79e8252538cd080ddfa51952d',1,'raylib::Window::SetPosition(const ::Vector2 &position)']]], - ['setprojection_379',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], - ['setr_380',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], - ['setrecs_381',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], - ['setrotation_382',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], - ['setsamplerate_383',['SetSampleRate',['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate()'],['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()']]], - ['setsamplesize_384',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], - ['setshader_385',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], - ['setshadervalue_386',['SetShaderValue',['../classraylib_1_1_matrix.html#a388c9c8913cfae69bfb840bbfab95fa9',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#ae86f9e94bde8583bddc594a0bb3f57c6',1,'raylib::Texture::SetShaderValue()']]], - ['setshapes_387',['SetShapes',['../classraylib_1_1_texture.html#a5ed08c239b0b53d7ec89c9507514393a',1,'raylib::Texture']]], - ['setsize_388',['SetSize',['../classraylib_1_1_window.html#a9a51c4a61cb8c6fbf14e164e7c3afa50',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_window.html#a51be4f5c35dd84abbaa174df913aa4c7',1,'raylib::Window::SetSize(const ::Vector2 &size)']]], - ['setsmoothzoomcontrol_389',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#a6263a91ecfcc94144cd4cbff82396e78',1,'raylib::Camera3D']]], - ['setspacing_390',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], - ['setstate_391',['SetState',['../classraylib_1_1_window.html#a8f65f0cddfc91ba7c5c5efe0b5deb063',1,'raylib::Window']]], - ['setstream_392',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], - ['settangents_393',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], - ['settarget_394',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], - ['settargetfps_395',['SetTargetFPS',['../classraylib_1_1_window.html#a191fafa4e6e094477c15c157f00a18a4',1,'raylib::Window']]], - ['settexcoords_396',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], - ['settexcoords2_397',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], - ['settext_398',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], - ['settexture_399',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a563a153517435efba319c750d7bd0379',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], - ['settitle_400',['SetTitle',['../classraylib_1_1_window.html#a306c896a81dd5790af0c8a8617b907d4',1,'raylib::Window']]], - ['settransform_401',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], - ['settrianglecount_402',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], - ['setup_403',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], - ['setvalue_404',['SetValue',['../classraylib_1_1_shader.html#aee50d83bfae949b476ad994fa739b9a5',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)'],['../classraylib_1_1_shader.html#a37e4981ccc95df6b78efd21e8563d49d',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#adade0b76feffac6c439efb46586f4099',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a7bbc8d326c377cee898bf772dda1fc1c',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)']]], - ['setvaoid_405',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], - ['setvboid_406',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], - ['setvertexcount_407',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], - ['setvertices_408',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], - ['setvolume_409',['SetVolume',['../classraylib_1_1_audio_device.html#ae1e2ca6a0cd5a3b2cb6f4cfc5455a3f1',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a6e69c7e6d2856787a588185f7865e6e1',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#acbcc821ca804c0c9783e96267b7c5ef9',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_sound.html#a03cbb1aa868bf037d163a5a540db8c8f',1,'raylib::Sound::SetVolume()']]], - ['setw_410',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], - ['setwidth_411',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()']]], - ['setwindowtitle_412',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], - ['setwrap_413',['SetWrap',['../classraylib_1_1_texture.html#a29ac6e7037bc2678159760744d4538a4',1,'raylib::Texture']]], - ['setx_414',['SetX',['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], - ['sety_415',['SetY',['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()']]], - ['setz_416',['SetZ',['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()'],['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()']]], - ['setzoom_417',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], - ['shader_418',['Shader',['../classraylib_1_1_shader.html',1,'raylib']]], - ['shouldclose_419',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], - ['sound_420',['Sound',['../classraylib_1_1_sound.html',1,'raylib::Sound'],['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)']]], - ['spacing_421',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]], - ['sphere_422',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], - ['stop_423',['Stop',['../classraylib_1_1_audio_stream.html#a266882a0ea63da435e44583270685d57',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a6a6ed906b768631c86a006b23900d542',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#af00839539bfeb6dd1bac84b5d1c90f0b',1,'raylib::Sound::Stop()']]], - ['stopmulti_424',['StopMulti',['../classraylib_1_1_sound.html#a6925b0114e6d9636c928fed1f0f0586c',1,'raylib::Sound']]] + ['ray_0',['Ray',['../class_ray.html',1,'Ray'],['../classraylib_1_1_ray.html#a6f7f848de7bebccc4dbda328dc8056b1',1,'raylib::Ray::Ray(const ::Ray &ray)'],['../classraylib_1_1_ray.html#ab3a7660c5b87be0ce2c6e03269e7d87e',1,'raylib::Ray::Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})'],['../classraylib_1_1_ray.html#acc6259ea6bd75add00e7529ef5903024',1,'raylib::Ray::Ray(::Vector2 mousePosition, ::Camera camera)'],['../classraylib_1_1_ray.html',1,'raylib::Ray']]], + ['raycollision_1',['RayCollision',['../class_ray_collision.html',1,'RayCollision'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#af3d7481a683da26a5bc761de88048e39',1,'raylib::RayCollision::RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)'],['../classraylib_1_1_ray_collision.html#abcdc5ad0a518fce72f4a59e0ff3d6089',1,'raylib::RayCollision::RayCollision(const ::RayCollision &ray)'],['../classraylib_1_1_ray_collision.html',1,'raylib::RayCollision']]], + ['raylib_2',['raylib',['../namespaceraylib.html',1,'']]], + ['raylib_2dcpp_3',['raylib-cpp',['../index.html',1,'']]], + ['raylibexception_4',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib::RaylibException'],['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException::RaylibException()']]], + ['raywhite_5',['RayWhite',['../classraylib_1_1_color.html#a5a43482f133efe9ed65ee6e2899c19db',1,'raylib::Color']]], + ['rectangle_6',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib::Rectangle'],['../classraylib_1_1_rectangle.html#a04bca788142d97d34e7fe1be945795b2',1,'raylib::Rectangle::Rectangle(float x, float y)'],['../classraylib_1_1_rectangle.html#a0ca58eee9dbca8d0eb850bc9cfe6d843',1,'raylib::Rectangle::Rectangle(::Vector4 rect)'],['../classraylib_1_1_rectangle.html#a85ea9145d362d7247096c0f1e5a139d2',1,'raylib::Rectangle::Rectangle(::Vector2 size)'],['../classraylib_1_1_rectangle.html#a2e6a3094f9d2cc34a8ffee741114271d',1,'raylib::Rectangle::Rectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_rectangle.html#abcbb82963e25bcd78da507dd498cd35b',1,'raylib::Rectangle::Rectangle()'],['../classraylib_1_1_rectangle.html#a33e0e9353785a4023aee973d1613f1ff',1,'raylib::Rectangle::Rectangle(float x)'],['../classraylib_1_1_rectangle.html#a61861032ffd470259e1b74fed46ab5e8',1,'raylib::Rectangle::Rectangle(float x, float y, float width)'],['../classraylib_1_1_rectangle.html#ab31f8b649dd25ec8681efbfd72785f2f',1,'raylib::Rectangle::Rectangle(float x, float y, float width, float height)'],['../classraylib_1_1_rectangle.html#af3ec58f0bddd5f275adc88a738e8b674',1,'raylib::Rectangle::Rectangle(const ::Rectangle &vec)'],['../class_rectangle.html',1,'Rectangle']]], + ['red_7',['Red',['../classraylib_1_1_color.html#a649937964940232edccf5cb3c427378b',1,'raylib::Color']]], + ['reflect_8',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2::Reflect()'],['../classraylib_1_1_vector3.html#a65595b203f521068db930e7d6bccc8c8',1,'raylib::Vector3::Reflect()']]], + ['rendertexture_9',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib::RenderTexture'],['../classraylib_1_1_render_texture.html#a86e1112d634dd3f3fa08ab448b120174',1,'raylib::RenderTexture::RenderTexture()'],['../class_render_texture.html',1,'RenderTexture'],['../classraylib_1_1_render_texture.html#a39f48ce84105360408c0ff04b143bbc1',1,'raylib::RenderTexture::RenderTexture(RenderTexture &&other)'],['../classraylib_1_1_render_texture.html#acf580e3d1fe82531a24d5ae3e380dd1b',1,'raylib::RenderTexture::RenderTexture(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#a27f118f32bd8083a183df7ab5f0d8285',1,'raylib::RenderTexture::RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)'],['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()'],['../classraylib_1_1_render_texture.html#add8d201aec938fe0a66ecedd304e2fd3',1,'raylib::RenderTexture::RenderTexture(int width, int height)']]], + ['rendertexture2d_10',['RenderTexture2D',['../namespaceraylib.html#ad0bcd17a51d5afe483d6f57e03cc3237',1,'raylib']]], + ['reset_11',['Reset',['../classraylib_1_1_physics.html#af6425119eec9dbcca53e8f6029e54276',1,'raylib::Physics']]], + ['resize_12',['Resize',['../classraylib_1_1_image.html#aead1233654bf3e148ea55234f2f3557f',1,'raylib::Image']]], + ['resizecanvas_13',['ResizeCanvas',['../classraylib_1_1_image.html#a28f4b429c7e969b082801782ac19003c',1,'raylib::Image']]], + ['resizenn_14',['ResizeNN',['../classraylib_1_1_image.html#a218095d3a96636679cb7c5064985ba2d',1,'raylib::Image']]], + ['restore_15',['Restore',['../classraylib_1_1_window.html#a363b508c37787a50067fdef7b6a8a7f4',1,'raylib::Window']]], + ['resume_16',['Resume',['../classraylib_1_1_audio_stream.html#ae949d3dea0a03fa4554153ab1c591fb9',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#ac3cda9dcc555047d9b94842c6637181f',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#aa00303b64f68c6f5acb06f23553efbbf',1,'raylib::Sound::Resume()']]], + ['rotate_17',['Rotate',['../classraylib_1_1_matrix.html#ac5da5173fc6bcda2e09bdc2caa865c08',1,'raylib::Matrix::Rotate()'],['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2::Rotate()']]], + ['rotatebyquaternion_18',['RotateByQuaternion',['../classraylib_1_1_vector3.html#a3c7424a3f680503dcd338861a19c53e1',1,'raylib::Vector3']]], + ['rotateccw_19',['RotateCCW',['../classraylib_1_1_image.html#a91af35357c488a79bc0306aac1d6a613',1,'raylib::Image']]], + ['rotatecw_20',['RotateCW',['../classraylib_1_1_image.html#a6ea82b2f67b22d73e7bb3119e40d7c5d',1,'raylib::Image']]], + ['rotatex_21',['RotateX',['../classraylib_1_1_matrix.html#af0e1c205d24796003dc63783b2e1739a',1,'raylib::Matrix']]], + ['rotatexyz_22',['RotateXYZ',['../classraylib_1_1_matrix.html#a42a55314e81f9a8d4a1b7c964127bce1',1,'raylib::Matrix']]], + ['rotatey_23',['RotateY',['../classraylib_1_1_matrix.html#a9e068eb0a163ba8ae65d3b89ace56e67',1,'raylib::Matrix']]], + ['rotatez_24',['RotateZ',['../classraylib_1_1_matrix.html#a94ee9f00cd56f52d6bb49c3de7af7e02',1,'raylib::Matrix']]] ]; diff --git a/docs/search/all_11.html b/docs/search/all_11.html index f78343b9..e2183ee4 100644 --- a/docs/search/all_11.html +++ b/docs/search/all_11.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_11.js b/docs/search/all_11.js index 56bbaf55..c79f049b 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -1,24 +1,140 @@ var searchData= [ - ['takescreenshot_425',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], - ['text_426',['Text',['../classraylib_1_1_text.html',1,'raylib::Text'],['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text::text()'],['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)']]], - ['textfindindex_427',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], - ['textinsert_428',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], - ['textisequal_429',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], - ['textlength_430',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], - ['textreplace_431',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], - ['textsubtext_432',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], - ['texttointeger_433',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], - ['texttolower_434',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], - ['texttopascal_435',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], - ['texttoupper_436',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], - ['texture_437',['Texture',['../classraylib_1_1_texture.html',1,'raylib::Texture'],['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)']]], - ['togglefullscreen_438',['ToggleFullscreen',['../classraylib_1_1_window.html#a4f4e526ad3a1bfc3c133ff379d5f04d5',1,'raylib::Window']]], - ['tohsv_439',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], - ['toint_440',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], - ['topot_441',['ToPOT',['../classraylib_1_1_image.html#ae8c33add6a7f996a706f531231b8d996',1,'raylib::Image']]], - ['torus_442',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], - ['trace_443',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], - ['tracelog_444',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], - ['transpose_445',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] + ['savefiletext_0',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], + ['scale_1',['Scale',['../classraylib_1_1_matrix.html#a6194618ff44780a7e062355089706217',1,'raylib::Matrix::Scale()'],['../classraylib_1_1_vector2.html#a99329cc7300b744993c299a60191b23e',1,'raylib::Vector2::Scale()'],['../classraylib_1_1_vector3.html#a22ca33a36bf98e27801b523299990c51',1,'raylib::Vector3::Scale()']]], + ['seek_2',['Seek',['../classraylib_1_1_music.html#a0df1a8c1803d8be34208a2901e17a2ee',1,'raylib::Music']]], + ['seta_3',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], + ['setaltcontrol_4',['SetAltControl',['../classraylib_1_1_camera3_d.html#a1e12a532ca2837c7a00b1658b0d0be28',1,'raylib::Camera3D']]], + ['setanimnormals_5',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], + ['setanimvertices_6',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], + ['setb_7',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], + ['setbasesize_8',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], + ['setbindpoe_9',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], + ['setbodyrotation_10',['SetBodyRotation',['../classraylib_1_1_physics.html#a2e92f697147cea7ca3f3f86150c5fa8d',1,'raylib::Physics']]], + ['setbonecount_11',['SetBoneCount',['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()'],['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()']]], + ['setboneids_12',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], + ['setbones_13',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], + ['setboneweights_14',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], + ['setbuffer_15',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], + ['setbuffersizedefault_16',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], + ['setchannels_17',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], + ['setclipboardtext_18',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], + ['setcolor_19',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], + ['setcolors_20',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], + ['setctxdata_21',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], + ['setctxtype_22',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], + ['setcursor_23',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], + ['setdata_24',['SetData',['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()'],['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()']]], + ['setdepth_25',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], + ['setdirection_26',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], + ['setdistance_27',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], + ['setfilter_28',['SetFilter',['../classraylib_1_1_texture.html#ac42e4bc773336f2a1ee52e6f97bcf5e2',1,'raylib::Texture']]], + ['setfont_29',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], + ['setfontsize_30',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], + ['setformat_31',['SetFormat',['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()'],['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()']]], + ['setfovy_32',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], + ['setframecount_33',['SetFrameCount',['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()']]], + ['setframeposes_34',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], + ['setfullscreen_35',['SetFullscreen',['../classraylib_1_1_window.html#a97cd33ccd2b772aea0e7b7d66aa52205',1,'raylib::Window']]], + ['setg_36',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], + ['setglyphcount_37',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], + ['setglyphpadding_38',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], + ['setglyphs_39',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], + ['setgravity_40',['SetGravity',['../classraylib_1_1_physics.html#ab3c2e951985d4b08520f441c3d7d1864',1,'raylib::Physics']]], + ['setheight_41',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], + ['sethit_42',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], + ['seticon_43',['SetIcon',['../classraylib_1_1_window.html#adb4f1c464cb2274d8d22123965ac2239',1,'raylib::Window']]], + ['setid_44',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()']]], + ['setindices_45',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], + ['setlocs_46',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], + ['setlooping_47',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], + ['setm0_48',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], + ['setm1_49',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], + ['setm10_50',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], + ['setm11_51',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], + ['setm12_52',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], + ['setm13_53',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], + ['setm14_54',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], + ['setm15_55',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], + ['setm2_56',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], + ['setm3_57',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], + ['setm4_58',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], + ['setm5_59',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], + ['setm6_60',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], + ['setm7_61',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], + ['setm8_62',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], + ['setm9_63',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], + ['setmaps_64',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], + ['setmaterial_65',['SetMaterial',['../classraylib_1_1_texture.html#a88fc32d98a2e998cb58830f7e2256018',1,'raylib::Texture::SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)'],['../classraylib_1_1_texture.html#a9f2380b14a27928be3e7580a92fa8baf',1,'raylib::Texture::SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)']]], + ['setmaterialcount_66',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], + ['setmaterials_67',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], + ['setmax_68',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], + ['setmeshcount_69',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], + ['setmeshes_70',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], + ['setmeshmaterial_71',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#a615470971725d77d9252325017cb84f7',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], + ['setmin_72',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], + ['setminsize_73',['SetMinSize',['../classraylib_1_1_window.html#af4bbbbbe9a241c7fda7d3ee4a72cbf2d',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#a4ffe8d15136a9cca7ffc8cb66886e2a6',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], + ['setmipmaps_74',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], + ['setmode_75',['SetMode',['../classraylib_1_1_camera3_d.html#a60bdd6bd9c6b7294350d60e495454d73',1,'raylib::Camera3D']]], + ['setmonitor_76',['SetMonitor',['../classraylib_1_1_window.html#a4433c8726840fd2909da8437b7b3e007',1,'raylib::Window']]], + ['setmovecontrols_77',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a7b6ea87fe4de834303c03ca62eaf73b9',1,'raylib::Camera3D']]], + ['setnormal_78',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], + ['setnormals_79',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], + ['setnumber_80',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], + ['setoffset_81',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D::SetOffset()'],['../classraylib_1_1_mouse.html#a76cbe35c2741c70e5d9c9a4d4421b5fd',1,'raylib::Mouse::SetOffset(int offsetX=0, int offsetY=0)'],['../classraylib_1_1_mouse.html#a6d5ed867bb4da81d2b37bb1037e7a00d',1,'raylib::Mouse::SetOffset(::Vector2 offset)']]], + ['setpitch_82',['SetPitch',['../classraylib_1_1_audio_stream.html#a13ebfc6323dd52a529c652b50d981160',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#ac7d93b598afe32228f3e416d23f64a89',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#af54f9f9a0f850b7011a4302a92d61c87',1,'raylib::Sound::SetPitch()']]], + ['setposition_83',['SetPosition',['../classraylib_1_1_window.html#a96cd2f516efcab92927bf582b6fe754d',1,'raylib::Window::SetPosition()'],['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_mouse.html#af15947500da7d3aa95b3894576d6ea3d',1,'raylib::Mouse::SetPosition(int x, int y)'],['../classraylib_1_1_mouse.html#aa90576871793eb5f292e0eaa01f8a970',1,'raylib::Mouse::SetPosition(::Vector2 position)'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_rectangle.html#a512e9d32b02e9a55f7bf6d3b90ca4e7e',1,'raylib::Rectangle::SetPosition(float newX, float newY)'],['../classraylib_1_1_rectangle.html#a18647e222a3f11064cb9a6dfb18fe7c8',1,'raylib::Rectangle::SetPosition(const ::Vector2 &position)'],['../classraylib_1_1_window.html#a22162747a663a0e6ba5d644b28069020',1,'raylib::Window::SetPosition()']]], + ['setprojection_84',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], + ['setr_85',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], + ['setrecs_86',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], + ['setrotation_87',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], + ['setsamplerate_88',['SetSampleRate',['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate()'],['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()']]], + ['setsamplesize_89',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], + ['setscale_90',['SetScale',['../classraylib_1_1_mouse.html#a0bc3ff2888f24896026738bdeee3e314',1,'raylib::Mouse::SetScale(float scaleX=1.0f, float scaleY=1.0f)'],['../classraylib_1_1_mouse.html#a65892041af52bb64c80131f61832b274',1,'raylib::Mouse::SetScale(::Vector2 scale)']]], + ['setshader_91',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], + ['setshadervalue_92',['SetShaderValue',['../classraylib_1_1_matrix.html#a27776d3613da7c134136b25d227f358b',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#a3989a497ef1cd0d070d67220c0de4f69',1,'raylib::Texture::SetShaderValue(const ::Shader &shader, int locIndex)']]], + ['setshapes_93',['SetShapes',['../classraylib_1_1_texture.html#ab6443678ebab7d2c78b0bdfb7f37e16f',1,'raylib::Texture']]], + ['setshapestexture_94',['SetShapesTexture',['../classraylib_1_1_rectangle.html#aff8f63a27bab16c9bff78f137d3d7923',1,'raylib::Rectangle']]], + ['setsize_95',['SetSize',['../classraylib_1_1_rectangle.html#a92bae52ae8d3b79dae9f811fca30a7b2',1,'raylib::Rectangle::SetSize(float newWidth, float newHeight)'],['../classraylib_1_1_rectangle.html#acb7e80dbb24e3005980ecf4d1f52ddae',1,'raylib::Rectangle::SetSize(const ::Vector2 &size)'],['../classraylib_1_1_window.html#a81f8680331de7345546070d54643b781',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_window.html#a38c6f9d69df4ffb7a0a5dbf7f3da7023',1,'raylib::Window::SetSize(const ::Vector2 &size)']]], + ['setsmoothzoomcontrol_96',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#aab26a4c99183b18ec9c714b98b0688cb',1,'raylib::Camera3D']]], + ['setspacing_97',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], + ['setstate_98',['SetState',['../classraylib_1_1_window.html#a403f3d3d41bc642f9536cab91630ca75',1,'raylib::Window']]], + ['setstream_99',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], + ['settangents_100',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], + ['settarget_101',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], + ['settargetfps_102',['SetTargetFPS',['../classraylib_1_1_window.html#a7ca2dff3eeae227e0cc9d6b090fd7a3d',1,'raylib::Window']]], + ['settexcoords_103',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], + ['settexcoords2_104',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], + ['settext_105',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], + ['settexture_106',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a4fa16a50972c555434b31c2511d02493',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], + ['settimestep_107',['SetTimeStep',['../classraylib_1_1_physics.html#ad6c385b11a461c2138c581393bbabf44',1,'raylib::Physics']]], + ['settitle_108',['SetTitle',['../classraylib_1_1_window.html#a43d26141e2460add21aec360a20ddbed',1,'raylib::Window']]], + ['settransform_109',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], + ['settrianglecount_110',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], + ['setup_111',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], + ['setvalue_112',['SetValue',['../classraylib_1_1_shader.html#a0e256d9052c8f84141b8f576c8b7fb5e',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)'],['../classraylib_1_1_shader.html#acccfb8dc990cbef7641eab357b5af4ff',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#a9d6836497f8afa70a3066b8cc4203aa4',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a79e6cf8321eb55c142b2bda54555968b',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)']]], + ['setvaoid_113',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], + ['setvboid_114',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], + ['setvertexcount_115',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], + ['setvertices_116',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], + ['setvolume_117',['SetVolume',['../classraylib_1_1_audio_stream.html#a51894536c50841878536ed87c94ef9ca',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#a2a477ce696a4d6e0ba906aa45a9ac8f6',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_audio_device.html#a24fc065b613b6230e415d83194273d89',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_sound.html#a2818afd107521622a078b4a06cfbc918',1,'raylib::Sound::SetVolume()']]], + ['setw_118',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], + ['setwidth_119',['SetWidth',['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()']]], + ['setwindowtitle_120',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], + ['setwrap_121',['SetWrap',['../classraylib_1_1_texture.html#aa001be5e40701f5a6dc9c56fa7682eac',1,'raylib::Texture']]], + ['setx_122',['SetX',['../classraylib_1_1_mouse.html#a5aa814d46b8f02b923cb5a492aac8148',1,'raylib::Mouse::SetX()'],['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], + ['sety_123',['SetY',['../classraylib_1_1_mouse.html#a70fe1e1561aa9106799cfa5d98fe98cf',1,'raylib::Mouse::SetY()'],['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()']]], + ['setz_124',['SetZ',['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()'],['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()']]], + ['setzoom_125',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], + ['shader_126',['Shader',['../classraylib_1_1_shader.html',1,'raylib::Shader'],['../classraylib_1_1_shader.html#aebcf454f96bf29cbbfbe2801d4222e06',1,'raylib::Shader::Shader(unsigned int id, int *locs=nullptr)'],['../classraylib_1_1_shader.html#a68787ddef60edcd1d7f766fb28f8c880',1,'raylib::Shader::Shader(const std::string &vsFileName, const std::string &fsFileName)'],['../classraylib_1_1_shader.html#aea9fa53c3d5cb3e1e2501b25d1b937eb',1,'raylib::Shader::Shader(const char *vsFileName, const char *fsFileName)'],['../classraylib_1_1_shader.html#ae562fe95e5230f66c928beefff6f8619',1,'raylib::Shader::Shader(const Shader &)=delete'],['../classraylib_1_1_shader.html#af917f68b8618ba0cacd68f5870d4c704',1,'raylib::Shader::Shader(Shader &&other)'],['../classraylib_1_1_shader.html#a62e4f196016badbf10b34f9e628d66eb',1,'raylib::Shader::Shader(const ::Shader &shader)'],['../class_shader.html',1,'Shader']]], + ['shatter_127',['Shatter',['../classraylib_1_1_physics.html#a9a05e7f4aac933ff44a4a89c8674cd84',1,'raylib::Physics']]], + ['shouldclose_128',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], + ['skyblue_129',['SkyBlue',['../classraylib_1_1_color.html#ab630e67b888947c289a25a4a1000671f',1,'raylib::Color']]], + ['slerp_130',['Slerp',['../classraylib_1_1_vector4.html#ad74cf2c3cc806dda6ac299333dd7420b',1,'raylib::Vector4']]], + ['sound_131',['Sound',['../classraylib_1_1_sound.html',1,'raylib::Sound'],['../class_sound.html',1,'Sound'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)'],['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ab95375318685dbf1d03ff3489db0c9f0',1,'raylib::Sound::Sound(Sound &&other)'],['../classraylib_1_1_sound.html#acd90ba91564b3e381dc21829ba18c097',1,'raylib::Sound::Sound(::AudioStream stream, unsigned int frameCount)'],['../classraylib_1_1_sound.html#ab202d20657b5435283a6f85baaa79056',1,'raylib::Sound::Sound()'],['../classraylib_1_1_sound.html#a4c08c29d0590754fd5798bbb4df4f4bb',1,'raylib::Sound::Sound(const Sound &)=delete']]], + ['spacing_132',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]], + ['sphere_133',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], + ['stop_134',['Stop',['../classraylib_1_1_audio_stream.html#a0ebdf88ff0b76d024c7d49036cb0701f',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a5a6afb505504e57327ff345c6553f769',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#a1fd0c5ede427ba6797f7b1d295a15467',1,'raylib::Sound::Stop()']]], + ['stopmulti_135',['StopMulti',['../classraylib_1_1_sound.html#ab093bddebf4db7a2937063f063cfdb59',1,'raylib::Sound']]], + ['subtract_136',['Subtract',['../classraylib_1_1_matrix.html#a14f0b7960358e1dac0f745709e74ad67',1,'raylib::Matrix::Subtract()'],['../classraylib_1_1_vector2.html#a2203d35228a10defe410dec8d33017f9',1,'raylib::Vector2::Subtract()'],['../classraylib_1_1_vector3.html#af99d38f6a5f8100a91397a11994c9717',1,'raylib::Vector3::Subtract()']]] ]; diff --git a/docs/search/all_12.html b/docs/search/all_12.html index dd9ff1d5..9b9621cc 100644 --- a/docs/search/all_12.html +++ b/docs/search/all_12.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_12.js b/docs/search/all_12.js index 5b2f8542..59859be8 100644 --- a/docs/search/all_12.js +++ b/docs/search/all_12.js @@ -1,13 +1,36 @@ var searchData= [ - ['unload_446',['Unload',['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()']]], - ['unloadcolors_447',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], - ['unloadkeepmeshes_448',['UnloadKeepMeshes',['../classraylib_1_1_model.html#a1f8233c28728eff2c4684cb8b4258cda',1,'raylib::Model']]], - ['unloadpalette_449',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], - ['unloadsamples_450',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], - ['update_451',['Update',['../classraylib_1_1_audio_stream.html#ac7aa320c506865cc88d60264549d23b0',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#a6a59671e1b7ed19c5b6566e700b625a7',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#aa5cf71119ac343985b5575be55475c05',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#a031bc82c19b51b29f5c507cacd9c2664',1,'raylib::Music::Update()'],['../classraylib_1_1_sound.html#acec4ed7b817a356a13a24691192da968',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#aa17ec450860a4b02d1fc717dcec278e5',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ad2be6ad3fbbff3141dc274b1b397902c',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#addb5534e675a196513976b21fa80f0a6',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], - ['updateanimation_452',['UpdateAnimation',['../classraylib_1_1_model.html#a6b2400a98189c50a0c01d9868f56c3e4',1,'raylib::Model']]], - ['updatebuffer_453',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], - ['updatecamera_454',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], - ['upload_455',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] + ['takescreenshot_0',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], + ['text_1',['Text',['../classraylib_1_1_text.html',1,'raylib']]], + ['text_2',['text',['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text']]], + ['text_3',['Text',['../classraylib_1_1_image.html#a91744abc374f20b21f66549fcb4d5692',1,'raylib::Image::Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a31c3f86d7ab5dfbd618202a0a9c6156b',1,'raylib::Image::Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)']]], + ['textfindindex_4',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], + ['textinsert_5',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], + ['textisequal_6',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], + ['textlength_7',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], + ['textreplace_8',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], + ['textsubtext_9',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], + ['texttointeger_10',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], + ['texttolower_11',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], + ['texttopascal_12',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], + ['texttoupper_13',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], + ['texture_14',['Texture',['../classraylib_1_1_texture.html',1,'raylib::Texture'],['../classraylib_1_1_texture.html#a7988e6f875f2f613d449325acf9f74be',1,'raylib::Texture::Texture(Texture &&other)'],['../classraylib_1_1_texture.html#a58e78588be53fc00096d37019fef9134',1,'raylib::Texture::Texture(const Texture &)=delete'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../class_texture.html',1,'Texture']]], + ['texture2d_15',['Texture2D',['../namespaceraylib.html#acbfa8d0b01da4e378cebe24c50c2f55f',1,'raylib']]], + ['texturecubemap_16',['TextureCubemap',['../namespaceraylib.html#a31a94f5d187fbad00d1231541a1fe445',1,'raylib']]], + ['toaxisangle_17',['ToAxisAngle',['../classraylib_1_1_vector4.html#adae5284864f79d98fec6b17afad99986',1,'raylib::Vector4::ToAxisAngle(::Vector3 *outAxis, float *outAngle)'],['../classraylib_1_1_vector4.html#af8db6bdfea9975901bb4df2acfdb8361',1,'raylib::Vector4::ToAxisAngle()']]], + ['toeuler_18',['ToEuler',['../classraylib_1_1_vector4.html#a65730cc70476be33eb1e4daf33a0fd8d',1,'raylib::Vector4']]], + ['tofloatv_19',['ToFloatV',['../classraylib_1_1_matrix.html#a54f3ae730b3c5ca7da3522832fd2964d',1,'raylib::Matrix']]], + ['togglefullscreen_20',['ToggleFullscreen',['../classraylib_1_1_window.html#a06c1dd65d7f389a584e0440bef18838f',1,'raylib::Window']]], + ['tohsv_21',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], + ['toint_22',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], + ['tomatrix_23',['ToMatrix',['../classraylib_1_1_vector4.html#af04213c7901309ddb69521aad96678b2',1,'raylib::Vector4']]], + ['topot_24',['ToPOT',['../classraylib_1_1_image.html#a7783ade7b901c094bfb7049043880f27',1,'raylib::Image']]], + ['torectangle_25',['ToRectangle',['../classraylib_1_1_vector4.html#ad3a4a5db5d4644bbbe6f634c7c16f966',1,'raylib::Vector4']]], + ['torus_26',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], + ['tovector4_27',['ToVector4',['../classraylib_1_1_rectangle.html#a7f559c46f78bbbdf21c81e9db6b4fb64',1,'raylib::Rectangle']]], + ['trace_28',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], + ['tracelog_29',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], + ['transform_30',['Transform',['../classraylib_1_1_vector4.html#ad52462304fa03aed5904ea0b3ec8cd84',1,'raylib::Vector4::Transform()'],['../classraylib_1_1_vector3.html#a50c6b6a97a6f05b042c58b83564081e5',1,'raylib::Vector3::Transform()']]], + ['translate_31',['Translate',['../classraylib_1_1_matrix.html#a66c40986a01c21a5a1dd139ccf18ab28',1,'raylib::Matrix']]], + ['transpose_32',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] ]; diff --git a/docs/search/all_13.html b/docs/search/all_13.html index 2611a100..4acb7f91 100644 --- a/docs/search/all_13.html +++ b/docs/search/all_13.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_13.js b/docs/search/all_13.js index 7cd32eb9..f94b1183 100644 --- a/docs/search/all_13.js +++ b/docs/search/all_13.js @@ -1,7 +1,13 @@ var searchData= [ - ['vector2_456',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib']]], - ['vector3_457',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib']]], - ['vector4_458',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib']]], - ['vrstereoconfig_459',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib']]] + ['unload_0',['Unload',['../classraylib_1_1_font.html#a626232061626ccd76870cf9d81e56ca5',1,'raylib::Font::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_render_texture.html#a56b0bb42ae5ef981404b0fc1b28c2ed9',1,'raylib::RenderTexture::Unload()'],['../classraylib_1_1_shader.html#a5d56815b3531966cee3e2bee8ecfa5a4',1,'raylib::Shader::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()'],['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()']]], + ['unloadcolors_1',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], + ['unloadkeepmeshes_2',['UnloadKeepMeshes',['../classraylib_1_1_model.html#aebafa7bdc74ccd5876c6574eae495722',1,'raylib::Model']]], + ['unloadpalette_3',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], + ['unloadsamples_4',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], + ['update_5',['Update',['../classraylib_1_1_audio_stream.html#af0aa29e7eb3fb305eaa224bd62402622',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#aacd0a082c65a9089e2a2bcf3c327cfe0',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#ae5453fb8380e1f8e608f4e1b807f2fba',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#adaa6e39c17c965fce04abbfee117eebc',1,'raylib::Music::Update()'],['../classraylib_1_1_physics.html#a65685532dc9ded1d67a2b9c75e29547c',1,'raylib::Physics::Update()'],['../classraylib_1_1_sound.html#aa18a9b3a41117311c093c528c6988ece',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#a92c0fe944c32ee7d614a903e58eeae3e',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ac20c8e10a88f3952f9d5a4e09d5ce5fb',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#a253099fa4469729cc3bca1c7cf7d3e93',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], + ['updateanimation_6',['UpdateAnimation',['../classraylib_1_1_model.html#abf25f0cbb2526d1a3eaef890f0dfcd88',1,'raylib::Model']]], + ['updatebuffer_7',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], + ['updatecamera_8',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], + ['upload_9',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_14.html b/docs/search/all_14.html index 72d12e90..abb790c0 100644 --- a/docs/search/all_14.html +++ b/docs/search/all_14.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_14.js b/docs/search/all_14.js index 5aa6d91d..02cf5d2d 100644 --- a/docs/search/all_14.js +++ b/docs/search/all_14.js @@ -1,6 +1,8 @@ var searchData= [ - ['wave_460',['Wave',['../classraylib_1_1_wave.html',1,'raylib::Wave'],['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], - ['whitenoise_461',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], - ['window_462',['Window',['../classraylib_1_1_window.html',1,'raylib::Window'],['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window::Window()']]] + ['vector2_0',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib::Vector2'],['../class_vector2.html',1,'Vector2'],['../classraylib_1_1_vector2.html#af37eed03c414b6d9d6e0139fe8e226ef',1,'raylib::Vector2::Vector2(const ::Vector2 &vec)'],['../classraylib_1_1_vector2.html#ab7445f9657fa71635a231f87b761975d',1,'raylib::Vector2::Vector2(float x, float y)'],['../classraylib_1_1_vector2.html#aafb7d3ca7aa016a90203c67f71ca4d33',1,'raylib::Vector2::Vector2(float x)'],['../classraylib_1_1_vector2.html#aeb25c40ed7302c7de9cc281e1e1e8109',1,'raylib::Vector2::Vector2()']]], + ['vector3_1',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib::Vector3'],['../classraylib_1_1_vector3.html#a111fc1d7cd09c6a10a05d3918e431c38',1,'raylib::Vector3::Vector3(float x, float y)'],['../classraylib_1_1_vector3.html#abf9e88a2959a105153cc6640e0fea4b5',1,'raylib::Vector3::Vector3(::Color color)'],['../classraylib_1_1_vector3.html#adad550f85023b399e2d736efdaaa8bbd',1,'raylib::Vector3::Vector3()'],['../classraylib_1_1_vector3.html#a5b6463f85404813d49cd95376e92ff56',1,'raylib::Vector3::Vector3(float x)'],['../classraylib_1_1_vector3.html#a3ab43e8992532e03b278e5315391e657',1,'raylib::Vector3::Vector3(float x, float y, float z)'],['../classraylib_1_1_vector3.html#a28f01bc9b06a7482caa86e84e7fe6fd6',1,'raylib::Vector3::Vector3(const ::Vector3 &vec)'],['../class_vector3.html',1,'Vector3']]], + ['vector4_2',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib::Vector4'],['../class_vector4.html',1,'Vector4'],['../classraylib_1_1_vector4.html#a35894d9424422dc7f4c59d6b99dc652d',1,'raylib::Vector4::Vector4(const ::Vector4 &vec)'],['../classraylib_1_1_vector4.html#a9111e43425e61eb7c7d22b5ff0cf57b6',1,'raylib::Vector4::Vector4(float x, float y, float z, float w)'],['../classraylib_1_1_vector4.html#a0aa651ea0c915ccf0007397c13a553b2',1,'raylib::Vector4::Vector4(float x, float y, float z)'],['../classraylib_1_1_vector4.html#acf017370db9f15af801e90cef97fe055',1,'raylib::Vector4::Vector4(float x, float y)'],['../classraylib_1_1_vector4.html#a7af3871a8ecd1138280e670d06ad4a75',1,'raylib::Vector4::Vector4(float x)'],['../classraylib_1_1_vector4.html#ad43ace9c5d2dba1a7aa4d71d9395834a',1,'raylib::Vector4::Vector4()'],['../classraylib_1_1_vector4.html#a4dc7917c7f0335ff55c87dc4ef7d7d1c',1,'raylib::Vector4::Vector4(::Rectangle rect)'],['../classraylib_1_1_vector4.html#aa9a25ed14de003e3611bc1801dbc90a9',1,'raylib::Vector4::Vector4(::Color color)']]], + ['violet_3',['Violet',['../classraylib_1_1_color.html#a33a800381c93a8a57900fa7d092a00cf',1,'raylib::Color']]], + ['vrstereoconfig_4',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib::VrStereoConfig'],['../class_vr_stereo_config.html',1,'VrStereoConfig'],['../classraylib_1_1_vr_stereo_config.html#a630225c95d54e50482f6455e13d4fc3b',1,'raylib::VrStereoConfig::VrStereoConfig()']]] ]; diff --git a/docs/search/all_15.html b/docs/search/all_15.html index 767aec36..33e250bb 100644 --- a/docs/search/all_15.html +++ b/docs/search/all_15.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_15.js b/docs/search/all_15.js index b2fdcb11..48b5db94 100644 --- a/docs/search/all_15.js +++ b/docs/search/all_15.js @@ -1,4 +1,7 @@ var searchData= [ - ['zero_463',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2']]] + ['wave_0',['Wave',['../classraylib_1_1_wave.html',1,'raylib::Wave'],['../class_wave.html',1,'Wave'],['../classraylib_1_1_wave.html#a4643a642d42434c4eb39c6888688d495',1,'raylib::Wave::Wave(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aa76ff3e113cace4453b683725159aae6',1,'raylib::Wave::Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)'],['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_wave.html#a3c59426e8ff3fff68abb532a1e785b1e',1,'raylib::Wave::Wave(const Wave &other)'],['../classraylib_1_1_wave.html#adae03cb2d443e6d868f38c7c8db14913',1,'raylib::Wave::Wave(Wave &&other)']]], + ['white_1',['White',['../classraylib_1_1_color.html#ac92b0a8cb0bfc268863553ff5a2af7fb',1,'raylib::Color']]], + ['whitenoise_2',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], + ['window_3',['Window',['../classraylib_1_1_window.html',1,'raylib::Window'],['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window::Window()']]] ]; diff --git a/docs/search/all_16.html b/docs/search/all_16.html index 7bd7afe6..de305d99 100644 --- a/docs/search/all_16.html +++ b/docs/search/all_16.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_16.js b/docs/search/all_16.js index 5371f6cf..9c1af64e 100644 --- a/docs/search/all_16.js +++ b/docs/search/all_16.js @@ -1,8 +1,4 @@ var searchData= [ - ['_7eaudiodevice_464',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], - ['_7emusic_465',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], - ['_7evrstereoconfig_466',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], - ['_7ewave_467',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], - ['_7ewindow_468',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] + ['yellow_0',['Yellow',['../classraylib_1_1_color.html#a3e7a0f02d796ca9b8845023c7fd0dbf5',1,'raylib::Color']]] ]; diff --git a/docs/search/all_17.html b/docs/search/all_17.html index 35702ecd..48229a00 100644 --- a/docs/search/all_17.html +++ b/docs/search/all_17.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_17.js b/docs/search/all_17.js index 824b8219..24bbc203 100644 --- a/docs/search/all_17.js +++ b/docs/search/all_17.js @@ -1,4 +1,4 @@ var searchData= [ - ['zero_578',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2::Zero()'],['../classraylib_1_1_vector3.html#ae3a9048507c018f7a90e86e2131f2ea5',1,'raylib::Vector3::Zero()']]] + ['zero_0',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2::Zero()'],['../classraylib_1_1_vector3.html#ae3a9048507c018f7a90e86e2131f2ea5',1,'raylib::Vector3::Zero()']]] ]; diff --git a/docs/search/all_18.html b/docs/search/all_18.html index 540cdb6a..c153550b 100644 --- a/docs/search/all_18.html +++ b/docs/search/all_18.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_18.js b/docs/search/all_18.js index e79a8708..3c739b1b 100644 --- a/docs/search/all_18.js +++ b/docs/search/all_18.js @@ -1,20 +1,20 @@ var searchData= [ - ['_7eaudiodevice_579',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], - ['_7eaudiostream_580',['~AudioStream',['../classraylib_1_1_audio_stream.html#a264e3bcd80f5c47651d82ce64b84bdc0',1,'raylib::AudioStream']]], - ['_7efont_581',['~Font',['../classraylib_1_1_font.html#ac26732eaa27d5984b2c356941b5762ad',1,'raylib::Font']]], - ['_7eimage_582',['~Image',['../classraylib_1_1_image.html#a249001d3d373b33b1f29145c45082536',1,'raylib::Image']]], - ['_7ematerial_583',['~Material',['../classraylib_1_1_material.html#aa11c6eb7111cedc08437673cc66760d6',1,'raylib::Material']]], - ['_7emesh_584',['~Mesh',['../classraylib_1_1_mesh.html#af09e2772739c525a2f957ebb7b4a1486',1,'raylib::Mesh']]], - ['_7emodel_585',['~Model',['../classraylib_1_1_model.html#ad0b3ed5e32b1d5bf73511ed67270ae07',1,'raylib::Model']]], - ['_7emodelanimation_586',['~ModelAnimation',['../classraylib_1_1_model_animation.html#a633f1c094138e99c36251773a8f3c787',1,'raylib::ModelAnimation']]], - ['_7emusic_587',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], - ['_7ephysics_588',['~Physics',['../classraylib_1_1_physics.html#a0629ca80510dec5e652457f0f6af2531',1,'raylib::Physics']]], - ['_7erendertexture_589',['~RenderTexture',['../classraylib_1_1_render_texture.html#aa82fb85022acc70314c1ddd22d12f44d',1,'raylib::RenderTexture']]], - ['_7eshader_590',['~Shader',['../classraylib_1_1_shader.html#a5fdd95f82f152bae43e274830cffcbf1',1,'raylib::Shader']]], - ['_7esound_591',['~Sound',['../classraylib_1_1_sound.html#a321a8cea955f859f8648e2df202f5497',1,'raylib::Sound']]], - ['_7etexture_592',['~Texture',['../classraylib_1_1_texture.html#afb52b2f43d5deb3e2e244205faa563ac',1,'raylib::Texture']]], - ['_7evrsimulator_593',['~VrSimulator',['../classraylib_1_1_vr_simulator.html#a430dac68377e85a9ae4fde96d54edaa8',1,'raylib::VrSimulator']]], - ['_7ewave_594',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], - ['_7ewindow_595',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] + ['_7eaudiodevice_0',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], + ['_7eaudiostream_1',['~AudioStream',['../classraylib_1_1_audio_stream.html#a264e3bcd80f5c47651d82ce64b84bdc0',1,'raylib::AudioStream']]], + ['_7efont_2',['~Font',['../classraylib_1_1_font.html#ac26732eaa27d5984b2c356941b5762ad',1,'raylib::Font']]], + ['_7eimage_3',['~Image',['../classraylib_1_1_image.html#a249001d3d373b33b1f29145c45082536',1,'raylib::Image']]], + ['_7ematerial_4',['~Material',['../classraylib_1_1_material.html#aa11c6eb7111cedc08437673cc66760d6',1,'raylib::Material']]], + ['_7emesh_5',['~Mesh',['../classraylib_1_1_mesh.html#af09e2772739c525a2f957ebb7b4a1486',1,'raylib::Mesh']]], + ['_7emodel_6',['~Model',['../classraylib_1_1_model.html#ad0b3ed5e32b1d5bf73511ed67270ae07',1,'raylib::Model']]], + ['_7emodelanimation_7',['~ModelAnimation',['../classraylib_1_1_model_animation.html#a633f1c094138e99c36251773a8f3c787',1,'raylib::ModelAnimation']]], + ['_7emusic_8',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], + ['_7ephysics_9',['~Physics',['../classraylib_1_1_physics.html#a0629ca80510dec5e652457f0f6af2531',1,'raylib::Physics']]], + ['_7erendertexture_10',['~RenderTexture',['../classraylib_1_1_render_texture.html#aa82fb85022acc70314c1ddd22d12f44d',1,'raylib::RenderTexture']]], + ['_7eshader_11',['~Shader',['../classraylib_1_1_shader.html#a5fdd95f82f152bae43e274830cffcbf1',1,'raylib::Shader']]], + ['_7esound_12',['~Sound',['../classraylib_1_1_sound.html#a321a8cea955f859f8648e2df202f5497',1,'raylib::Sound']]], + ['_7etexture_13',['~Texture',['../classraylib_1_1_texture.html#afb52b2f43d5deb3e2e244205faa563ac',1,'raylib::Texture']]], + ['_7evrstereoconfig_14',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], + ['_7ewave_15',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], + ['_7ewindow_16',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] ]; diff --git a/docs/search/all_2.html b/docs/search/all_2.html index b26d9165..259dde4f 100644 --- a/docs/search/all_2.html +++ b/docs/search/all_2.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_2.js b/docs/search/all_2.js index ef1e20ac..4a5ad3ea 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -1,27 +1,35 @@ var searchData= [ - ['camera2d_12',['Camera2D',['../classraylib_1_1_camera2_d.html',1,'raylib']]], - ['camera3d_13',['Camera3D',['../classraylib_1_1_camera3_d.html',1,'raylib::Camera3D'],['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D::Camera3D()']]], - ['cellular_14',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], - ['changedirectory_15',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], - ['checkcollision_16',['CheckCollision',['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision(const ::BoundingBox &box2) const'],['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()']]], - ['checkcollisioncircle_17',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], - ['checkcollisionlines_18',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], - ['checkcollisionsphere_19',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], - ['checked_20',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], - ['clearbackground_21',['ClearBackground',['../classraylib_1_1_color.html#ace467f20d71ff4af44e0211d6aeea9b5',1,'raylib::Color::ClearBackground()'],['../classraylib_1_1_image.html#aed48d37124df81191a9c10a417508703',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a69eb249831f1976ce2a73945e31c6f52',1,'raylib::Window::ClearBackground()']]], - ['clearstate_22',['ClearState',['../classraylib_1_1_window.html#a359e2101ac13e8ee8423b3ffb27c8a42',1,'raylib::Window']]], - ['close_23',['Close',['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()']]], - ['color_24',['Color',['../classraylib_1_1_color.html',1,'raylib::Color'],['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text::color()'],['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()']]], - ['colorbrightness_25',['ColorBrightness',['../classraylib_1_1_image.html#a2e6287edda71ed977b4b416e04b0f37f',1,'raylib::Image']]], - ['colorcontrast_26',['ColorContrast',['../classraylib_1_1_image.html#af00dca9570581bb75e0616e9a9f9b822',1,'raylib::Image']]], - ['colorgrayscale_27',['ColorGrayscale',['../classraylib_1_1_image.html#a2eae93c88197917b6706139f2c3c6dc2',1,'raylib::Image']]], - ['colorinvert_28',['ColorInvert',['../classraylib_1_1_image.html#af7f900b20bb8823c2c435673438dfbbd',1,'raylib::Image']]], - ['colorreplace_29',['ColorReplace',['../classraylib_1_1_image.html#af9d668a5feaed2554a77694f61cbdae0',1,'raylib::Image']]], - ['colortint_30',['ColorTint',['../classraylib_1_1_image.html#a0299b8ed8b569977d214ce265d3a5c93',1,'raylib::Image']]], - ['copy_31',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], - ['crop_32',['Crop',['../classraylib_1_1_image.html#a50a7394e9662bf4f587cd73c5d594cee',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#a1ac865ee24df3dab2afa028c49843590',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#a2fdfad958c27f8cc590b194b06338e2d',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a24323ef52da6113c3af4861ce0250ea0',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a25601c51a2f81c569b074620c6758e94',1,'raylib::Wave::Crop()']]], - ['cube_33',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], - ['cubicmap_34',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], - ['cylinder_35',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] + ['camera_0',['Camera',['../namespaceraylib.html#a44fa75f4522455fb2231d9950c40d629',1,'raylib']]], + ['camera2d_1',['Camera2D',['../class_camera2_d.html',1,'Camera2D'],['../classraylib_1_1_camera2_d.html#a05e4b432a014c69d68d37c643073c709',1,'raylib::Camera2D::Camera2D(const ::Camera2D &camera)'],['../classraylib_1_1_camera2_d.html#a2038c9432fdae18a744f9dd395da30bf',1,'raylib::Camera2D::Camera2D()'],['../classraylib_1_1_camera2_d.html#ade6e4f7d7a0bb165e65c0a08ae09e742',1,'raylib::Camera2D::Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)'],['../classraylib_1_1_camera2_d.html',1,'raylib::Camera2D']]], + ['camera3d_2',['Camera3D',['../class_camera3_d.html',1,'Camera3D'],['../classraylib_1_1_camera3_d.html#a8ec807581f3610db4830f6ff5c96d1dd',1,'raylib::Camera3D::Camera3D(const ::Camera3D &camera)'],['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D::Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)'],['../classraylib_1_1_camera3_d.html#a79f19d069575d1c0f825ecb188e961fc',1,'raylib::Camera3D::Camera3D()'],['../classraylib_1_1_camera3_d.html',1,'raylib::Camera3D']]], + ['cellular_3',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], + ['changedirectory_4',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], + ['checkcollision_5',['CheckCollision',['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()'],['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision()']]], + ['checkcollisioncircle_6',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], + ['checkcollisionlines_7',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], + ['checkcollisionsphere_8',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], + ['checked_9',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], + ['clearbackground_10',['ClearBackground',['../classraylib_1_1_color.html#ae84cc25e0c83510324e0d30104255cdf',1,'raylib::Color::ClearBackground()'],['../classraylib_1_1_image.html#a7ddf59bd35617f3d99401b0fc8246c3d',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a734279b5494096d11fe0aad66d6fb3e6',1,'raylib::Window::ClearBackground(const ::Color &color=BLACK)']]], + ['clearstate_11',['ClearState',['../classraylib_1_1_window.html#a2cd6268d95ce7e3eb8edf3205305e6f3',1,'raylib::Window']]], + ['close_12',['Close',['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_physics.html#a00177830e684f2a584b8a5df3ada3b51',1,'raylib::Physics::Close()'],['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()']]], + ['color_13',['Color',['../class_color.html',1,'']]], + ['color_14',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]], + ['color_15',['Color',['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ab0221dcd700b9a6add471cbceb718ac6',1,'raylib::Color::Color(const ::Color &color)'],['../classraylib_1_1_color.html#ab6c57e01798eb39092b260e7c6c008ac',1,'raylib::Color::Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)'],['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html',1,'raylib::Color']]], + ['colorbrightness_16',['ColorBrightness',['../classraylib_1_1_image.html#a6d873ebdfb0e09bdb5bb3d46a0b878fd',1,'raylib::Image']]], + ['colorcontrast_17',['ColorContrast',['../classraylib_1_1_image.html#a07972575734563011c88b2c5a09a22f0',1,'raylib::Image']]], + ['colorfromnormalized_18',['ColorFromNormalized',['../classraylib_1_1_vector4.html#a6bdbffc997711e3b3876dace2471b1bb',1,'raylib::Vector4']]], + ['colorgrayscale_19',['ColorGrayscale',['../classraylib_1_1_image.html#a601db6a18ae9716277214ee07e40f44e',1,'raylib::Image']]], + ['colorinvert_20',['ColorInvert',['../classraylib_1_1_image.html#ab610da4948f86f690d75bdbbcbc67ab0',1,'raylib::Image']]], + ['colorreplace_21',['ColorReplace',['../classraylib_1_1_image.html#ace6497a285c946bd131f1e45c23ec966',1,'raylib::Image']]], + ['colortint_22',['ColorTint',['../classraylib_1_1_image.html#a18715953b31aae0da740326464964845',1,'raylib::Image']]], + ['copy_23',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], + ['createbodycircle_24',['CreateBodyCircle',['../classraylib_1_1_physics.html#a436c99fb21784b33ed039a713b927023',1,'raylib::Physics']]], + ['createbodypolygon_25',['CreateBodyPolygon',['../classraylib_1_1_physics.html#a9cbab4c8c8682f30924e4f7e85d37482',1,'raylib::Physics']]], + ['createbodyrectangle_26',['CreateBodyRectangle',['../classraylib_1_1_physics.html#aca1bd6e53ddbf8c64a3225ce32f1c3cc',1,'raylib::Physics']]], + ['crop_27',['Crop',['../classraylib_1_1_image.html#ad28fbb3b6078e0a276e1e95b5b875437',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#abccdbbebbf450929a36146ae89cbf5ec',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#af9b7c45dca84edf6eccd6c5064948c2e',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a80e74811dd3ac0c5fe8fba160ccd6cda',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a560f8d9b0669a7660406a849d4e26e66',1,'raylib::Wave::Crop()']]], + ['crossproduct_28',['CrossProduct',['../classraylib_1_1_vector3.html#a9f30fdbf652bcd0f5883937bdac79973',1,'raylib::Vector3']]], + ['cube_29',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], + ['cubicmap_30',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], + ['cylinder_31',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_3.html b/docs/search/all_3.html index b61b96f8..1e60c949 100644 --- a/docs/search/all_3.html +++ b/docs/search/all_3.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_3.js b/docs/search/all_3.js index eb0408c4..8af544b4 100644 --- a/docs/search/all_3.js +++ b/docs/search/all_3.js @@ -1,19 +1,49 @@ var searchData= [ - ['directoryexists_36',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], - ['distance_37',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2']]], - ['dither_38',['Dither',['../classraylib_1_1_image.html#a055b6908b9e8cfcd109abc537f3d2056',1,'raylib::Image']]], - ['dotproduct_39',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2']]], - ['draw_40',['Draw',['../classraylib_1_1_bounding_box.html#aae0a66351992f36372ef68a6d4508c62',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_model.html#a99e9a5432ab7a4cbd502d6cbcb7cb0e8',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a1dca1f974cbecc203ac9da8b5fa11127',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_ray.html#a84586f1f5ce6627b1d0224fad287787b',1,'raylib::Ray::Draw()'],['../classraylib_1_1_rectangle.html#a3b886508162b32e034314111532d8f20',1,'raylib::Rectangle::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw(const ::Vector2 &position)'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_texture.html#a4110ec2a26c4c31da63fe89d2ed0eb79',1,'raylib::Texture::Draw()']]], - ['drawbillboard_41',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a5cbf6986fba9deb41fecf4076ac7c61f',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#a566e1b8a56edad8de93236d07f024f5e',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], - ['drawcircle_42',['DrawCircle',['../classraylib_1_1_vector2.html#ad13e3d98cc06a835db9dc605b090b15c',1,'raylib::Vector2']]], - ['drawfps_43',['DrawFPS',['../classraylib_1_1_window.html#a3e183210f1afec78af9aebd4a0749d56',1,'raylib::Window']]], - ['drawline_44',['DrawLine',['../classraylib_1_1_color.html#ab3a3237688396c1768034d553d2f1cde',1,'raylib::Color']]], - ['drawlinebezierquad_45',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a75ad1e5906da8eb4ab23c12748b431cb',1,'raylib::Vector2']]], - ['drawmesh_46',['DrawMesh',['../classraylib_1_1_material.html#a5a2b58f57b8229fdda68caea9aec1108',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a4c5fb1460ec6e7e95b2750da86cc0c1c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], - ['drawpixel_47',['DrawPixel',['../classraylib_1_1_color.html#a28cd68c3548a019b36538d0a92fe2099',1,'raylib::Color::DrawPixel()'],['../classraylib_1_1_image.html#a6b0b903a298f55a692bb80da79030696',1,'raylib::Image::DrawPixel()']]], - ['drawtext_48',['DrawText',['../classraylib_1_1_font.html#ac3edd0d0ff79509e4e7144d2a111d704',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a1a3c668905d6769fdf3d8f341520926c',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()']]], - ['drawtextex_49',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], - ['drawtextpro_50',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], - ['drawwires_51',['DrawWires',['../classraylib_1_1_model.html#a0a2beeb4e4776202dd441ccb5d1550fe',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a7b61d8a179220f2a507bcbab2c660949',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] + ['darkblue_0',['DarkBlue',['../classraylib_1_1_color.html#aaa36d9ed5825ea9ae6795e18038f602c',1,'raylib::Color']]], + ['darkbrown_1',['DarkBrown',['../classraylib_1_1_color.html#a039f0f5467102ffb543109e534c032bd',1,'raylib::Color']]], + ['darkgray_2',['DarkGray',['../classraylib_1_1_color.html#a862ca7295e95d4783d17538203f8ea3b',1,'raylib::Color']]], + ['darkgreen_3',['DarkGreen',['../classraylib_1_1_color.html#a35a96f8b49a63537fc3b8ab98bb3bc53',1,'raylib::Color']]], + ['darkpurple_4',['DarkPurple',['../classraylib_1_1_color.html#ab8c0bf2dac476d593a1b13a22f436486',1,'raylib::Color']]], + ['destroybody_5',['DestroyBody',['../classraylib_1_1_physics.html#a7bae4d018888a1b52e6f94cf7101b964',1,'raylib::Physics']]], + ['directoryexists_6',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], + ['distance_7',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2::Distance()'],['../classraylib_1_1_vector3.html#ad4c5a6a278eeae5371e45a14bad4a7d1',1,'raylib::Vector3::Distance()']]], + ['dither_8',['Dither',['../classraylib_1_1_image.html#a09eb4388e24a7a3c9a3b7d6c280c5652',1,'raylib::Image']]], + ['divide_9',['Divide',['../classraylib_1_1_vector2.html#a6cd160434801eeadfbbc5deec8b20e21',1,'raylib::Vector2::Divide(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#afed61e067c7fc43651cc1528e62ecd83',1,'raylib::Vector2::Divide(const float div) const'],['../classraylib_1_1_vector3.html#a93595f9db4555c26eadb2c0370ca1435',1,'raylib::Vector3::Divide(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a9f644e6c306ae5cf3a68c3f4900ef9e6',1,'raylib::Vector3::Divide(const float div) const']]], + ['dotproduct_10',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2::DotProduct()'],['../classraylib_1_1_vector3.html#ad5ed567a46fa3b08f77e9a05338d2214',1,'raylib::Vector3::DotProduct()']]], + ['draw_11',['Draw',['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw()'],['../classraylib_1_1_texture.html#af6b9ac35ebf354033cc06ee14a7e6a3f',1,'raylib::Texture::Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a79a54d908bbf6726c5d3a921dba0d616',1,'raylib::Texture::Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#aaf4ed8f0418a53d00ded3795ee251128',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ad48b00a0fc6c99d327d0c877e20201fc',1,'raylib::Texture::Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a3665f89c111fa1631e535bc4e61f54b0',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ae5f6f8fb2f11557307663ee99438a1c0',1,'raylib::Texture::Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a2e04bf6c219eb6ebe1341a01f621d067',1,'raylib::Texture::Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a01f12372505ce5c5d1a0bbe1c65d694c',1,'raylib::Texture::Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_bounding_box.html#a85e385b01a3736d58b90370181f4a25d',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw()'],['../classraylib_1_1_rectangle.html#ab7e1811729d9e6e1249cdb609b1ca708',1,'raylib::Rectangle::Draw(::Vector2 origin, float rotation, ::Color color)'],['../classraylib_1_1_rectangle.html#abce328ccb910b789837bb8ceea853eab',1,'raylib::Rectangle::Draw(::Color color)'],['../classraylib_1_1_ray.html#a4048e3ce9306133b8823d3f4066e8b33',1,'raylib::Ray::Draw()'],['../classraylib_1_1_model.html#a6ec5ae6feae25b78afd39ac0ae87f3bf',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#ad76a70cac2237c3e435606f94378e482',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_image.html#a024eeed4c94a73595d1f842f7e2664ca',1,'raylib::Image::Draw()'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw()']]], + ['drawbillboard_12',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a19e03b4f8eb63e21c988dcb15aba0049',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#aa4b970e07fe839d0a5f549411232243c',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], + ['drawcircle_13',['DrawCircle',['../classraylib_1_1_vector2.html#a16b512d0fead59f597fd878e620e83cc',1,'raylib::Vector2::DrawCircle()'],['../classraylib_1_1_image.html#a2fc76ab2cf7bae0217d01bb06bb1f6a0',1,'raylib::Image::DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#afb42558709adf2c7d2f87261381e944c',1,'raylib::Image::DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})']]], + ['drawcircle3d_14',['DrawCircle3D',['../classraylib_1_1_vector3.html#aebaf47cab425aedbcb51f3e659dd6651',1,'raylib::Vector3']]], + ['drawcube_15',['DrawCube',['../classraylib_1_1_vector3.html#a8e2e73ad510a38d0e54098817cd44e06',1,'raylib::Vector3::DrawCube(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#ac94d3f679b33dafe86f65f6eda901d6f',1,'raylib::Vector3::DrawCube(const ::Vector3 &size, ::Color color)']]], + ['drawcubetexture_16',['DrawCubeTexture',['../classraylib_1_1_vector3.html#a518280d8efae9b3f32b11ce481c90f6c',1,'raylib::Vector3']]], + ['drawcubewires_17',['DrawCubeWires',['../classraylib_1_1_vector3.html#a57d3400cb17fe30e3c8df1f92a7a666a',1,'raylib::Vector3::DrawCubeWires(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#a61c5da9cd105142f99566726d3874fd5',1,'raylib::Vector3::DrawCubeWires(const ::Vector3 &size, ::Color color)']]], + ['drawcylinder_18',['DrawCylinder',['../classraylib_1_1_vector3.html#a7fd3f80620c2b0a1a00bf10f21cd1417',1,'raylib::Vector3']]], + ['drawcylinderwires_19',['DrawCylinderWires',['../classraylib_1_1_vector3.html#ae4c1ed7bd96f879f272fa3a35baf84b7',1,'raylib::Vector3']]], + ['drawfps_20',['DrawFPS',['../classraylib_1_1_window.html#ab961dfef8fbec984bf9e94e0a01488d4',1,'raylib::Window']]], + ['drawgradient_21',['DrawGradient',['../classraylib_1_1_rectangle.html#a91f16cb0155770dce5a243696c7133de',1,'raylib::Rectangle']]], + ['drawgradienth_22',['DrawGradientH',['../classraylib_1_1_rectangle.html#a7214778babdc04f084485b4e6bb49960',1,'raylib::Rectangle']]], + ['drawgradientv_23',['DrawGradientV',['../classraylib_1_1_rectangle.html#a608a8127089b86675754550f3de8d8ff',1,'raylib::Rectangle']]], + ['drawline_24',['DrawLine',['../classraylib_1_1_color.html#a64c1ccc93aaf5ab30b831d61f9e596bb',1,'raylib::Color::DrawLine()'],['../classraylib_1_1_vector2.html#a2a5f918b46cfe5cdc53549dcad1737b6',1,'raylib::Vector2::DrawLine(::Vector2 endPos, float thick, ::Color color)'],['../classraylib_1_1_vector2.html#ae50cce093de0fa8d1c59867f20fd93fd',1,'raylib::Vector2::DrawLine(::Vector2 endPos, ::Color color)'],['../classraylib_1_1_image.html#ac774b77412eb0e1a8746ea5a7f135ff7',1,'raylib::Image::DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#abb9270b51e9b524be868ed1e41c47206',1,'raylib::Image::DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a3c3329d71a380e4975824c86ab47fc3d',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos)'],['../classraylib_1_1_color.html#a31cb01e3e863db20ff5db8167a7d0645',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)']]], + ['drawline3d_25',['DrawLine3D',['../classraylib_1_1_vector3.html#ac0ecd225214ee0916c4bb8b94663b9e8',1,'raylib::Vector3']]], + ['drawlinebezier_26',['DrawLineBezier',['../classraylib_1_1_color.html#a7b18fbaa004f3dc3c07f88e6c136c7ec',1,'raylib::Color::DrawLineBezier()'],['../classraylib_1_1_vector2.html#ae358d57eb09dea4b55c135e28d7c444f',1,'raylib::Vector2::DrawLineBezier(::Vector2 endPos, float thick, ::Color color)']]], + ['drawlinebezierquad_27',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a010ec44d07aabfad8814995d7883eda6',1,'raylib::Vector2']]], + ['drawlines_28',['DrawLines',['../classraylib_1_1_rectangle.html#aa2a27862a187321a4ebf42803570f030',1,'raylib::Rectangle::DrawLines(::Color color)'],['../classraylib_1_1_rectangle.html#acc73b3b7db8de38e6ff740f084a02ded',1,'raylib::Rectangle::DrawLines(::Color color, float lineThick)']]], + ['drawlinestrip_29',['DrawLineStrip',['../classraylib_1_1_color.html#a055c8c6241107d615f6e1e700b2b1aff',1,'raylib::Color']]], + ['drawmesh_30',['DrawMesh',['../classraylib_1_1_material.html#abc4ed480bca168f2aef7326fbb13507c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a42e260d925663777cf3cc3f201ddc8dd',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], + ['drawpixel_31',['DrawPixel',['../classraylib_1_1_image.html#a5e7a421dd9677313caedd35693c814da',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_vector2.html#a3089910c36033d2a876f9650849323a7',1,'raylib::Vector2::DrawPixel()'],['../classraylib_1_1_image.html#afae542a1dfa09cfb01aba062ff1aa8fe',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_color.html#aab05b1d70b027f90a8c5a4c55f2d0a28',1,'raylib::Color::DrawPixel(::Vector2 pos)'],['../classraylib_1_1_color.html#af0f2bae5883697ddc2b07762f838a855',1,'raylib::Color::DrawPixel(int x, int y)']]], + ['drawplane_32',['DrawPlane',['../classraylib_1_1_vector3.html#a2f530ead1069bf375401680ee4378563',1,'raylib::Vector3']]], + ['drawpoint3d_33',['DrawPoint3D',['../classraylib_1_1_vector3.html#abfeb64fa51e67e88bb5889eb8680a090',1,'raylib::Vector3']]], + ['drawpoly_34',['DrawPoly',['../classraylib_1_1_texture.html#a2e3b0f8d689de56d005c512d80f867a4',1,'raylib::Texture::DrawPoly()'],['../classraylib_1_1_vector2.html#ab670cd5ea7625cf3dd3672579de94d2a',1,'raylib::Vector2::DrawPoly(int sides, float radius, float rotation, ::Color color)']]], + ['drawrectangle_35',['DrawRectangle',['../classraylib_1_1_vector2.html#af512e0dad4631def86cf85363f96db3b',1,'raylib::Vector2::DrawRectangle()'],['../classraylib_1_1_image.html#a49e42e4c74bbefb3063bb35a7997a350',1,'raylib::Image::DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0ab135ece09e3d39d784ad09806ff9ff',1,'raylib::Image::DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a59da76c14ee59edf6539d221ae119246',1,'raylib::Color::DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)'],['../classraylib_1_1_color.html#a65ee3de078230377435d861dc1f10fc2',1,'raylib::Color::DrawRectangle(::Rectangle rec)'],['../classraylib_1_1_color.html#af75f37960f7ace789d04bb4bdf069e30',1,'raylib::Color::DrawRectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_image.html#a3dd535220c663341712c2707aac65dd4',1,'raylib::Image::DrawRectangle()'],['../classraylib_1_1_color.html#a5596fcd6409294829c0638c54638da10',1,'raylib::Color::DrawRectangle(int posX, int posY, int width, int height)']]], + ['drawrectanglelines_36',['DrawRectangleLines',['../classraylib_1_1_color.html#aabca38cee8e5788168eb4aa956a16c19',1,'raylib::Color::DrawRectangleLines(int posX, int posY, int width, int height)'],['../classraylib_1_1_color.html#aeae8501be8cb2b5ecd7f30c661fc89ce',1,'raylib::Color::DrawRectangleLines(::Rectangle rec, float lineThick)'],['../classraylib_1_1_image.html#aa3157e7fa12140eaf9c2d304b55985db',1,'raylib::Image::DrawRectangleLines()']]], + ['drawrounded_37',['DrawRounded',['../classraylib_1_1_rectangle.html#a9619f4bc272398fab7f5c86b2892b048',1,'raylib::Rectangle']]], + ['drawroundedlines_38',['DrawRoundedLines',['../classraylib_1_1_rectangle.html#aab8c6c6bd1dbc9c87565dbb3f2711ef1',1,'raylib::Rectangle']]], + ['drawsphere_39',['DrawSphere',['../classraylib_1_1_vector3.html#a0119b7cf3aa61592d70359138a19fe86',1,'raylib::Vector3::DrawSphere(float radius, ::Color color)'],['../classraylib_1_1_vector3.html#a33a5693fc2002b329c7a9d4d27a47366',1,'raylib::Vector3::DrawSphere(float radius, int rings, int slices, ::Color color)']]], + ['drawspherewires_40',['DrawSphereWires',['../classraylib_1_1_vector3.html#a30bb3389ffcd2cc3fa93df19d6350d7c',1,'raylib::Vector3']]], + ['drawtext_41',['DrawText',['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()'],['../classraylib_1_1_color.html#a060f07ce766143cfb243eefe1333052c',1,'raylib::Color::DrawText()'],['../classraylib_1_1_image.html#aa97958266300e98b83fcc936f1f6c6eb',1,'raylib::Image::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a11eeb4d77ac9f5ec0327160745d27670',1,'raylib::Image::DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a9a8b22ee61fd3f5f4fa2ac0f059e7d8a',1,'raylib::Image::DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_font.html#abf655ac8083416f713aae42a0b6a7ebc',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../classraylib_1_1_font.html#add919de80266984a0e6edd9ed7a369ef',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a405b1ea5719be1635ce1d8c285b808a4',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_color.html#ac67590e345ada0349145795e080275f1',1,'raylib::Color::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)'],['../classraylib_1_1_color.html#ab3e313480ab7b00435f12188d04027df',1,'raylib::Color::DrawText(const std::string &text, int posX, int posY, int fontSize)']]], + ['drawtextex_42',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], + ['drawtextpro_43',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], + ['drawtiled_44',['DrawTiled',['../classraylib_1_1_texture.html#a5cbd367a4a418284c834926bff6e2fb0',1,'raylib::Texture']]], + ['drawwires_45',['DrawWires',['../classraylib_1_1_model.html#afb936c1fac4ee684b616083f473f3977',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a84f36042c82f27eafd5467537aad99d6',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] ]; diff --git a/docs/search/all_4.html b/docs/search/all_4.html index 06de1550..08f1aede 100644 --- a/docs/search/all_4.html +++ b/docs/search/all_4.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_4.js b/docs/search/all_4.js index 19b1abd5..5fb1c3d0 100644 --- a/docs/search/all_4.js +++ b/docs/search/all_4.js @@ -1,9 +1,9 @@ var searchData= [ - ['enddrawing_52',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a330f5b215ee77c138d75a304fdd8e705',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#a43bfc69dfce6ec3aaf1170f521243d59',1,'raylib::Window::EndDrawing()']]], - ['endmode_53',['EndMode',['../classraylib_1_1_camera3_d.html#a724b766ec42ff58243a353e07fd464e8',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a2b742cd39ce046d2ac8e1cd0bb6ae4ff',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a525c31d5a7482bc89e41f03d1284b9f7',1,'raylib::Shader::EndMode()']]], - ['export_54',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], - ['exportascode_55',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], - ['exportimage_56',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], - ['exportimageascode_57',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] + ['enddrawing_0',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a8804e60e9db545d7701f44093b02e14f',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#abc2674cb9309548d27da7b114ff709c7',1,'raylib::Window::EndDrawing()']]], + ['endmode_1',['EndMode',['../classraylib_1_1_camera2_d.html#a1ed1e6b78525562b480e8f2d2a0e11a5',1,'raylib::Camera2D::EndMode()'],['../classraylib_1_1_camera3_d.html#a37fbcad2f93a9a578b75b49fc44523fe',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a745032e86cd391ddf110a1e40ba3415f',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a7fe1ea1fc973002033abbaf149499eb6',1,'raylib::Shader::EndMode()']]], + ['export_2',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], + ['exportascode_3',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], + ['exportimage_4',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], + ['exportimageascode_5',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] ]; diff --git a/docs/search/all_5.html b/docs/search/all_5.html index 2544c4e5..0d85fcc8 100644 --- a/docs/search/all_5.html +++ b/docs/search/all_5.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_5.js b/docs/search/all_5.js index 133badf0..5ba1e451 100644 --- a/docs/search/all_5.js +++ b/docs/search/all_5.js @@ -1,12 +1,19 @@ var searchData= [ - ['fade_58',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], - ['fileexists_59',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], - ['fliphorizontal_60',['FlipHorizontal',['../classraylib_1_1_image.html#a5d8f596d36077f4b8c24512a2df73e65',1,'raylib::Image']]], - ['flipvertical_61',['FlipVertical',['../classraylib_1_1_image.html#a0f052c63b3cebcf99c0cad86c8e88da4',1,'raylib::Image']]], - ['font_62',['Font',['../classraylib_1_1_font.html',1,'raylib::Font'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text::font()']]], - ['fontsize_63',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]], - ['format_64',['Format',['../classraylib_1_1_image.html#a01fcff59e33e044bd779202ea3473c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a4e6d2e64e6cdd46133893c9edd70b508',1,'raylib::Wave::Format()']]], - ['fromhsv_65',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], - ['fromimage_66',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]] + ['fade_0',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], + ['fileexists_1',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], + ['fliphorizontal_2',['FlipHorizontal',['../classraylib_1_1_image.html#a6f0c8963620c97353ebb660b87168445',1,'raylib::Image']]], + ['flipvertical_3',['FlipVertical',['../classraylib_1_1_image.html#a8ec02e007282448332c09a3db487d2d4',1,'raylib::Image']]], + ['font_4',['Font',['../classraylib_1_1_font.html#afde2bd6bb51a7fe6fa02f4d9be73087f',1,'raylib::Font']]], + ['font_5',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], + ['font_6',['Font',['../class_font.html',1,'Font'],['../classraylib_1_1_font.html#a075661783e8267f508e285d6ce39e959',1,'raylib::Font::Font(const Font &)=delete'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a53f097120183d34ad5474989a450bf43',1,'raylib::Font::Font(const ::Font &font)'],['../classraylib_1_1_font.html#a583656ce94c5ade2bf4a47717f767764',1,'raylib::Font::Font()'],['../classraylib_1_1_font.html#a748d8c50e914b82a1ad9ef1aea17cda3',1,'raylib::Font::Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html',1,'raylib::Font']]], + ['fontsize_7',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]], + ['format_8',['Format',['../classraylib_1_1_image.html#a97c4715d7b9b9e9d34a31123e1141c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a704d264e7f5e60a782510d49b78ddd5d',1,'raylib::Wave::Format()']]], + ['fromaxisangle_9',['FromAxisAngle',['../classraylib_1_1_vector4.html#a7b19708f1d8f0e4056fc1050768bb831',1,'raylib::Vector4']]], + ['fromeuler_10',['FromEuler',['../classraylib_1_1_vector4.html#af0ef6849109ce23736572ac55854f693',1,'raylib::Vector4::FromEuler(const float yaw, const float pitch, const float roll)'],['../classraylib_1_1_vector4.html#a0fda15f29e8c5bd3d3170eddf332592e',1,'raylib::Vector4::FromEuler(const ::Vector3 &vector3)']]], + ['fromhsv_11',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], + ['fromimage_12',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]], + ['frommatrix_13',['FromMatrix',['../classraylib_1_1_vector4.html#aba134afd1e66d71cfa68ca020cb3ce2c',1,'raylib::Vector4']]], + ['fromvector3tovector3_14',['FromVector3ToVector3',['../classraylib_1_1_vector4.html#aab5725e573a60315acd1f733316af2ea',1,'raylib::Vector4']]], + ['frustum_15',['Frustum',['../classraylib_1_1_matrix.html#ad2fc693fb8c61fe3615217332be79506',1,'raylib::Matrix']]] ]; diff --git a/docs/search/all_6.html b/docs/search/all_6.html index 43f14eab..7e088b86 100644 --- a/docs/search/all_6.html +++ b/docs/search/all_6.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_6.js b/docs/search/all_6.js index 4e65ce91..633f6c4c 100644 --- a/docs/search/all_6.js +++ b/docs/search/all_6.js @@ -1,142 +1,151 @@ var searchData= [ - ['gamepad_67',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]], - ['genbinormals_68',['GenBinormals',['../classraylib_1_1_mesh.html#a03d6628373c096452cbfafafca166d21',1,'raylib::Mesh']]], - ['genmipmaps_69',['GenMipmaps',['../classraylib_1_1_texture.html#a2f895f3a629cf1a74fe88d05b1dd3003',1,'raylib::Texture']]], - ['gentangents_70',['GenTangents',['../classraylib_1_1_mesh.html#a2c4f31c3ddb8ef351c8fc3a8301497c2',1,'raylib::Mesh']]], - ['geta_71',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], - ['getalphaborder_72',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], - ['getanimnormals_73',['GetAnimNormals',['../classraylib_1_1_mesh.html#a853c2afc08600c3e9e256d1eb805dded',1,'raylib::Mesh']]], - ['getanimvertices_74',['GetAnimVertices',['../classraylib_1_1_mesh.html#a38f5de9866c13b05b49b936a03b17201',1,'raylib::Mesh']]], - ['getaxiscount_75',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], - ['getaxismovement_76',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], - ['getb_77',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], - ['getbasesize_78',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], - ['getbindpoe_79',['GetBindPoe',['../classraylib_1_1_model.html#a73bac18d76533acd39ed4e5917c84d96',1,'raylib::Model']]], - ['getbonecount_80',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], - ['getboneids_81',['GetBoneIds',['../classraylib_1_1_mesh.html#a6e29e78cfa20a16e46cb77de8c4031c7',1,'raylib::Mesh']]], - ['getbones_82',['GetBones',['../classraylib_1_1_model.html#ab944580c06987114068ae16d2b1ac34e',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#aec9078358dfd2a87e580db69d8f7b325',1,'raylib::ModelAnimation::GetBones()']]], - ['getboneweights_83',['GetBoneWeights',['../classraylib_1_1_mesh.html#a0127c2cf9efa4e369fd3f71c326049b1',1,'raylib::Mesh']]], - ['getboundingbox_84',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], - ['getbuffer_85',['GetBuffer',['../classraylib_1_1_audio_stream.html#adea73b3b07652eb26bcaeb6e63f7ebb2',1,'raylib::AudioStream']]], - ['getbuttonpressed_86',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], - ['getchannels_87',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], - ['getclipboardtext_88',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], - ['getcollision_89',['GetCollision',['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()']]], - ['getcolor_90',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], - ['getcolors_91',['GetColors',['../classraylib_1_1_mesh.html#a142e31381d248fbcdeeef46fd1f208ed',1,'raylib::Mesh']]], - ['getctxdata_92',['GetCtxData',['../classraylib_1_1_music.html#a349420428960e47afd4c69499b62eeac',1,'raylib::Music']]], - ['getctxtype_93',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], - ['getdata_94',['GetData',['../classraylib_1_1_image.html#a3144e343f963e5b206e1050be54b4187',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a8e7edd178a2ec7dc11f2474b29771d90',1,'raylib::Wave::GetData()']]], - ['getdepth_95',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], - ['getdirection_96',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], - ['getdirectoryfiles_97',['GetDirectoryFiles',['../namespaceraylib.html#a0933e9ed540a0fd6bbde88fe7f61b223',1,'raylib']]], - ['getdirectorypath_98',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], - ['getdistance_99',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], - ['getdroppedfiles_100',['GetDroppedFiles',['../namespaceraylib.html#a0d0c5876ab96ec845f92474f51c2677c',1,'raylib']]], - ['getfileextension_101',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], - ['getfilemodtime_102',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], - ['getfilename_103',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], - ['getfilenamewithoutext_104',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], - ['getfont_105',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], - ['getfontsize_106',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], - ['getformat_107',['GetFormat',['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()'],['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()']]], - ['getfovy_108',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], - ['getfps_109',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], - ['getframecount_110',['GetFrameCount',['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()']]], - ['getframeposes_111',['GetFramePoses',['../classraylib_1_1_model_animation.html#a63616ed03e2ca3e1dbe4337de5189ec7',1,'raylib::ModelAnimation']]], - ['getframetime_112',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], - ['getg_113',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], - ['getgamepadname_114',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], - ['getglyphcount_115',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], - ['getglyphindex_116',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], - ['getglyphpadding_117',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], - ['getglyphs_118',['GetGlyphs',['../classraylib_1_1_font.html#a741aa157ac264e77613794818e2fdbe1',1,'raylib::Font']]], - ['gethandle_119',['GetHandle',['../classraylib_1_1_window.html#a0cc3f939a42ba3d625d43096b2e1e60b',1,'raylib::Window']]], - ['getheight_120',['GetHeight',['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()'],['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()']]], - ['gethit_121',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], - ['getid_122',['GetId',['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()']]], - ['getindices_123',['GetIndices',['../classraylib_1_1_mesh.html#a1a48eb931c6c910f0fb524d2c49ed183',1,'raylib::Mesh']]], - ['getlocation_124',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], - ['getlocationattrib_125',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], - ['getlocs_126',['GetLocs',['../classraylib_1_1_shader.html#a552106b906d353d97538e43ed2265bd0',1,'raylib::Shader']]], - ['getlooping_127',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], - ['getm0_128',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], - ['getm1_129',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], - ['getm10_130',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], - ['getm11_131',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], - ['getm12_132',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], - ['getm13_133',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], - ['getm14_134',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], - ['getm15_135',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], - ['getm2_136',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], - ['getm3_137',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], - ['getm4_138',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], - ['getm5_139',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], - ['getm6_140',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], - ['getm7_141',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], - ['getm8_142',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], - ['getm9_143',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], - ['getmaps_144',['GetMaps',['../classraylib_1_1_material.html#a561e81c743da576c866cfcec9bad8e53',1,'raylib::Material']]], - ['getmaterialcount_145',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], - ['getmaterials_146',['GetMaterials',['../classraylib_1_1_model.html#a649280afda23717aacce04ee652f601f',1,'raylib::Model']]], - ['getmatrix_147',['GetMatrix',['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()'],['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()']]], - ['getmax_148',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], - ['getmeshcount_149',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], - ['getmeshes_150',['GetMeshes',['../classraylib_1_1_model.html#a66b34f9913ac900b94a338be266f63ce',1,'raylib::Model']]], - ['getmeshmaterial_151',['GetMeshMaterial',['../classraylib_1_1_model.html#a65eb3d0fb0be3d9ba7539df410885045',1,'raylib::Model']]], - ['getmin_152',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], - ['getmipmaps_153',['GetMipmaps',['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()'],['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()']]], - ['getmonitorname_154',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], - ['getmouseray_155',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], - ['getname_156',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], - ['getnormal_157',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], - ['getnormals_158',['GetNormals',['../classraylib_1_1_mesh.html#a0fcc7bca9b9419a0d8e3d59666082edc',1,'raylib::Mesh']]], - ['getnumber_159',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], - ['getoffset_160',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], - ['getpixeldatasize_161',['GetPixelDataSize',['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)'],['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const']]], - ['getposition_162',['GetPosition',['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()']]], - ['getprevdirectorypath_163',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], - ['getprojection_164',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], - ['getr_165',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], - ['getrecs_166',['GetRecs',['../classraylib_1_1_font.html#a396cae69c0d0c46bf76fc3879d5219e1',1,'raylib::Font']]], - ['getrotation_167',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], - ['getsamplerate_168',['GetSampleRate',['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate()'],['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()']]], - ['getsamplesize_169',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], - ['getscaledpi_170',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], - ['getscreentoworld_171',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], - ['getshader_172',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], - ['getsize_173',['GetSize',['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()'],['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()']]], - ['getspacing_174',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], - ['getstream_175',['GetStream',['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()'],['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()']]], - ['gettangents_176',['GetTangents',['../classraylib_1_1_mesh.html#aa87bf017b9ea53e09230d128ffbb6a19',1,'raylib::Mesh']]], - ['gettarget_177',['GetTarget',['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()'],['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()']]], - ['gettexcoords_178',['GetTexCoords',['../classraylib_1_1_mesh.html#a3f81f280b53829deef1a37c4b5b5ca62',1,'raylib::Mesh']]], - ['gettexcoords2_179',['GetTexCoords2',['../classraylib_1_1_mesh.html#a30066599a6ce84274283fe59ddade320',1,'raylib::Mesh']]], - ['gettext_180',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], - ['gettexture_181',['GetTexture',['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()'],['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()']]], - ['gettime_182',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], - ['gettimelength_183',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], - ['gettimeplayed_184',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], - ['gettouchposition_185',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], - ['gettouchx_186',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], - ['gettouchy_187',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], - ['gettransform_188',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], - ['gettrianglecount_189',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], - ['getup_190',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], - ['getvaoid_191',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], - ['getvboid_192',['GetVboId',['../classraylib_1_1_mesh.html#ae535ee83038e5e79a9347c1196aff6b9',1,'raylib::Mesh']]], - ['getvertexcount_193',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], - ['getvertices_194',['GetVertices',['../classraylib_1_1_mesh.html#a3e0d13eece1fd47334117d316c777f4f',1,'raylib::Mesh']]], - ['getw_195',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], - ['getwidth_196',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], - ['getworkingdirectory_197',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], - ['getworldtoscreen_198',['GetWorldToScreen',['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()'],['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()']]], - ['getx_199',['GetX',['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], - ['gety_200',['GetY',['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY()']]], - ['getz_201',['GetZ',['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()'],['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()']]], - ['getzoom_202',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], - ['gradienth_203',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], - ['gradientradial_204',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], - ['gradientv_205',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]] + ['gamepad_0',['Gamepad',['../classraylib_1_1_gamepad.html#a21fe706b843ce2196f52c1c08ea0d92a',1,'raylib::Gamepad::Gamepad()'],['../classraylib_1_1_gamepad.html',1,'raylib::Gamepad']]], + ['genbinormals_1',['GenBinormals',['../classraylib_1_1_mesh.html#abead0f83947250a690ed3df9cc7e7ee6',1,'raylib::Mesh']]], + ['genmipmaps_2',['GenMipmaps',['../classraylib_1_1_texture.html#a933b56221e7ca9056c71c948b0fb04ae',1,'raylib::Texture']]], + ['gentangents_3',['GenTangents',['../classraylib_1_1_mesh.html#ad1124e959bb502bf73bbcbed1dad9ad9',1,'raylib::Mesh']]], + ['geta_4',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], + ['getalphaborder_5',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], + ['getanimnormals_6',['GetAnimNormals',['../classraylib_1_1_mesh.html#a50ce721e9b1776b7bca8e08bd98604dc',1,'raylib::Mesh']]], + ['getanimvertices_7',['GetAnimVertices',['../classraylib_1_1_mesh.html#aa839d41a65c2d76fa09be53705817979',1,'raylib::Mesh']]], + ['getaxiscount_8',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], + ['getaxismovement_9',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], + ['getb_10',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], + ['getbasesize_11',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], + ['getbindpoe_12',['GetBindPoe',['../classraylib_1_1_model.html#a2aa6c3849f23fe94e69af1565dd96b1f',1,'raylib::Model']]], + ['getbodiescount_13',['GetBodiesCount',['../classraylib_1_1_physics.html#aff7aed721273fb7e990974dbc9854974',1,'raylib::Physics']]], + ['getbody_14',['GetBody',['../classraylib_1_1_physics.html#ac0d23dc143aec4b2aac7570ecaa34e55',1,'raylib::Physics']]], + ['getbonecount_15',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], + ['getboneids_16',['GetBoneIds',['../classraylib_1_1_mesh.html#a61ef493999c906f55dd04c542aff5894',1,'raylib::Mesh']]], + ['getbones_17',['GetBones',['../classraylib_1_1_model.html#a90c2b91bce426a38c66dbda8b555db18',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#a9b577b0132525d55cbfc56870d907db8',1,'raylib::ModelAnimation::GetBones()']]], + ['getboneweights_18',['GetBoneWeights',['../classraylib_1_1_mesh.html#a77ba8f4f2e6f8aafb6af33f8cee96398',1,'raylib::Mesh']]], + ['getboundingbox_19',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], + ['getbuffer_20',['GetBuffer',['../classraylib_1_1_audio_stream.html#adbd0270efa40ecaced9116691ed95cdc',1,'raylib::AudioStream']]], + ['getbuttonpressed_21',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], + ['getchannels_22',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], + ['getclipboardtext_23',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], + ['getcollision_24',['GetCollision',['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision()'],['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const']]], + ['getcolor_25',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], + ['getcolors_26',['GetColors',['../classraylib_1_1_mesh.html#aca15b603e89c773a69126c2cabbc55a4',1,'raylib::Mesh']]], + ['getctxdata_27',['GetCtxData',['../classraylib_1_1_music.html#afa92e527b59433013946179183811a01',1,'raylib::Music']]], + ['getctxtype_28',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], + ['getdata_29',['GetData',['../classraylib_1_1_image.html#a6771d46a70533daa89e7368501099141',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a12e779194c87960a97e0fe759cc2eb80',1,'raylib::Wave::GetData()']]], + ['getdepth_30',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], + ['getdirection_31',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], + ['getdirectoryfiles_32',['GetDirectoryFiles',['../namespaceraylib.html#a5fbfb157d027ca5175b19470fb7738ea',1,'raylib']]], + ['getdirectorypath_33',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], + ['getdistance_34',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], + ['getdroppedfiles_35',['GetDroppedFiles',['../namespaceraylib.html#a06a812d32296cfd0b9f3229205f16fc8',1,'raylib']]], + ['getfileextension_36',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], + ['getfilemodtime_37',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], + ['getfilename_38',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], + ['getfilenamewithoutext_39',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], + ['getfont_40',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], + ['getfontsize_41',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], + ['getformat_42',['GetFormat',['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()'],['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()']]], + ['getfovy_43',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], + ['getfps_44',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], + ['getframecount_45',['GetFrameCount',['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount() const']]], + ['getframeposes_46',['GetFramePoses',['../classraylib_1_1_model_animation.html#ae23086ee73abc10aab2d75c3684e2402',1,'raylib::ModelAnimation']]], + ['getframetime_47',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], + ['getg_48',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], + ['getgamepadname_49',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], + ['getglyphcount_50',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], + ['getglyphindex_51',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], + ['getglyphpadding_52',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], + ['getglyphs_53',['GetGlyphs',['../classraylib_1_1_font.html#ac972978ae2c9eeae6e8eb84c7862fdbf',1,'raylib::Font']]], + ['gethandle_54',['GetHandle',['../classraylib_1_1_window.html#aff32da7f61b1e8ec87e54409dbbe66c7',1,'raylib::Window']]], + ['getheight_55',['GetHeight',['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()'],['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()']]], + ['gethit_56',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], + ['getid_57',['GetId',['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()']]], + ['getindices_58',['GetIndices',['../classraylib_1_1_mesh.html#aed7d37f4951f455623dbe5fc08a9ed1c',1,'raylib::Mesh']]], + ['getlocation_59',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], + ['getlocationattrib_60',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], + ['getlocs_61',['GetLocs',['../classraylib_1_1_shader.html#ae1320733f66a5288a2e4e91da045adcb',1,'raylib::Shader']]], + ['getlooping_62',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], + ['getm0_63',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], + ['getm1_64',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], + ['getm10_65',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], + ['getm11_66',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], + ['getm12_67',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], + ['getm13_68',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], + ['getm14_69',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], + ['getm15_70',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], + ['getm2_71',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], + ['getm3_72',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], + ['getm4_73',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], + ['getm5_74',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], + ['getm6_75',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], + ['getm7_76',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], + ['getm8_77',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], + ['getm9_78',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], + ['getmaps_79',['GetMaps',['../classraylib_1_1_material.html#a7de1717cae99b3db55de5ec822dc3502',1,'raylib::Material']]], + ['getmaterialcount_80',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], + ['getmaterials_81',['GetMaterials',['../classraylib_1_1_model.html#a3749f55279612012c8b5bf9d9e1b55e6',1,'raylib::Model']]], + ['getmatrix_82',['GetMatrix',['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()'],['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()']]], + ['getmax_83',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], + ['getmeshcount_84',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], + ['getmeshes_85',['GetMeshes',['../classraylib_1_1_model.html#a92191bd818f34c892ee7f7d15be04fd2',1,'raylib::Model']]], + ['getmeshmaterial_86',['GetMeshMaterial',['../classraylib_1_1_model.html#a1bf446b9e12f82d4c6a3676bfe5e69fa',1,'raylib::Model']]], + ['getmin_87',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], + ['getmipmaps_88',['GetMipmaps',['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()'],['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()']]], + ['getmonitorname_89',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], + ['getmouseray_90',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], + ['getname_91',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], + ['getnormal_92',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], + ['getnormals_93',['GetNormals',['../classraylib_1_1_mesh.html#a5fbfc965b4498a86ae972c093b3540ec',1,'raylib::Mesh']]], + ['getnumber_94',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], + ['getoffset_95',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], + ['getpixeldatasize_96',['GetPixelDataSize',['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)'],['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const']]], + ['getposition_97',['GetPosition',['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()'],['../classraylib_1_1_rectangle.html#aa7d683a593af23288bf41a96fc051486',1,'raylib::Rectangle::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_mouse.html#aecac52e620b5de23251a6ec7fc96babf',1,'raylib::Mouse::GetPosition()'],['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()']]], + ['getprevdirectorypath_98',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], + ['getprojection_99',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], + ['getr_100',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], + ['getrecs_101',['GetRecs',['../classraylib_1_1_font.html#a2cf2de21c55bb097a8b6b008ca1330e1',1,'raylib::Font']]], + ['getrotation_102',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], + ['getsamplerate_103',['GetSampleRate',['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate()'],['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()']]], + ['getsamplesize_104',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], + ['getscaledpi_105',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], + ['getscreentoworld_106',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], + ['getshader_107',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], + ['getshapetype_108',['GetShapeType',['../classraylib_1_1_physics.html#ab317acc20d9cf36c110672a4c6ae7390',1,'raylib::Physics']]], + ['getshapevertex_109',['GetShapeVertex',['../classraylib_1_1_physics.html#a899af94cbe7a5c4709993c9ab9638192',1,'raylib::Physics']]], + ['getshapeverticescount_110',['GetShapeVerticesCount',['../classraylib_1_1_physics.html#a9ff5c0328462f0976dbef73b75978079',1,'raylib::Physics']]], + ['getsize_111',['GetSize',['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()'],['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()'],['../classraylib_1_1_rectangle.html#ae5092e0caaf7bf89780da03968e48ea5',1,'raylib::Rectangle::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()']]], + ['getspacing_112',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], + ['getstream_113',['GetStream',['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()'],['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()']]], + ['gettangents_114',['GetTangents',['../classraylib_1_1_mesh.html#abd7f280c54169fdbac494bf2612a1f06',1,'raylib::Mesh']]], + ['gettarget_115',['GetTarget',['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()'],['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()']]], + ['gettexcoords_116',['GetTexCoords',['../classraylib_1_1_mesh.html#a08b480ec18769800b4dcefebbcd825af',1,'raylib::Mesh']]], + ['gettexcoords2_117',['GetTexCoords2',['../classraylib_1_1_mesh.html#a8806e52f188cd319ebefdc6044d85462',1,'raylib::Mesh']]], + ['gettext_118',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], + ['gettexture_119',['GetTexture',['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()'],['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()']]], + ['gettime_120',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], + ['gettimelength_121',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], + ['gettimeplayed_122',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], + ['gettouchposition_123',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], + ['gettouchx_124',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], + ['gettouchy_125',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], + ['gettransform_126',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], + ['gettrianglecount_127',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], + ['getup_128',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], + ['getvaoid_129',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], + ['getvboid_130',['GetVboId',['../classraylib_1_1_mesh.html#ac43cf6e1ca74430fa7a258692974fc26',1,'raylib::Mesh']]], + ['getvertexcount_131',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], + ['getvertices_132',['GetVertices',['../classraylib_1_1_mesh.html#a84360d9c5767872d8fdfbf05d7355c61',1,'raylib::Mesh']]], + ['getw_133',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], + ['getwheelmove_134',['GetWheelMove',['../classraylib_1_1_mouse.html#afb094f45ac8964ae24e068af0595eea9',1,'raylib::Mouse']]], + ['getwidth_135',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], + ['getworkingdirectory_136',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], + ['getworldtoscreen_137',['GetWorldToScreen',['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()'],['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()']]], + ['getx_138',['GetX',['../classraylib_1_1_mouse.html#a0277ae88bc16d5c92821a46782c81a83',1,'raylib::Mouse::GetX()'],['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], + ['gety_139',['GetY',['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_mouse.html#a0d2eec7fca435ae35809305a1bb5e92e',1,'raylib::Mouse::GetY()'],['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY() const']]], + ['getz_140',['GetZ',['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()'],['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()']]], + ['getzoom_141',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], + ['gold_142',['Gold',['../classraylib_1_1_color.html#ae6bbd8683085506173a48e5fdeccb57a',1,'raylib::Color']]], + ['gradienth_143',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], + ['gradientradial_144',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], + ['gradientv_145',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]], + ['gray_146',['Gray',['../classraylib_1_1_color.html#aa24ed6bbb02c861b38b6a423dbe902e1',1,'raylib::Color']]], + ['green_147',['Green',['../classraylib_1_1_color.html#a35c7c0acf332be287b697e6a6a23ccb4',1,'raylib::Color']]] ]; diff --git a/docs/search/all_7.html b/docs/search/all_7.html index af52f82a..d2b18254 100644 --- a/docs/search/all_7.html +++ b/docs/search/all_7.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_7.js b/docs/search/all_7.js index ab8955c7..bca1fdb0 100644 --- a/docs/search/all_7.js +++ b/docs/search/all_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['heightmap_206',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], - ['hemisphere_207',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] + ['heightmap_0',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], + ['hemisphere_1',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_8.html b/docs/search/all_8.html index cf2b5df9..f4e3a2aa 100644 --- a/docs/search/all_8.html +++ b/docs/search/all_8.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_8.js b/docs/search/all_8.js index 185ef8a1..d9d098ff 100644 --- a/docs/search/all_8.js +++ b/docs/search/all_8.js @@ -1,26 +1,28 @@ var searchData= [ - ['image_208',['Image',['../classraylib_1_1_image.html',1,'raylib::Image'],['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)']]], - ['imagetext_209',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], - ['init_210',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()']]], - ['initwindow_211',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], - ['isavailable_212',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], - ['isbuttondown_213',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], - ['isbuttonpressed_214',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], - ['isbuttonreleased_215',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], - ['isbuttonup_216',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad']]], - ['iscursoronscreen_217',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], - ['isfileextension_218',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], - ['isfocused_219',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], - ['isfullscreen_220',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], - ['ishidden_221',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], - ['ismaximized_222',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], - ['isminimized_223',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], - ['ismodelanimationvalid_224',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], - ['isplaying_225',['IsPlaying',['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], - ['isprocessed_226',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], - ['isready_227',['IsReady',['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()']]], - ['isresized_228',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], - ['isstate_229',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], - ['isvalid_230',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] + ['identity_0',['Identity',['../classraylib_1_1_matrix.html#aaf701bdedb604e59c6f1592fa5255575',1,'raylib::Matrix::Identity()'],['../classraylib_1_1_vector4.html#a90ec6deb30c8bbe61d7a9c3d5a395766',1,'raylib::Vector4::Identity()']]], + ['image_1',['Image',['../classraylib_1_1_image.html#ab0defa3751d16450e913a637d5238a21',1,'raylib::Image::Image()'],['../class_image.html',1,'Image'],['../classraylib_1_1_image.html#a80cd5a94bf468d6cdff5ae24c1ede290',1,'raylib::Image::Image(const Image &other)'],['../classraylib_1_1_image.html#acc2b06286cd94c665ea061ea53eca8ad',1,'raylib::Image::Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0be7fea82da7d23d56b018d60ea9c071',1,'raylib::Image::Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a45cd806c41a46a56212d23fe4c70c8c1',1,'raylib::Image::Image(int width, int height, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#aea5e7f65035278d780ade1fff50b83f5',1,'raylib::Image::Image(const ::Image &image)'],['../classraylib_1_1_image.html#a38c789394d71d78f873405c739474578',1,'raylib::Image::Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html',1,'raylib::Image']]], + ['imagetext_2',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], + ['init_3',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_physics.html#a49b05856f79dd475228923160069714e',1,'raylib::Physics::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()']]], + ['initwindow_4',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], + ['invert_5',['Invert',['../classraylib_1_1_matrix.html#a9ad566c434998fe400a57a26a39c3708',1,'raylib::Matrix::Invert()'],['../classraylib_1_1_vector4.html#a93d816c446273c23963fcf92fbe5b9b0',1,'raylib::Vector4::Invert()']]], + ['isavailable_6',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], + ['isbuttondown_7',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], + ['isbuttonpressed_8',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed(int button)']]], + ['isbuttonreleased_9',['IsButtonReleased',['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()'],['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()']]], + ['isbuttonup_10',['IsButtonUp',['../classraylib_1_1_mouse.html#a798f845135681fffe637e62b832eaa86',1,'raylib::Mouse::IsButtonUp()'],['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad::IsButtonUp()']]], + ['iscursoronscreen_11',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], + ['isfileextension_12',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], + ['isfocused_13',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], + ['isfullscreen_14',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], + ['ishidden_15',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], + ['ismaximized_16',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], + ['isminimized_17',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], + ['ismodelanimationvalid_18',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], + ['isplaying_19',['IsPlaying',['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], + ['isprocessed_20',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], + ['isready_21',['IsReady',['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()']]], + ['isresized_22',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], + ['isstate_23',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], + ['isvalid_24',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] ]; diff --git a/docs/search/all_9.html b/docs/search/all_9.html index 690785a5..89177a82 100644 --- a/docs/search/all_9.html +++ b/docs/search/all_9.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_9.js b/docs/search/all_9.js index 3b71fcf8..89016151 100644 --- a/docs/search/all_9.js +++ b/docs/search/all_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['knot_231',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] + ['knot_0',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_a.html b/docs/search/all_a.html index f2f3d3a3..1f90b7a7 100644 --- a/docs/search/all_a.html +++ b/docs/search/all_a.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_a.js b/docs/search/all_a.js index 72282cd4..50bbeff7 100644 --- a/docs/search/all_a.js +++ b/docs/search/all_a.js @@ -1,22 +1,25 @@ var searchData= [ - ['length_232',['Length',['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2']]], - ['lengthsqr_233',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], - ['lerp_234',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2']]], - ['load_235',['Load',['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#ac482f46142b5ecc9eea4206aced73e26',1,'raylib::Material::Load()'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_model_animation.html#ae743a3f4d87b6c904b2b4737851f0e21',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], - ['loadcolors_236',['LoadColors',['../classraylib_1_1_image.html#a6d338c20d5bd42e64dc7bc5227d4f8ac',1,'raylib::Image']]], - ['loadfiletext_237',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], - ['loadfont_238',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], - ['loadfontex_239',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], - ['loadfrommemory_240',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], - ['loadfromscreen_241',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], - ['loadimage_242',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], - ['loadimageanim_243',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], - ['loadimagefrommemory_244',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], - ['loadimageraw_245',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], - ['loadmodelfrom_246',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], - ['loadpalette_247',['LoadPalette',['../classraylib_1_1_image.html#a89f8e8272c2dfae8c3200572e43c051a',1,'raylib::Image']]], - ['loadsamples_248',['LoadSamples',['../classraylib_1_1_wave.html#ac42dd244534663a8fb1da305006c9f3a',1,'raylib::Wave']]], - ['loadsound_249',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], - ['loadtexture_250',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]] + ['length_0',['Length',['../classraylib_1_1_vector3.html#a8a34da2f9489bb78d4862cdedd14cd5e',1,'raylib::Vector3::Length()'],['../classraylib_1_1_vector4.html#a8595e296feb4b4ecb2caccecd5bbef39',1,'raylib::Vector4::Length()'],['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2::Length() const']]], + ['lengthsqr_1',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], + ['lerp_2',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2::Lerp()'],['../classraylib_1_1_vector3.html#a81c113692317fc0eab01128c10f44373',1,'raylib::Vector3::Lerp()'],['../classraylib_1_1_vector4.html#a0ab98322e7425630c16fe296c667e37b',1,'raylib::Vector4::Lerp()']]], + ['lightgray_3',['LightGray',['../classraylib_1_1_color.html#adbb50ad15745dddeaa73d04f8b40ad35',1,'raylib::Color']]], + ['lime_4',['Lime',['../classraylib_1_1_color.html#adae7384969481494b66202b43ae2d43e',1,'raylib::Color']]], + ['load_5',['Load',['../classraylib_1_1_model_animation.html#a06b185d0fb36a7db952d4435061b7aff',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_font.html#ac5609b3df50ef4099b37b5d80c297046',1,'raylib::Font::Load(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#aae929ad00282f7fd0f527702039dd362',1,'raylib::Font::Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#a2209c224b1b1e6dd862f324114ddb54e',1,'raylib::Material::Load()']]], + ['loadcolors_6',['LoadColors',['../classraylib_1_1_image.html#ac28aa3fed310f06e5d24b8069d96c49c',1,'raylib::Image']]], + ['loadfiletext_7',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], + ['loadfont_8',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], + ['loadfontex_9',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], + ['loadfrommemory_10',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], + ['loadfromscreen_11',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], + ['loadimage_12',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], + ['loadimageanim_13',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], + ['loadimagefrommemory_14',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], + ['loadimageraw_15',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], + ['loadmodelfrom_16',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], + ['loadpalette_17',['LoadPalette',['../classraylib_1_1_image.html#a1a4ba0879090f03bcf29894244903d35',1,'raylib::Image']]], + ['loadsamples_18',['LoadSamples',['../classraylib_1_1_wave.html#a0ac42b450d90dee2ea471a0625b83bac',1,'raylib::Wave']]], + ['loadsound_19',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], + ['loadtexture_20',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]], + ['lookat_21',['LookAt',['../classraylib_1_1_matrix.html#a4eeb4cdf09fd97c38d990a27e894f6f1',1,'raylib::Matrix']]] ]; diff --git a/docs/search/all_b.html b/docs/search/all_b.html index 14f34036..b7ad6e6d 100644 --- a/docs/search/all_b.html +++ b/docs/search/all_b.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_b.js b/docs/search/all_b.js index 6320e733..6b02843e 100644 --- a/docs/search/all_b.js +++ b/docs/search/all_b.js @@ -1,17 +1,22 @@ var searchData= [ - ['material_251',['Material',['../classraylib_1_1_material.html',1,'raylib::Material'],['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material::Material()']]], - ['matrix_252',['Matrix',['../classraylib_1_1_matrix.html',1,'raylib']]], - ['maximize_253',['Maximize',['../classraylib_1_1_window.html#aee89de600dcc7e645452b4d2f88d55e3',1,'raylib::Window']]], - ['measure_254',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], - ['measureex_255',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], - ['measuretext_256',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], - ['mesh_257',['Mesh',['../classraylib_1_1_mesh.html',1,'raylib::Mesh'],['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh::Mesh()']]], - ['minimize_258',['Minimize',['../classraylib_1_1_window.html#a16f54f039449dc45b57849811754ceae',1,'raylib::Window']]], - ['mipmaps_259',['Mipmaps',['../classraylib_1_1_image.html#aaf8f93e11186f0be62d68ae3f932435f',1,'raylib::Image']]], - ['model_260',['Model',['../classraylib_1_1_model.html',1,'raylib']]], - ['modelanimation_261',['ModelAnimation',['../classraylib_1_1_model_animation.html',1,'raylib']]], - ['mouse_262',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], - ['movetowards_263',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], - ['music_264',['Music',['../classraylib_1_1_music.html',1,'raylib::Music'],['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)']]] + ['magenta_0',['Magenta',['../classraylib_1_1_color.html#a5dca3460a1ebad5d2db36e4f2da019bb',1,'raylib::Color']]], + ['maroon_1',['Maroon',['../classraylib_1_1_color.html#a9400242f7e944453fadc1613507109ce',1,'raylib::Color']]], + ['material_2',['Material',['../classraylib_1_1_material.html#a71470d2ff92adb6e9e5e7c718f98fdaf',1,'raylib::Material::Material(const Material &)=delete'],['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material::Material()'],['../classraylib_1_1_material.html#ac5be24c3adc1fd6726c99c5c4eeb4a25',1,'raylib::Material::Material(const ::Material &material)'],['../class_material.html',1,'Material'],['../classraylib_1_1_material.html#af3e4a84bdac8d50ef78d934b5ad11852',1,'raylib::Material::Material()'],['../classraylib_1_1_material.html',1,'raylib::Material']]], + ['matrix_3',['Matrix',['../classraylib_1_1_matrix.html#aa8900ae52da619e68935c40568d46ed4',1,'raylib::Matrix::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)'],['../classraylib_1_1_matrix.html#a0d2462e10b715cad96be3871390186f9',1,'raylib::Matrix::Matrix(const ::Matrix &mat)'],['../class_matrix.html',1,'Matrix'],['../classraylib_1_1_matrix.html',1,'raylib::Matrix']]], + ['max_4',['Max',['../classraylib_1_1_vector3.html#a6000c34fb8a54d9e01f9b3e7da063bdd',1,'raylib::Vector3']]], + ['maximize_5',['Maximize',['../classraylib_1_1_window.html#a5790d951ff3adbc50e59b4051f104c90',1,'raylib::Window']]], + ['measure_6',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], + ['measureex_7',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], + ['measuretext_8',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], + ['mesh_9',['Mesh',['../class_mesh.html',1,'Mesh'],['../classraylib_1_1_mesh.html#a1b94f6f98a5b4308cfc15e0dd5fe792e',1,'raylib::Mesh::Mesh(const ::Mesh &mesh)'],['../classraylib_1_1_mesh.html#aba3a2211cbb514cb507ae0179407d072',1,'raylib::Mesh::Mesh(int vertexCount, int triangleCount)'],['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh::Mesh(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#a79ce0a2fa4f61795b3632330d29edac6',1,'raylib::Mesh::Mesh(Mesh &&other)'],['../classraylib_1_1_mesh.html',1,'raylib::Mesh']]], + ['min_10',['Min',['../classraylib_1_1_vector3.html#a6fae0923d50becfa10b9d347080fc360',1,'raylib::Vector3']]], + ['minimize_11',['Minimize',['../classraylib_1_1_window.html#adbd8e0a801211692125a12faba18a141',1,'raylib::Window']]], + ['mipmaps_12',['Mipmaps',['../classraylib_1_1_image.html#aaf467c8a8ab5da1887e978c12a3534d4',1,'raylib::Image']]], + ['model_13',['Model',['../classraylib_1_1_model.html#a97ff9579c923fd05b8de5fa102ad03bc',1,'raylib::Model::Model(const ::Mesh &mesh)'],['../classraylib_1_1_model.html#a982dbd1ae4182f9e83959493d0e9581b',1,'raylib::Model::Model(Model &&other)'],['../classraylib_1_1_model.html#ab12ca5ce75a7fde88ed6f6aa472d42a0',1,'raylib::Model::Model(const Model &)=delete'],['../classraylib_1_1_model.html#aa15ecaff51acb302ebd7058b920d9952',1,'raylib::Model::Model(const std::string &fileName)'],['../classraylib_1_1_model.html#a888e1cd7d4cd968c0f802515e9fd4dc7',1,'raylib::Model::Model(const ::Model &model)'],['../class_model.html',1,'Model'],['../classraylib_1_1_model.html',1,'raylib::Model']]], + ['modelanimation_14',['ModelAnimation',['../class_model_animation.html',1,'ModelAnimation'],['../classraylib_1_1_model_animation.html#a9029e1db807aa1d1cc3ff4f7a8ac87d5',1,'raylib::ModelAnimation::ModelAnimation(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#ad0bd91810295d01e922ec88ae560f18b',1,'raylib::ModelAnimation::ModelAnimation(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#aadd7f90b9f7c643b070b1c4d48b9aa6c',1,'raylib::ModelAnimation::ModelAnimation(ModelAnimation &&other)'],['../classraylib_1_1_model_animation.html',1,'raylib::ModelAnimation']]], + ['mouse_15',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], + ['movetowards_16',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], + ['multiply_17',['Multiply',['../classraylib_1_1_matrix.html#afbebf3211a8252b0433184357233aa19',1,'raylib::Matrix::Multiply()'],['../classraylib_1_1_vector4.html#acad897765f76443fbd64b5dceac94a2e',1,'raylib::Vector4::Multiply()'],['../classraylib_1_1_vector3.html#ad06dabf1a51260d6cbf3f4381ba15ab4',1,'raylib::Vector3::Multiply()'],['../classraylib_1_1_vector2.html#a8c89ca7656f8dee6e1cb4cfa29deb7ec',1,'raylib::Vector2::Multiply()']]], + ['music_18',['Music',['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a29f51d7e8e89df932a6c07bd0106a834',1,'raylib::Music::Music(const ::Music &music)'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_music.html#ae626afb93e3bbf3abd4410edbd316601',1,'raylib::Music::Music(const Music &)=delete'],['../classraylib_1_1_music.html#a8dc7537cc6ea86a77b0e7c71b708d08f',1,'raylib::Music::Music(Music &&other)'],['../class_music.html',1,'Music'],['../classraylib_1_1_music.html',1,'raylib::Music']]] ]; diff --git a/docs/search/all_c.html b/docs/search/all_c.html index da60ab8d..829c9170 100644 --- a/docs/search/all_c.html +++ b/docs/search/all_c.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_c.js b/docs/search/all_c.js index 10bdcd47..1cc8c24e 100644 --- a/docs/search/all_c.js +++ b/docs/search/all_c.js @@ -1,4 +1,7 @@ var searchData= [ - ['normalize_265',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()']]] + ['negate_0',['Negate',['../classraylib_1_1_vector2.html#a98ca288a85bd1643670a058138077587',1,'raylib::Vector2::Negate()'],['../classraylib_1_1_vector3.html#a475ed42613db507afa6f7fdcec14a25c',1,'raylib::Vector3::Negate()']]], + ['nlerp_1',['Nlerp',['../classraylib_1_1_vector4.html#aa38c1551be57c551a63a089bba0f2ee0',1,'raylib::Vector4']]], + ['normalize_2',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_matrix.html#a0ec68971d42b0ab8281e5e68f690dd5c',1,'raylib::Matrix::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()'],['../classraylib_1_1_vector3.html#a3bb4cba279bfbd545d550c4ddc35f66b',1,'raylib::Vector3::Normalize()'],['../classraylib_1_1_vector4.html#a89fc9589df53ce3d66a7c8862f1056f7',1,'raylib::Vector4::Normalize()']]], + ['number_3',['number',['../classraylib_1_1_gamepad.html#a66632b63f6edf508a980e9198f60a8f3',1,'raylib::Gamepad']]] ]; diff --git a/docs/search/all_d.html b/docs/search/all_d.html index bc376fec..d32b28eb 100644 --- a/docs/search/all_d.html +++ b/docs/search/all_d.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_d.js b/docs/search/all_d.js index ad909f88..aa28f454 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -1,13 +1,31 @@ var searchData= [ - ['boundingbox_266',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], - ['image_267',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], - ['model_268',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], - ['one_269',['One',['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2']]], - ['openurl_270',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], - ['operator_20boundingbox_271',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], - ['operator_20int_272',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color']]], - ['sound_273',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], - ['string_274',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], - ['texture2d_275',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]] + ['boundingbox_0',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], + ['image_1',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], + ['model_2',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], + ['one_3',['One',['../classraylib_1_1_vector3.html#abffd5504ca7891659fc730b19dd5f495',1,'raylib::Vector3::One()'],['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2::One()']]], + ['openurl_4',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], + ['operator_20boundingbox_5',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], + ['operator_20color_6',['operator Color',['../classraylib_1_1_vector4.html#aed3d1810f67b55a9a0a1f8684b17bbea',1,'raylib::Vector4']]], + ['operator_20float16_7',['operator float16',['../classraylib_1_1_matrix.html#a63cce6502129548a9ab427efbf714a8b',1,'raylib::Matrix']]], + ['operator_20int_8',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color::operator int()'],['../classraylib_1_1_gamepad.html#ab735b8107395f0694baf4ef8bb92092d',1,'raylib::Gamepad::operator int()']]], + ['operator_21_3d_9',['operator!=',['../classraylib_1_1_matrix.html#a986d17b9ef939fcd441c9f0533a208bf',1,'raylib::Matrix::operator!=()'],['../classraylib_1_1_vector4.html#a1141de56267ab5abab10f1990d381185',1,'raylib::Vector4::operator!=()'],['../classraylib_1_1_vector2.html#aeb9bfa80b1e6161a7a85d8c8ebc73433',1,'raylib::Vector2::operator!=()'],['../classraylib_1_1_vector3.html#a18d3efa656a5cbb4abd64217b7817136',1,'raylib::Vector3::operator!=()']]], + ['operator_2a_10',['operator*',['../classraylib_1_1_matrix.html#aebc1bc9c255dbcf348aba9e2b58d72d4',1,'raylib::Matrix::operator*()'],['../classraylib_1_1_vector2.html#a9c1f9983b14d3ff4ba92ca0e041cb970',1,'raylib::Vector2::operator*(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#a23262c9825611dde85ac071fd442124d',1,'raylib::Vector2::operator*(const float scale) const'],['../classraylib_1_1_vector3.html#a21769cdf336ef366d4278d2120c35a9e',1,'raylib::Vector3::operator*(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a02de4f00f74c5abdacf1659f116f06e5',1,'raylib::Vector3::operator*(const float scale) const'],['../classraylib_1_1_vector4.html#aea629f0a0c2ec1213535b9ab14586533',1,'raylib::Vector4::operator*()']]], + ['operator_2a_3d_11',['operator*=',['../classraylib_1_1_vector2.html#ac7ecfe4c0909ee8fb01f0d94455de794',1,'raylib::Vector2::operator*=(const ::Vector2 &vector2)'],['../classraylib_1_1_vector2.html#a2b9e8013a103a568fdf0d526008aa805',1,'raylib::Vector2::operator*=(const float scale)'],['../classraylib_1_1_vector3.html#a2a2cc2e29121125cc85735ff49e12695',1,'raylib::Vector3::operator*=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a432cfa34603d549a8dc38e20c226eb71',1,'raylib::Vector3::operator*=(const float scale)']]], + ['operator_2b_12',['operator+',['../classraylib_1_1_matrix.html#ab149d4638f47cdd7aa2cad5b05b3977d',1,'raylib::Matrix::operator+()'],['../classraylib_1_1_vector2.html#a8df80afec50063657ce67c2072839c5a',1,'raylib::Vector2::operator+()'],['../classraylib_1_1_vector3.html#a4564e8aa7532966eed679cd730c39c36',1,'raylib::Vector3::operator+()']]], + ['operator_2b_3d_13',['operator+=',['../classraylib_1_1_vector2.html#a4eb940d4ac8db035b58bf0834ebca8f7',1,'raylib::Vector2::operator+=()'],['../classraylib_1_1_vector3.html#aa0eb200f1f72d8ad8ca0457549cfef04',1,'raylib::Vector3::operator+=()']]], + ['operator_2d_14',['operator-',['../classraylib_1_1_matrix.html#a28d079fd913d2890620107599b4d1bcf',1,'raylib::Matrix::operator-()'],['../classraylib_1_1_vector2.html#af5a965f5eba6e1d8cc13f29161f0f6e1',1,'raylib::Vector2::operator-(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#af29b9938afed31d821bb7791d929f779',1,'raylib::Vector2::operator-() const'],['../classraylib_1_1_vector3.html#a843267dd14d8a706106dd5258cfa6676',1,'raylib::Vector3::operator-(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a9999af247190e4b6969f61d98e3be934',1,'raylib::Vector3::operator-()']]], + ['operator_2d_3d_15',['operator-=',['../classraylib_1_1_vector2.html#a0b97ad5ff528e47ff5a73ad0ebb2f0c7',1,'raylib::Vector2::operator-=()'],['../classraylib_1_1_vector3.html#abc2bd9029aeb4c4a3545ee230473ee32',1,'raylib::Vector3::operator-=()']]], + ['operator_2f_16',['operator/',['../classraylib_1_1_vector2.html#a8ef672a3776ca3da2fe0b89fa8cea517',1,'raylib::Vector2::operator/(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#aa12e15f76cd518d8d0447c80c89fd8c5',1,'raylib::Vector2::operator/(const float div) const'],['../classraylib_1_1_vector3.html#a085a75924d1635c674f444988bcc7ebb',1,'raylib::Vector3::operator/(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a394cfcb895d6d8ba3c432b1af9d390cb',1,'raylib::Vector3::operator/(const float div) const']]], + ['operator_2f_3d_17',['operator/=',['../classraylib_1_1_vector3.html#a1ed7a768be6dfffa9bedc536864b4ec4',1,'raylib::Vector3::operator/=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#acbb53d7cbedc612830b9a08284963b10',1,'raylib::Vector3::operator/=(const float div)'],['../classraylib_1_1_vector2.html#ae85c2aa1bfe604578ca89c7495e8ce37',1,'raylib::Vector2::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a2ef45b2b5142c60cf30bdbc6a49d77e0',1,'raylib::Vector2::operator/=(const ::Vector2 &vector2)']]], + ['operator_3d_18',['operator=',['../classraylib_1_1_model.html#afd31dd377369b1187d816d92be8f5e2a',1,'raylib::Model::operator=()'],['../classraylib_1_1_image.html#aa86c0194ad30cc5f75f116fa588fc8dd',1,'raylib::Image::operator=()'],['../classraylib_1_1_model_animation.html#a8cdf66437a165dc39d4c3dece774b606',1,'raylib::ModelAnimation::operator=(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#a1efe07d288b2a9318c7ca4ff2e321776',1,'raylib::ModelAnimation::operator=(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#ab083b9d9c64a0ec604e4c7342caec9b4',1,'raylib::ModelAnimation::operator=(ModelAnimation &&other) noexcept'],['../classraylib_1_1_music.html#afffdaad319f3099d190e2e6faa7a60af',1,'raylib::Music::operator=(const ::Music &music)'],['../classraylib_1_1_music.html#a475c5f2d7405f275a28f16fd1e1667b2',1,'raylib::Music::operator=(const Music &)=delete'],['../classraylib_1_1_music.html#a8a8ff1787f18b21d40c62106dd5e0808',1,'raylib::Music::operator=(Music &&other) noexcept'],['../classraylib_1_1_ray.html#ac95a6b27adfcc91ef7d70047650fc325',1,'raylib::Ray::operator=()'],['../classraylib_1_1_ray_collision.html#ad0cd1a0d5e234086fa6f87efa3bb8e8a',1,'raylib::RayCollision::operator=()'],['../classraylib_1_1_rectangle.html#af7744f0ec9ec04d73403a7f6a71ae3cd',1,'raylib::Rectangle::operator=()'],['../classraylib_1_1_render_texture.html#aee91fd336700acaa3cfb1f30d11efc1b',1,'raylib::RenderTexture::operator=(const ::RenderTexture &texture)'],['../classraylib_1_1_render_texture.html#a11d5dd47fbb373e556b6955c2a31f911',1,'raylib::RenderTexture::operator=(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#ab2d6ea01017394c700c6541e7a1c987e',1,'raylib::RenderTexture::operator=(RenderTexture &&other) noexcept'],['../classraylib_1_1_shader.html#a17ea116c06cf251b3fc6827c69c46352',1,'raylib::Shader::operator=(const ::Shader &shader)'],['../classraylib_1_1_shader.html#a4ad95bb76c6dd04e4ab50db5510d3639',1,'raylib::Shader::operator=(const Shader &)=delete'],['../classraylib_1_1_shader.html#a16f1271ca82501cce9aff85fe83d8468',1,'raylib::Shader::operator=(Shader &&other) noexcept'],['../classraylib_1_1_sound.html#a00e767731db27551731f3b921e96e8be',1,'raylib::Sound::operator=(const Sound &)=delete'],['../classraylib_1_1_sound.html#a0e9cf03efe620702dc91f39fc2741e28',1,'raylib::Sound::operator=(Sound &&other) noexcept'],['../classraylib_1_1_text.html#aa38bed157c29c12b0275bac43a2f0740',1,'raylib::Text::operator=()'],['../classraylib_1_1_texture.html#a32e1e65e95d670f8ede07603e74eb8bb',1,'raylib::Texture::operator=(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a803206afb8ddbb356b0c172fb3c6ec6a',1,'raylib::Texture::operator=(const Texture &)=delete'],['../classraylib_1_1_texture.html#a029d91f87af0de39e358cdc3c679d97d',1,'raylib::Texture::operator=(Texture &&other) noexcept'],['../classraylib_1_1_vector2.html#a81993d8973232b2ba08b7a63bca9bb20',1,'raylib::Vector2::operator=()'],['../classraylib_1_1_vector3.html#a0e1bfe79b5501da15fc137feaa639615',1,'raylib::Vector3::operator=()'],['../classraylib_1_1_vector4.html#ace9d16e7d35934a5a5d4bfbcf073221c',1,'raylib::Vector4::operator=()'],['../classraylib_1_1_wave.html#a47fdbb51113033249f466f2f18be8f6a',1,'raylib::Wave::operator=(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aae5958607c9f7d49dcc4a9c291fd8955',1,'raylib::Wave::operator=(const Wave &other)'],['../classraylib_1_1_wave.html#a5c5c65eaa235c5d5d8d867c55d7c0464',1,'raylib::Wave::operator=(Wave &&other) noexcept'],['../classraylib_1_1_model.html#afb16732714d5f3931dce5266cf9442a0',1,'raylib::Model::operator=()'],['../classraylib_1_1_audio_stream.html#aafe56bfe817da16012d7c2efb4bd7a9c',1,'raylib::AudioStream::operator=(const ::AudioStream &stream)'],['../classraylib_1_1_audio_stream.html#ac284487daf53d5f3cabc535918ab5222',1,'raylib::AudioStream::operator=(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#abaef9e064218e8728e7131de8f001bc1',1,'raylib::AudioStream::operator=(AudioStream &&other) noexcept'],['../classraylib_1_1_bounding_box.html#a859067d25368a27b8743e23ebc24d46c',1,'raylib::BoundingBox::operator=()'],['../classraylib_1_1_camera2_d.html#a3eca1be4b1f2ab30dc377dcd76eff0ef',1,'raylib::Camera2D::operator=()'],['../classraylib_1_1_camera3_d.html#ab9af3cd1ec71d4c52dd09f47b7a55864',1,'raylib::Camera3D::operator=()'],['../classraylib_1_1_color.html#a2af61a938ad2780917be855e06621d2d',1,'raylib::Color::operator=()'],['../classraylib_1_1_font.html#a372d60f4b8911722eefdff34f10eab13',1,'raylib::Font::operator=(const ::Font &font)'],['../classraylib_1_1_font.html#aaedf5057acbe7cf503d074a9a6343879',1,'raylib::Font::operator=(const Font &)=delete'],['../classraylib_1_1_font.html#a8858311926baabe96b51cb015241568e',1,'raylib::Font::operator=(Font &&other) noexcept'],['../classraylib_1_1_gamepad.html#af0d08d3ed4fdb915aea6c2dda49828ef',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_image.html#a2d5e9ae7c55948b28b458f3bff5d1388',1,'raylib::Image::operator=()'],['../classraylib_1_1_gamepad.html#a2d72d578a8a7815e74cfdf811fe9e6cb',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_model.html#a37c9ca6ea23e395a1ca1e2e32a578582',1,'raylib::Model::operator=()'],['../classraylib_1_1_mesh.html#ad74efe8cd30bd4630a5cf055d61e8263',1,'raylib::Mesh::operator=(Mesh &&other) noexcept'],['../classraylib_1_1_mesh.html#a4fe0ff85b2ef8ea6dc9e7bc98dc8c8ca',1,'raylib::Mesh::operator=(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#ae3b9c24dd49d40c68e11ed8a82f4af82',1,'raylib::Mesh::operator=(const ::Mesh &mesh)'],['../classraylib_1_1_matrix.html#a667e1a3be409a1ad1d7f6f9c8bdc24dd',1,'raylib::Matrix::operator=(const Matrix &matrix)'],['../classraylib_1_1_matrix.html#a4a01a9983536575a0accb4ad938434d1',1,'raylib::Matrix::operator=(const ::Matrix &matrix)'],['../classraylib_1_1_material.html#ae92173567da4f6f9b256bf6787d65a11',1,'raylib::Material::operator=(Material &&other) noexcept'],['../classraylib_1_1_material.html#af0644e3ba034c4e700eab72174e00905',1,'raylib::Material::operator=(const Material &)=delete'],['../classraylib_1_1_material.html#a8734255792ec2669d3c067b64a1b7644',1,'raylib::Material::operator=(const ::Material &material)'],['../classraylib_1_1_image.html#a7e2ce4ef95df6fb9c8ffd654cce227bc',1,'raylib::Image::operator=()']]], + ['operator_3d_3d_19',['operator==',['../classraylib_1_1_matrix.html#ab038b46305fb8bd85f83005146542b7e',1,'raylib::Matrix::operator==()'],['../classraylib_1_1_vector2.html#a92c0c5f254914438cc13926559678069',1,'raylib::Vector2::operator==()'],['../classraylib_1_1_vector3.html#a848a7b866cadd1e96c4a472343be47cb',1,'raylib::Vector3::operator==()'],['../classraylib_1_1_vector4.html#a00cc9bb369819d6628540cbda82bf47f',1,'raylib::Vector4::operator==()']]], + ['orange_20',['Orange',['../classraylib_1_1_color.html#afb83cd892356b66cc0603cbe1e147285',1,'raylib::Color']]], + ['ortho_21',['Ortho',['../classraylib_1_1_matrix.html#ad45b39503de59d1052377346efd8bcd8',1,'raylib::Matrix']]], + ['orthonormalize_22',['OrthoNormalize',['../classraylib_1_1_vector3.html#a39326460de2d051c5bde8366a7101de6',1,'raylib::Vector3']]], + ['rectangle_23',['Rectangle',['../classraylib_1_1_vector4.html#ab202f0a0df34580b5f330cd54aa6a633',1,'raylib::Vector4']]], + ['sound_24',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], + ['string_25',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], + ['texture2d_26',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]], + ['vector4_27',['Vector4',['../classraylib_1_1_rectangle.html#a0c04495372edc5cc3a3f572f0cddbc70',1,'raylib::Rectangle']]] ]; diff --git a/docs/search/all_e.html b/docs/search/all_e.html index 2e3c74dc..ce450a29 100644 --- a/docs/search/all_e.html +++ b/docs/search/all_e.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_e.js b/docs/search/all_e.js index b0954b93..3238d13d 100644 --- a/docs/search/all_e.js +++ b/docs/search/all_e.js @@ -1,9 +1,13 @@ var searchData= [ - ['pause_276',['Pause',['../classraylib_1_1_audio_stream.html#aa620374153aa063a0e34f4260c6dce94',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#a810f0ae266f247237aa23574e1e31626',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a51f64c5c76a86a6b6f2225870d5a83a3',1,'raylib::Sound::Pause()']]], - ['physics_277',['Physics',['../classraylib_1_1_physics.html',1,'raylib']]], - ['plane_278',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], - ['play_279',['Play',['../classraylib_1_1_audio_stream.html#a594754979b974479711879b7d4af082e',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a908ddb6c248c75bd1a3cabc1381a45fc',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#a2fd3ff7a2653fa57dc2b0987e108a2ae',1,'raylib::Sound::Play()']]], - ['playmulti_280',['PlayMulti',['../classraylib_1_1_sound.html#adfe6e6915bb17eefd0ab58f5cb3aa7ba',1,'raylib::Sound']]], - ['poly_281',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]] + ['pause_0',['Pause',['../classraylib_1_1_audio_stream.html#acb2ae2e3c331c91af0d3ca86733e1f52',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#ad956be86303bb8b307530947aefaea25',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a5a5513d79d5495061104dbfa36dca27b',1,'raylib::Sound::Pause()']]], + ['perpendicular_1',['Perpendicular',['../classraylib_1_1_vector3.html#a7b67640a2ce5eee35e5dba5af88fc020',1,'raylib::Vector3']]], + ['perspective_2',['Perspective',['../classraylib_1_1_matrix.html#aea5590610580b2ecd0be779324bf9281',1,'raylib::Matrix']]], + ['physics_3',['Physics',['../classraylib_1_1_physics.html#abe69671cb0e5e5e765c6de48cccb0111',1,'raylib::Physics::Physics(float gravityX, float gravityY)'],['../classraylib_1_1_physics.html#a9638fbedf8f35acd23bb5c502c9ddac7',1,'raylib::Physics::Physics(float gravityY)'],['../classraylib_1_1_physics.html#ab6fe48c3f1ccc583d78898d3946b3096',1,'raylib::Physics::Physics()'],['../classraylib_1_1_physics.html',1,'raylib::Physics']]], + ['pink_4',['Pink',['../classraylib_1_1_color.html#ad93a284f0ef61bf88be66b8bebd14427',1,'raylib::Color']]], + ['plane_5',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], + ['play_6',['Play',['../classraylib_1_1_audio_stream.html#a3aed292652e082b37396a66e48bf9858',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a5a99d2bf68843c860c6b5612b7e3d3df',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#ab48935ee4d6c10329f68117b5862aed2',1,'raylib::Sound::Play()']]], + ['playmulti_7',['PlayMulti',['../classraylib_1_1_sound.html#ac7a8473534871ea873f81673270841a0',1,'raylib::Sound']]], + ['poly_8',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]], + ['purple_9',['Purple',['../classraylib_1_1_color.html#a98e5330224e52e9599c060d82a50609d',1,'raylib::Color']]] ]; diff --git a/docs/search/all_f.html b/docs/search/all_f.html index 246f8ab1..59cfe49c 100644 --- a/docs/search/all_f.html +++ b/docs/search/all_f.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/all_f.js b/docs/search/all_f.js index ed3931ed..361d73e3 100644 --- a/docs/search/all_f.js +++ b/docs/search/all_f.js @@ -1,19 +1,4 @@ var searchData= [ - ['raylib_2dcpp_282',['raylib-cpp',['../index.html',1,'']]], - ['ray_283',['Ray',['../classraylib_1_1_ray.html',1,'raylib']]], - ['raycollision_284',['RayCollision',['../classraylib_1_1_ray_collision.html',1,'raylib::RayCollision'],['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)']]], - ['raylib_285',['raylib',['../namespaceraylib.html',1,'']]], - ['raylibexception_286',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib::RaylibException'],['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException::RaylibException()']]], - ['rectangle_287',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib']]], - ['reflect_288',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2']]], - ['rendertexture_289',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib::RenderTexture'],['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()']]], - ['resize_290',['Resize',['../classraylib_1_1_image.html#a62294223271290f049711ee96ca809fb',1,'raylib::Image']]], - ['resizecanvas_291',['ResizeCanvas',['../classraylib_1_1_image.html#a008fc6154d0252aa1b9924281a27a61d',1,'raylib::Image']]], - ['resizenn_292',['ResizeNN',['../classraylib_1_1_image.html#a13f6b8aade2957218bdfa199857caa04',1,'raylib::Image']]], - ['restore_293',['Restore',['../classraylib_1_1_window.html#a936ba6f4614ab6b3c2552f88798ffac2',1,'raylib::Window']]], - ['resume_294',['Resume',['../classraylib_1_1_audio_stream.html#ab3514d8e8b8c8992046ef3e51e571c88',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#a5c5c67064aa37d2b3f3234a2a02230de',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#a08132251f7b6e4caec600475f610e2f5',1,'raylib::Sound::Resume()']]], - ['rotate_295',['Rotate',['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2']]], - ['rotateccw_296',['RotateCCW',['../classraylib_1_1_image.html#aa08513832d0ab58144f4418ba3b4b6d6',1,'raylib::Image']]], - ['rotatecw_297',['RotateCW',['../classraylib_1_1_image.html#aed253e5dd980e63b7fd7a8ef43ef7cf6',1,'raylib::Image']]] + ['quaternion_0',['Quaternion',['../namespaceraylib.html#a35a146d156ee0cb20e51c65c1356009f',1,'raylib']]] ]; diff --git a/docs/search/classes_0.html b/docs/search/classes_0.html index f7e4c14e..8361bcdc 100644 --- a/docs/search/classes_0.html +++ b/docs/search/classes_0.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_0.js b/docs/search/classes_0.js index 9d3944eb..158644da 100644 --- a/docs/search/classes_0.js +++ b/docs/search/classes_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['audiodevice_469',['AudioDevice',['../classraylib_1_1_audio_device.html',1,'raylib']]], - ['audiostream_470',['AudioStream',['../classraylib_1_1_audio_stream.html',1,'raylib']]] + ['audiodevice_0',['AudioDevice',['../classraylib_1_1_audio_device.html',1,'raylib']]], + ['audiostream_1',['AudioStream',['../class_audio_stream.html',1,'AudioStream'],['../classraylib_1_1_audio_stream.html',1,'raylib::AudioStream']]] ]; diff --git a/docs/search/classes_1.html b/docs/search/classes_1.html index c7ff4b31..3c668dea 100644 --- a/docs/search/classes_1.html +++ b/docs/search/classes_1.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_1.js b/docs/search/classes_1.js index f293fd85..ea3366be 100644 --- a/docs/search/classes_1.js +++ b/docs/search/classes_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['boundingbox_471',['BoundingBox',['../classraylib_1_1_bounding_box.html',1,'raylib']]] + ['boundingbox_0',['BoundingBox',['../class_bounding_box.html',1,'BoundingBox'],['../classraylib_1_1_bounding_box.html',1,'raylib::BoundingBox']]] ]; diff --git a/docs/search/classes_2.html b/docs/search/classes_2.html index 0d1e8a0c..868c1727 100644 --- a/docs/search/classes_2.html +++ b/docs/search/classes_2.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js index bf26ad32..18b94a81 100644 --- a/docs/search/classes_2.js +++ b/docs/search/classes_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['camera2d_472',['Camera2D',['../classraylib_1_1_camera2_d.html',1,'raylib']]], - ['camera3d_473',['Camera3D',['../classraylib_1_1_camera3_d.html',1,'raylib']]], - ['color_474',['Color',['../classraylib_1_1_color.html',1,'raylib']]] + ['camera2d_0',['Camera2D',['../class_camera2_d.html',1,'Camera2D'],['../classraylib_1_1_camera2_d.html',1,'raylib::Camera2D']]], + ['camera3d_1',['Camera3D',['../class_camera3_d.html',1,'Camera3D'],['../classraylib_1_1_camera3_d.html',1,'raylib::Camera3D']]], + ['color_2',['Color',['../class_color.html',1,'Color'],['../classraylib_1_1_color.html',1,'raylib::Color']]] ]; diff --git a/docs/search/classes_3.html b/docs/search/classes_3.html index 21025456..995d5d23 100644 --- a/docs/search/classes_3.html +++ b/docs/search/classes_3.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_3.js b/docs/search/classes_3.js index 015d18d1..6f769efd 100644 --- a/docs/search/classes_3.js +++ b/docs/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['font_475',['Font',['../classraylib_1_1_font.html',1,'raylib']]] + ['font_0',['Font',['../class_font.html',1,'Font'],['../classraylib_1_1_font.html',1,'raylib::Font']]] ]; diff --git a/docs/search/classes_4.html b/docs/search/classes_4.html index 095ab595..b61a53a8 100644 --- a/docs/search/classes_4.html +++ b/docs/search/classes_4.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_4.js b/docs/search/classes_4.js index 81bc5053..80d79c80 100644 --- a/docs/search/classes_4.js +++ b/docs/search/classes_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['gamepad_476',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]] + ['gamepad_0',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]] ]; diff --git a/docs/search/classes_5.html b/docs/search/classes_5.html index fc9cdc99..004dd4b7 100644 --- a/docs/search/classes_5.html +++ b/docs/search/classes_5.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_5.js b/docs/search/classes_5.js index e755536a..9454d815 100644 --- a/docs/search/classes_5.js +++ b/docs/search/classes_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['image_477',['Image',['../classraylib_1_1_image.html',1,'raylib']]] + ['image_0',['Image',['../class_image.html',1,'Image'],['../classraylib_1_1_image.html',1,'raylib::Image']]] ]; diff --git a/docs/search/classes_6.html b/docs/search/classes_6.html index 1ecfdddf..21bf0198 100644 --- a/docs/search/classes_6.html +++ b/docs/search/classes_6.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_6.js b/docs/search/classes_6.js index b7e5eb5e..e8037257 100644 --- a/docs/search/classes_6.js +++ b/docs/search/classes_6.js @@ -1,10 +1,10 @@ var searchData= [ - ['material_478',['Material',['../classraylib_1_1_material.html',1,'raylib']]], - ['matrix_479',['Matrix',['../classraylib_1_1_matrix.html',1,'raylib']]], - ['mesh_480',['Mesh',['../classraylib_1_1_mesh.html',1,'raylib']]], - ['model_481',['Model',['../classraylib_1_1_model.html',1,'raylib']]], - ['modelanimation_482',['ModelAnimation',['../classraylib_1_1_model_animation.html',1,'raylib']]], - ['mouse_483',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], - ['music_484',['Music',['../classraylib_1_1_music.html',1,'raylib']]] + ['material_0',['Material',['../class_material.html',1,'Material'],['../classraylib_1_1_material.html',1,'raylib::Material']]], + ['matrix_1',['Matrix',['../class_matrix.html',1,'Matrix'],['../classraylib_1_1_matrix.html',1,'raylib::Matrix']]], + ['mesh_2',['Mesh',['../class_mesh.html',1,'Mesh'],['../classraylib_1_1_mesh.html',1,'raylib::Mesh']]], + ['model_3',['Model',['../class_model.html',1,'Model'],['../classraylib_1_1_model.html',1,'raylib::Model']]], + ['modelanimation_4',['ModelAnimation',['../class_model_animation.html',1,'ModelAnimation'],['../classraylib_1_1_model_animation.html',1,'raylib::ModelAnimation']]], + ['mouse_5',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], + ['music_6',['Music',['../class_music.html',1,'Music'],['../classraylib_1_1_music.html',1,'raylib::Music']]] ]; diff --git a/docs/search/classes_7.html b/docs/search/classes_7.html index 0fc6fc3e..0e944515 100644 --- a/docs/search/classes_7.html +++ b/docs/search/classes_7.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_7.js b/docs/search/classes_7.js index fb94a2d0..7198ee39 100644 --- a/docs/search/classes_7.js +++ b/docs/search/classes_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['physics_485',['Physics',['../classraylib_1_1_physics.html',1,'raylib']]] + ['physics_0',['Physics',['../classraylib_1_1_physics.html',1,'raylib']]] ]; diff --git a/docs/search/classes_8.html b/docs/search/classes_8.html index ac8af7dc..4dfdb1c4 100644 --- a/docs/search/classes_8.html +++ b/docs/search/classes_8.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_8.js b/docs/search/classes_8.js index 82545acc..baa70b0e 100644 --- a/docs/search/classes_8.js +++ b/docs/search/classes_8.js @@ -1,8 +1,8 @@ var searchData= [ - ['ray_486',['Ray',['../classraylib_1_1_ray.html',1,'raylib']]], - ['raycollision_487',['RayCollision',['../classraylib_1_1_ray_collision.html',1,'raylib']]], - ['raylibexception_488',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib']]], - ['rectangle_489',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib']]], - ['rendertexture_490',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib']]] + ['ray_0',['Ray',['../class_ray.html',1,'Ray'],['../classraylib_1_1_ray.html',1,'raylib::Ray']]], + ['raycollision_1',['RayCollision',['../class_ray_collision.html',1,'RayCollision'],['../classraylib_1_1_ray_collision.html',1,'raylib::RayCollision']]], + ['raylibexception_2',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib']]], + ['rectangle_3',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib::Rectangle'],['../class_rectangle.html',1,'Rectangle']]], + ['rendertexture_4',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib::RenderTexture'],['../class_render_texture.html',1,'RenderTexture']]] ]; diff --git a/docs/search/classes_9.html b/docs/search/classes_9.html index 86cad046..1cd66a9b 100644 --- a/docs/search/classes_9.html +++ b/docs/search/classes_9.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_9.js b/docs/search/classes_9.js index e38e737f..e4927821 100644 --- a/docs/search/classes_9.js +++ b/docs/search/classes_9.js @@ -1,5 +1,5 @@ var searchData= [ - ['shader_491',['Shader',['../classraylib_1_1_shader.html',1,'raylib']]], - ['sound_492',['Sound',['../classraylib_1_1_sound.html',1,'raylib']]] + ['shader_0',['Shader',['../classraylib_1_1_shader.html',1,'raylib::Shader'],['../class_shader.html',1,'Shader']]], + ['sound_1',['Sound',['../classraylib_1_1_sound.html',1,'raylib::Sound'],['../class_sound.html',1,'Sound']]] ]; diff --git a/docs/search/classes_a.html b/docs/search/classes_a.html index 4201e97e..f4608c0b 100644 --- a/docs/search/classes_a.html +++ b/docs/search/classes_a.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_a.js b/docs/search/classes_a.js index d2efecff..570887ba 100644 --- a/docs/search/classes_a.js +++ b/docs/search/classes_a.js @@ -1,5 +1,5 @@ var searchData= [ - ['text_493',['Text',['../classraylib_1_1_text.html',1,'raylib']]], - ['texture_494',['Texture',['../classraylib_1_1_texture.html',1,'raylib']]] + ['text_0',['Text',['../classraylib_1_1_text.html',1,'raylib']]], + ['texture_1',['Texture',['../classraylib_1_1_texture.html',1,'raylib::Texture'],['../class_texture.html',1,'Texture']]] ]; diff --git a/docs/search/classes_b.html b/docs/search/classes_b.html index f88a5780..d9949ca9 100644 --- a/docs/search/classes_b.html +++ b/docs/search/classes_b.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_b.js b/docs/search/classes_b.js index c3ed2bc9..2d9ac752 100644 --- a/docs/search/classes_b.js +++ b/docs/search/classes_b.js @@ -1,7 +1,7 @@ var searchData= [ - ['vector2_495',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib']]], - ['vector3_496',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib']]], - ['vector4_497',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib']]], - ['vrstereoconfig_498',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib']]] + ['vector2_0',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib::Vector2'],['../class_vector2.html',1,'Vector2']]], + ['vector3_1',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib::Vector3'],['../class_vector3.html',1,'Vector3']]], + ['vector4_2',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib::Vector4'],['../class_vector4.html',1,'Vector4']]], + ['vrstereoconfig_3',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib::VrStereoConfig'],['../class_vr_stereo_config.html',1,'VrStereoConfig']]] ]; diff --git a/docs/search/classes_c.html b/docs/search/classes_c.html index fa0cf4d6..026513b6 100644 --- a/docs/search/classes_c.html +++ b/docs/search/classes_c.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/classes_c.js b/docs/search/classes_c.js index 1ccd0eef..927931f3 100644 --- a/docs/search/classes_c.js +++ b/docs/search/classes_c.js @@ -1,5 +1,5 @@ var searchData= [ - ['wave_499',['Wave',['../classraylib_1_1_wave.html',1,'raylib']]], - ['window_500',['Window',['../classraylib_1_1_window.html',1,'raylib']]] + ['wave_0',['Wave',['../classraylib_1_1_wave.html',1,'raylib::Wave'],['../class_wave.html',1,'Wave']]], + ['window_1',['Window',['../classraylib_1_1_window.html',1,'raylib']]] ]; diff --git a/docs/search/close.svg b/docs/search/close.svg new file mode 100644 index 00000000..a933eea1 --- /dev/null +++ b/docs/search/close.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/docs/search/functions_0.html b/docs/search/functions_0.html index e17c7111..2d2d9501 100644 --- a/docs/search/functions_0.html +++ b/docs/search/functions_0.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_0.js b/docs/search/functions_0.js index 40c0db23..c8471893 100644 --- a/docs/search/functions_0.js +++ b/docs/search/functions_0.js @@ -1,12 +1,15 @@ var searchData= [ - ['alpha_502',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], - ['alphablend_503',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], - ['alphaclear_504',['AlphaClear',['../classraylib_1_1_image.html#a39d6f6b230bcdaba3d85f45e9b5dad20',1,'raylib::Image']]], - ['alphacrop_505',['AlphaCrop',['../classraylib_1_1_image.html#a5945a136f675e024dda002075b34dfef',1,'raylib::Image']]], - ['alphamask_506',['AlphaMask',['../classraylib_1_1_image.html#a3bbcbb96834c526b6b789a804078d472',1,'raylib::Image']]], - ['alphapremultiply_507',['AlphaPremultiply',['../classraylib_1_1_image.html#ace3ef45495b17bf2e5a645931b792483',1,'raylib::Image']]], - ['angle_508',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], - ['audiodevice_509',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice']]], - ['audiostream_510',['AudioStream',['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream']]] + ['add_0',['Add',['../classraylib_1_1_vector2.html#a9b508085257410f314beb2f405259678',1,'raylib::Vector2::Add()'],['../classraylib_1_1_vector3.html#a640c5d01ab7d004830de1f7609abfdd2',1,'raylib::Vector3::Add()'],['../classraylib_1_1_matrix.html#aaecef455d7b249b1c0bbc77cbb27e1d0',1,'raylib::Matrix::Add()']]], + ['addforce_1',['AddForce',['../classraylib_1_1_physics.html#afb38fb0c3a3bebd5c5ff0e76d5204d6d',1,'raylib::Physics']]], + ['addtorque_2',['AddTorque',['../classraylib_1_1_physics.html#a7a663b83d1f9c7af8fcfbda8fefc9682',1,'raylib::Physics']]], + ['alpha_3',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], + ['alphablend_4',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], + ['alphaclear_5',['AlphaClear',['../classraylib_1_1_image.html#acea9718468977973dceaf84797cab842',1,'raylib::Image']]], + ['alphacrop_6',['AlphaCrop',['../classraylib_1_1_image.html#a99650b633aca69b1402d04e719d10faf',1,'raylib::Image']]], + ['alphamask_7',['AlphaMask',['../classraylib_1_1_image.html#aaf9f5429b67e2e4e37a23e1193b07215',1,'raylib::Image']]], + ['alphapremultiply_8',['AlphaPremultiply',['../classraylib_1_1_image.html#a726a612e5ad5e1d25764cbbb0e2f6ea1',1,'raylib::Image']]], + ['angle_9',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], + ['audiodevice_10',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice']]], + ['audiostream_11',['AudioStream',['../classraylib_1_1_audio_stream.html#a894b806cbf3e016b9cc7d9f413758012',1,'raylib::AudioStream::AudioStream(const ::AudioStream &music)'],['../classraylib_1_1_audio_stream.html#a8da5fee94a06fb1bf797d93e94472d9f',1,'raylib::AudioStream::AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)'],['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream::AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)'],['../classraylib_1_1_audio_stream.html#ad8a74cd0657258f1fe495d2dc7fd6881',1,'raylib::AudioStream::AudioStream(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#a1d47b4e6c51959d9a6408ff6660cd629',1,'raylib::AudioStream::AudioStream(AudioStream &&other)']]] ]; diff --git a/docs/search/functions_1.html b/docs/search/functions_1.html index 0ddac0a4..3b96b900 100644 --- a/docs/search/functions_1.html +++ b/docs/search/functions_1.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_1.js b/docs/search/functions_1.js index 14f979e4..144f42e9 100644 --- a/docs/search/functions_1.js +++ b/docs/search/functions_1.js @@ -1,6 +1,12 @@ var searchData= [ - ['begindrawing_511',['BeginDrawing',['../classraylib_1_1_window.html#a8f2b932e51fc0ac154e2fd578691ebd6',1,'raylib::Window']]], - ['beginmode_512',['BeginMode',['../classraylib_1_1_camera3_d.html#a0aeaa99678bacc68d410a4d42e95548a',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a7d05e471bb2d7fc83094f7a9463d836f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a63311cdadb7f81791a61e2ccea33efbe',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#aee11917e6f68d22e12e06a81d58ee340',1,'raylib::VrStereoConfig::BeginMode()']]], - ['boundingbox_513',['BoundingBox',['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox()'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()']]] + ['barycenter_0',['Barycenter',['../classraylib_1_1_vector3.html#a3adb51fa6e3c137095ba6aa60f976ddc',1,'raylib::Vector3']]], + ['begindrawing_1',['BeginDrawing',['../classraylib_1_1_window.html#a487e7b9ee38593be6f6bc5c5c2e2e80c',1,'raylib::Window']]], + ['beginmode_2',['BeginMode',['../classraylib_1_1_camera2_d.html#a39d12d507baf5ba6112ea31d9ff8b01f',1,'raylib::Camera2D::BeginMode()'],['../classraylib_1_1_camera3_d.html#a23437f027bbd7608ca9e5f2370344271',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a4e2cede5c6b58d0b4f0a38eba6897a5f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a662293424e1923c1a2ed73d3fb0ccb61',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#a57c7c3064803f61af4a7da1e0ae10167',1,'raylib::VrStereoConfig::BeginMode()']]], + ['beige_3',['Beige',['../classraylib_1_1_color.html#a13dc46e6133581a791e918af361fdfcc',1,'raylib::Color']]], + ['black_4',['Black',['../classraylib_1_1_color.html#a6d4168bda8afca4a98d4e4a6a74c2d63',1,'raylib::Color']]], + ['blank_5',['Blank',['../classraylib_1_1_color.html#a7833da21008e487f44324007b9d8e6c1',1,'raylib::Color']]], + ['blue_6',['Blue',['../classraylib_1_1_color.html#a8bd1ba9bc65bae856d0b716aa85c407d',1,'raylib::Color']]], + ['boundingbox_7',['BoundingBox',['../classraylib_1_1_bounding_box.html#a2d5d6d98333d7a2e15b3703b1c383fe9',1,'raylib::BoundingBox::BoundingBox(const ::BoundingBox &box)'],['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox(const ::Mesh &mesh)'],['../classraylib_1_1_bounding_box.html#a6e0d7b4af3123898d6fa541ed2fd2672',1,'raylib::BoundingBox::BoundingBox(::Vector3 minMax)'],['../classraylib_1_1_bounding_box.html#ad7e2ee18a319a9ea834e46add4b0dbc8',1,'raylib::BoundingBox::BoundingBox(::Vector3 min, ::Vector3 max)'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()']]], + ['brown_8',['Brown',['../classraylib_1_1_color.html#aee8f4a4e55fe68cf5d3854208e16c5b7',1,'raylib::Color']]] ]; diff --git a/docs/search/functions_10.html b/docs/search/functions_10.html index 09422e1e..f0fe4893 100644 --- a/docs/search/functions_10.html +++ b/docs/search/functions_10.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 9eb9c3df..2f5b7d4d 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -1,128 +1,139 @@ var searchData= [ - ['savefiletext_788',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], - ['seek_789',['Seek',['../classraylib_1_1_music.html#ab2013c089ab1b10e6dcc70c9c350c0f2',1,'raylib::Music']]], - ['seta_790',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], - ['setaltcontrol_791',['SetAltControl',['../classraylib_1_1_camera3_d.html#af4494c05808722f3111c6bcb3703b662',1,'raylib::Camera3D']]], - ['setanimnormals_792',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], - ['setanimvertices_793',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], - ['setb_794',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], - ['setbasesize_795',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], - ['setbindpoe_796',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], - ['setbonecount_797',['SetBoneCount',['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()'],['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()']]], - ['setboneids_798',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], - ['setbones_799',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], - ['setboneweights_800',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], - ['setbuffer_801',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], - ['setbuffersizedefault_802',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], - ['setchannels_803',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], - ['setclipboardtext_804',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], - ['setcolor_805',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], - ['setcolors_806',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], - ['setctxdata_807',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], - ['setctxtype_808',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], - ['setcursor_809',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], - ['setdata_810',['SetData',['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()'],['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()']]], - ['setdepth_811',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], - ['setdirection_812',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], - ['setdistance_813',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], - ['setfilter_814',['SetFilter',['../classraylib_1_1_texture.html#a2f15e4f84badfdb2520133b645908bb7',1,'raylib::Texture']]], - ['setfont_815',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], - ['setfontsize_816',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], - ['setformat_817',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()']]], - ['setfovy_818',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], - ['setframecount_819',['SetFrameCount',['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()']]], - ['setframeposes_820',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], - ['setfullscreen_821',['SetFullscreen',['../classraylib_1_1_window.html#aeb4c203ec7f228bb196d7d6c3278984f',1,'raylib::Window']]], - ['setg_822',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], - ['setglyphcount_823',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], - ['setglyphpadding_824',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], - ['setglyphs_825',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], - ['setheight_826',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], - ['sethit_827',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], - ['seticon_828',['SetIcon',['../classraylib_1_1_window.html#a5035259115c985be13b506af12b1f525',1,'raylib::Window']]], - ['setid_829',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()']]], - ['setindices_830',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], - ['setlocs_831',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], - ['setlooping_832',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], - ['setm0_833',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], - ['setm1_834',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], - ['setm10_835',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], - ['setm11_836',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], - ['setm12_837',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], - ['setm13_838',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], - ['setm14_839',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], - ['setm15_840',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], - ['setm2_841',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], - ['setm3_842',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], - ['setm4_843',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], - ['setm5_844',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], - ['setm6_845',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], - ['setm7_846',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], - ['setm8_847',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], - ['setm9_848',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], - ['setmaps_849',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], - ['setmaterial_850',['SetMaterial',['../classraylib_1_1_texture.html#a8667f5e1c478cfe06e48a1a98f3c1368',1,'raylib::Texture']]], - ['setmaterialcount_851',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], - ['setmaterials_852',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], - ['setmax_853',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], - ['setmeshcount_854',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], - ['setmeshes_855',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], - ['setmeshmaterial_856',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#acb7831c2542e8e1a7b80859cc7f43aa1',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], - ['setmin_857',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], - ['setminsize_858',['SetMinSize',['../classraylib_1_1_window.html#abd534b189b57a77e491bd7852c9ee3a4',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#ad8acc035fd7ae1ca24452de0ca97ff2b',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], - ['setmipmaps_859',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], - ['setmode_860',['SetMode',['../classraylib_1_1_camera3_d.html#a9a2649478bcbc00bc738112d9deacc04',1,'raylib::Camera3D']]], - ['setmonitor_861',['SetMonitor',['../classraylib_1_1_window.html#a69b43267e498bdbe64092cfb96e0e950',1,'raylib::Window']]], - ['setmovecontrols_862',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a6d179e8e85e580dc9e50b6d01c99dd51',1,'raylib::Camera3D']]], - ['setnormal_863',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], - ['setnormals_864',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], - ['setnumber_865',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], - ['setoffset_866',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D']]], - ['setpitch_867',['SetPitch',['../classraylib_1_1_audio_stream.html#a3142331c775e25f172247d86fd112207',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#a863348374483c4b9b01f6e2624f833e8',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#a5018b4876727080e904385ce98ee4990',1,'raylib::Sound::SetPitch()']]], - ['setposition_868',['SetPosition',['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_window.html#a662e058a9f5b3121e6280411fa0cc73d',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_window.html#a701de0c79e8252538cd080ddfa51952d',1,'raylib::Window::SetPosition(const ::Vector2 &position)']]], - ['setprojection_869',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], - ['setr_870',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], - ['setrecs_871',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], - ['setrotation_872',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], - ['setsamplerate_873',['SetSampleRate',['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate()'],['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()']]], - ['setsamplesize_874',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], - ['setshader_875',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], - ['setshadervalue_876',['SetShaderValue',['../classraylib_1_1_matrix.html#a388c9c8913cfae69bfb840bbfab95fa9',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#ae86f9e94bde8583bddc594a0bb3f57c6',1,'raylib::Texture::SetShaderValue()']]], - ['setshapes_877',['SetShapes',['../classraylib_1_1_texture.html#a5ed08c239b0b53d7ec89c9507514393a',1,'raylib::Texture']]], - ['setsize_878',['SetSize',['../classraylib_1_1_window.html#a9a51c4a61cb8c6fbf14e164e7c3afa50',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_window.html#a51be4f5c35dd84abbaa174df913aa4c7',1,'raylib::Window::SetSize(const ::Vector2 &size)']]], - ['setsmoothzoomcontrol_879',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#a6263a91ecfcc94144cd4cbff82396e78',1,'raylib::Camera3D']]], - ['setspacing_880',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], - ['setstate_881',['SetState',['../classraylib_1_1_window.html#a8f65f0cddfc91ba7c5c5efe0b5deb063',1,'raylib::Window']]], - ['setstream_882',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], - ['settangents_883',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], - ['settarget_884',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], - ['settargetfps_885',['SetTargetFPS',['../classraylib_1_1_window.html#a191fafa4e6e094477c15c157f00a18a4',1,'raylib::Window']]], - ['settexcoords_886',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], - ['settexcoords2_887',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], - ['settext_888',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], - ['settexture_889',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a563a153517435efba319c750d7bd0379',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], - ['settitle_890',['SetTitle',['../classraylib_1_1_window.html#a306c896a81dd5790af0c8a8617b907d4',1,'raylib::Window']]], - ['settransform_891',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], - ['settrianglecount_892',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], - ['setup_893',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], - ['setvalue_894',['SetValue',['../classraylib_1_1_shader.html#aee50d83bfae949b476ad994fa739b9a5',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)'],['../classraylib_1_1_shader.html#a37e4981ccc95df6b78efd21e8563d49d',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#adade0b76feffac6c439efb46586f4099',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a7bbc8d326c377cee898bf772dda1fc1c',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)']]], - ['setvaoid_895',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], - ['setvboid_896',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], - ['setvertexcount_897',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], - ['setvertices_898',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], - ['setvolume_899',['SetVolume',['../classraylib_1_1_audio_device.html#ae1e2ca6a0cd5a3b2cb6f4cfc5455a3f1',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a6e69c7e6d2856787a588185f7865e6e1',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#acbcc821ca804c0c9783e96267b7c5ef9',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_sound.html#a03cbb1aa868bf037d163a5a540db8c8f',1,'raylib::Sound::SetVolume()']]], - ['setw_900',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], - ['setwidth_901',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()']]], - ['setwindowtitle_902',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], - ['setwrap_903',['SetWrap',['../classraylib_1_1_texture.html#a29ac6e7037bc2678159760744d4538a4',1,'raylib::Texture']]], - ['setx_904',['SetX',['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], - ['sety_905',['SetY',['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()']]], - ['setz_906',['SetZ',['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()'],['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()']]], - ['setzoom_907',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], - ['shouldclose_908',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], - ['sound_909',['Sound',['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)']]], - ['sphere_910',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], - ['stop_911',['Stop',['../classraylib_1_1_audio_stream.html#a266882a0ea63da435e44583270685d57',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a6a6ed906b768631c86a006b23900d542',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#af00839539bfeb6dd1bac84b5d1c90f0b',1,'raylib::Sound::Stop()']]], - ['stopmulti_912',['StopMulti',['../classraylib_1_1_sound.html#a6925b0114e6d9636c928fed1f0f0586c',1,'raylib::Sound']]] + ['savefiletext_0',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], + ['scale_1',['Scale',['../classraylib_1_1_vector2.html#a99329cc7300b744993c299a60191b23e',1,'raylib::Vector2::Scale()'],['../classraylib_1_1_matrix.html#a6194618ff44780a7e062355089706217',1,'raylib::Matrix::Scale()'],['../classraylib_1_1_vector3.html#a22ca33a36bf98e27801b523299990c51',1,'raylib::Vector3::Scale()']]], + ['seek_2',['Seek',['../classraylib_1_1_music.html#a0df1a8c1803d8be34208a2901e17a2ee',1,'raylib::Music']]], + ['seta_3',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], + ['setaltcontrol_4',['SetAltControl',['../classraylib_1_1_camera3_d.html#a1e12a532ca2837c7a00b1658b0d0be28',1,'raylib::Camera3D']]], + ['setanimnormals_5',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], + ['setanimvertices_6',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], + ['setb_7',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], + ['setbasesize_8',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], + ['setbindpoe_9',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], + ['setbodyrotation_10',['SetBodyRotation',['../classraylib_1_1_physics.html#a2e92f697147cea7ca3f3f86150c5fa8d',1,'raylib::Physics']]], + ['setbonecount_11',['SetBoneCount',['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()'],['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()']]], + ['setboneids_12',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], + ['setbones_13',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], + ['setboneweights_14',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], + ['setbuffer_15',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], + ['setbuffersizedefault_16',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], + ['setchannels_17',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], + ['setclipboardtext_18',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], + ['setcolor_19',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], + ['setcolors_20',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], + ['setctxdata_21',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], + ['setctxtype_22',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], + ['setcursor_23',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], + ['setdata_24',['SetData',['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()'],['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()']]], + ['setdepth_25',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], + ['setdirection_26',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], + ['setdistance_27',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], + ['setfilter_28',['SetFilter',['../classraylib_1_1_texture.html#ac42e4bc773336f2a1ee52e6f97bcf5e2',1,'raylib::Texture']]], + ['setfont_29',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], + ['setfontsize_30',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], + ['setformat_31',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()']]], + ['setfovy_32',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], + ['setframecount_33',['SetFrameCount',['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount(int value)']]], + ['setframeposes_34',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], + ['setfullscreen_35',['SetFullscreen',['../classraylib_1_1_window.html#a97cd33ccd2b772aea0e7b7d66aa52205',1,'raylib::Window']]], + ['setg_36',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], + ['setglyphcount_37',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], + ['setglyphpadding_38',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], + ['setglyphs_39',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], + ['setgravity_40',['SetGravity',['../classraylib_1_1_physics.html#ab3c2e951985d4b08520f441c3d7d1864',1,'raylib::Physics']]], + ['setheight_41',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], + ['sethit_42',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], + ['seticon_43',['SetIcon',['../classraylib_1_1_window.html#adb4f1c464cb2274d8d22123965ac2239',1,'raylib::Window']]], + ['setid_44',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()']]], + ['setindices_45',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], + ['setlocs_46',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], + ['setlooping_47',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], + ['setm0_48',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], + ['setm1_49',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], + ['setm10_50',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], + ['setm11_51',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], + ['setm12_52',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], + ['setm13_53',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], + ['setm14_54',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], + ['setm15_55',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], + ['setm2_56',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], + ['setm3_57',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], + ['setm4_58',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], + ['setm5_59',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], + ['setm6_60',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], + ['setm7_61',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], + ['setm8_62',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], + ['setm9_63',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], + ['setmaps_64',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], + ['setmaterial_65',['SetMaterial',['../classraylib_1_1_texture.html#a9f2380b14a27928be3e7580a92fa8baf',1,'raylib::Texture::SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)'],['../classraylib_1_1_texture.html#a88fc32d98a2e998cb58830f7e2256018',1,'raylib::Texture::SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)']]], + ['setmaterialcount_66',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], + ['setmaterials_67',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], + ['setmax_68',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], + ['setmeshcount_69',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], + ['setmeshes_70',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], + ['setmeshmaterial_71',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#a615470971725d77d9252325017cb84f7',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], + ['setmin_72',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], + ['setminsize_73',['SetMinSize',['../classraylib_1_1_window.html#af4bbbbbe9a241c7fda7d3ee4a72cbf2d',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#a4ffe8d15136a9cca7ffc8cb66886e2a6',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], + ['setmipmaps_74',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], + ['setmode_75',['SetMode',['../classraylib_1_1_camera3_d.html#a60bdd6bd9c6b7294350d60e495454d73',1,'raylib::Camera3D']]], + ['setmonitor_76',['SetMonitor',['../classraylib_1_1_window.html#a4433c8726840fd2909da8437b7b3e007',1,'raylib::Window']]], + ['setmovecontrols_77',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a7b6ea87fe4de834303c03ca62eaf73b9',1,'raylib::Camera3D']]], + ['setnormal_78',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], + ['setnormals_79',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], + ['setnumber_80',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], + ['setoffset_81',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D::SetOffset()'],['../classraylib_1_1_mouse.html#a6d5ed867bb4da81d2b37bb1037e7a00d',1,'raylib::Mouse::SetOffset(::Vector2 offset)'],['../classraylib_1_1_mouse.html#a76cbe35c2741c70e5d9c9a4d4421b5fd',1,'raylib::Mouse::SetOffset(int offsetX=0, int offsetY=0)']]], + ['setpitch_82',['SetPitch',['../classraylib_1_1_audio_stream.html#a13ebfc6323dd52a529c652b50d981160',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#ac7d93b598afe32228f3e416d23f64a89',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#af54f9f9a0f850b7011a4302a92d61c87',1,'raylib::Sound::SetPitch()']]], + ['setposition_83',['SetPosition',['../classraylib_1_1_mouse.html#af15947500da7d3aa95b3894576d6ea3d',1,'raylib::Mouse::SetPosition()'],['../classraylib_1_1_window.html#a96cd2f516efcab92927bf582b6fe754d',1,'raylib::Window::SetPosition(const ::Vector2 &position)'],['../classraylib_1_1_window.html#a22162747a663a0e6ba5d644b28069020',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_rectangle.html#a18647e222a3f11064cb9a6dfb18fe7c8',1,'raylib::Rectangle::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_mouse.html#aa90576871793eb5f292e0eaa01f8a970',1,'raylib::Mouse::SetPosition()'],['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_rectangle.html#a512e9d32b02e9a55f7bf6d3b90ca4e7e',1,'raylib::Rectangle::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()']]], + ['setprojection_84',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], + ['setr_85',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], + ['setrecs_86',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], + ['setrotation_87',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], + ['setsamplerate_88',['SetSampleRate',['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()'],['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate(unsigned int value)']]], + ['setsamplesize_89',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], + ['setscale_90',['SetScale',['../classraylib_1_1_mouse.html#a0bc3ff2888f24896026738bdeee3e314',1,'raylib::Mouse::SetScale(float scaleX=1.0f, float scaleY=1.0f)'],['../classraylib_1_1_mouse.html#a65892041af52bb64c80131f61832b274',1,'raylib::Mouse::SetScale(::Vector2 scale)']]], + ['setshader_91',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], + ['setshadervalue_92',['SetShaderValue',['../classraylib_1_1_matrix.html#a27776d3613da7c134136b25d227f358b',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#a3989a497ef1cd0d070d67220c0de4f69',1,'raylib::Texture::SetShaderValue(const ::Shader &shader, int locIndex)']]], + ['setshapes_93',['SetShapes',['../classraylib_1_1_texture.html#ab6443678ebab7d2c78b0bdfb7f37e16f',1,'raylib::Texture']]], + ['setshapestexture_94',['SetShapesTexture',['../classraylib_1_1_rectangle.html#aff8f63a27bab16c9bff78f137d3d7923',1,'raylib::Rectangle']]], + ['setsize_95',['SetSize',['../classraylib_1_1_rectangle.html#acb7e80dbb24e3005980ecf4d1f52ddae',1,'raylib::Rectangle::SetSize()'],['../classraylib_1_1_window.html#a38c6f9d69df4ffb7a0a5dbf7f3da7023',1,'raylib::Window::SetSize(const ::Vector2 &size)'],['../classraylib_1_1_window.html#a81f8680331de7345546070d54643b781',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_rectangle.html#a92bae52ae8d3b79dae9f811fca30a7b2',1,'raylib::Rectangle::SetSize()']]], + ['setsmoothzoomcontrol_96',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#aab26a4c99183b18ec9c714b98b0688cb',1,'raylib::Camera3D']]], + ['setspacing_97',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], + ['setstate_98',['SetState',['../classraylib_1_1_window.html#a403f3d3d41bc642f9536cab91630ca75',1,'raylib::Window']]], + ['setstream_99',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], + ['settangents_100',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], + ['settarget_101',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], + ['settargetfps_102',['SetTargetFPS',['../classraylib_1_1_window.html#a7ca2dff3eeae227e0cc9d6b090fd7a3d',1,'raylib::Window']]], + ['settexcoords_103',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], + ['settexcoords2_104',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], + ['settext_105',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], + ['settexture_106',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a4fa16a50972c555434b31c2511d02493',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], + ['settimestep_107',['SetTimeStep',['../classraylib_1_1_physics.html#ad6c385b11a461c2138c581393bbabf44',1,'raylib::Physics']]], + ['settitle_108',['SetTitle',['../classraylib_1_1_window.html#a43d26141e2460add21aec360a20ddbed',1,'raylib::Window']]], + ['settransform_109',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], + ['settrianglecount_110',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], + ['setup_111',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], + ['setvalue_112',['SetValue',['../classraylib_1_1_shader.html#a9d6836497f8afa70a3066b8cc4203aa4',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a0e256d9052c8f84141b8f576c8b7fb5e',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)'],['../classraylib_1_1_shader.html#acccfb8dc990cbef7641eab357b5af4ff',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#a79e6cf8321eb55c142b2bda54555968b',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)']]], + ['setvaoid_113',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], + ['setvboid_114',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], + ['setvertexcount_115',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], + ['setvertices_116',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], + ['setvolume_117',['SetVolume',['../classraylib_1_1_sound.html#a2818afd107521622a078b4a06cfbc918',1,'raylib::Sound::SetVolume()'],['../classraylib_1_1_music.html#a2a477ce696a4d6e0ba906aa45a9ac8f6',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_audio_device.html#a24fc065b613b6230e415d83194273d89',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a51894536c50841878536ed87c94ef9ca',1,'raylib::AudioStream::SetVolume()']]], + ['setw_118',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], + ['setwidth_119',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()']]], + ['setwindowtitle_120',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], + ['setwrap_121',['SetWrap',['../classraylib_1_1_texture.html#aa001be5e40701f5a6dc9c56fa7682eac',1,'raylib::Texture']]], + ['setx_122',['SetX',['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_mouse.html#a5aa814d46b8f02b923cb5a492aac8148',1,'raylib::Mouse::SetX()'],['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], + ['sety_123',['SetY',['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_mouse.html#a70fe1e1561aa9106799cfa5d98fe98cf',1,'raylib::Mouse::SetY()'],['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY(float value)']]], + ['setz_124',['SetZ',['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()'],['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()']]], + ['setzoom_125',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], + ['shader_126',['Shader',['../classraylib_1_1_shader.html#a68787ddef60edcd1d7f766fb28f8c880',1,'raylib::Shader::Shader(const std::string &vsFileName, const std::string &fsFileName)'],['../classraylib_1_1_shader.html#a62e4f196016badbf10b34f9e628d66eb',1,'raylib::Shader::Shader(const ::Shader &shader)'],['../classraylib_1_1_shader.html#af917f68b8618ba0cacd68f5870d4c704',1,'raylib::Shader::Shader(Shader &&other)'],['../classraylib_1_1_shader.html#aebcf454f96bf29cbbfbe2801d4222e06',1,'raylib::Shader::Shader(unsigned int id, int *locs=nullptr)'],['../classraylib_1_1_shader.html#aea9fa53c3d5cb3e1e2501b25d1b937eb',1,'raylib::Shader::Shader(const char *vsFileName, const char *fsFileName)'],['../classraylib_1_1_shader.html#ae562fe95e5230f66c928beefff6f8619',1,'raylib::Shader::Shader(const Shader &)=delete']]], + ['shatter_127',['Shatter',['../classraylib_1_1_physics.html#a9a05e7f4aac933ff44a4a89c8674cd84',1,'raylib::Physics']]], + ['shouldclose_128',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], + ['skyblue_129',['SkyBlue',['../classraylib_1_1_color.html#ab630e67b888947c289a25a4a1000671f',1,'raylib::Color']]], + ['slerp_130',['Slerp',['../classraylib_1_1_vector4.html#ad74cf2c3cc806dda6ac299333dd7420b',1,'raylib::Vector4']]], + ['sound_131',['Sound',['../classraylib_1_1_sound.html#ab202d20657b5435283a6f85baaa79056',1,'raylib::Sound::Sound()'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)'],['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ab95375318685dbf1d03ff3489db0c9f0',1,'raylib::Sound::Sound(Sound &&other)'],['../classraylib_1_1_sound.html#acd90ba91564b3e381dc21829ba18c097',1,'raylib::Sound::Sound(::AudioStream stream, unsigned int frameCount)'],['../classraylib_1_1_sound.html#a4c08c29d0590754fd5798bbb4df4f4bb',1,'raylib::Sound::Sound(const Sound &)=delete']]], + ['sphere_132',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], + ['stop_133',['Stop',['../classraylib_1_1_audio_stream.html#a0ebdf88ff0b76d024c7d49036cb0701f',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a5a6afb505504e57327ff345c6553f769',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#a1fd0c5ede427ba6797f7b1d295a15467',1,'raylib::Sound::Stop()']]], + ['stopmulti_134',['StopMulti',['../classraylib_1_1_sound.html#ab093bddebf4db7a2937063f063cfdb59',1,'raylib::Sound']]], + ['subtract_135',['Subtract',['../classraylib_1_1_matrix.html#a14f0b7960358e1dac0f745709e74ad67',1,'raylib::Matrix::Subtract()'],['../classraylib_1_1_vector2.html#a2203d35228a10defe410dec8d33017f9',1,'raylib::Vector2::Subtract()'],['../classraylib_1_1_vector3.html#af99d38f6a5f8100a91397a11994c9717',1,'raylib::Vector3::Subtract()']]] ]; diff --git a/docs/search/functions_11.html b/docs/search/functions_11.html index 1cde7b49..fb95b058 100644 --- a/docs/search/functions_11.html +++ b/docs/search/functions_11.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_11.js b/docs/search/functions_11.js index 9f3a2c49..3bc4ddc8 100644 --- a/docs/search/functions_11.js +++ b/docs/search/functions_11.js @@ -1,24 +1,32 @@ var searchData= [ - ['takescreenshot_913',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], - ['text_914',['Text',['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)']]], - ['textfindindex_915',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], - ['textinsert_916',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], - ['textisequal_917',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], - ['textlength_918',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], - ['textreplace_919',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], - ['textsubtext_920',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], - ['texttointeger_921',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], - ['texttolower_922',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], - ['texttopascal_923',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], - ['texttoupper_924',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], - ['texture_925',['Texture',['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)']]], - ['togglefullscreen_926',['ToggleFullscreen',['../classraylib_1_1_window.html#a4f4e526ad3a1bfc3c133ff379d5f04d5',1,'raylib::Window']]], - ['tohsv_927',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], - ['toint_928',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], - ['topot_929',['ToPOT',['../classraylib_1_1_image.html#ae8c33add6a7f996a706f531231b8d996',1,'raylib::Image']]], - ['torus_930',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], - ['trace_931',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], - ['tracelog_932',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], - ['transpose_933',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] + ['takescreenshot_0',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], + ['text_1',['Text',['../classraylib_1_1_image.html#a31c3f86d7ab5dfbd618202a0a9c6156b',1,'raylib::Image::Text()'],['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)'],['../classraylib_1_1_image.html#a91744abc374f20b21f66549fcb4d5692',1,'raylib::Image::Text()']]], + ['textfindindex_2',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], + ['textinsert_3',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], + ['textisequal_4',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], + ['textlength_5',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], + ['textreplace_6',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], + ['textsubtext_7',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], + ['texttointeger_8',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], + ['texttolower_9',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], + ['texttopascal_10',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], + ['texttoupper_11',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], + ['texture_12',['Texture',['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)'],['../classraylib_1_1_texture.html#a58e78588be53fc00096d37019fef9134',1,'raylib::Texture::Texture(const Texture &)=delete'],['../classraylib_1_1_texture.html#a7988e6f875f2f613d449325acf9f74be',1,'raylib::Texture::Texture(Texture &&other)']]], + ['toaxisangle_13',['ToAxisAngle',['../classraylib_1_1_vector4.html#adae5284864f79d98fec6b17afad99986',1,'raylib::Vector4::ToAxisAngle(::Vector3 *outAxis, float *outAngle)'],['../classraylib_1_1_vector4.html#af8db6bdfea9975901bb4df2acfdb8361',1,'raylib::Vector4::ToAxisAngle()']]], + ['toeuler_14',['ToEuler',['../classraylib_1_1_vector4.html#a65730cc70476be33eb1e4daf33a0fd8d',1,'raylib::Vector4']]], + ['tofloatv_15',['ToFloatV',['../classraylib_1_1_matrix.html#a54f3ae730b3c5ca7da3522832fd2964d',1,'raylib::Matrix']]], + ['togglefullscreen_16',['ToggleFullscreen',['../classraylib_1_1_window.html#a06c1dd65d7f389a584e0440bef18838f',1,'raylib::Window']]], + ['tohsv_17',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], + ['toint_18',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], + ['tomatrix_19',['ToMatrix',['../classraylib_1_1_vector4.html#af04213c7901309ddb69521aad96678b2',1,'raylib::Vector4']]], + ['topot_20',['ToPOT',['../classraylib_1_1_image.html#a7783ade7b901c094bfb7049043880f27',1,'raylib::Image']]], + ['torectangle_21',['ToRectangle',['../classraylib_1_1_vector4.html#ad3a4a5db5d4644bbbe6f634c7c16f966',1,'raylib::Vector4']]], + ['torus_22',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], + ['tovector4_23',['ToVector4',['../classraylib_1_1_rectangle.html#a7f559c46f78bbbdf21c81e9db6b4fb64',1,'raylib::Rectangle']]], + ['trace_24',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], + ['tracelog_25',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], + ['transform_26',['Transform',['../classraylib_1_1_vector4.html#ad52462304fa03aed5904ea0b3ec8cd84',1,'raylib::Vector4::Transform()'],['../classraylib_1_1_vector3.html#a50c6b6a97a6f05b042c58b83564081e5',1,'raylib::Vector3::Transform()']]], + ['translate_27',['Translate',['../classraylib_1_1_matrix.html#a66c40986a01c21a5a1dd139ccf18ab28',1,'raylib::Matrix']]], + ['transpose_28',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] ]; diff --git a/docs/search/functions_12.html b/docs/search/functions_12.html index 48e59155..292fd4a7 100644 --- a/docs/search/functions_12.html +++ b/docs/search/functions_12.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_12.js b/docs/search/functions_12.js index 7ed9c047..f94b1183 100644 --- a/docs/search/functions_12.js +++ b/docs/search/functions_12.js @@ -1,13 +1,13 @@ var searchData= [ - ['unload_934',['Unload',['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()']]], - ['unloadcolors_935',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], - ['unloadkeepmeshes_936',['UnloadKeepMeshes',['../classraylib_1_1_model.html#a1f8233c28728eff2c4684cb8b4258cda',1,'raylib::Model']]], - ['unloadpalette_937',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], - ['unloadsamples_938',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], - ['update_939',['Update',['../classraylib_1_1_audio_stream.html#ac7aa320c506865cc88d60264549d23b0',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#a6a59671e1b7ed19c5b6566e700b625a7',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#aa5cf71119ac343985b5575be55475c05',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#a031bc82c19b51b29f5c507cacd9c2664',1,'raylib::Music::Update()'],['../classraylib_1_1_sound.html#acec4ed7b817a356a13a24691192da968',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#aa17ec450860a4b02d1fc717dcec278e5',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ad2be6ad3fbbff3141dc274b1b397902c',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#addb5534e675a196513976b21fa80f0a6',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], - ['updateanimation_940',['UpdateAnimation',['../classraylib_1_1_model.html#a6b2400a98189c50a0c01d9868f56c3e4',1,'raylib::Model']]], - ['updatebuffer_941',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], - ['updatecamera_942',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], - ['upload_943',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] + ['unload_0',['Unload',['../classraylib_1_1_font.html#a626232061626ccd76870cf9d81e56ca5',1,'raylib::Font::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_render_texture.html#a56b0bb42ae5ef981404b0fc1b28c2ed9',1,'raylib::RenderTexture::Unload()'],['../classraylib_1_1_shader.html#a5d56815b3531966cee3e2bee8ecfa5a4',1,'raylib::Shader::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()'],['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()']]], + ['unloadcolors_1',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], + ['unloadkeepmeshes_2',['UnloadKeepMeshes',['../classraylib_1_1_model.html#aebafa7bdc74ccd5876c6574eae495722',1,'raylib::Model']]], + ['unloadpalette_3',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], + ['unloadsamples_4',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], + ['update_5',['Update',['../classraylib_1_1_audio_stream.html#af0aa29e7eb3fb305eaa224bd62402622',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#aacd0a082c65a9089e2a2bcf3c327cfe0',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#ae5453fb8380e1f8e608f4e1b807f2fba',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#adaa6e39c17c965fce04abbfee117eebc',1,'raylib::Music::Update()'],['../classraylib_1_1_physics.html#a65685532dc9ded1d67a2b9c75e29547c',1,'raylib::Physics::Update()'],['../classraylib_1_1_sound.html#aa18a9b3a41117311c093c528c6988ece',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#a92c0fe944c32ee7d614a903e58eeae3e',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ac20c8e10a88f3952f9d5a4e09d5ce5fb',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#a253099fa4469729cc3bca1c7cf7d3e93',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], + ['updateanimation_6',['UpdateAnimation',['../classraylib_1_1_model.html#abf25f0cbb2526d1a3eaef890f0dfcd88',1,'raylib::Model']]], + ['updatebuffer_7',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], + ['updatecamera_8',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], + ['upload_9',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_13.html b/docs/search/functions_13.html index f1fc553f..5fcdf9c9 100644 --- a/docs/search/functions_13.html +++ b/docs/search/functions_13.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_13.js b/docs/search/functions_13.js index dc6d5e36..eaf12c23 100644 --- a/docs/search/functions_13.js +++ b/docs/search/functions_13.js @@ -1,6 +1,8 @@ var searchData= [ - ['wave_944',['Wave',['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], - ['whitenoise_945',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], - ['window_946',['Window',['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window']]] + ['vector2_0',['Vector2',['../classraylib_1_1_vector2.html#ab7445f9657fa71635a231f87b761975d',1,'raylib::Vector2::Vector2(float x, float y)'],['../classraylib_1_1_vector2.html#aafb7d3ca7aa016a90203c67f71ca4d33',1,'raylib::Vector2::Vector2(float x)'],['../classraylib_1_1_vector2.html#aeb25c40ed7302c7de9cc281e1e1e8109',1,'raylib::Vector2::Vector2()'],['../classraylib_1_1_vector2.html#af37eed03c414b6d9d6e0139fe8e226ef',1,'raylib::Vector2::Vector2(const ::Vector2 &vec)']]], + ['vector3_1',['Vector3',['../classraylib_1_1_vector3.html#a28f01bc9b06a7482caa86e84e7fe6fd6',1,'raylib::Vector3::Vector3(const ::Vector3 &vec)'],['../classraylib_1_1_vector3.html#a3ab43e8992532e03b278e5315391e657',1,'raylib::Vector3::Vector3(float x, float y, float z)'],['../classraylib_1_1_vector3.html#a111fc1d7cd09c6a10a05d3918e431c38',1,'raylib::Vector3::Vector3(float x, float y)'],['../classraylib_1_1_vector3.html#a5b6463f85404813d49cd95376e92ff56',1,'raylib::Vector3::Vector3(float x)'],['../classraylib_1_1_vector3.html#adad550f85023b399e2d736efdaaa8bbd',1,'raylib::Vector3::Vector3()'],['../classraylib_1_1_vector3.html#abf9e88a2959a105153cc6640e0fea4b5',1,'raylib::Vector3::Vector3(::Color color)']]], + ['vector4_2',['Vector4',['../classraylib_1_1_vector4.html#a35894d9424422dc7f4c59d6b99dc652d',1,'raylib::Vector4::Vector4(const ::Vector4 &vec)'],['../classraylib_1_1_vector4.html#aa9a25ed14de003e3611bc1801dbc90a9',1,'raylib::Vector4::Vector4(::Color color)'],['../classraylib_1_1_vector4.html#a4dc7917c7f0335ff55c87dc4ef7d7d1c',1,'raylib::Vector4::Vector4(::Rectangle rect)'],['../classraylib_1_1_vector4.html#ad43ace9c5d2dba1a7aa4d71d9395834a',1,'raylib::Vector4::Vector4()'],['../classraylib_1_1_vector4.html#a7af3871a8ecd1138280e670d06ad4a75',1,'raylib::Vector4::Vector4(float x)'],['../classraylib_1_1_vector4.html#acf017370db9f15af801e90cef97fe055',1,'raylib::Vector4::Vector4(float x, float y)'],['../classraylib_1_1_vector4.html#a0aa651ea0c915ccf0007397c13a553b2',1,'raylib::Vector4::Vector4(float x, float y, float z)'],['../classraylib_1_1_vector4.html#a9111e43425e61eb7c7d22b5ff0cf57b6',1,'raylib::Vector4::Vector4(float x, float y, float z, float w)']]], + ['violet_3',['Violet',['../classraylib_1_1_color.html#a33a800381c93a8a57900fa7d092a00cf',1,'raylib::Color']]], + ['vrstereoconfig_4',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#a630225c95d54e50482f6455e13d4fc3b',1,'raylib::VrStereoConfig']]] ]; diff --git a/docs/search/functions_14.html b/docs/search/functions_14.html index 0302cd98..82c70b0a 100644 --- a/docs/search/functions_14.html +++ b/docs/search/functions_14.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_14.js b/docs/search/functions_14.js index 59af497f..f6fe7b05 100644 --- a/docs/search/functions_14.js +++ b/docs/search/functions_14.js @@ -1,4 +1,7 @@ var searchData= [ - ['zero_947',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2']]] + ['wave_0',['Wave',['../classraylib_1_1_wave.html#a4643a642d42434c4eb39c6888688d495',1,'raylib::Wave::Wave(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aa76ff3e113cace4453b683725159aae6',1,'raylib::Wave::Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)'],['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_wave.html#a3c59426e8ff3fff68abb532a1e785b1e',1,'raylib::Wave::Wave(const Wave &other)'],['../classraylib_1_1_wave.html#adae03cb2d443e6d868f38c7c8db14913',1,'raylib::Wave::Wave(Wave &&other)']]], + ['white_1',['White',['../classraylib_1_1_color.html#ac92b0a8cb0bfc268863553ff5a2af7fb',1,'raylib::Color']]], + ['whitenoise_2',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], + ['window_3',['Window',['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window']]] ]; diff --git a/docs/search/functions_15.html b/docs/search/functions_15.html index 18cf76b2..050aa251 100644 --- a/docs/search/functions_15.html +++ b/docs/search/functions_15.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_15.js b/docs/search/functions_15.js index f2b442c2..9c1af64e 100644 --- a/docs/search/functions_15.js +++ b/docs/search/functions_15.js @@ -1,8 +1,4 @@ var searchData= [ - ['_7eaudiodevice_948',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], - ['_7emusic_949',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], - ['_7evrstereoconfig_950',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], - ['_7ewave_951',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], - ['_7ewindow_952',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] + ['yellow_0',['Yellow',['../classraylib_1_1_color.html#a3e7a0f02d796ca9b8845023c7fd0dbf5',1,'raylib::Color']]] ]; diff --git a/docs/search/functions_16.html b/docs/search/functions_16.html index 9182391d..1d75c78c 100644 --- a/docs/search/functions_16.html +++ b/docs/search/functions_16.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_16.js b/docs/search/functions_16.js index 9db95718..24bbc203 100644 --- a/docs/search/functions_16.js +++ b/docs/search/functions_16.js @@ -1,4 +1,4 @@ var searchData= [ - ['zero_1196',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2::Zero()'],['../classraylib_1_1_vector3.html#ae3a9048507c018f7a90e86e2131f2ea5',1,'raylib::Vector3::Zero()']]] + ['zero_0',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2::Zero()'],['../classraylib_1_1_vector3.html#ae3a9048507c018f7a90e86e2131f2ea5',1,'raylib::Vector3::Zero()']]] ]; diff --git a/docs/search/functions_17.html b/docs/search/functions_17.html index 80795060..c0990155 100644 --- a/docs/search/functions_17.html +++ b/docs/search/functions_17.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_17.js b/docs/search/functions_17.js index e0071a81..3c739b1b 100644 --- a/docs/search/functions_17.js +++ b/docs/search/functions_17.js @@ -1,20 +1,20 @@ var searchData= [ - ['_7eaudiodevice_1197',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], - ['_7eaudiostream_1198',['~AudioStream',['../classraylib_1_1_audio_stream.html#a264e3bcd80f5c47651d82ce64b84bdc0',1,'raylib::AudioStream']]], - ['_7efont_1199',['~Font',['../classraylib_1_1_font.html#ac26732eaa27d5984b2c356941b5762ad',1,'raylib::Font']]], - ['_7eimage_1200',['~Image',['../classraylib_1_1_image.html#a249001d3d373b33b1f29145c45082536',1,'raylib::Image']]], - ['_7ematerial_1201',['~Material',['../classraylib_1_1_material.html#aa11c6eb7111cedc08437673cc66760d6',1,'raylib::Material']]], - ['_7emesh_1202',['~Mesh',['../classraylib_1_1_mesh.html#af09e2772739c525a2f957ebb7b4a1486',1,'raylib::Mesh']]], - ['_7emodel_1203',['~Model',['../classraylib_1_1_model.html#ad0b3ed5e32b1d5bf73511ed67270ae07',1,'raylib::Model']]], - ['_7emodelanimation_1204',['~ModelAnimation',['../classraylib_1_1_model_animation.html#a633f1c094138e99c36251773a8f3c787',1,'raylib::ModelAnimation']]], - ['_7emusic_1205',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], - ['_7ephysics_1206',['~Physics',['../classraylib_1_1_physics.html#a0629ca80510dec5e652457f0f6af2531',1,'raylib::Physics']]], - ['_7erendertexture_1207',['~RenderTexture',['../classraylib_1_1_render_texture.html#aa82fb85022acc70314c1ddd22d12f44d',1,'raylib::RenderTexture']]], - ['_7eshader_1208',['~Shader',['../classraylib_1_1_shader.html#a5fdd95f82f152bae43e274830cffcbf1',1,'raylib::Shader']]], - ['_7esound_1209',['~Sound',['../classraylib_1_1_sound.html#a321a8cea955f859f8648e2df202f5497',1,'raylib::Sound']]], - ['_7etexture_1210',['~Texture',['../classraylib_1_1_texture.html#afb52b2f43d5deb3e2e244205faa563ac',1,'raylib::Texture']]], - ['_7evrsimulator_1211',['~VrSimulator',['../classraylib_1_1_vr_simulator.html#a430dac68377e85a9ae4fde96d54edaa8',1,'raylib::VrSimulator']]], - ['_7ewave_1212',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], - ['_7ewindow_1213',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] + ['_7eaudiodevice_0',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], + ['_7eaudiostream_1',['~AudioStream',['../classraylib_1_1_audio_stream.html#a264e3bcd80f5c47651d82ce64b84bdc0',1,'raylib::AudioStream']]], + ['_7efont_2',['~Font',['../classraylib_1_1_font.html#ac26732eaa27d5984b2c356941b5762ad',1,'raylib::Font']]], + ['_7eimage_3',['~Image',['../classraylib_1_1_image.html#a249001d3d373b33b1f29145c45082536',1,'raylib::Image']]], + ['_7ematerial_4',['~Material',['../classraylib_1_1_material.html#aa11c6eb7111cedc08437673cc66760d6',1,'raylib::Material']]], + ['_7emesh_5',['~Mesh',['../classraylib_1_1_mesh.html#af09e2772739c525a2f957ebb7b4a1486',1,'raylib::Mesh']]], + ['_7emodel_6',['~Model',['../classraylib_1_1_model.html#ad0b3ed5e32b1d5bf73511ed67270ae07',1,'raylib::Model']]], + ['_7emodelanimation_7',['~ModelAnimation',['../classraylib_1_1_model_animation.html#a633f1c094138e99c36251773a8f3c787',1,'raylib::ModelAnimation']]], + ['_7emusic_8',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], + ['_7ephysics_9',['~Physics',['../classraylib_1_1_physics.html#a0629ca80510dec5e652457f0f6af2531',1,'raylib::Physics']]], + ['_7erendertexture_10',['~RenderTexture',['../classraylib_1_1_render_texture.html#aa82fb85022acc70314c1ddd22d12f44d',1,'raylib::RenderTexture']]], + ['_7eshader_11',['~Shader',['../classraylib_1_1_shader.html#a5fdd95f82f152bae43e274830cffcbf1',1,'raylib::Shader']]], + ['_7esound_12',['~Sound',['../classraylib_1_1_sound.html#a321a8cea955f859f8648e2df202f5497',1,'raylib::Sound']]], + ['_7etexture_13',['~Texture',['../classraylib_1_1_texture.html#afb52b2f43d5deb3e2e244205faa563ac',1,'raylib::Texture']]], + ['_7evrstereoconfig_14',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], + ['_7ewave_15',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], + ['_7ewindow_16',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] ]; diff --git a/docs/search/functions_2.html b/docs/search/functions_2.html index 2737c5ac..1f16d2ae 100644 --- a/docs/search/functions_2.html +++ b/docs/search/functions_2.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index 5834c0cd..0fa3c512 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -1,26 +1,32 @@ var searchData= [ - ['camera3d_514',['Camera3D',['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D']]], - ['cellular_515',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], - ['changedirectory_516',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], - ['checkcollision_517',['CheckCollision',['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision(const ::BoundingBox &box2) const'],['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()']]], - ['checkcollisioncircle_518',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], - ['checkcollisionlines_519',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], - ['checkcollisionsphere_520',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], - ['checked_521',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], - ['clearbackground_522',['ClearBackground',['../classraylib_1_1_color.html#ace467f20d71ff4af44e0211d6aeea9b5',1,'raylib::Color::ClearBackground()'],['../classraylib_1_1_image.html#aed48d37124df81191a9c10a417508703',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a69eb249831f1976ce2a73945e31c6f52',1,'raylib::Window::ClearBackground()']]], - ['clearstate_523',['ClearState',['../classraylib_1_1_window.html#a359e2101ac13e8ee8423b3ffb27c8a42',1,'raylib::Window']]], - ['close_524',['Close',['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()']]], - ['color_525',['Color',['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()']]], - ['colorbrightness_526',['ColorBrightness',['../classraylib_1_1_image.html#a2e6287edda71ed977b4b416e04b0f37f',1,'raylib::Image']]], - ['colorcontrast_527',['ColorContrast',['../classraylib_1_1_image.html#af00dca9570581bb75e0616e9a9f9b822',1,'raylib::Image']]], - ['colorgrayscale_528',['ColorGrayscale',['../classraylib_1_1_image.html#a2eae93c88197917b6706139f2c3c6dc2',1,'raylib::Image']]], - ['colorinvert_529',['ColorInvert',['../classraylib_1_1_image.html#af7f900b20bb8823c2c435673438dfbbd',1,'raylib::Image']]], - ['colorreplace_530',['ColorReplace',['../classraylib_1_1_image.html#af9d668a5feaed2554a77694f61cbdae0',1,'raylib::Image']]], - ['colortint_531',['ColorTint',['../classraylib_1_1_image.html#a0299b8ed8b569977d214ce265d3a5c93',1,'raylib::Image']]], - ['copy_532',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], - ['crop_533',['Crop',['../classraylib_1_1_image.html#a50a7394e9662bf4f587cd73c5d594cee',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#a1ac865ee24df3dab2afa028c49843590',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#a2fdfad958c27f8cc590b194b06338e2d',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a24323ef52da6113c3af4861ce0250ea0',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a25601c51a2f81c569b074620c6758e94',1,'raylib::Wave::Crop()']]], - ['cube_534',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], - ['cubicmap_535',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], - ['cylinder_536',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] + ['camera2d_0',['Camera2D',['../classraylib_1_1_camera2_d.html#a2038c9432fdae18a744f9dd395da30bf',1,'raylib::Camera2D::Camera2D()'],['../classraylib_1_1_camera2_d.html#ade6e4f7d7a0bb165e65c0a08ae09e742',1,'raylib::Camera2D::Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)'],['../classraylib_1_1_camera2_d.html#a05e4b432a014c69d68d37c643073c709',1,'raylib::Camera2D::Camera2D(const ::Camera2D &camera)']]], + ['camera3d_1',['Camera3D',['../classraylib_1_1_camera3_d.html#a8ec807581f3610db4830f6ff5c96d1dd',1,'raylib::Camera3D::Camera3D(const ::Camera3D &camera)'],['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D::Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)'],['../classraylib_1_1_camera3_d.html#a79f19d069575d1c0f825ecb188e961fc',1,'raylib::Camera3D::Camera3D()']]], + ['cellular_2',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], + ['changedirectory_3',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], + ['checkcollision_4',['CheckCollision',['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision(const ::BoundingBox &box2) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision()'],['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision()'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)']]], + ['checkcollisioncircle_5',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], + ['checkcollisionlines_6',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], + ['checkcollisionsphere_7',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], + ['checked_8',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], + ['clearbackground_9',['ClearBackground',['../classraylib_1_1_image.html#a7ddf59bd35617f3d99401b0fc8246c3d',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a734279b5494096d11fe0aad66d6fb3e6',1,'raylib::Window::ClearBackground()'],['../classraylib_1_1_color.html#ae84cc25e0c83510324e0d30104255cdf',1,'raylib::Color::ClearBackground()']]], + ['clearstate_10',['ClearState',['../classraylib_1_1_window.html#a2cd6268d95ce7e3eb8edf3205305e6f3',1,'raylib::Window']]], + ['close_11',['Close',['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()'],['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_physics.html#a00177830e684f2a584b8a5df3ada3b51',1,'raylib::Physics::Close()']]], + ['color_12',['Color',['../classraylib_1_1_color.html#ab6c57e01798eb39092b260e7c6c008ac',1,'raylib::Color::Color()'],['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ab0221dcd700b9a6add471cbceb718ac6',1,'raylib::Color::Color(const ::Color &color)'],['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)']]], + ['colorbrightness_13',['ColorBrightness',['../classraylib_1_1_image.html#a6d873ebdfb0e09bdb5bb3d46a0b878fd',1,'raylib::Image']]], + ['colorcontrast_14',['ColorContrast',['../classraylib_1_1_image.html#a07972575734563011c88b2c5a09a22f0',1,'raylib::Image']]], + ['colorfromnormalized_15',['ColorFromNormalized',['../classraylib_1_1_vector4.html#a6bdbffc997711e3b3876dace2471b1bb',1,'raylib::Vector4']]], + ['colorgrayscale_16',['ColorGrayscale',['../classraylib_1_1_image.html#a601db6a18ae9716277214ee07e40f44e',1,'raylib::Image']]], + ['colorinvert_17',['ColorInvert',['../classraylib_1_1_image.html#ab610da4948f86f690d75bdbbcbc67ab0',1,'raylib::Image']]], + ['colorreplace_18',['ColorReplace',['../classraylib_1_1_image.html#ace6497a285c946bd131f1e45c23ec966',1,'raylib::Image']]], + ['colortint_19',['ColorTint',['../classraylib_1_1_image.html#a18715953b31aae0da740326464964845',1,'raylib::Image']]], + ['copy_20',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], + ['createbodycircle_21',['CreateBodyCircle',['../classraylib_1_1_physics.html#a436c99fb21784b33ed039a713b927023',1,'raylib::Physics']]], + ['createbodypolygon_22',['CreateBodyPolygon',['../classraylib_1_1_physics.html#a9cbab4c8c8682f30924e4f7e85d37482',1,'raylib::Physics']]], + ['createbodyrectangle_23',['CreateBodyRectangle',['../classraylib_1_1_physics.html#aca1bd6e53ddbf8c64a3225ce32f1c3cc',1,'raylib::Physics']]], + ['crop_24',['Crop',['../classraylib_1_1_image.html#af9b7c45dca84edf6eccd6c5064948c2e',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a80e74811dd3ac0c5fe8fba160ccd6cda',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a560f8d9b0669a7660406a849d4e26e66',1,'raylib::Wave::Crop()'],['../classraylib_1_1_image.html#ad28fbb3b6078e0a276e1e95b5b875437',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#abccdbbebbf450929a36146ae89cbf5ec',1,'raylib::Image::Crop(int newWidth, int newHeight)']]], + ['crossproduct_25',['CrossProduct',['../classraylib_1_1_vector3.html#a9f30fdbf652bcd0f5883937bdac79973',1,'raylib::Vector3']]], + ['cube_26',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], + ['cubicmap_27',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], + ['cylinder_28',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_3.html b/docs/search/functions_3.html index 6da86e7d..0b37ee2f 100644 --- a/docs/search/functions_3.html +++ b/docs/search/functions_3.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_3.js b/docs/search/functions_3.js index c4563063..8af544b4 100644 --- a/docs/search/functions_3.js +++ b/docs/search/functions_3.js @@ -1,19 +1,49 @@ var searchData= [ - ['directoryexists_537',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], - ['distance_538',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2']]], - ['dither_539',['Dither',['../classraylib_1_1_image.html#a055b6908b9e8cfcd109abc537f3d2056',1,'raylib::Image']]], - ['dotproduct_540',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2']]], - ['draw_541',['Draw',['../classraylib_1_1_bounding_box.html#aae0a66351992f36372ef68a6d4508c62',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_model.html#a99e9a5432ab7a4cbd502d6cbcb7cb0e8',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a1dca1f974cbecc203ac9da8b5fa11127',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_ray.html#a84586f1f5ce6627b1d0224fad287787b',1,'raylib::Ray::Draw()'],['../classraylib_1_1_rectangle.html#a3b886508162b32e034314111532d8f20',1,'raylib::Rectangle::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw(const ::Vector2 &position)'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_texture.html#a4110ec2a26c4c31da63fe89d2ed0eb79',1,'raylib::Texture::Draw()']]], - ['drawbillboard_542',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a5cbf6986fba9deb41fecf4076ac7c61f',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#a566e1b8a56edad8de93236d07f024f5e',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], - ['drawcircle_543',['DrawCircle',['../classraylib_1_1_vector2.html#ad13e3d98cc06a835db9dc605b090b15c',1,'raylib::Vector2']]], - ['drawfps_544',['DrawFPS',['../classraylib_1_1_window.html#a3e183210f1afec78af9aebd4a0749d56',1,'raylib::Window']]], - ['drawline_545',['DrawLine',['../classraylib_1_1_color.html#ab3a3237688396c1768034d553d2f1cde',1,'raylib::Color']]], - ['drawlinebezierquad_546',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a75ad1e5906da8eb4ab23c12748b431cb',1,'raylib::Vector2']]], - ['drawmesh_547',['DrawMesh',['../classraylib_1_1_material.html#a5a2b58f57b8229fdda68caea9aec1108',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a4c5fb1460ec6e7e95b2750da86cc0c1c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], - ['drawpixel_548',['DrawPixel',['../classraylib_1_1_color.html#a28cd68c3548a019b36538d0a92fe2099',1,'raylib::Color::DrawPixel()'],['../classraylib_1_1_image.html#a6b0b903a298f55a692bb80da79030696',1,'raylib::Image::DrawPixel()']]], - ['drawtext_549',['DrawText',['../classraylib_1_1_font.html#ac3edd0d0ff79509e4e7144d2a111d704',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a1a3c668905d6769fdf3d8f341520926c',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()']]], - ['drawtextex_550',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], - ['drawtextpro_551',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], - ['drawwires_552',['DrawWires',['../classraylib_1_1_model.html#a0a2beeb4e4776202dd441ccb5d1550fe',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a7b61d8a179220f2a507bcbab2c660949',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] + ['darkblue_0',['DarkBlue',['../classraylib_1_1_color.html#aaa36d9ed5825ea9ae6795e18038f602c',1,'raylib::Color']]], + ['darkbrown_1',['DarkBrown',['../classraylib_1_1_color.html#a039f0f5467102ffb543109e534c032bd',1,'raylib::Color']]], + ['darkgray_2',['DarkGray',['../classraylib_1_1_color.html#a862ca7295e95d4783d17538203f8ea3b',1,'raylib::Color']]], + ['darkgreen_3',['DarkGreen',['../classraylib_1_1_color.html#a35a96f8b49a63537fc3b8ab98bb3bc53',1,'raylib::Color']]], + ['darkpurple_4',['DarkPurple',['../classraylib_1_1_color.html#ab8c0bf2dac476d593a1b13a22f436486',1,'raylib::Color']]], + ['destroybody_5',['DestroyBody',['../classraylib_1_1_physics.html#a7bae4d018888a1b52e6f94cf7101b964',1,'raylib::Physics']]], + ['directoryexists_6',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], + ['distance_7',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2::Distance()'],['../classraylib_1_1_vector3.html#ad4c5a6a278eeae5371e45a14bad4a7d1',1,'raylib::Vector3::Distance()']]], + ['dither_8',['Dither',['../classraylib_1_1_image.html#a09eb4388e24a7a3c9a3b7d6c280c5652',1,'raylib::Image']]], + ['divide_9',['Divide',['../classraylib_1_1_vector2.html#a6cd160434801eeadfbbc5deec8b20e21',1,'raylib::Vector2::Divide(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#afed61e067c7fc43651cc1528e62ecd83',1,'raylib::Vector2::Divide(const float div) const'],['../classraylib_1_1_vector3.html#a93595f9db4555c26eadb2c0370ca1435',1,'raylib::Vector3::Divide(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a9f644e6c306ae5cf3a68c3f4900ef9e6',1,'raylib::Vector3::Divide(const float div) const']]], + ['dotproduct_10',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2::DotProduct()'],['../classraylib_1_1_vector3.html#ad5ed567a46fa3b08f77e9a05338d2214',1,'raylib::Vector3::DotProduct()']]], + ['draw_11',['Draw',['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw()'],['../classraylib_1_1_texture.html#af6b9ac35ebf354033cc06ee14a7e6a3f',1,'raylib::Texture::Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a79a54d908bbf6726c5d3a921dba0d616',1,'raylib::Texture::Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#aaf4ed8f0418a53d00ded3795ee251128',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ad48b00a0fc6c99d327d0c877e20201fc',1,'raylib::Texture::Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a3665f89c111fa1631e535bc4e61f54b0',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ae5f6f8fb2f11557307663ee99438a1c0',1,'raylib::Texture::Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a2e04bf6c219eb6ebe1341a01f621d067',1,'raylib::Texture::Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a01f12372505ce5c5d1a0bbe1c65d694c',1,'raylib::Texture::Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_bounding_box.html#a85e385b01a3736d58b90370181f4a25d',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw()'],['../classraylib_1_1_rectangle.html#ab7e1811729d9e6e1249cdb609b1ca708',1,'raylib::Rectangle::Draw(::Vector2 origin, float rotation, ::Color color)'],['../classraylib_1_1_rectangle.html#abce328ccb910b789837bb8ceea853eab',1,'raylib::Rectangle::Draw(::Color color)'],['../classraylib_1_1_ray.html#a4048e3ce9306133b8823d3f4066e8b33',1,'raylib::Ray::Draw()'],['../classraylib_1_1_model.html#a6ec5ae6feae25b78afd39ac0ae87f3bf',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#ad76a70cac2237c3e435606f94378e482',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_image.html#a024eeed4c94a73595d1f842f7e2664ca',1,'raylib::Image::Draw()'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw()']]], + ['drawbillboard_12',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a19e03b4f8eb63e21c988dcb15aba0049',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#aa4b970e07fe839d0a5f549411232243c',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], + ['drawcircle_13',['DrawCircle',['../classraylib_1_1_vector2.html#a16b512d0fead59f597fd878e620e83cc',1,'raylib::Vector2::DrawCircle()'],['../classraylib_1_1_image.html#a2fc76ab2cf7bae0217d01bb06bb1f6a0',1,'raylib::Image::DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#afb42558709adf2c7d2f87261381e944c',1,'raylib::Image::DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})']]], + ['drawcircle3d_14',['DrawCircle3D',['../classraylib_1_1_vector3.html#aebaf47cab425aedbcb51f3e659dd6651',1,'raylib::Vector3']]], + ['drawcube_15',['DrawCube',['../classraylib_1_1_vector3.html#a8e2e73ad510a38d0e54098817cd44e06',1,'raylib::Vector3::DrawCube(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#ac94d3f679b33dafe86f65f6eda901d6f',1,'raylib::Vector3::DrawCube(const ::Vector3 &size, ::Color color)']]], + ['drawcubetexture_16',['DrawCubeTexture',['../classraylib_1_1_vector3.html#a518280d8efae9b3f32b11ce481c90f6c',1,'raylib::Vector3']]], + ['drawcubewires_17',['DrawCubeWires',['../classraylib_1_1_vector3.html#a57d3400cb17fe30e3c8df1f92a7a666a',1,'raylib::Vector3::DrawCubeWires(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#a61c5da9cd105142f99566726d3874fd5',1,'raylib::Vector3::DrawCubeWires(const ::Vector3 &size, ::Color color)']]], + ['drawcylinder_18',['DrawCylinder',['../classraylib_1_1_vector3.html#a7fd3f80620c2b0a1a00bf10f21cd1417',1,'raylib::Vector3']]], + ['drawcylinderwires_19',['DrawCylinderWires',['../classraylib_1_1_vector3.html#ae4c1ed7bd96f879f272fa3a35baf84b7',1,'raylib::Vector3']]], + ['drawfps_20',['DrawFPS',['../classraylib_1_1_window.html#ab961dfef8fbec984bf9e94e0a01488d4',1,'raylib::Window']]], + ['drawgradient_21',['DrawGradient',['../classraylib_1_1_rectangle.html#a91f16cb0155770dce5a243696c7133de',1,'raylib::Rectangle']]], + ['drawgradienth_22',['DrawGradientH',['../classraylib_1_1_rectangle.html#a7214778babdc04f084485b4e6bb49960',1,'raylib::Rectangle']]], + ['drawgradientv_23',['DrawGradientV',['../classraylib_1_1_rectangle.html#a608a8127089b86675754550f3de8d8ff',1,'raylib::Rectangle']]], + ['drawline_24',['DrawLine',['../classraylib_1_1_color.html#a64c1ccc93aaf5ab30b831d61f9e596bb',1,'raylib::Color::DrawLine()'],['../classraylib_1_1_vector2.html#a2a5f918b46cfe5cdc53549dcad1737b6',1,'raylib::Vector2::DrawLine(::Vector2 endPos, float thick, ::Color color)'],['../classraylib_1_1_vector2.html#ae50cce093de0fa8d1c59867f20fd93fd',1,'raylib::Vector2::DrawLine(::Vector2 endPos, ::Color color)'],['../classraylib_1_1_image.html#ac774b77412eb0e1a8746ea5a7f135ff7',1,'raylib::Image::DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#abb9270b51e9b524be868ed1e41c47206',1,'raylib::Image::DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a3c3329d71a380e4975824c86ab47fc3d',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos)'],['../classraylib_1_1_color.html#a31cb01e3e863db20ff5db8167a7d0645',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)']]], + ['drawline3d_25',['DrawLine3D',['../classraylib_1_1_vector3.html#ac0ecd225214ee0916c4bb8b94663b9e8',1,'raylib::Vector3']]], + ['drawlinebezier_26',['DrawLineBezier',['../classraylib_1_1_color.html#a7b18fbaa004f3dc3c07f88e6c136c7ec',1,'raylib::Color::DrawLineBezier()'],['../classraylib_1_1_vector2.html#ae358d57eb09dea4b55c135e28d7c444f',1,'raylib::Vector2::DrawLineBezier(::Vector2 endPos, float thick, ::Color color)']]], + ['drawlinebezierquad_27',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a010ec44d07aabfad8814995d7883eda6',1,'raylib::Vector2']]], + ['drawlines_28',['DrawLines',['../classraylib_1_1_rectangle.html#aa2a27862a187321a4ebf42803570f030',1,'raylib::Rectangle::DrawLines(::Color color)'],['../classraylib_1_1_rectangle.html#acc73b3b7db8de38e6ff740f084a02ded',1,'raylib::Rectangle::DrawLines(::Color color, float lineThick)']]], + ['drawlinestrip_29',['DrawLineStrip',['../classraylib_1_1_color.html#a055c8c6241107d615f6e1e700b2b1aff',1,'raylib::Color']]], + ['drawmesh_30',['DrawMesh',['../classraylib_1_1_material.html#abc4ed480bca168f2aef7326fbb13507c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a42e260d925663777cf3cc3f201ddc8dd',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], + ['drawpixel_31',['DrawPixel',['../classraylib_1_1_image.html#a5e7a421dd9677313caedd35693c814da',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_vector2.html#a3089910c36033d2a876f9650849323a7',1,'raylib::Vector2::DrawPixel()'],['../classraylib_1_1_image.html#afae542a1dfa09cfb01aba062ff1aa8fe',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_color.html#aab05b1d70b027f90a8c5a4c55f2d0a28',1,'raylib::Color::DrawPixel(::Vector2 pos)'],['../classraylib_1_1_color.html#af0f2bae5883697ddc2b07762f838a855',1,'raylib::Color::DrawPixel(int x, int y)']]], + ['drawplane_32',['DrawPlane',['../classraylib_1_1_vector3.html#a2f530ead1069bf375401680ee4378563',1,'raylib::Vector3']]], + ['drawpoint3d_33',['DrawPoint3D',['../classraylib_1_1_vector3.html#abfeb64fa51e67e88bb5889eb8680a090',1,'raylib::Vector3']]], + ['drawpoly_34',['DrawPoly',['../classraylib_1_1_texture.html#a2e3b0f8d689de56d005c512d80f867a4',1,'raylib::Texture::DrawPoly()'],['../classraylib_1_1_vector2.html#ab670cd5ea7625cf3dd3672579de94d2a',1,'raylib::Vector2::DrawPoly(int sides, float radius, float rotation, ::Color color)']]], + ['drawrectangle_35',['DrawRectangle',['../classraylib_1_1_vector2.html#af512e0dad4631def86cf85363f96db3b',1,'raylib::Vector2::DrawRectangle()'],['../classraylib_1_1_image.html#a49e42e4c74bbefb3063bb35a7997a350',1,'raylib::Image::DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0ab135ece09e3d39d784ad09806ff9ff',1,'raylib::Image::DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a59da76c14ee59edf6539d221ae119246',1,'raylib::Color::DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)'],['../classraylib_1_1_color.html#a65ee3de078230377435d861dc1f10fc2',1,'raylib::Color::DrawRectangle(::Rectangle rec)'],['../classraylib_1_1_color.html#af75f37960f7ace789d04bb4bdf069e30',1,'raylib::Color::DrawRectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_image.html#a3dd535220c663341712c2707aac65dd4',1,'raylib::Image::DrawRectangle()'],['../classraylib_1_1_color.html#a5596fcd6409294829c0638c54638da10',1,'raylib::Color::DrawRectangle(int posX, int posY, int width, int height)']]], + ['drawrectanglelines_36',['DrawRectangleLines',['../classraylib_1_1_color.html#aabca38cee8e5788168eb4aa956a16c19',1,'raylib::Color::DrawRectangleLines(int posX, int posY, int width, int height)'],['../classraylib_1_1_color.html#aeae8501be8cb2b5ecd7f30c661fc89ce',1,'raylib::Color::DrawRectangleLines(::Rectangle rec, float lineThick)'],['../classraylib_1_1_image.html#aa3157e7fa12140eaf9c2d304b55985db',1,'raylib::Image::DrawRectangleLines()']]], + ['drawrounded_37',['DrawRounded',['../classraylib_1_1_rectangle.html#a9619f4bc272398fab7f5c86b2892b048',1,'raylib::Rectangle']]], + ['drawroundedlines_38',['DrawRoundedLines',['../classraylib_1_1_rectangle.html#aab8c6c6bd1dbc9c87565dbb3f2711ef1',1,'raylib::Rectangle']]], + ['drawsphere_39',['DrawSphere',['../classraylib_1_1_vector3.html#a0119b7cf3aa61592d70359138a19fe86',1,'raylib::Vector3::DrawSphere(float radius, ::Color color)'],['../classraylib_1_1_vector3.html#a33a5693fc2002b329c7a9d4d27a47366',1,'raylib::Vector3::DrawSphere(float radius, int rings, int slices, ::Color color)']]], + ['drawspherewires_40',['DrawSphereWires',['../classraylib_1_1_vector3.html#a30bb3389ffcd2cc3fa93df19d6350d7c',1,'raylib::Vector3']]], + ['drawtext_41',['DrawText',['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()'],['../classraylib_1_1_color.html#a060f07ce766143cfb243eefe1333052c',1,'raylib::Color::DrawText()'],['../classraylib_1_1_image.html#aa97958266300e98b83fcc936f1f6c6eb',1,'raylib::Image::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a11eeb4d77ac9f5ec0327160745d27670',1,'raylib::Image::DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a9a8b22ee61fd3f5f4fa2ac0f059e7d8a',1,'raylib::Image::DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_font.html#abf655ac8083416f713aae42a0b6a7ebc',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../classraylib_1_1_font.html#add919de80266984a0e6edd9ed7a369ef',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a405b1ea5719be1635ce1d8c285b808a4',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_color.html#ac67590e345ada0349145795e080275f1',1,'raylib::Color::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)'],['../classraylib_1_1_color.html#ab3e313480ab7b00435f12188d04027df',1,'raylib::Color::DrawText(const std::string &text, int posX, int posY, int fontSize)']]], + ['drawtextex_42',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], + ['drawtextpro_43',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], + ['drawtiled_44',['DrawTiled',['../classraylib_1_1_texture.html#a5cbd367a4a418284c834926bff6e2fb0',1,'raylib::Texture']]], + ['drawwires_45',['DrawWires',['../classraylib_1_1_model.html#afb936c1fac4ee684b616083f473f3977',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a84f36042c82f27eafd5467537aad99d6',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] ]; diff --git a/docs/search/functions_4.html b/docs/search/functions_4.html index 911304e6..0eaf2b4a 100644 --- a/docs/search/functions_4.html +++ b/docs/search/functions_4.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_4.js b/docs/search/functions_4.js index bfbc9db8..5fb1c3d0 100644 --- a/docs/search/functions_4.js +++ b/docs/search/functions_4.js @@ -1,9 +1,9 @@ var searchData= [ - ['enddrawing_553',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a330f5b215ee77c138d75a304fdd8e705',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#a43bfc69dfce6ec3aaf1170f521243d59',1,'raylib::Window::EndDrawing()']]], - ['endmode_554',['EndMode',['../classraylib_1_1_camera3_d.html#a724b766ec42ff58243a353e07fd464e8',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a2b742cd39ce046d2ac8e1cd0bb6ae4ff',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a525c31d5a7482bc89e41f03d1284b9f7',1,'raylib::Shader::EndMode()']]], - ['export_555',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], - ['exportascode_556',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], - ['exportimage_557',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], - ['exportimageascode_558',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] + ['enddrawing_0',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a8804e60e9db545d7701f44093b02e14f',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#abc2674cb9309548d27da7b114ff709c7',1,'raylib::Window::EndDrawing()']]], + ['endmode_1',['EndMode',['../classraylib_1_1_camera2_d.html#a1ed1e6b78525562b480e8f2d2a0e11a5',1,'raylib::Camera2D::EndMode()'],['../classraylib_1_1_camera3_d.html#a37fbcad2f93a9a578b75b49fc44523fe',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a745032e86cd391ddf110a1e40ba3415f',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a7fe1ea1fc973002033abbaf149499eb6',1,'raylib::Shader::EndMode()']]], + ['export_2',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], + ['exportascode_3',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], + ['exportimage_4',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], + ['exportimageascode_5',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] ]; diff --git a/docs/search/functions_5.html b/docs/search/functions_5.html index 61b920db..eaa27697 100644 --- a/docs/search/functions_5.html +++ b/docs/search/functions_5.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_5.js b/docs/search/functions_5.js index d71c6b2d..33436f5c 100644 --- a/docs/search/functions_5.js +++ b/docs/search/functions_5.js @@ -1,11 +1,16 @@ var searchData= [ - ['fade_559',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], - ['fileexists_560',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], - ['fliphorizontal_561',['FlipHorizontal',['../classraylib_1_1_image.html#a5d8f596d36077f4b8c24512a2df73e65',1,'raylib::Image']]], - ['flipvertical_562',['FlipVertical',['../classraylib_1_1_image.html#a0f052c63b3cebcf99c0cad86c8e88da4',1,'raylib::Image']]], - ['font_563',['Font',['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)']]], - ['format_564',['Format',['../classraylib_1_1_image.html#a01fcff59e33e044bd779202ea3473c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a4e6d2e64e6cdd46133893c9edd70b508',1,'raylib::Wave::Format()']]], - ['fromhsv_565',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], - ['fromimage_566',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]] + ['fade_0',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], + ['fileexists_1',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], + ['fliphorizontal_2',['FlipHorizontal',['../classraylib_1_1_image.html#a6f0c8963620c97353ebb660b87168445',1,'raylib::Image']]], + ['flipvertical_3',['FlipVertical',['../classraylib_1_1_image.html#a8ec02e007282448332c09a3db487d2d4',1,'raylib::Image']]], + ['font_4',['Font',['../classraylib_1_1_font.html#a583656ce94c5ade2bf4a47717f767764',1,'raylib::Font::Font()'],['../classraylib_1_1_font.html#afde2bd6bb51a7fe6fa02f4d9be73087f',1,'raylib::Font::Font(Font &&other)'],['../classraylib_1_1_font.html#a075661783e8267f508e285d6ce39e959',1,'raylib::Font::Font(const Font &)=delete'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a53f097120183d34ad5474989a450bf43',1,'raylib::Font::Font(const ::Font &font)'],['../classraylib_1_1_font.html#a748d8c50e914b82a1ad9ef1aea17cda3',1,'raylib::Font::Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)']]], + ['format_5',['Format',['../classraylib_1_1_image.html#a97c4715d7b9b9e9d34a31123e1141c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a704d264e7f5e60a782510d49b78ddd5d',1,'raylib::Wave::Format()']]], + ['fromaxisangle_6',['FromAxisAngle',['../classraylib_1_1_vector4.html#a7b19708f1d8f0e4056fc1050768bb831',1,'raylib::Vector4']]], + ['fromeuler_7',['FromEuler',['../classraylib_1_1_vector4.html#af0ef6849109ce23736572ac55854f693',1,'raylib::Vector4::FromEuler(const float yaw, const float pitch, const float roll)'],['../classraylib_1_1_vector4.html#a0fda15f29e8c5bd3d3170eddf332592e',1,'raylib::Vector4::FromEuler(const ::Vector3 &vector3)']]], + ['fromhsv_8',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], + ['fromimage_9',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]], + ['frommatrix_10',['FromMatrix',['../classraylib_1_1_vector4.html#aba134afd1e66d71cfa68ca020cb3ce2c',1,'raylib::Vector4']]], + ['fromvector3tovector3_11',['FromVector3ToVector3',['../classraylib_1_1_vector4.html#aab5725e573a60315acd1f733316af2ea',1,'raylib::Vector4']]], + ['frustum_12',['Frustum',['../classraylib_1_1_matrix.html#ad2fc693fb8c61fe3615217332be79506',1,'raylib::Matrix']]] ]; diff --git a/docs/search/functions_6.html b/docs/search/functions_6.html index dc70a4a0..25d1cc81 100644 --- a/docs/search/functions_6.html +++ b/docs/search/functions_6.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js index 04171ed0..c6d52a58 100644 --- a/docs/search/functions_6.js +++ b/docs/search/functions_6.js @@ -1,141 +1,151 @@ var searchData= [ - ['genbinormals_567',['GenBinormals',['../classraylib_1_1_mesh.html#a03d6628373c096452cbfafafca166d21',1,'raylib::Mesh']]], - ['genmipmaps_568',['GenMipmaps',['../classraylib_1_1_texture.html#a2f895f3a629cf1a74fe88d05b1dd3003',1,'raylib::Texture']]], - ['gentangents_569',['GenTangents',['../classraylib_1_1_mesh.html#a2c4f31c3ddb8ef351c8fc3a8301497c2',1,'raylib::Mesh']]], - ['geta_570',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], - ['getalphaborder_571',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], - ['getanimnormals_572',['GetAnimNormals',['../classraylib_1_1_mesh.html#a853c2afc08600c3e9e256d1eb805dded',1,'raylib::Mesh']]], - ['getanimvertices_573',['GetAnimVertices',['../classraylib_1_1_mesh.html#a38f5de9866c13b05b49b936a03b17201',1,'raylib::Mesh']]], - ['getaxiscount_574',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], - ['getaxismovement_575',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], - ['getb_576',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], - ['getbasesize_577',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], - ['getbindpoe_578',['GetBindPoe',['../classraylib_1_1_model.html#a73bac18d76533acd39ed4e5917c84d96',1,'raylib::Model']]], - ['getbonecount_579',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], - ['getboneids_580',['GetBoneIds',['../classraylib_1_1_mesh.html#a6e29e78cfa20a16e46cb77de8c4031c7',1,'raylib::Mesh']]], - ['getbones_581',['GetBones',['../classraylib_1_1_model.html#ab944580c06987114068ae16d2b1ac34e',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#aec9078358dfd2a87e580db69d8f7b325',1,'raylib::ModelAnimation::GetBones()']]], - ['getboneweights_582',['GetBoneWeights',['../classraylib_1_1_mesh.html#a0127c2cf9efa4e369fd3f71c326049b1',1,'raylib::Mesh']]], - ['getboundingbox_583',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], - ['getbuffer_584',['GetBuffer',['../classraylib_1_1_audio_stream.html#adea73b3b07652eb26bcaeb6e63f7ebb2',1,'raylib::AudioStream']]], - ['getbuttonpressed_585',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], - ['getchannels_586',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], - ['getclipboardtext_587',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], - ['getcollision_588',['GetCollision',['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()']]], - ['getcolor_589',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], - ['getcolors_590',['GetColors',['../classraylib_1_1_mesh.html#a142e31381d248fbcdeeef46fd1f208ed',1,'raylib::Mesh']]], - ['getctxdata_591',['GetCtxData',['../classraylib_1_1_music.html#a349420428960e47afd4c69499b62eeac',1,'raylib::Music']]], - ['getctxtype_592',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], - ['getdata_593',['GetData',['../classraylib_1_1_image.html#a3144e343f963e5b206e1050be54b4187',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a8e7edd178a2ec7dc11f2474b29771d90',1,'raylib::Wave::GetData()']]], - ['getdepth_594',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], - ['getdirection_595',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], - ['getdirectoryfiles_596',['GetDirectoryFiles',['../namespaceraylib.html#a0933e9ed540a0fd6bbde88fe7f61b223',1,'raylib']]], - ['getdirectorypath_597',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], - ['getdistance_598',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], - ['getdroppedfiles_599',['GetDroppedFiles',['../namespaceraylib.html#a0d0c5876ab96ec845f92474f51c2677c',1,'raylib']]], - ['getfileextension_600',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], - ['getfilemodtime_601',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], - ['getfilename_602',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], - ['getfilenamewithoutext_603',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], - ['getfont_604',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], - ['getfontsize_605',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], - ['getformat_606',['GetFormat',['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()'],['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()']]], - ['getfovy_607',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], - ['getfps_608',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], - ['getframecount_609',['GetFrameCount',['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()']]], - ['getframeposes_610',['GetFramePoses',['../classraylib_1_1_model_animation.html#a63616ed03e2ca3e1dbe4337de5189ec7',1,'raylib::ModelAnimation']]], - ['getframetime_611',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], - ['getg_612',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], - ['getgamepadname_613',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], - ['getglyphcount_614',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], - ['getglyphindex_615',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], - ['getglyphpadding_616',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], - ['getglyphs_617',['GetGlyphs',['../classraylib_1_1_font.html#a741aa157ac264e77613794818e2fdbe1',1,'raylib::Font']]], - ['gethandle_618',['GetHandle',['../classraylib_1_1_window.html#a0cc3f939a42ba3d625d43096b2e1e60b',1,'raylib::Window']]], - ['getheight_619',['GetHeight',['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()'],['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()']]], - ['gethit_620',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], - ['getid_621',['GetId',['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()']]], - ['getindices_622',['GetIndices',['../classraylib_1_1_mesh.html#a1a48eb931c6c910f0fb524d2c49ed183',1,'raylib::Mesh']]], - ['getlocation_623',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], - ['getlocationattrib_624',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], - ['getlocs_625',['GetLocs',['../classraylib_1_1_shader.html#a552106b906d353d97538e43ed2265bd0',1,'raylib::Shader']]], - ['getlooping_626',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], - ['getm0_627',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], - ['getm1_628',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], - ['getm10_629',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], - ['getm11_630',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], - ['getm12_631',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], - ['getm13_632',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], - ['getm14_633',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], - ['getm15_634',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], - ['getm2_635',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], - ['getm3_636',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], - ['getm4_637',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], - ['getm5_638',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], - ['getm6_639',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], - ['getm7_640',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], - ['getm8_641',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], - ['getm9_642',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], - ['getmaps_643',['GetMaps',['../classraylib_1_1_material.html#a561e81c743da576c866cfcec9bad8e53',1,'raylib::Material']]], - ['getmaterialcount_644',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], - ['getmaterials_645',['GetMaterials',['../classraylib_1_1_model.html#a649280afda23717aacce04ee652f601f',1,'raylib::Model']]], - ['getmatrix_646',['GetMatrix',['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()'],['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()']]], - ['getmax_647',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], - ['getmeshcount_648',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], - ['getmeshes_649',['GetMeshes',['../classraylib_1_1_model.html#a66b34f9913ac900b94a338be266f63ce',1,'raylib::Model']]], - ['getmeshmaterial_650',['GetMeshMaterial',['../classraylib_1_1_model.html#a65eb3d0fb0be3d9ba7539df410885045',1,'raylib::Model']]], - ['getmin_651',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], - ['getmipmaps_652',['GetMipmaps',['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()'],['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()']]], - ['getmonitorname_653',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], - ['getmouseray_654',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], - ['getname_655',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], - ['getnormal_656',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], - ['getnormals_657',['GetNormals',['../classraylib_1_1_mesh.html#a0fcc7bca9b9419a0d8e3d59666082edc',1,'raylib::Mesh']]], - ['getnumber_658',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], - ['getoffset_659',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], - ['getpixeldatasize_660',['GetPixelDataSize',['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)'],['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const']]], - ['getposition_661',['GetPosition',['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()']]], - ['getprevdirectorypath_662',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], - ['getprojection_663',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], - ['getr_664',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], - ['getrecs_665',['GetRecs',['../classraylib_1_1_font.html#a396cae69c0d0c46bf76fc3879d5219e1',1,'raylib::Font']]], - ['getrotation_666',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], - ['getsamplerate_667',['GetSampleRate',['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate()'],['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()']]], - ['getsamplesize_668',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], - ['getscaledpi_669',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], - ['getscreentoworld_670',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], - ['getshader_671',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], - ['getsize_672',['GetSize',['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()'],['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()']]], - ['getspacing_673',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], - ['getstream_674',['GetStream',['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()'],['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()']]], - ['gettangents_675',['GetTangents',['../classraylib_1_1_mesh.html#aa87bf017b9ea53e09230d128ffbb6a19',1,'raylib::Mesh']]], - ['gettarget_676',['GetTarget',['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()'],['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()']]], - ['gettexcoords_677',['GetTexCoords',['../classraylib_1_1_mesh.html#a3f81f280b53829deef1a37c4b5b5ca62',1,'raylib::Mesh']]], - ['gettexcoords2_678',['GetTexCoords2',['../classraylib_1_1_mesh.html#a30066599a6ce84274283fe59ddade320',1,'raylib::Mesh']]], - ['gettext_679',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], - ['gettexture_680',['GetTexture',['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()'],['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()']]], - ['gettime_681',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], - ['gettimelength_682',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], - ['gettimeplayed_683',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], - ['gettouchposition_684',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], - ['gettouchx_685',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], - ['gettouchy_686',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], - ['gettransform_687',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], - ['gettrianglecount_688',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], - ['getup_689',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], - ['getvaoid_690',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], - ['getvboid_691',['GetVboId',['../classraylib_1_1_mesh.html#ae535ee83038e5e79a9347c1196aff6b9',1,'raylib::Mesh']]], - ['getvertexcount_692',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], - ['getvertices_693',['GetVertices',['../classraylib_1_1_mesh.html#a3e0d13eece1fd47334117d316c777f4f',1,'raylib::Mesh']]], - ['getw_694',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], - ['getwidth_695',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], - ['getworkingdirectory_696',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], - ['getworldtoscreen_697',['GetWorldToScreen',['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()'],['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()']]], - ['getx_698',['GetX',['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], - ['gety_699',['GetY',['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY()']]], - ['getz_700',['GetZ',['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()'],['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()']]], - ['getzoom_701',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], - ['gradienth_702',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], - ['gradientradial_703',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], - ['gradientv_704',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]] + ['gamepad_0',['Gamepad',['../classraylib_1_1_gamepad.html#a21fe706b843ce2196f52c1c08ea0d92a',1,'raylib::Gamepad']]], + ['genbinormals_1',['GenBinormals',['../classraylib_1_1_mesh.html#abead0f83947250a690ed3df9cc7e7ee6',1,'raylib::Mesh']]], + ['genmipmaps_2',['GenMipmaps',['../classraylib_1_1_texture.html#a933b56221e7ca9056c71c948b0fb04ae',1,'raylib::Texture']]], + ['gentangents_3',['GenTangents',['../classraylib_1_1_mesh.html#ad1124e959bb502bf73bbcbed1dad9ad9',1,'raylib::Mesh']]], + ['geta_4',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], + ['getalphaborder_5',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], + ['getanimnormals_6',['GetAnimNormals',['../classraylib_1_1_mesh.html#a50ce721e9b1776b7bca8e08bd98604dc',1,'raylib::Mesh']]], + ['getanimvertices_7',['GetAnimVertices',['../classraylib_1_1_mesh.html#aa839d41a65c2d76fa09be53705817979',1,'raylib::Mesh']]], + ['getaxiscount_8',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], + ['getaxismovement_9',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], + ['getb_10',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], + ['getbasesize_11',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], + ['getbindpoe_12',['GetBindPoe',['../classraylib_1_1_model.html#a2aa6c3849f23fe94e69af1565dd96b1f',1,'raylib::Model']]], + ['getbodiescount_13',['GetBodiesCount',['../classraylib_1_1_physics.html#aff7aed721273fb7e990974dbc9854974',1,'raylib::Physics']]], + ['getbody_14',['GetBody',['../classraylib_1_1_physics.html#ac0d23dc143aec4b2aac7570ecaa34e55',1,'raylib::Physics']]], + ['getbonecount_15',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], + ['getboneids_16',['GetBoneIds',['../classraylib_1_1_mesh.html#a61ef493999c906f55dd04c542aff5894',1,'raylib::Mesh']]], + ['getbones_17',['GetBones',['../classraylib_1_1_model.html#a90c2b91bce426a38c66dbda8b555db18',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#a9b577b0132525d55cbfc56870d907db8',1,'raylib::ModelAnimation::GetBones()']]], + ['getboneweights_18',['GetBoneWeights',['../classraylib_1_1_mesh.html#a77ba8f4f2e6f8aafb6af33f8cee96398',1,'raylib::Mesh']]], + ['getboundingbox_19',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], + ['getbuffer_20',['GetBuffer',['../classraylib_1_1_audio_stream.html#adbd0270efa40ecaced9116691ed95cdc',1,'raylib::AudioStream']]], + ['getbuttonpressed_21',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], + ['getchannels_22',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], + ['getclipboardtext_23',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], + ['getcollision_24',['GetCollision',['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision()'],['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const']]], + ['getcolor_25',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], + ['getcolors_26',['GetColors',['../classraylib_1_1_mesh.html#aca15b603e89c773a69126c2cabbc55a4',1,'raylib::Mesh']]], + ['getctxdata_27',['GetCtxData',['../classraylib_1_1_music.html#afa92e527b59433013946179183811a01',1,'raylib::Music']]], + ['getctxtype_28',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], + ['getdata_29',['GetData',['../classraylib_1_1_image.html#a6771d46a70533daa89e7368501099141',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a12e779194c87960a97e0fe759cc2eb80',1,'raylib::Wave::GetData()']]], + ['getdepth_30',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], + ['getdirection_31',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], + ['getdirectoryfiles_32',['GetDirectoryFiles',['../namespaceraylib.html#a5fbfb157d027ca5175b19470fb7738ea',1,'raylib']]], + ['getdirectorypath_33',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], + ['getdistance_34',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], + ['getdroppedfiles_35',['GetDroppedFiles',['../namespaceraylib.html#a06a812d32296cfd0b9f3229205f16fc8',1,'raylib']]], + ['getfileextension_36',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], + ['getfilemodtime_37',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], + ['getfilename_38',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], + ['getfilenamewithoutext_39',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], + ['getfont_40',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], + ['getfontsize_41',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], + ['getformat_42',['GetFormat',['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()'],['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()']]], + ['getfovy_43',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], + ['getfps_44',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], + ['getframecount_45',['GetFrameCount',['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount() const']]], + ['getframeposes_46',['GetFramePoses',['../classraylib_1_1_model_animation.html#ae23086ee73abc10aab2d75c3684e2402',1,'raylib::ModelAnimation']]], + ['getframetime_47',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], + ['getg_48',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], + ['getgamepadname_49',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], + ['getglyphcount_50',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], + ['getglyphindex_51',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], + ['getglyphpadding_52',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], + ['getglyphs_53',['GetGlyphs',['../classraylib_1_1_font.html#ac972978ae2c9eeae6e8eb84c7862fdbf',1,'raylib::Font']]], + ['gethandle_54',['GetHandle',['../classraylib_1_1_window.html#aff32da7f61b1e8ec87e54409dbbe66c7',1,'raylib::Window']]], + ['getheight_55',['GetHeight',['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()'],['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()']]], + ['gethit_56',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], + ['getid_57',['GetId',['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()'],['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()']]], + ['getindices_58',['GetIndices',['../classraylib_1_1_mesh.html#aed7d37f4951f455623dbe5fc08a9ed1c',1,'raylib::Mesh']]], + ['getlocation_59',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], + ['getlocationattrib_60',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], + ['getlocs_61',['GetLocs',['../classraylib_1_1_shader.html#ae1320733f66a5288a2e4e91da045adcb',1,'raylib::Shader']]], + ['getlooping_62',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], + ['getm0_63',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], + ['getm1_64',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], + ['getm10_65',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], + ['getm11_66',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], + ['getm12_67',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], + ['getm13_68',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], + ['getm14_69',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], + ['getm15_70',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], + ['getm2_71',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], + ['getm3_72',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], + ['getm4_73',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], + ['getm5_74',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], + ['getm6_75',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], + ['getm7_76',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], + ['getm8_77',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], + ['getm9_78',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], + ['getmaps_79',['GetMaps',['../classraylib_1_1_material.html#a7de1717cae99b3db55de5ec822dc3502',1,'raylib::Material']]], + ['getmaterialcount_80',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], + ['getmaterials_81',['GetMaterials',['../classraylib_1_1_model.html#a3749f55279612012c8b5bf9d9e1b55e6',1,'raylib::Model']]], + ['getmatrix_82',['GetMatrix',['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()'],['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()']]], + ['getmax_83',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], + ['getmeshcount_84',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], + ['getmeshes_85',['GetMeshes',['../classraylib_1_1_model.html#a92191bd818f34c892ee7f7d15be04fd2',1,'raylib::Model']]], + ['getmeshmaterial_86',['GetMeshMaterial',['../classraylib_1_1_model.html#a1bf446b9e12f82d4c6a3676bfe5e69fa',1,'raylib::Model']]], + ['getmin_87',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], + ['getmipmaps_88',['GetMipmaps',['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()'],['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()']]], + ['getmonitorname_89',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], + ['getmouseray_90',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], + ['getname_91',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], + ['getnormal_92',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], + ['getnormals_93',['GetNormals',['../classraylib_1_1_mesh.html#a5fbfc965b4498a86ae972c093b3540ec',1,'raylib::Mesh']]], + ['getnumber_94',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], + ['getoffset_95',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], + ['getpixeldatasize_96',['GetPixelDataSize',['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const'],['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)']]], + ['getposition_97',['GetPosition',['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()'],['../classraylib_1_1_rectangle.html#aa7d683a593af23288bf41a96fc051486',1,'raylib::Rectangle::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_mouse.html#aecac52e620b5de23251a6ec7fc96babf',1,'raylib::Mouse::GetPosition()'],['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()']]], + ['getprevdirectorypath_98',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], + ['getprojection_99',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], + ['getr_100',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], + ['getrecs_101',['GetRecs',['../classraylib_1_1_font.html#a2cf2de21c55bb097a8b6b008ca1330e1',1,'raylib::Font']]], + ['getrotation_102',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], + ['getsamplerate_103',['GetSampleRate',['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()'],['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate() const']]], + ['getsamplesize_104',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], + ['getscaledpi_105',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], + ['getscreentoworld_106',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], + ['getshader_107',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], + ['getshapetype_108',['GetShapeType',['../classraylib_1_1_physics.html#ab317acc20d9cf36c110672a4c6ae7390',1,'raylib::Physics']]], + ['getshapevertex_109',['GetShapeVertex',['../classraylib_1_1_physics.html#a899af94cbe7a5c4709993c9ab9638192',1,'raylib::Physics']]], + ['getshapeverticescount_110',['GetShapeVerticesCount',['../classraylib_1_1_physics.html#a9ff5c0328462f0976dbef73b75978079',1,'raylib::Physics']]], + ['getsize_111',['GetSize',['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()'],['../classraylib_1_1_rectangle.html#ae5092e0caaf7bf89780da03968e48ea5',1,'raylib::Rectangle::GetSize()'],['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()']]], + ['getspacing_112',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], + ['getstream_113',['GetStream',['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()'],['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()']]], + ['gettangents_114',['GetTangents',['../classraylib_1_1_mesh.html#abd7f280c54169fdbac494bf2612a1f06',1,'raylib::Mesh']]], + ['gettarget_115',['GetTarget',['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()'],['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()']]], + ['gettexcoords_116',['GetTexCoords',['../classraylib_1_1_mesh.html#a08b480ec18769800b4dcefebbcd825af',1,'raylib::Mesh']]], + ['gettexcoords2_117',['GetTexCoords2',['../classraylib_1_1_mesh.html#a8806e52f188cd319ebefdc6044d85462',1,'raylib::Mesh']]], + ['gettext_118',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], + ['gettexture_119',['GetTexture',['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()'],['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()']]], + ['gettime_120',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], + ['gettimelength_121',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], + ['gettimeplayed_122',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], + ['gettouchposition_123',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], + ['gettouchx_124',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], + ['gettouchy_125',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], + ['gettransform_126',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], + ['gettrianglecount_127',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], + ['getup_128',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], + ['getvaoid_129',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], + ['getvboid_130',['GetVboId',['../classraylib_1_1_mesh.html#ac43cf6e1ca74430fa7a258692974fc26',1,'raylib::Mesh']]], + ['getvertexcount_131',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], + ['getvertices_132',['GetVertices',['../classraylib_1_1_mesh.html#a84360d9c5767872d8fdfbf05d7355c61',1,'raylib::Mesh']]], + ['getw_133',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], + ['getwheelmove_134',['GetWheelMove',['../classraylib_1_1_mouse.html#afb094f45ac8964ae24e068af0595eea9',1,'raylib::Mouse']]], + ['getwidth_135',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], + ['getworkingdirectory_136',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], + ['getworldtoscreen_137',['GetWorldToScreen',['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()'],['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()']]], + ['getx_138',['GetX',['../classraylib_1_1_mouse.html#a0277ae88bc16d5c92821a46782c81a83',1,'raylib::Mouse::GetX()'],['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], + ['gety_139',['GetY',['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_mouse.html#a0d2eec7fca435ae35809305a1bb5e92e',1,'raylib::Mouse::GetY()'],['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY() const']]], + ['getz_140',['GetZ',['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()'],['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()']]], + ['getzoom_141',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], + ['gold_142',['Gold',['../classraylib_1_1_color.html#ae6bbd8683085506173a48e5fdeccb57a',1,'raylib::Color']]], + ['gradienth_143',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], + ['gradientradial_144',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], + ['gradientv_145',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]], + ['gray_146',['Gray',['../classraylib_1_1_color.html#aa24ed6bbb02c861b38b6a423dbe902e1',1,'raylib::Color']]], + ['green_147',['Green',['../classraylib_1_1_color.html#a35c7c0acf332be287b697e6a6a23ccb4',1,'raylib::Color']]] ]; diff --git a/docs/search/functions_7.html b/docs/search/functions_7.html index 7de31067..b6392eaa 100644 --- a/docs/search/functions_7.html +++ b/docs/search/functions_7.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_7.js b/docs/search/functions_7.js index f913c965..bca1fdb0 100644 --- a/docs/search/functions_7.js +++ b/docs/search/functions_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['heightmap_705',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], - ['hemisphere_706',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] + ['heightmap_0',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], + ['hemisphere_1',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_8.html b/docs/search/functions_8.html index 7422be24..ecf6a892 100644 --- a/docs/search/functions_8.html +++ b/docs/search/functions_8.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js index 773979ec..b2c3fabf 100644 --- a/docs/search/functions_8.js +++ b/docs/search/functions_8.js @@ -1,26 +1,28 @@ var searchData= [ - ['image_707',['Image',['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)']]], - ['imagetext_708',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], - ['init_709',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()']]], - ['initwindow_710',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], - ['isavailable_711',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], - ['isbuttondown_712',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], - ['isbuttonpressed_713',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], - ['isbuttonreleased_714',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], - ['isbuttonup_715',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad']]], - ['iscursoronscreen_716',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], - ['isfileextension_717',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], - ['isfocused_718',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], - ['isfullscreen_719',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], - ['ishidden_720',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], - ['ismaximized_721',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], - ['isminimized_722',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], - ['ismodelanimationvalid_723',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], - ['isplaying_724',['IsPlaying',['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], - ['isprocessed_725',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], - ['isready_726',['IsReady',['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()']]], - ['isresized_727',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], - ['isstate_728',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], - ['isvalid_729',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] + ['identity_0',['Identity',['../classraylib_1_1_vector4.html#a90ec6deb30c8bbe61d7a9c3d5a395766',1,'raylib::Vector4::Identity()'],['../classraylib_1_1_matrix.html#aaf701bdedb604e59c6f1592fa5255575',1,'raylib::Matrix::Identity()']]], + ['image_1',['Image',['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)'],['../classraylib_1_1_image.html#ab0defa3751d16450e913a637d5238a21',1,'raylib::Image::Image(Image &&other)'],['../classraylib_1_1_image.html#a80cd5a94bf468d6cdff5ae24c1ede290',1,'raylib::Image::Image(const Image &other)'],['../classraylib_1_1_image.html#acc2b06286cd94c665ea061ea53eca8ad',1,'raylib::Image::Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0be7fea82da7d23d56b018d60ea9c071',1,'raylib::Image::Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a45cd806c41a46a56212d23fe4c70c8c1',1,'raylib::Image::Image(int width, int height, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#aea5e7f65035278d780ade1fff50b83f5',1,'raylib::Image::Image(const ::Image &image)'],['../classraylib_1_1_image.html#a38c789394d71d78f873405c739474578',1,'raylib::Image::Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)']]], + ['imagetext_2',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], + ['init_3',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_physics.html#a49b05856f79dd475228923160069714e',1,'raylib::Physics::Init()']]], + ['initwindow_4',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], + ['invert_5',['Invert',['../classraylib_1_1_matrix.html#a9ad566c434998fe400a57a26a39c3708',1,'raylib::Matrix::Invert()'],['../classraylib_1_1_vector4.html#a93d816c446273c23963fcf92fbe5b9b0',1,'raylib::Vector4::Invert()']]], + ['isavailable_6',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], + ['isbuttondown_7',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], + ['isbuttonpressed_8',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], + ['isbuttonreleased_9',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], + ['isbuttonup_10',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad::IsButtonUp()'],['../classraylib_1_1_mouse.html#a798f845135681fffe637e62b832eaa86',1,'raylib::Mouse::IsButtonUp()']]], + ['iscursoronscreen_11',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], + ['isfileextension_12',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], + ['isfocused_13',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], + ['isfullscreen_14',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], + ['ishidden_15',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], + ['ismaximized_16',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], + ['isminimized_17',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], + ['ismodelanimationvalid_18',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], + ['isplaying_19',['IsPlaying',['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()'],['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()']]], + ['isprocessed_20',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], + ['isready_21',['IsReady',['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()']]], + ['isresized_22',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], + ['isstate_23',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], + ['isvalid_24',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] ]; diff --git a/docs/search/functions_9.html b/docs/search/functions_9.html index befd4faa..cd70e2b7 100644 --- a/docs/search/functions_9.html +++ b/docs/search/functions_9.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js index e1c9df3d..89016151 100644 --- a/docs/search/functions_9.js +++ b/docs/search/functions_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['knot_730',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] + ['knot_0',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_a.html b/docs/search/functions_a.html index a81e9633..d2a3de90 100644 --- a/docs/search/functions_a.html +++ b/docs/search/functions_a.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_a.js b/docs/search/functions_a.js index bfc77722..50bbeff7 100644 --- a/docs/search/functions_a.js +++ b/docs/search/functions_a.js @@ -1,22 +1,25 @@ var searchData= [ - ['length_731',['Length',['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2']]], - ['lengthsqr_732',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], - ['lerp_733',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2']]], - ['load_734',['Load',['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#ac482f46142b5ecc9eea4206aced73e26',1,'raylib::Material::Load()'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_model_animation.html#ae743a3f4d87b6c904b2b4737851f0e21',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], - ['loadcolors_735',['LoadColors',['../classraylib_1_1_image.html#a6d338c20d5bd42e64dc7bc5227d4f8ac',1,'raylib::Image']]], - ['loadfiletext_736',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], - ['loadfont_737',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], - ['loadfontex_738',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], - ['loadfrommemory_739',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], - ['loadfromscreen_740',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], - ['loadimage_741',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], - ['loadimageanim_742',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], - ['loadimagefrommemory_743',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], - ['loadimageraw_744',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], - ['loadmodelfrom_745',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], - ['loadpalette_746',['LoadPalette',['../classraylib_1_1_image.html#a89f8e8272c2dfae8c3200572e43c051a',1,'raylib::Image']]], - ['loadsamples_747',['LoadSamples',['../classraylib_1_1_wave.html#ac42dd244534663a8fb1da305006c9f3a',1,'raylib::Wave']]], - ['loadsound_748',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], - ['loadtexture_749',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]] + ['length_0',['Length',['../classraylib_1_1_vector3.html#a8a34da2f9489bb78d4862cdedd14cd5e',1,'raylib::Vector3::Length()'],['../classraylib_1_1_vector4.html#a8595e296feb4b4ecb2caccecd5bbef39',1,'raylib::Vector4::Length()'],['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2::Length() const']]], + ['lengthsqr_1',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], + ['lerp_2',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2::Lerp()'],['../classraylib_1_1_vector3.html#a81c113692317fc0eab01128c10f44373',1,'raylib::Vector3::Lerp()'],['../classraylib_1_1_vector4.html#a0ab98322e7425630c16fe296c667e37b',1,'raylib::Vector4::Lerp()']]], + ['lightgray_3',['LightGray',['../classraylib_1_1_color.html#adbb50ad15745dddeaa73d04f8b40ad35',1,'raylib::Color']]], + ['lime_4',['Lime',['../classraylib_1_1_color.html#adae7384969481494b66202b43ae2d43e',1,'raylib::Color']]], + ['load_5',['Load',['../classraylib_1_1_model_animation.html#a06b185d0fb36a7db952d4435061b7aff',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_font.html#ac5609b3df50ef4099b37b5d80c297046',1,'raylib::Font::Load(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#aae929ad00282f7fd0f527702039dd362',1,'raylib::Font::Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#a2209c224b1b1e6dd862f324114ddb54e',1,'raylib::Material::Load()']]], + ['loadcolors_6',['LoadColors',['../classraylib_1_1_image.html#ac28aa3fed310f06e5d24b8069d96c49c',1,'raylib::Image']]], + ['loadfiletext_7',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], + ['loadfont_8',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], + ['loadfontex_9',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], + ['loadfrommemory_10',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], + ['loadfromscreen_11',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], + ['loadimage_12',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], + ['loadimageanim_13',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], + ['loadimagefrommemory_14',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], + ['loadimageraw_15',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], + ['loadmodelfrom_16',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], + ['loadpalette_17',['LoadPalette',['../classraylib_1_1_image.html#a1a4ba0879090f03bcf29894244903d35',1,'raylib::Image']]], + ['loadsamples_18',['LoadSamples',['../classraylib_1_1_wave.html#a0ac42b450d90dee2ea471a0625b83bac',1,'raylib::Wave']]], + ['loadsound_19',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], + ['loadtexture_20',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]], + ['lookat_21',['LookAt',['../classraylib_1_1_matrix.html#a4eeb4cdf09fd97c38d990a27e894f6f1',1,'raylib::Matrix']]] ]; diff --git a/docs/search/functions_b.html b/docs/search/functions_b.html index 345265d6..e6f34bb2 100644 --- a/docs/search/functions_b.html +++ b/docs/search/functions_b.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_b.js b/docs/search/functions_b.js index 46b70c66..596be48d 100644 --- a/docs/search/functions_b.js +++ b/docs/search/functions_b.js @@ -1,13 +1,21 @@ var searchData= [ - ['material_750',['Material',['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material']]], - ['maximize_751',['Maximize',['../classraylib_1_1_window.html#aee89de600dcc7e645452b4d2f88d55e3',1,'raylib::Window']]], - ['measure_752',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], - ['measureex_753',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], - ['measuretext_754',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], - ['mesh_755',['Mesh',['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh']]], - ['minimize_756',['Minimize',['../classraylib_1_1_window.html#a16f54f039449dc45b57849811754ceae',1,'raylib::Window']]], - ['mipmaps_757',['Mipmaps',['../classraylib_1_1_image.html#aaf8f93e11186f0be62d68ae3f932435f',1,'raylib::Image']]], - ['movetowards_758',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], - ['music_759',['Music',['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)']]] + ['magenta_0',['Magenta',['../classraylib_1_1_color.html#a5dca3460a1ebad5d2db36e4f2da019bb',1,'raylib::Color']]], + ['maroon_1',['Maroon',['../classraylib_1_1_color.html#a9400242f7e944453fadc1613507109ce',1,'raylib::Color']]], + ['material_2',['Material',['../classraylib_1_1_material.html#ac5be24c3adc1fd6726c99c5c4eeb4a25',1,'raylib::Material::Material(const ::Material &material)'],['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material::Material()'],['../classraylib_1_1_material.html#a71470d2ff92adb6e9e5e7c718f98fdaf',1,'raylib::Material::Material(const Material &)=delete'],['../classraylib_1_1_material.html#af3e4a84bdac8d50ef78d934b5ad11852',1,'raylib::Material::Material(Material &&other)']]], + ['matrix_3',['Matrix',['../classraylib_1_1_matrix.html#a0d2462e10b715cad96be3871390186f9',1,'raylib::Matrix::Matrix(const ::Matrix &mat)'],['../classraylib_1_1_matrix.html#aa8900ae52da619e68935c40568d46ed4',1,'raylib::Matrix::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)']]], + ['max_4',['Max',['../classraylib_1_1_vector3.html#a6000c34fb8a54d9e01f9b3e7da063bdd',1,'raylib::Vector3']]], + ['maximize_5',['Maximize',['../classraylib_1_1_window.html#a5790d951ff3adbc50e59b4051f104c90',1,'raylib::Window']]], + ['measure_6',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], + ['measureex_7',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], + ['measuretext_8',['MeasureText',['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()'],['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()']]], + ['mesh_9',['Mesh',['../classraylib_1_1_mesh.html#aba3a2211cbb514cb507ae0179407d072',1,'raylib::Mesh::Mesh(int vertexCount, int triangleCount)'],['../classraylib_1_1_mesh.html#a79ce0a2fa4f61795b3632330d29edac6',1,'raylib::Mesh::Mesh(Mesh &&other)'],['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh::Mesh(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#a1b94f6f98a5b4308cfc15e0dd5fe792e',1,'raylib::Mesh::Mesh(const ::Mesh &mesh)']]], + ['min_10',['Min',['../classraylib_1_1_vector3.html#a6fae0923d50becfa10b9d347080fc360',1,'raylib::Vector3']]], + ['minimize_11',['Minimize',['../classraylib_1_1_window.html#adbd8e0a801211692125a12faba18a141',1,'raylib::Window']]], + ['mipmaps_12',['Mipmaps',['../classraylib_1_1_image.html#aaf467c8a8ab5da1887e978c12a3534d4',1,'raylib::Image']]], + ['model_13',['Model',['../classraylib_1_1_model.html#a888e1cd7d4cd968c0f802515e9fd4dc7',1,'raylib::Model::Model(const ::Model &model)'],['../classraylib_1_1_model.html#a982dbd1ae4182f9e83959493d0e9581b',1,'raylib::Model::Model(Model &&other)'],['../classraylib_1_1_model.html#a97ff9579c923fd05b8de5fa102ad03bc',1,'raylib::Model::Model(const ::Mesh &mesh)'],['../classraylib_1_1_model.html#aa15ecaff51acb302ebd7058b920d9952',1,'raylib::Model::Model(const std::string &fileName)'],['../classraylib_1_1_model.html#ab12ca5ce75a7fde88ed6f6aa472d42a0',1,'raylib::Model::Model(const Model &)=delete']]], + ['modelanimation_14',['ModelAnimation',['../classraylib_1_1_model_animation.html#a9029e1db807aa1d1cc3ff4f7a8ac87d5',1,'raylib::ModelAnimation::ModelAnimation(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#ad0bd91810295d01e922ec88ae560f18b',1,'raylib::ModelAnimation::ModelAnimation(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#aadd7f90b9f7c643b070b1c4d48b9aa6c',1,'raylib::ModelAnimation::ModelAnimation(ModelAnimation &&other)']]], + ['movetowards_15',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], + ['multiply_16',['Multiply',['../classraylib_1_1_matrix.html#afbebf3211a8252b0433184357233aa19',1,'raylib::Matrix::Multiply()'],['../classraylib_1_1_vector2.html#a8c89ca7656f8dee6e1cb4cfa29deb7ec',1,'raylib::Vector2::Multiply()'],['../classraylib_1_1_vector3.html#ad06dabf1a51260d6cbf3f4381ba15ab4',1,'raylib::Vector3::Multiply()'],['../classraylib_1_1_vector4.html#acad897765f76443fbd64b5dceac94a2e',1,'raylib::Vector4::Multiply()']]], + ['music_17',['Music',['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a29f51d7e8e89df932a6c07bd0106a834',1,'raylib::Music::Music(const ::Music &music)'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_music.html#ae626afb93e3bbf3abd4410edbd316601',1,'raylib::Music::Music(const Music &)=delete'],['../classraylib_1_1_music.html#a8dc7537cc6ea86a77b0e7c71b708d08f',1,'raylib::Music::Music(Music &&other)']]] ]; diff --git a/docs/search/functions_c.html b/docs/search/functions_c.html index 858bfd6c..87b4ce26 100644 --- a/docs/search/functions_c.html +++ b/docs/search/functions_c.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index a8a2bea4..ca0c73cd 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -1,4 +1,6 @@ var searchData= [ - ['normalize_760',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()']]] + ['negate_0',['Negate',['../classraylib_1_1_vector2.html#a98ca288a85bd1643670a058138077587',1,'raylib::Vector2::Negate()'],['../classraylib_1_1_vector3.html#a475ed42613db507afa6f7fdcec14a25c',1,'raylib::Vector3::Negate()']]], + ['nlerp_1',['Nlerp',['../classraylib_1_1_vector4.html#aa38c1551be57c551a63a089bba0f2ee0',1,'raylib::Vector4']]], + ['normalize_2',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_matrix.html#a0ec68971d42b0ab8281e5e68f690dd5c',1,'raylib::Matrix::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()'],['../classraylib_1_1_vector3.html#a3bb4cba279bfbd545d550c4ddc35f66b',1,'raylib::Vector3::Normalize()'],['../classraylib_1_1_vector4.html#a89fc9589df53ce3d66a7c8862f1056f7',1,'raylib::Vector4::Normalize()']]] ]; diff --git a/docs/search/functions_d.html b/docs/search/functions_d.html index 2f09f51b..ada2b817 100644 --- a/docs/search/functions_d.html +++ b/docs/search/functions_d.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index c05baba1..aa28f454 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -1,13 +1,31 @@ var searchData= [ - ['boundingbox_761',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], - ['image_762',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], - ['model_763',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], - ['one_764',['One',['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2']]], - ['openurl_765',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], - ['operator_20boundingbox_766',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], - ['operator_20int_767',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color']]], - ['sound_768',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], - ['string_769',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], - ['texture2d_770',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]] + ['boundingbox_0',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], + ['image_1',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], + ['model_2',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], + ['one_3',['One',['../classraylib_1_1_vector3.html#abffd5504ca7891659fc730b19dd5f495',1,'raylib::Vector3::One()'],['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2::One()']]], + ['openurl_4',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], + ['operator_20boundingbox_5',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], + ['operator_20color_6',['operator Color',['../classraylib_1_1_vector4.html#aed3d1810f67b55a9a0a1f8684b17bbea',1,'raylib::Vector4']]], + ['operator_20float16_7',['operator float16',['../classraylib_1_1_matrix.html#a63cce6502129548a9ab427efbf714a8b',1,'raylib::Matrix']]], + ['operator_20int_8',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color::operator int()'],['../classraylib_1_1_gamepad.html#ab735b8107395f0694baf4ef8bb92092d',1,'raylib::Gamepad::operator int()']]], + ['operator_21_3d_9',['operator!=',['../classraylib_1_1_matrix.html#a986d17b9ef939fcd441c9f0533a208bf',1,'raylib::Matrix::operator!=()'],['../classraylib_1_1_vector4.html#a1141de56267ab5abab10f1990d381185',1,'raylib::Vector4::operator!=()'],['../classraylib_1_1_vector2.html#aeb9bfa80b1e6161a7a85d8c8ebc73433',1,'raylib::Vector2::operator!=()'],['../classraylib_1_1_vector3.html#a18d3efa656a5cbb4abd64217b7817136',1,'raylib::Vector3::operator!=()']]], + ['operator_2a_10',['operator*',['../classraylib_1_1_matrix.html#aebc1bc9c255dbcf348aba9e2b58d72d4',1,'raylib::Matrix::operator*()'],['../classraylib_1_1_vector2.html#a9c1f9983b14d3ff4ba92ca0e041cb970',1,'raylib::Vector2::operator*(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#a23262c9825611dde85ac071fd442124d',1,'raylib::Vector2::operator*(const float scale) const'],['../classraylib_1_1_vector3.html#a21769cdf336ef366d4278d2120c35a9e',1,'raylib::Vector3::operator*(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a02de4f00f74c5abdacf1659f116f06e5',1,'raylib::Vector3::operator*(const float scale) const'],['../classraylib_1_1_vector4.html#aea629f0a0c2ec1213535b9ab14586533',1,'raylib::Vector4::operator*()']]], + ['operator_2a_3d_11',['operator*=',['../classraylib_1_1_vector2.html#ac7ecfe4c0909ee8fb01f0d94455de794',1,'raylib::Vector2::operator*=(const ::Vector2 &vector2)'],['../classraylib_1_1_vector2.html#a2b9e8013a103a568fdf0d526008aa805',1,'raylib::Vector2::operator*=(const float scale)'],['../classraylib_1_1_vector3.html#a2a2cc2e29121125cc85735ff49e12695',1,'raylib::Vector3::operator*=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a432cfa34603d549a8dc38e20c226eb71',1,'raylib::Vector3::operator*=(const float scale)']]], + ['operator_2b_12',['operator+',['../classraylib_1_1_matrix.html#ab149d4638f47cdd7aa2cad5b05b3977d',1,'raylib::Matrix::operator+()'],['../classraylib_1_1_vector2.html#a8df80afec50063657ce67c2072839c5a',1,'raylib::Vector2::operator+()'],['../classraylib_1_1_vector3.html#a4564e8aa7532966eed679cd730c39c36',1,'raylib::Vector3::operator+()']]], + ['operator_2b_3d_13',['operator+=',['../classraylib_1_1_vector2.html#a4eb940d4ac8db035b58bf0834ebca8f7',1,'raylib::Vector2::operator+=()'],['../classraylib_1_1_vector3.html#aa0eb200f1f72d8ad8ca0457549cfef04',1,'raylib::Vector3::operator+=()']]], + ['operator_2d_14',['operator-',['../classraylib_1_1_matrix.html#a28d079fd913d2890620107599b4d1bcf',1,'raylib::Matrix::operator-()'],['../classraylib_1_1_vector2.html#af5a965f5eba6e1d8cc13f29161f0f6e1',1,'raylib::Vector2::operator-(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#af29b9938afed31d821bb7791d929f779',1,'raylib::Vector2::operator-() const'],['../classraylib_1_1_vector3.html#a843267dd14d8a706106dd5258cfa6676',1,'raylib::Vector3::operator-(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a9999af247190e4b6969f61d98e3be934',1,'raylib::Vector3::operator-()']]], + ['operator_2d_3d_15',['operator-=',['../classraylib_1_1_vector2.html#a0b97ad5ff528e47ff5a73ad0ebb2f0c7',1,'raylib::Vector2::operator-=()'],['../classraylib_1_1_vector3.html#abc2bd9029aeb4c4a3545ee230473ee32',1,'raylib::Vector3::operator-=()']]], + ['operator_2f_16',['operator/',['../classraylib_1_1_vector2.html#a8ef672a3776ca3da2fe0b89fa8cea517',1,'raylib::Vector2::operator/(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#aa12e15f76cd518d8d0447c80c89fd8c5',1,'raylib::Vector2::operator/(const float div) const'],['../classraylib_1_1_vector3.html#a085a75924d1635c674f444988bcc7ebb',1,'raylib::Vector3::operator/(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a394cfcb895d6d8ba3c432b1af9d390cb',1,'raylib::Vector3::operator/(const float div) const']]], + ['operator_2f_3d_17',['operator/=',['../classraylib_1_1_vector3.html#a1ed7a768be6dfffa9bedc536864b4ec4',1,'raylib::Vector3::operator/=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#acbb53d7cbedc612830b9a08284963b10',1,'raylib::Vector3::operator/=(const float div)'],['../classraylib_1_1_vector2.html#ae85c2aa1bfe604578ca89c7495e8ce37',1,'raylib::Vector2::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a2ef45b2b5142c60cf30bdbc6a49d77e0',1,'raylib::Vector2::operator/=(const ::Vector2 &vector2)']]], + ['operator_3d_18',['operator=',['../classraylib_1_1_model.html#afd31dd377369b1187d816d92be8f5e2a',1,'raylib::Model::operator=()'],['../classraylib_1_1_image.html#aa86c0194ad30cc5f75f116fa588fc8dd',1,'raylib::Image::operator=()'],['../classraylib_1_1_model_animation.html#a8cdf66437a165dc39d4c3dece774b606',1,'raylib::ModelAnimation::operator=(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#a1efe07d288b2a9318c7ca4ff2e321776',1,'raylib::ModelAnimation::operator=(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#ab083b9d9c64a0ec604e4c7342caec9b4',1,'raylib::ModelAnimation::operator=(ModelAnimation &&other) noexcept'],['../classraylib_1_1_music.html#afffdaad319f3099d190e2e6faa7a60af',1,'raylib::Music::operator=(const ::Music &music)'],['../classraylib_1_1_music.html#a475c5f2d7405f275a28f16fd1e1667b2',1,'raylib::Music::operator=(const Music &)=delete'],['../classraylib_1_1_music.html#a8a8ff1787f18b21d40c62106dd5e0808',1,'raylib::Music::operator=(Music &&other) noexcept'],['../classraylib_1_1_ray.html#ac95a6b27adfcc91ef7d70047650fc325',1,'raylib::Ray::operator=()'],['../classraylib_1_1_ray_collision.html#ad0cd1a0d5e234086fa6f87efa3bb8e8a',1,'raylib::RayCollision::operator=()'],['../classraylib_1_1_rectangle.html#af7744f0ec9ec04d73403a7f6a71ae3cd',1,'raylib::Rectangle::operator=()'],['../classraylib_1_1_render_texture.html#aee91fd336700acaa3cfb1f30d11efc1b',1,'raylib::RenderTexture::operator=(const ::RenderTexture &texture)'],['../classraylib_1_1_render_texture.html#a11d5dd47fbb373e556b6955c2a31f911',1,'raylib::RenderTexture::operator=(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#ab2d6ea01017394c700c6541e7a1c987e',1,'raylib::RenderTexture::operator=(RenderTexture &&other) noexcept'],['../classraylib_1_1_shader.html#a17ea116c06cf251b3fc6827c69c46352',1,'raylib::Shader::operator=(const ::Shader &shader)'],['../classraylib_1_1_shader.html#a4ad95bb76c6dd04e4ab50db5510d3639',1,'raylib::Shader::operator=(const Shader &)=delete'],['../classraylib_1_1_shader.html#a16f1271ca82501cce9aff85fe83d8468',1,'raylib::Shader::operator=(Shader &&other) noexcept'],['../classraylib_1_1_sound.html#a00e767731db27551731f3b921e96e8be',1,'raylib::Sound::operator=(const Sound &)=delete'],['../classraylib_1_1_sound.html#a0e9cf03efe620702dc91f39fc2741e28',1,'raylib::Sound::operator=(Sound &&other) noexcept'],['../classraylib_1_1_text.html#aa38bed157c29c12b0275bac43a2f0740',1,'raylib::Text::operator=()'],['../classraylib_1_1_texture.html#a32e1e65e95d670f8ede07603e74eb8bb',1,'raylib::Texture::operator=(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a803206afb8ddbb356b0c172fb3c6ec6a',1,'raylib::Texture::operator=(const Texture &)=delete'],['../classraylib_1_1_texture.html#a029d91f87af0de39e358cdc3c679d97d',1,'raylib::Texture::operator=(Texture &&other) noexcept'],['../classraylib_1_1_vector2.html#a81993d8973232b2ba08b7a63bca9bb20',1,'raylib::Vector2::operator=()'],['../classraylib_1_1_vector3.html#a0e1bfe79b5501da15fc137feaa639615',1,'raylib::Vector3::operator=()'],['../classraylib_1_1_vector4.html#ace9d16e7d35934a5a5d4bfbcf073221c',1,'raylib::Vector4::operator=()'],['../classraylib_1_1_wave.html#a47fdbb51113033249f466f2f18be8f6a',1,'raylib::Wave::operator=(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aae5958607c9f7d49dcc4a9c291fd8955',1,'raylib::Wave::operator=(const Wave &other)'],['../classraylib_1_1_wave.html#a5c5c65eaa235c5d5d8d867c55d7c0464',1,'raylib::Wave::operator=(Wave &&other) noexcept'],['../classraylib_1_1_model.html#afb16732714d5f3931dce5266cf9442a0',1,'raylib::Model::operator=()'],['../classraylib_1_1_audio_stream.html#aafe56bfe817da16012d7c2efb4bd7a9c',1,'raylib::AudioStream::operator=(const ::AudioStream &stream)'],['../classraylib_1_1_audio_stream.html#ac284487daf53d5f3cabc535918ab5222',1,'raylib::AudioStream::operator=(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#abaef9e064218e8728e7131de8f001bc1',1,'raylib::AudioStream::operator=(AudioStream &&other) noexcept'],['../classraylib_1_1_bounding_box.html#a859067d25368a27b8743e23ebc24d46c',1,'raylib::BoundingBox::operator=()'],['../classraylib_1_1_camera2_d.html#a3eca1be4b1f2ab30dc377dcd76eff0ef',1,'raylib::Camera2D::operator=()'],['../classraylib_1_1_camera3_d.html#ab9af3cd1ec71d4c52dd09f47b7a55864',1,'raylib::Camera3D::operator=()'],['../classraylib_1_1_color.html#a2af61a938ad2780917be855e06621d2d',1,'raylib::Color::operator=()'],['../classraylib_1_1_font.html#a372d60f4b8911722eefdff34f10eab13',1,'raylib::Font::operator=(const ::Font &font)'],['../classraylib_1_1_font.html#aaedf5057acbe7cf503d074a9a6343879',1,'raylib::Font::operator=(const Font &)=delete'],['../classraylib_1_1_font.html#a8858311926baabe96b51cb015241568e',1,'raylib::Font::operator=(Font &&other) noexcept'],['../classraylib_1_1_gamepad.html#af0d08d3ed4fdb915aea6c2dda49828ef',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_image.html#a2d5e9ae7c55948b28b458f3bff5d1388',1,'raylib::Image::operator=()'],['../classraylib_1_1_gamepad.html#a2d72d578a8a7815e74cfdf811fe9e6cb',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_model.html#a37c9ca6ea23e395a1ca1e2e32a578582',1,'raylib::Model::operator=()'],['../classraylib_1_1_mesh.html#ad74efe8cd30bd4630a5cf055d61e8263',1,'raylib::Mesh::operator=(Mesh &&other) noexcept'],['../classraylib_1_1_mesh.html#a4fe0ff85b2ef8ea6dc9e7bc98dc8c8ca',1,'raylib::Mesh::operator=(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#ae3b9c24dd49d40c68e11ed8a82f4af82',1,'raylib::Mesh::operator=(const ::Mesh &mesh)'],['../classraylib_1_1_matrix.html#a667e1a3be409a1ad1d7f6f9c8bdc24dd',1,'raylib::Matrix::operator=(const Matrix &matrix)'],['../classraylib_1_1_matrix.html#a4a01a9983536575a0accb4ad938434d1',1,'raylib::Matrix::operator=(const ::Matrix &matrix)'],['../classraylib_1_1_material.html#ae92173567da4f6f9b256bf6787d65a11',1,'raylib::Material::operator=(Material &&other) noexcept'],['../classraylib_1_1_material.html#af0644e3ba034c4e700eab72174e00905',1,'raylib::Material::operator=(const Material &)=delete'],['../classraylib_1_1_material.html#a8734255792ec2669d3c067b64a1b7644',1,'raylib::Material::operator=(const ::Material &material)'],['../classraylib_1_1_image.html#a7e2ce4ef95df6fb9c8ffd654cce227bc',1,'raylib::Image::operator=()']]], + ['operator_3d_3d_19',['operator==',['../classraylib_1_1_matrix.html#ab038b46305fb8bd85f83005146542b7e',1,'raylib::Matrix::operator==()'],['../classraylib_1_1_vector2.html#a92c0c5f254914438cc13926559678069',1,'raylib::Vector2::operator==()'],['../classraylib_1_1_vector3.html#a848a7b866cadd1e96c4a472343be47cb',1,'raylib::Vector3::operator==()'],['../classraylib_1_1_vector4.html#a00cc9bb369819d6628540cbda82bf47f',1,'raylib::Vector4::operator==()']]], + ['orange_20',['Orange',['../classraylib_1_1_color.html#afb83cd892356b66cc0603cbe1e147285',1,'raylib::Color']]], + ['ortho_21',['Ortho',['../classraylib_1_1_matrix.html#ad45b39503de59d1052377346efd8bcd8',1,'raylib::Matrix']]], + ['orthonormalize_22',['OrthoNormalize',['../classraylib_1_1_vector3.html#a39326460de2d051c5bde8366a7101de6',1,'raylib::Vector3']]], + ['rectangle_23',['Rectangle',['../classraylib_1_1_vector4.html#ab202f0a0df34580b5f330cd54aa6a633',1,'raylib::Vector4']]], + ['sound_24',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], + ['string_25',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], + ['texture2d_26',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]], + ['vector4_27',['Vector4',['../classraylib_1_1_rectangle.html#a0c04495372edc5cc3a3f572f0cddbc70',1,'raylib::Rectangle']]] ]; diff --git a/docs/search/functions_e.html b/docs/search/functions_e.html index ee5afa65..12977150 100644 --- a/docs/search/functions_e.html +++ b/docs/search/functions_e.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_e.js b/docs/search/functions_e.js index b729d3b0..5de6f62f 100644 --- a/docs/search/functions_e.js +++ b/docs/search/functions_e.js @@ -1,8 +1,13 @@ var searchData= [ - ['pause_771',['Pause',['../classraylib_1_1_audio_stream.html#aa620374153aa063a0e34f4260c6dce94',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#a810f0ae266f247237aa23574e1e31626',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a51f64c5c76a86a6b6f2225870d5a83a3',1,'raylib::Sound::Pause()']]], - ['plane_772',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], - ['play_773',['Play',['../classraylib_1_1_audio_stream.html#a594754979b974479711879b7d4af082e',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a908ddb6c248c75bd1a3cabc1381a45fc',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#a2fd3ff7a2653fa57dc2b0987e108a2ae',1,'raylib::Sound::Play()']]], - ['playmulti_774',['PlayMulti',['../classraylib_1_1_sound.html#adfe6e6915bb17eefd0ab58f5cb3aa7ba',1,'raylib::Sound']]], - ['poly_775',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]] + ['pause_0',['Pause',['../classraylib_1_1_audio_stream.html#acb2ae2e3c331c91af0d3ca86733e1f52',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#ad956be86303bb8b307530947aefaea25',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a5a5513d79d5495061104dbfa36dca27b',1,'raylib::Sound::Pause()']]], + ['perpendicular_1',['Perpendicular',['../classraylib_1_1_vector3.html#a7b67640a2ce5eee35e5dba5af88fc020',1,'raylib::Vector3']]], + ['perspective_2',['Perspective',['../classraylib_1_1_matrix.html#aea5590610580b2ecd0be779324bf9281',1,'raylib::Matrix']]], + ['physics_3',['Physics',['../classraylib_1_1_physics.html#ab6fe48c3f1ccc583d78898d3946b3096',1,'raylib::Physics::Physics()'],['../classraylib_1_1_physics.html#a9638fbedf8f35acd23bb5c502c9ddac7',1,'raylib::Physics::Physics(float gravityY)'],['../classraylib_1_1_physics.html#abe69671cb0e5e5e765c6de48cccb0111',1,'raylib::Physics::Physics(float gravityX, float gravityY)']]], + ['pink_4',['Pink',['../classraylib_1_1_color.html#ad93a284f0ef61bf88be66b8bebd14427',1,'raylib::Color']]], + ['plane_5',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], + ['play_6',['Play',['../classraylib_1_1_audio_stream.html#a3aed292652e082b37396a66e48bf9858',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a5a99d2bf68843c860c6b5612b7e3d3df',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#ab48935ee4d6c10329f68117b5862aed2',1,'raylib::Sound::Play()']]], + ['playmulti_7',['PlayMulti',['../classraylib_1_1_sound.html#ac7a8473534871ea873f81673270841a0',1,'raylib::Sound']]], + ['poly_8',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]], + ['purple_9',['Purple',['../classraylib_1_1_color.html#a98e5330224e52e9599c060d82a50609d',1,'raylib::Color']]] ]; diff --git a/docs/search/functions_f.html b/docs/search/functions_f.html index f17c412c..d2ae3cf5 100644 --- a/docs/search/functions_f.html +++ b/docs/search/functions_f.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index f9c35be4..528d2162 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -1,15 +1,25 @@ var searchData= [ - ['raycollision_776',['RayCollision',['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)']]], - ['raylibexception_777',['RaylibException',['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException']]], - ['reflect_778',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2']]], - ['rendertexture_779',['RenderTexture',['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture']]], - ['resize_780',['Resize',['../classraylib_1_1_image.html#a62294223271290f049711ee96ca809fb',1,'raylib::Image']]], - ['resizecanvas_781',['ResizeCanvas',['../classraylib_1_1_image.html#a008fc6154d0252aa1b9924281a27a61d',1,'raylib::Image']]], - ['resizenn_782',['ResizeNN',['../classraylib_1_1_image.html#a13f6b8aade2957218bdfa199857caa04',1,'raylib::Image']]], - ['restore_783',['Restore',['../classraylib_1_1_window.html#a936ba6f4614ab6b3c2552f88798ffac2',1,'raylib::Window']]], - ['resume_784',['Resume',['../classraylib_1_1_audio_stream.html#ab3514d8e8b8c8992046ef3e51e571c88',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#a5c5c67064aa37d2b3f3234a2a02230de',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#a08132251f7b6e4caec600475f610e2f5',1,'raylib::Sound::Resume()']]], - ['rotate_785',['Rotate',['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2']]], - ['rotateccw_786',['RotateCCW',['../classraylib_1_1_image.html#aa08513832d0ab58144f4418ba3b4b6d6',1,'raylib::Image']]], - ['rotatecw_787',['RotateCW',['../classraylib_1_1_image.html#aed253e5dd980e63b7fd7a8ef43ef7cf6',1,'raylib::Image']]] + ['ray_0',['Ray',['../classraylib_1_1_ray.html#ab3a7660c5b87be0ce2c6e03269e7d87e',1,'raylib::Ray::Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})'],['../classraylib_1_1_ray.html#acc6259ea6bd75add00e7529ef5903024',1,'raylib::Ray::Ray(::Vector2 mousePosition, ::Camera camera)'],['../classraylib_1_1_ray.html#a6f7f848de7bebccc4dbda328dc8056b1',1,'raylib::Ray::Ray(const ::Ray &ray)']]], + ['raycollision_1',['RayCollision',['../classraylib_1_1_ray_collision.html#abcdc5ad0a518fce72f4a59e0ff3d6089',1,'raylib::RayCollision::RayCollision(const ::RayCollision &ray)'],['../classraylib_1_1_ray_collision.html#af3d7481a683da26a5bc761de88048e39',1,'raylib::RayCollision::RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)'],['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)']]], + ['raylibexception_2',['RaylibException',['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException']]], + ['raywhite_3',['RayWhite',['../classraylib_1_1_color.html#a5a43482f133efe9ed65ee6e2899c19db',1,'raylib::Color']]], + ['rectangle_4',['Rectangle',['../classraylib_1_1_rectangle.html#a61861032ffd470259e1b74fed46ab5e8',1,'raylib::Rectangle::Rectangle(float x, float y, float width)'],['../classraylib_1_1_rectangle.html#a0ca58eee9dbca8d0eb850bc9cfe6d843',1,'raylib::Rectangle::Rectangle(::Vector4 rect)'],['../classraylib_1_1_rectangle.html#a85ea9145d362d7247096c0f1e5a139d2',1,'raylib::Rectangle::Rectangle(::Vector2 size)'],['../classraylib_1_1_rectangle.html#a2e6a3094f9d2cc34a8ffee741114271d',1,'raylib::Rectangle::Rectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_rectangle.html#abcbb82963e25bcd78da507dd498cd35b',1,'raylib::Rectangle::Rectangle()'],['../classraylib_1_1_rectangle.html#a33e0e9353785a4023aee973d1613f1ff',1,'raylib::Rectangle::Rectangle(float x)'],['../classraylib_1_1_rectangle.html#a04bca788142d97d34e7fe1be945795b2',1,'raylib::Rectangle::Rectangle(float x, float y)'],['../classraylib_1_1_rectangle.html#ab31f8b649dd25ec8681efbfd72785f2f',1,'raylib::Rectangle::Rectangle(float x, float y, float width, float height)'],['../classraylib_1_1_rectangle.html#af3ec58f0bddd5f275adc88a738e8b674',1,'raylib::Rectangle::Rectangle(const ::Rectangle &vec)']]], + ['red_5',['Red',['../classraylib_1_1_color.html#a649937964940232edccf5cb3c427378b',1,'raylib::Color']]], + ['reflect_6',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2::Reflect()'],['../classraylib_1_1_vector3.html#a65595b203f521068db930e7d6bccc8c8',1,'raylib::Vector3::Reflect()']]], + ['rendertexture_7',['RenderTexture',['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()'],['../classraylib_1_1_render_texture.html#a39f48ce84105360408c0ff04b143bbc1',1,'raylib::RenderTexture::RenderTexture(RenderTexture &&other)'],['../classraylib_1_1_render_texture.html#acf580e3d1fe82531a24d5ae3e380dd1b',1,'raylib::RenderTexture::RenderTexture(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#a27f118f32bd8083a183df7ab5f0d8285',1,'raylib::RenderTexture::RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)'],['../classraylib_1_1_render_texture.html#a86e1112d634dd3f3fa08ab448b120174',1,'raylib::RenderTexture::RenderTexture(const ::RenderTexture &renderTexture)'],['../classraylib_1_1_render_texture.html#add8d201aec938fe0a66ecedd304e2fd3',1,'raylib::RenderTexture::RenderTexture(int width, int height)']]], + ['reset_8',['Reset',['../classraylib_1_1_physics.html#af6425119eec9dbcca53e8f6029e54276',1,'raylib::Physics']]], + ['resize_9',['Resize',['../classraylib_1_1_image.html#aead1233654bf3e148ea55234f2f3557f',1,'raylib::Image']]], + ['resizecanvas_10',['ResizeCanvas',['../classraylib_1_1_image.html#a28f4b429c7e969b082801782ac19003c',1,'raylib::Image']]], + ['resizenn_11',['ResizeNN',['../classraylib_1_1_image.html#a218095d3a96636679cb7c5064985ba2d',1,'raylib::Image']]], + ['restore_12',['Restore',['../classraylib_1_1_window.html#a363b508c37787a50067fdef7b6a8a7f4',1,'raylib::Window']]], + ['resume_13',['Resume',['../classraylib_1_1_sound.html#aa00303b64f68c6f5acb06f23553efbbf',1,'raylib::Sound::Resume()'],['../classraylib_1_1_music.html#ac3cda9dcc555047d9b94842c6637181f',1,'raylib::Music::Resume()'],['../classraylib_1_1_audio_stream.html#ae949d3dea0a03fa4554153ab1c591fb9',1,'raylib::AudioStream::Resume()']]], + ['rotate_14',['Rotate',['../classraylib_1_1_matrix.html#ac5da5173fc6bcda2e09bdc2caa865c08',1,'raylib::Matrix::Rotate()'],['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2::Rotate()']]], + ['rotatebyquaternion_15',['RotateByQuaternion',['../classraylib_1_1_vector3.html#a3c7424a3f680503dcd338861a19c53e1',1,'raylib::Vector3']]], + ['rotateccw_16',['RotateCCW',['../classraylib_1_1_image.html#a91af35357c488a79bc0306aac1d6a613',1,'raylib::Image']]], + ['rotatecw_17',['RotateCW',['../classraylib_1_1_image.html#a6ea82b2f67b22d73e7bb3119e40d7c5d',1,'raylib::Image']]], + ['rotatex_18',['RotateX',['../classraylib_1_1_matrix.html#af0e1c205d24796003dc63783b2e1739a',1,'raylib::Matrix']]], + ['rotatexyz_19',['RotateXYZ',['../classraylib_1_1_matrix.html#a42a55314e81f9a8d4a1b7c964127bce1',1,'raylib::Matrix']]], + ['rotatey_20',['RotateY',['../classraylib_1_1_matrix.html#a9e068eb0a163ba8ae65d3b89ace56e67',1,'raylib::Matrix']]], + ['rotatez_21',['RotateZ',['../classraylib_1_1_matrix.html#a94ee9f00cd56f52d6bb49c3de7af7e02',1,'raylib::Matrix']]] ]; diff --git a/docs/search/mag_sel.svg b/docs/search/mag_sel.svg new file mode 100644 index 00000000..03626f64 --- /dev/null +++ b/docs/search/mag_sel.svg @@ -0,0 +1,74 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/docs/search/namespaces_0.html b/docs/search/namespaces_0.html index 76996d1c..c6a0d245 100644 --- a/docs/search/namespaces_0.html +++ b/docs/search/namespaces_0.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/namespaces_0.js b/docs/search/namespaces_0.js index 5d3e21c7..8328507d 100644 --- a/docs/search/namespaces_0.js +++ b/docs/search/namespaces_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['raylib_501',['raylib',['../namespaceraylib.html',1,'']]] + ['raylib_0',['raylib',['../namespaceraylib.html',1,'']]] ]; diff --git a/docs/search/nomatches.html b/docs/search/nomatches.html index 43773208..2b9360b6 100644 --- a/docs/search/nomatches.html +++ b/docs/search/nomatches.html @@ -1,5 +1,6 @@ - + + diff --git a/docs/search/pages_0.html b/docs/search/pages_0.html index 9a6a29ad..e53c280e 100644 --- a/docs/search/pages_0.html +++ b/docs/search/pages_0.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/pages_0.js b/docs/search/pages_0.js index 00dd1dbf..b9d8a5ff 100644 --- a/docs/search/pages_0.js +++ b/docs/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['raylib_2dcpp_958',['raylib-cpp',['../index.html',1,'']]] + ['raylib_2dcpp_0',['raylib-cpp',['../index.html',1,'']]] ]; diff --git a/docs/search/search.css b/docs/search/search.css index 3cf9df94..2d55f669 100644 --- a/docs/search/search.css +++ b/docs/search/search.css @@ -1,106 +1,96 @@ /*---------------- Search Box */ -#FSearchBox { - float: left; -} - #MSearchBox { white-space : nowrap; - float: none; - margin-top: 8px; - right: 0px; - width: 170px; - height: 24px; + background: white; + border-radius: 0.65em; + box-shadow: inset 0.5px 0.5px 3px 0px #555; z-index: 102; } -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; +#MSearchBox .left { + display: inline-block; + vertical-align: middle; + height: 1.4em; } #MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; + display: inline-block; + vertical-align: middle; + height: 19px; + padding: 0 0 0 0.3em; + margin: 0; } #MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; + display: inline-block; + vertical-align: middle; + width: 7.5em; + height: 19px; + margin: 0 0.15em; + padding: 0; + line-height: 1em; border:none; - width:115px; - margin-left:20px; - padding-left:4px; color: #909090; outline: none; - font: 9pt Arial, Verdana, sans-serif; + font-family: Arial, Verdana, sans-serif; -webkit-border-radius: 0px; + border-radius: 0px; + background: none; } -#FSearchBox #MSearchField { - margin-left:15px; +@media(hover: none) { + /* to avoid zooming on iOS */ + #MSearchField { + font-size: 16px; + } } #MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:8px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; + display: inline-block; + vertical-align: middle; + width: 1.4em; + height: 1.4em; } #MSearchClose { display: none; - position: absolute; - top: 4px; + font-size: inherit; background : none; border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; + margin: 0; + padding: 0; outline: none; -} -.left #MSearchClose { - left: 6px; } -.right #MSearchClose { - right: 2px; +#MSearchCloseImg { + height: 1.4em; + padding: 0.3em; + margin: 0; } .MSearchBoxActive #MSearchField { color: #000000; } +#main-menu > li:last-child { + /* This
  • object is the parent of the search bar */ + display: flex; + justify-content: center; + align-items: center; + height: 36px; + margin-right: 1em; +} + /*---------------- Search filter selection */ #MSearchSelectWindow { display: none; position: absolute; left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; + border: 1px solid #2E9AFE; + background-color: #F3F9FE; z-index: 10001; padding-top: 4px; padding-bottom: 4px; @@ -144,7 +134,7 @@ a.SelectItem:active { a.SelectItem:hover { color: #FFFFFF; - background-color: #3D578C; + background-color: #004789; outline-style: none; text-decoration: none; cursor: pointer; @@ -154,7 +144,7 @@ a.SelectItem:hover { /*---------------- Search results window */ iframe#MSearchResults { - width: 60ex; + /*width: 60ex;*/ height: 15em; } @@ -163,7 +153,7 @@ iframe#MSearchResults { position: absolute; left: 0; top: 0; border: 1px solid #000; - background-color: #EEF1F7; + background-color: #DDEEFE; z-index:10000; } @@ -199,7 +189,7 @@ body.SRPage { .SRSymbol { font-weight: bold; - color: #425E97; + color: #004F99; font-family: Arial, Verdana, sans-serif; text-decoration: none; outline: none; @@ -207,7 +197,7 @@ body.SRPage { a.SRScope { display: block; - color: #425E97; + color: #004F99; font-family: Arial, Verdana, sans-serif; text-decoration: none; outline: none; @@ -220,19 +210,21 @@ a.SRScope:focus, a.SRScope:active { span.SRScope { padding-left: 4px; + font-family: Arial, Verdana, sans-serif; } .SRPage .SRStatus { padding: 2px 5px; font-size: 8pt; font-style: italic; + font-family: Arial, Verdana, sans-serif; } .SRResult { display: none; } -DIV.searchresults { +div.searchresults { margin-left: 10px; margin-right: 10px; } @@ -240,7 +232,7 @@ DIV.searchresults { /*---------------- External search page results */ .searchresult { - background-color: #F0F3F8; + background-color: #E1F0FF; } .pages b { diff --git a/docs/search/search.js b/docs/search/search.js index a554ab9c..ac8055d1 100644 --- a/docs/search/search.js +++ b/docs/search/search.js @@ -1,25 +1,26 @@ /* - @licstart The following is the entire license notice for the - JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. - Copyright (C) 1997-2017 by Dimitri van Heesch + The MIT License (MIT) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + Copyright (C) 1997-2020 by Dimitri van Heesch - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. - @licend The above is the entire license notice - for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ function convertToId(search) { @@ -79,9 +80,10 @@ function getYPos(item) storing this instance. Is needed to be able to set timeouts. resultPath - path to use for external files */ -function SearchBox(name, resultsPath, inFrame, label) +function SearchBox(name, resultsPath, label, extension) { if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); } + if (!extension || extension == "") { extension = ".html"; } // ---------- Instance variables this.name = name; @@ -94,8 +96,8 @@ function SearchBox(name, resultsPath, inFrame, label) this.hideTimeout = 0; this.searchIndex = 0; this.searchActive = false; - this.insideFrame = inFrame; this.searchLabel = label; + this.extension = extension; // ----------- DOM Elements @@ -133,30 +135,14 @@ function SearchBox(name, resultsPath, inFrame, label) var searchSelectWindow = this.DOMSearchSelectWindow(); var searchField = this.DOMSearchSelect(); - if (this.insideFrame) - { - var left = getXPos(searchField); - var top = getYPos(searchField); - left += searchField.offsetWidth + 6; - top += searchField.offsetHeight; - - // show search selection popup - searchSelectWindow.style.display='block'; - left -= searchSelectWindow.offsetWidth; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; - } - else - { - var left = getXPos(searchField); - var top = getYPos(searchField); - top += searchField.offsetHeight; - - // show search selection popup - searchSelectWindow.style.display='block'; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; - } + var left = getXPos(searchField); + var top = getYPos(searchField); + top += searchField.offsetHeight; + + // show search selection popup + searchSelectWindow.style.display='block'; + searchSelectWindow.style.left = left + 'px'; + searchSelectWindow.style.top = top + 'px'; // stop selection hide timer if (this.hideTimeout) @@ -200,10 +186,9 @@ function SearchBox(name, resultsPath, inFrame, label) } return; } - else if (window.frames.MSearchResults.searchResults) + else { - var elem = window.frames.MSearchResults.searchResults.NavNext(0); - if (elem) elem.focus(); + window.frames.MSearchResults.postMessage("take_focus", "*"); } } else if (e.keyCode==27) // Escape out of the search field @@ -347,13 +332,13 @@ function SearchBox(name, resultsPath, inFrame, label) if (idx!=-1) { var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension; resultsPageWithSearch = resultsPage+'?'+escape(searchValue); hasResultsPage = true; } else // nothing available for this search term { - resultsPage = this.resultsPath + '/nomatches.html'; + resultsPage = this.resultsPath + '/nomatches' + this.extension; resultsPageWithSearch = resultsPage; hasResultsPage = false; } @@ -364,26 +349,19 @@ function SearchBox(name, resultsPath, inFrame, label) if (domPopupSearchResultsWindow.style.display!='block') { var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } + this.DOMSearchClose().style.display = 'inline-block'; + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + var maxWidth = document.body.clientWidth; + var width = 400; + if (left<10) left=10; + if (width+left+8>maxWidth) width=maxWidth-left-8; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + domPopupSearchResultsWindow.style.width = width + 'px'; } this.lastSearchValue = searchValue; @@ -439,12 +417,12 @@ function SearchResults(name) while (element && element!=parentElement) { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') + if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') { return element; } - if (element.nodeName == 'DIV' && element.hasChildNodes()) + if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) { element = element.firstChild; } @@ -762,6 +740,7 @@ function createResults() if (searchData[e][1].length==2) // single result { srLink.setAttribute('href',searchData[e][1][1][0]); + srLink.setAttribute('onclick','parent.searchBox.CloseResultsWindow()'); if (searchData[e][1][1][1]) { srLink.setAttribute('target','_parent'); @@ -783,6 +762,7 @@ function createResults() setKeyActions(srChild,'return searchResults.NavChild(event,'+e+','+c+')'); setClassAttr(srChild,'SRScope'); srChild.setAttribute('href',searchData[e][1][c+1][0]); + srChild.setAttribute('onclick','parent.searchBox.CloseResultsWindow()'); if (searchData[e][1][c+1][1]) { srChild.setAttribute('target','_parent'); diff --git a/docs/search/searchdata.js b/docs/search/searchdata.js index 17780daf..d87a4ff4 100644 --- a/docs/search/searchdata.js +++ b/docs/search/searchdata.js @@ -1,11 +1,12 @@ var indexSectionsWithContent = { - 0: "abcdefghiklmnoprstuvwz~", + 0: "abcdefghiklmnopqrstuvwyz~", 1: "abcfgimprstvw", 2: "r", - 3: "abcdefghiklmnoprstuwz~", - 4: "cfst", - 5: "r" + 3: "abcdefghiklmnoprstuvwyz~", + 4: "cfnst", + 5: "cqrt", + 6: "r" }; var indexSectionNames = @@ -15,7 +16,8 @@ var indexSectionNames = 2: "namespaces", 3: "functions", 4: "variables", - 5: "pages" + 5: "typedefs", + 6: "pages" }; var indexSectionLabels = @@ -25,6 +27,7 @@ var indexSectionLabels = 2: "Namespaces", 3: "Functions", 4: "Variables", - 5: "Pages" + 5: "Typedefs", + 6: "Pages" }; diff --git a/docs/search/typedefs_0.html b/docs/search/typedefs_0.html index 376db479..882b2a19 100644 --- a/docs/search/typedefs_0.html +++ b/docs/search/typedefs_0.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/typedefs_0.js b/docs/search/typedefs_0.js index be9c10d8..ee11f1f6 100644 --- a/docs/search/typedefs_0.js +++ b/docs/search/typedefs_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['camera_1215',['Camera',['../namespaceraylib.html#a44fa75f4522455fb2231d9950c40d629',1,'raylib']]] + ['camera_0',['Camera',['../namespaceraylib.html#a44fa75f4522455fb2231d9950c40d629',1,'raylib']]] ]; diff --git a/docs/search/typedefs_1.html b/docs/search/typedefs_1.html index 9b8bf72f..54ce58e1 100644 --- a/docs/search/typedefs_1.html +++ b/docs/search/typedefs_1.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/typedefs_1.js b/docs/search/typedefs_1.js index e44463cc..361d73e3 100644 --- a/docs/search/typedefs_1.js +++ b/docs/search/typedefs_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['quaternion_1216',['Quaternion',['../namespaceraylib.html#a35a146d156ee0cb20e51c65c1356009f',1,'raylib']]] + ['quaternion_0',['Quaternion',['../namespaceraylib.html#a35a146d156ee0cb20e51c65c1356009f',1,'raylib']]] ]; diff --git a/docs/search/typedefs_2.html b/docs/search/typedefs_2.html index d18982f5..9fc36bdf 100644 --- a/docs/search/typedefs_2.html +++ b/docs/search/typedefs_2.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/typedefs_2.js b/docs/search/typedefs_2.js index 11c2f8d3..741af00a 100644 --- a/docs/search/typedefs_2.js +++ b/docs/search/typedefs_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['rendertexture2d_1217',['RenderTexture2D',['../namespaceraylib.html#ad0bcd17a51d5afe483d6f57e03cc3237',1,'raylib']]] + ['rendertexture2d_0',['RenderTexture2D',['../namespaceraylib.html#ad0bcd17a51d5afe483d6f57e03cc3237',1,'raylib']]] ]; diff --git a/docs/search/typedefs_3.html b/docs/search/typedefs_3.html index 8941740c..05938a18 100644 --- a/docs/search/typedefs_3.html +++ b/docs/search/typedefs_3.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/typedefs_3.js b/docs/search/typedefs_3.js index 90c25a31..7693f57f 100644 --- a/docs/search/typedefs_3.js +++ b/docs/search/typedefs_3.js @@ -1,5 +1,5 @@ var searchData= [ - ['texture2d_1218',['Texture2D',['../namespaceraylib.html#acbfa8d0b01da4e378cebe24c50c2f55f',1,'raylib']]], - ['texturecubemap_1219',['TextureCubemap',['../namespaceraylib.html#a31a94f5d187fbad00d1231541a1fe445',1,'raylib']]] + ['texture2d_0',['Texture2D',['../namespaceraylib.html#acbfa8d0b01da4e378cebe24c50c2f55f',1,'raylib']]], + ['texturecubemap_1',['TextureCubemap',['../namespaceraylib.html#a31a94f5d187fbad00d1231541a1fe445',1,'raylib']]] ]; diff --git a/docs/search/variables_0.html b/docs/search/variables_0.html index bf3eba5c..950bfc5f 100644 --- a/docs/search/variables_0.html +++ b/docs/search/variables_0.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/variables_0.js b/docs/search/variables_0.js index 90dcfeed..926c6f8f 100644 --- a/docs/search/variables_0.js +++ b/docs/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['color_953',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]] + ['color_0',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]] ]; diff --git a/docs/search/variables_1.html b/docs/search/variables_1.html index 49fe59a1..fed58a5d 100644 --- a/docs/search/variables_1.html +++ b/docs/search/variables_1.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/variables_1.js b/docs/search/variables_1.js index cd504bcc..9ea47dc7 100644 --- a/docs/search/variables_1.js +++ b/docs/search/variables_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['font_954',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], - ['fontsize_955',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]] + ['font_0',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], + ['fontsize_1',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]] ]; diff --git a/docs/search/variables_2.html b/docs/search/variables_2.html index 0c8a18cf..761c194a 100644 --- a/docs/search/variables_2.html +++ b/docs/search/variables_2.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/variables_2.js b/docs/search/variables_2.js index 05224b10..efb3a188 100644 --- a/docs/search/variables_2.js +++ b/docs/search/variables_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['spacing_956',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]] + ['number_0',['number',['../classraylib_1_1_gamepad.html#a66632b63f6edf508a980e9198f60a8f3',1,'raylib::Gamepad']]] ]; diff --git a/docs/search/variables_3.html b/docs/search/variables_3.html index 19a31fc2..78bfe03b 100644 --- a/docs/search/variables_3.html +++ b/docs/search/variables_3.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/variables_3.js b/docs/search/variables_3.js index 24d4666e..dbacb628 100644 --- a/docs/search/variables_3.js +++ b/docs/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['text_957',['text',['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text']]] + ['spacing_0',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]] ]; diff --git a/docs/search/variables_4.html b/docs/search/variables_4.html index bdc37be7..4d608da1 100644 --- a/docs/search/variables_4.html +++ b/docs/search/variables_4.html @@ -1,7 +1,8 @@ - + + - + @@ -10,21 +11,27 @@
    Loading...
    - +
    Searching...
    No Matches
    - +
    diff --git a/docs/search/variables_4.js b/docs/search/variables_4.js index 13797800..454a99e9 100644 --- a/docs/search/variables_4.js +++ b/docs/search/variables_4.js @@ -1,7 +1,4 @@ var searchData= [ - ['m_5fcount_1050',['m_count',['../classraylib_1_1_dropped_files.html#a34ffc3383a9b90c30b5467f313f6afe1',1,'raylib::DroppedFiles']]], - ['m_5ffiles_1051',['m_files',['../classraylib_1_1_dropped_files.html#a8fc854eaf6a5d9646c18db2e74256c9b',1,'raylib::DroppedFiles']]], - ['magenta_1052',['Magenta',['../classraylib_1_1_color.html#ad7a1625e6c9d2db268776aefa34d686a',1,'raylib::Color']]], - ['maroon_1053',['Maroon',['../classraylib_1_1_color.html#ac84d719088ad1af8d1cfc40f8a4f2ab3',1,'raylib::Color']]] + ['text_0',['text',['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text']]] ]; diff --git a/docs/splitbar.png b/docs/splitbar.png index fe895f2c58179b471a22d8320b39a4bd7312ec8e..58a8081b983eb0b4ca8a2b88d6afec13fee380c4 100644 GIT binary patch literal 288 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf@Vhiko;7B-%gT z-@9p9V2ShsxkGbz8ZTNfb0h1kl{$}>WwT2;CP{Y5zUZ@b{2|`^<&4dH>ALsV_wnAb zyfbg#9hvoU^74Bv?$y`rDX-nrGFRh}i0h0+9Kj-qT}nQIEt*{hu7b;O3I27i`u}!M z{hvS1)5Y)EeEZhPUS3=G@=-zcuASdrEl%gJ{q;{iZtlzLFKcSPf88^`?!{%L8J&cU fML6JM{0sArM&n3@ISfmIUS{xg^>bP0l+XkKTt0V$ literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T diff --git a/docs/sync_off.png b/docs/sync_off.png index 3b443fc62892114406e3d399421b2a881b897acc..224ee1ee38f3a942a47a85055df4be166bea390a 100644 GIT binary patch delta 790 zcmV+x1L^$L2CN22t6sES`2E7RuJ`k8!F zLdw8k2*8!+uPhpuSX>KCA1;rp*k66+XlC-$!j zoR-1{r+=obz~*dCh-~lhay0x7CvS}W07O0CZ}XsOxZE$%7U-}zb1SB8mkMZ;RxvX*F2z)Nw6_SW0 zfR7@o;RAfrNp{^DL;w>+i*_D=qy4P=8_DMYpUPq3z*u+kX5o-94PYGT;o4<(ZeBR1 z-HBX2S(oooXcRj<9B{QZgO7hj7%fQ;%Cpj{jm5rA1J79WaE@v%5&{V@ly z)*f;C6&`LaW#Xv#bh-d-;>Zls1~40aVw?FTx2d()jIKSO2QUY;vpa;@@@RmdwzjOD&(?J@3T*Qk4VTikJWT65A!;g1QrA~63(*)eZcUZk92cFdYT321 z{(1&DX4LoHRpZk-5&%1&$31D?D*n=;96CPCx|SL`-pyRZW8=?w_-InH z%IJqtbblnj-yf%_Adjk`W@NhjJTyZ8*;|!n9=K#TJuZz+={YZ#>8iu)`7i%Z4BTPh z@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK&4RGz|D5HNrW83-#ydk}tVKJrNmyYt- zsTxLGlJY5nc&ReU4MWqu}FZmD{J`n3D`v9z%4LJ~z=1RHD@u|`Nr^x;iKfkG6d5!gjZ7kyBK#Im@$8-&`z)8=gbOy90D$-~hI zfXlPj7CTBTdK%LSk@rXsijEUdFS#qSeL}===X@BV+bfvD&V3xCK2fw$uQ0pFC z+qy#7Ujfaltf;-Kp>Zi-^c26vU+d+RZI+p2g#LFnTLZ*)&=+8SHo&*ZlRXdkeQ(TK zbYK21a=vJ)usN#RZnOvgLH~1khj=oL%SwgPWo_pGM*sbW6tGTtaBS51>Zt}eBOf-I z50)3%bbr)Dm>rCb*l-a}-gK=kg<+dVKgK=}OO`cWvN(6k{ft&zU7~Kl)w}NvQgR%6 z|Bh{HFcrXUdVHUBc4e)egGYzbEV?3I3D?p5XJClsC$c$RlLFwW^D$I+L>PHK1mLC3 zxev6+eJD`CME3{AQiC~x(H9ACI8Ac%oviiS5q|(L*YvV-0?ZY6#1!OFwCOJE0q%8* zUB4y}z!ce|gD2i-r-UY+)^mWb^`|)Wu{(L2_(K@Q0N|7Ka5bBQn-`ARZpSa5kd|AI zYZV|-SNz5FOaT+!YX)X37E+z46k0B|_-nvny{*Lc_@L4C21xWC%kiKulY}nM00000 MNe4wvM6N<$f?2YA9{>OV delta 823 zcmV-71IYZO2F(VLBYy)FNklY;xxyHF2B5Wzm|OOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<| zQ`7IQhabNU^YoZUp zj19m5YFoaoxI&oSA0H(nyeh~HIfapy9Fat=9R`J&i z9-ewF5Wk5-lO?DTXQr4ofay3T+Vy{|73+8E*;UWK0+}e{?s4UCp?Ys8?25-irRFo`ae_NQm1r7i+Eh@npzz~H#4+rIk%L?ZMOv#_;W`Ap# z(xB;gBPu~fYD-mlKKq)>$@M0CwW2teZ8b}2tP5%yYJY=7D!)#S)@f&V!#6~#l5KkF zssy?EOWVG&h_+23=A_MQ&_9owZ~d%a<ZP1@J}O4m&ohWg<~1ve`YBzeRe(rZr30yw6myOj+_XyUzTS9X?-X!HZ`1b~U_>afxir~2-s}R(Y~UrI`HXx`?qC#yL6T&U zBpGDT>m@fd{D*gq-#v)(%4^~cm2IZFqqYwkN9qTfCt7FP7dltEH+pya t4+hU*_+s=9#-Cu4FinHmH#7hJ0ks7l*1M&l>Hq)$07*qoLOlfD TS)Sv400000NkvXXu0mjfHF0k#2 z0}HsPAnUOlpAQ6WW3hJ`_I$lDECU9G@%RuAcjxXVZm;6{oLt1ZbJo4M?7kMQbKZ)x zMw~Xz>Li#M#~T45CLysO;{O>Ua)eY%jVQ8!oRO2gbF|V2;S=l~C3-(<_W%F@07*qo IM6N<$f+ayiDF6Tf delta 141 zcmV;80CNAf0jU9yB!6&8L_t(|0qxyQ4uc>RMd8Q0(A2oN4s~GSz_eB{&>x`2eL8dp zT|~jMkaNG}u7bAx%XOvre3E$i74E&jKK~gPF}n{Y8=!5(I0xKQ+0l61Ou$w991{_m v-m(zHX%0n}isespgrbrefo^!<(&``6OBznHeiUi|0000fQkq@5Zr)stq(5Z zQj)P#7vc_k&8-7h5%@^*uR`Ld#dshX^@N9~asM#xqH-IJ>$`GuGu9X7>S|mzKZ`~= zKO1LmdQxW)pUFD`LH;0Mcjq3uR(Q)wB;Nu3BL9ii(Pa2)zZ5TI86&v_U`YS~002ov JPDHLkV1kPjM6>_^ delta 149 zcmV;G0BZlY0kHv)B!75GL_t(|0qxyQ62U+ahT)!m5vAP5&XPrTh`$;lA(gU`WGdHk z1V?cjJ&Jq0-&5VEkmu{I)5%E32^4itUiJ7}z+VH0qT^Twc6rPG(y=|aRzqfH=H?W8 zu=b6L2=la3=bR;9_2>VNqV~72jSdG9$8vRNwkSVmXck;)J`Q|y00000NkvXXu0mjf D4%bFx diff --git a/docs/tab_s.png b/docs/tab_s.png index ab478c95b67371d700a20869f7de1ddd73522d50..69bd939398440e7b7e72abd8a50e6b989ae3cd9b 100644 GIT binary patch delta 169 zcmV;a09OCF0mT83B!7%aL_t(|0qxyS3ITB#2H;n(g_2|=7LrI7OmYO|Pa+JB<^&Fa zEY$bPo!m#Vv9hw5#qg7hJoOv{+v|s&P;7@rFA%+r*b0nI_r_YRuZ%Tctop{vQY+kpk4i8{|2X?nF XgTp4fFpMTY00000NkvXXu0mjfzI078 delta 156 zcmV;N0Av5f0k{E>B!7QNL_t(|0qxy^34%ZXK+&T=Q4$n|q#~N4C8kM{mx^YVHd`CC zNWLn{S^f~#UuRg?v)<^0000< KMNUMnLSTXzJ4gxu diff --git a/docs/tabs.css b/docs/tabs.css index 7d45d36c..00d1c602 100644 --- a/docs/tabs.css +++ b/docs/tabs.css @@ -1 +1 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0px 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0px 1px 1px rgba(255,255,255,0.9);color:#283A5D;outline:none}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a.current{color:#D23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media (min-width: 768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283A5D transparent transparent transparent;background:transparent;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0px 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a:hover span.sub-arrow{border-color:#fff transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;border-radius:5px !important;box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent #fff}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #D23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#D23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:#666;-webkit-transition:all .25s;transition:all .25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px)}#main-menu-state:not(:checked) ~ #main-menu{display:none}#main-menu-state:checked ~ #main-menu{display:block}@media(min-width:768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked) ~ #main-menu{display:block}}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/toggle-alternative-theme.js b/docs/toggle-alternative-theme.js new file mode 100644 index 00000000..72c37317 --- /dev/null +++ b/docs/toggle-alternative-theme.js @@ -0,0 +1,12 @@ + +let original_theme_active = true; + +function toggle_alternative_theme() { + if(original_theme_active) { + document.documentElement.classList.add("alternative") + original_theme_active = false; + } else { + document.documentElement.classList.remove("alternative") + original_theme_active = true; + } +} \ No newline at end of file From 6e4d642ab3c42c242186c7d4a7a4f8c7564b5b22 Mon Sep 17 00:00:00 2001 From: Raynei Date: Sun, 5 Jun 2022 10:34:48 -0400 Subject: [PATCH 2/3] Updated readme about doc generation --- projects/Doxygen/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/projects/Doxygen/README.md b/projects/Doxygen/README.md index 5e62b4f5..f5265256 100644 --- a/projects/Doxygen/README.md +++ b/projects/Doxygen/README.md @@ -1,7 +1,16 @@ # raylib-cpp Doxygen -To build the documentation for raylib-cpp, run the following from root... +To build the docs, your first need the `doxygen-awesome` css theme: +```sh +# At the root of the project +git submodule add https://github.com/jothepro/doxygen-awesome-css.git +cd doxygen-awesome-css +git checkout v2.0.3 ``` + +Then you can just build the docs +```sh +# Also at the root of the project doxygen projects/Doxygen/Doxyfile ``` From 68f300125d83b4d63ba791749482c6a1fb00d132 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Wed, 8 Jun 2022 10:27:45 -0400 Subject: [PATCH 3/3] Simplify the doxygen-awesome-css usage --- .gitmodules | 3 + README.md | 1 + docs/_audio_device_8hpp_source.html | 160 +- docs/_audio_stream_8hpp_source.html | 377 +- docs/_bounding_box_8hpp_source.html | 198 +- docs/_camera2_d_8hpp_source.html | 199 +- docs/_camera3_d_8hpp_source.html | 335 +- docs/_color_8hpp_source.html | 557 ++- docs/_font_8hpp_source.html | 472 +- docs/_functions_8hpp_source.html | 619 ++- docs/_gamepad_8hpp_source.html | 249 +- docs/_image_8hpp_source.html | 1201 +++--- docs/_material_8hpp_source.html | 287 +- docs/_matrix_8hpp_source.html | 507 +-- docs/_mesh_8hpp_source.html | 575 ++- docs/_model_8hpp_source.html | 485 +-- docs/_model_animation_8hpp_source.html | 268 +- docs/_mouse_8hpp_source.html | 271 +- docs/_music_8hpp_source.html | 430 +- docs/_physics_8hpp_source.html | 325 +- docs/_ray_8hpp_source.html | 231 +- docs/_ray_collision_8hpp_source.html | 175 +- docs/_raylib_exception_8hpp_source.html | 114 +- docs/_rectangle_8hpp_source.html | 408 +- docs/_render_texture_8hpp_source.html | 285 +- docs/_shader_8hpp_source.html | 348 +- docs/_sound_8hpp_source.html | 394 +- docs/_text_8hpp_source.html | 375 +- docs/_texture_8hpp_source.html | 618 ++- docs/_vector2_8hpp_source.html | 656 ++- docs/_vector3_8hpp_source.html | 734 ++-- docs/_vector4_8hpp_source.html | 435 +- docs/_vr_stereo_config_8hpp_source.html | 189 +- docs/_wave_8hpp_source.html | 432 +- docs/_window_8hpp_source.html | 598 ++- docs/annotated.html | 80 +- docs/bc_s.png | Bin 645 -> 676 bytes docs/bdwn.png | Bin 134 -> 147 bytes docs/classes.html | 172 +- .../classraylib_1_1_audio_device-members.html | 69 +- docs/classraylib_1_1_audio_device.html | 228 +- .../classraylib_1_1_audio_stream-members.html | 107 +- docs/classraylib_1_1_audio_stream.html | 816 +--- .../classraylib_1_1_bounding_box-members.html | 79 +- docs/classraylib_1_1_bounding_box.html | 453 +- docs/classraylib_1_1_camera2_d-members.html | 85 +- docs/classraylib_1_1_camera2_d.html | 417 +- docs/classraylib_1_1_camera3_d-members.html | 99 +- docs/classraylib_1_1_camera3_d.html | 741 +--- docs/classraylib_1_1_color-members.html | 173 +- docs/classraylib_1_1_color.html | 2441 ++--------- docs/classraylib_1_1_font-members.html | 113 +- docs/classraylib_1_1_font.html | 1075 +---- docs/classraylib_1_1_gamepad-members.html | 85 +- docs/classraylib_1_1_gamepad.html | 632 +-- docs/classraylib_1_1_image-members.html | 215 +- docs/classraylib_1_1_image.html | 3826 +++-------------- docs/classraylib_1_1_material-members.html | 91 +- docs/classraylib_1_1_material.html | 582 +-- docs/classraylib_1_1_matrix-members.html | 151 +- docs/classraylib_1_1_matrix.html | 1487 +------ docs/classraylib_1_1_mesh-members.html | 139 +- docs/classraylib_1_1_mesh.html | 1666 ++----- docs/classraylib_1_1_model-members.html | 125 +- docs/classraylib_1_1_model.html | 1064 +---- ...assraylib_1_1_model_animation-members.html | 87 +- docs/classraylib_1_1_model_animation.html | 489 +-- docs/classraylib_1_1_mouse-members.html | 97 +- docs/classraylib_1_1_mouse.html | 715 +-- docs/classraylib_1_1_music-members.html | 111 +- docs/classraylib_1_1_music.html | 1033 +---- docs/classraylib_1_1_physics-members.html | 107 +- docs/classraylib_1_1_physics.html | 948 +--- docs/classraylib_1_1_ray-members.html | 83 +- docs/classraylib_1_1_ray.html | 591 +-- ...classraylib_1_1_ray_collision-members.html | 79 +- docs/classraylib_1_1_ray_collision.html | 373 +- ...ssraylib_1_1_raylib_exception-members.html | 63 +- docs/classraylib_1_1_raylib_exception.html | 76 +- docs/classraylib_1_1_rectangle-members.html | 125 +- docs/classraylib_1_1_rectangle.html | 1339 +----- ...lassraylib_1_1_render_texture-members.html | 91 +- docs/classraylib_1_1_render_texture.html | 633 +-- docs/classraylib_1_1_shader-members.html | 103 +- docs/classraylib_1_1_shader.html | 641 +-- docs/classraylib_1_1_sound-members.html | 103 +- docs/classraylib_1_1_sound.html | 814 +--- docs/classraylib_1_1_text-members.html | 89 +- docs/classraylib_1_1_text.html | 493 +-- docs/classraylib_1_1_texture-members.html | 135 +- docs/classraylib_1_1_texture.html | 1757 +------- docs/classraylib_1_1_vector2-members.html | 153 +- docs/classraylib_1_1_vector2.html | 2117 +-------- docs/classraylib_1_1_vector3-members.html | 183 +- docs/classraylib_1_1_vector3.html | 2454 +---------- docs/classraylib_1_1_vector4-members.html | 137 +- docs/classraylib_1_1_vector4.html | 1422 +----- ...ssraylib_1_1_vr_stereo_config-members.html | 71 +- docs/classraylib_1_1_vr_stereo_config.html | 286 +- docs/classraylib_1_1_wave-members.html | 105 +- docs/classraylib_1_1_wave.html | 895 +--- docs/classraylib_1_1_window-members.html | 127 +- docs/classraylib_1_1_window.html | 1676 +------- docs/closed.png | Bin 129 -> 132 bytes .../dir_d44c64559bbebec7f509842c48db8b23.html | 142 +- docs/doc.png | Bin 743 -> 746 bytes docs/doxygen.css | 366 +- docs/dynsections.js | 35 +- docs/folderclosed.png | Bin 599 -> 616 bytes docs/folderopen.png | Bin 638 -> 597 bytes docs/functions.html | 95 +- docs/functions_b.html | 78 +- docs/functions_c.html | 164 +- docs/functions_d.html | 145 +- docs/functions_e.html | 78 +- docs/functions_f.html | 98 +- docs/functions_func.html | 93 +- docs/functions_func_b.html | 76 +- docs/functions_func_c.html | 158 +- docs/functions_func_d.html | 143 +- docs/functions_func_e.html | 76 +- docs/functions_func_f.html | 88 +- docs/functions_func_g.html | 608 ++- docs/functions_func_h.html | 62 +- docs/functions_func_i.html | 157 +- docs/functions_func_k.html | 58 +- docs/functions_func_l.html | 116 +- docs/functions_func_m.html | 102 +- docs/functions_func_n.html | 61 +- docs/functions_func_o.html | 108 +- docs/functions_func_p.html | 83 +- docs/functions_func_r.html | 114 +- docs/functions_func_s.html | 592 ++- docs/functions_func_t.html | 102 +- docs/functions_func_u.html | 105 +- docs/functions_func_w.html | 67 +- docs/functions_func_z.html | 58 +- docs/functions_func_~.html | 86 +- docs/functions_g.html | 610 ++- docs/functions_h.html | 64 +- docs/functions_i.html | 159 +- docs/functions_k.html | 60 +- docs/functions_l.html | 118 +- docs/functions_m.html | 104 +- docs/functions_n.html | 64 +- docs/functions_o.html | 110 +- docs/functions_p.html | 85 +- docs/functions_r.html | 116 +- docs/functions_s.html | 598 ++- docs/functions_t.html | 108 +- docs/functions_u.html | 107 +- docs/functions_vars.html | 73 +- docs/functions_w.html | 69 +- docs/functions_z.html | 60 +- docs/functions_~.html | 88 +- docs/hierarchy.html | 142 +- docs/index.html | 77 +- docs/jquery.js | 4 +- docs/menu.js | 119 +- docs/menudata.js | 41 +- docs/namespacemembers.html | 275 +- docs/namespacemembers_func.html | 260 +- docs/namespaceraylib.html | 2158 +--------- docs/namespaces.html | 93 +- docs/nav_f.png | Bin 157 -> 153 bytes docs/nav_h.png | Bin 99 -> 98 bytes docs/open.png | Bin 119 -> 123 bytes docs/physac_8hpp_source.html | 88 +- docs/raylib-cpp-utils_8hpp_source.html | 89 +- docs/raylib-cpp_8hpp_source.html | 148 +- docs/raylib_8hpp_source.html | 88 +- docs/raymath_8hpp_source.html | 104 +- docs/search/all_0.html | 23 +- docs/search/all_0.js | 21 +- docs/search/all_1.html | 23 +- docs/search/all_1.js | 12 +- docs/search/all_10.html | 23 +- docs/search/all_10.js | 152 +- docs/search/all_11.html | 23 +- docs/search/all_11.js | 158 +- docs/search/all_12.html | 23 +- docs/search/all_12.js | 43 +- docs/search/all_13.html | 23 +- docs/search/all_13.js | 14 +- docs/search/all_14.html | 23 +- docs/search/all_14.js | 8 +- docs/search/all_15.html | 23 +- docs/search/all_15.js | 5 +- docs/search/all_16.html | 23 +- docs/search/all_16.js | 6 +- docs/search/all_2.html | 23 +- docs/search/all_2.js | 56 +- docs/search/all_3.html | 23 +- docs/search/all_3.js | 62 +- docs/search/all_4.html | 23 +- docs/search/all_4.js | 12 +- docs/search/all_5.html | 23 +- docs/search/all_5.js | 25 +- docs/search/all_6.html | 23 +- docs/search/all_6.js | 287 +- docs/search/all_7.html | 23 +- docs/search/all_7.js | 4 +- docs/search/all_8.html | 23 +- docs/search/all_8.js | 48 +- docs/search/all_9.html | 23 +- docs/search/all_9.js | 2 +- docs/search/all_a.html | 23 +- docs/search/all_a.js | 41 +- docs/search/all_b.html | 23 +- docs/search/all_b.js | 33 +- docs/search/all_c.html | 23 +- docs/search/all_c.js | 5 +- docs/search/all_d.html | 23 +- docs/search/all_d.js | 38 +- docs/search/all_e.html | 23 +- docs/search/all_e.js | 16 +- docs/search/all_f.html | 23 +- docs/search/all_f.js | 17 +- docs/search/classes_0.html | 23 +- docs/search/classes_0.js | 4 +- docs/search/classes_1.html | 23 +- docs/search/classes_1.js | 2 +- docs/search/classes_2.html | 23 +- docs/search/classes_2.js | 6 +- docs/search/classes_3.html | 23 +- docs/search/classes_3.js | 2 +- docs/search/classes_4.html | 23 +- docs/search/classes_4.js | 2 +- docs/search/classes_5.html | 23 +- docs/search/classes_5.js | 2 +- docs/search/classes_6.html | 23 +- docs/search/classes_6.js | 14 +- docs/search/classes_7.html | 23 +- docs/search/classes_7.js | 2 +- docs/search/classes_8.html | 23 +- docs/search/classes_8.js | 10 +- docs/search/classes_9.html | 23 +- docs/search/classes_9.js | 4 +- docs/search/classes_a.html | 23 +- docs/search/classes_a.js | 4 +- docs/search/classes_b.html | 23 +- docs/search/classes_b.js | 8 +- docs/search/classes_c.html | 23 +- docs/search/classes_c.js | 4 +- docs/search/functions_0.html | 23 +- docs/search/functions_0.js | 21 +- docs/search/functions_1.html | 23 +- docs/search/functions_1.js | 12 +- docs/search/functions_10.html | 23 +- docs/search/functions_10.js | 261 +- docs/search/functions_11.html | 23 +- docs/search/functions_11.js | 50 +- docs/search/functions_12.html | 23 +- docs/search/functions_12.js | 20 +- docs/search/functions_13.html | 23 +- docs/search/functions_13.js | 8 +- docs/search/functions_14.html | 23 +- docs/search/functions_14.js | 5 +- docs/search/functions_15.html | 23 +- docs/search/functions_15.js | 6 +- docs/search/functions_2.html | 23 +- docs/search/functions_2.js | 52 +- docs/search/functions_3.html | 23 +- docs/search/functions_3.js | 62 +- docs/search/functions_4.html | 23 +- docs/search/functions_4.js | 12 +- docs/search/functions_5.html | 23 +- docs/search/functions_5.js | 21 +- docs/search/functions_6.html | 23 +- docs/search/functions_6.js | 286 +- docs/search/functions_7.html | 23 +- docs/search/functions_7.js | 4 +- docs/search/functions_8.html | 23 +- docs/search/functions_8.js | 48 +- docs/search/functions_9.html | 23 +- docs/search/functions_9.js | 2 +- docs/search/functions_a.html | 23 +- docs/search/functions_a.js | 41 +- docs/search/functions_b.html | 23 +- docs/search/functions_b.js | 28 +- docs/search/functions_c.html | 23 +- docs/search/functions_c.js | 4 +- docs/search/functions_d.html | 23 +- docs/search/functions_d.js | 38 +- docs/search/functions_e.html | 23 +- docs/search/functions_e.js | 15 +- docs/search/functions_f.html | 23 +- docs/search/functions_f.js | 34 +- docs/search/namespaces_0.html | 23 +- docs/search/namespaces_0.js | 2 +- docs/search/nomatches.html | 3 +- docs/search/pages_0.html | 23 +- docs/search/pages_0.js | 2 +- docs/search/search.css | 124 +- docs/search/search.js | 118 +- docs/search/searchdata.js | 15 +- docs/search/variables_0.html | 23 +- docs/search/variables_0.js | 2 +- docs/search/variables_1.html | 23 +- docs/search/variables_1.js | 4 +- docs/search/variables_2.html | 23 +- docs/search/variables_2.js | 2 +- docs/search/variables_3.html | 23 +- docs/search/variables_3.js | 2 +- docs/splitbar.png | Bin 288 -> 314 bytes docs/sync_off.png | Bin 812 -> 853 bytes docs/sync_on.png | Bin 804 -> 845 bytes docs/tab_a.png | Bin 167 -> 142 bytes docs/tab_b.png | Bin 182 -> 169 bytes docs/tab_h.png | Bin 183 -> 177 bytes docs/tab_s.png | Bin 197 -> 184 bytes docs/tabs.css | 2 +- include/raylib-cpp.hpp | 2 +- projects/Doxygen/Doxyfile | 2 +- projects/Doxygen/README.md | 14 +- projects/Doxygen/doxygen-awesome-css | 1 + 316 files changed, 18508 insertions(+), 47534 deletions(-) create mode 100644 .gitmodules create mode 160000 projects/Doxygen/doxygen-awesome-css diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..21a62abc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "projects/Doxygen/doxygen-awesome-css"] + path = projects/Doxygen/doxygen-awesome-css + url = https://github.com/jothepro/doxygen-awesome-css.git diff --git a/README.md b/README.md index fa67ef3b..0a3e0fde 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,7 @@ See [`core_basic_window_web.html`](examples/core/resources/core_basic_window_web To build the document with [Doxygen](http://www.doxygen.nl/), use... ``` +git submodule update --init doxygen projects/Doxygen/Doxyfile ``` diff --git a/docs/_audio_device_8hpp_source.html b/docs/_audio_device_8hpp_source.html index 3e22294d..e55b901f 100644 --- a/docs/_audio_device_8hpp_source.html +++ b/docs/_audio_device_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: AudioDevice.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    AudioDevice.hpp
    +
    +
    AudioDevice.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6#include "./RaylibException.hpp"
    -
    7
    -
    8namespace raylib {
    - -
    13 public:
    -
    21 AudioDevice(bool lateInit = false) {
    -
    22 if (!lateInit) {
    -
    23 if (!Init()) {
    -
    24 throw RaylibException("Failed to initialize AudioDevice");
    -
    25 }
    -
    26 }
    -
    27 }
    -
    28
    - -
    33 Close();
    -
    34 }
    -
    35
    -
    39 inline bool Init() {
    -
    40 ::InitAudioDevice();
    -
    41 return IsReady();
    -
    42 }
    -
    43
    -
    47 inline void Close() {
    -
    48 ::CloseAudioDevice();
    -
    49 }
    -
    50
    -
    54 inline bool IsReady() const {
    -
    55 return ::IsAudioDeviceReady();
    -
    56 }
    -
    57
    -
    63 inline AudioDevice& SetVolume(float volume) {
    -
    64 ::SetMasterVolume(volume);
    -
    65 return *this;
    -
    66 }
    -
    67};
    -
    68} // namespace raylib
    -
    69
    -
    70#endif // RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
    -
    Audio device management functions.
    Definition: AudioDevice.hpp:12
    -
    void Close()
    Close the audio device and context.
    Definition: AudioDevice.hpp:47
    -
    AudioDevice & SetVolume(float volume)
    Set master volume (listener).
    Definition: AudioDevice.hpp:63
    -
    bool IsReady() const
    Check if audio device has been initialized successfully.
    Definition: AudioDevice.hpp:54
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 #include "./RaylibException.hpp"
    +
    7 
    +
    8 namespace raylib {
    +
    12 class AudioDevice {
    +
    13  public:
    +
    21  AudioDevice(bool lateInit = false) {
    +
    22  if (!lateInit) {
    +
    23  if (!Init()) {
    +
    24  throw RaylibException("Failed to initialize AudioDevice");
    +
    25  }
    +
    26  }
    +
    27  }
    +
    28 
    + +
    33  Close();
    +
    34  }
    +
    35 
    +
    39  inline bool Init() {
    +
    40  ::InitAudioDevice();
    +
    41  return IsReady();
    +
    42  }
    +
    43 
    +
    47  inline void Close() {
    +
    48  ::CloseAudioDevice();
    +
    49  }
    +
    50 
    +
    54  inline bool IsReady() const {
    +
    55  return ::IsAudioDeviceReady();
    +
    56  }
    +
    57 
    +
    63  inline AudioDevice& SetVolume(float volume) {
    +
    64  ::SetMasterVolume(volume);
    +
    65  return *this;
    +
    66  }
    +
    67 };
    +
    68 } // namespace raylib
    +
    69 
    +
    70 #endif // RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    AudioDevice & SetVolume(float volume)
    Set master volume (listener).
    Definition: AudioDevice.hpp:63
    bool Init()
    Initialize audio device and context.
    Definition: AudioDevice.hpp:39
    ~AudioDevice()
    Close the audio device and context.
    Definition: AudioDevice.hpp:32
    AudioDevice(bool lateInit=false)
    Initialize audio device and context.
    Definition: AudioDevice.hpp:21
    +
    Audio device management functions.
    Definition: AudioDevice.hpp:12
    +
    void Close()
    Close the audio device and context.
    Definition: AudioDevice.hpp:47
    +
    bool IsReady() const
    Check if audio device has been initialized successfully.
    Definition: AudioDevice.hpp:54
    Exception used for most raylib-related exceptions.
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
  • -
    - + diff --git a/docs/_audio_stream_8hpp_source.html b/docs/_audio_stream_8hpp_source.html index ccca5418..9f6c3f85 100644 --- a/docs/_audio_stream_8hpp_source.html +++ b/docs/_audio_stream_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: AudioStream.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    AudioStream.hpp
    +
    +
    AudioStream.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6#include "./RaylibException.hpp"
    -
    7
    -
    8namespace raylib {
    -
    12class AudioStream : public ::AudioStream {
    -
    13 public:
    -
    14 AudioStream(const ::AudioStream& music) {
    -
    15 set(music);
    -
    16 }
    -
    17
    -
    18 AudioStream(rAudioBuffer* buffer = nullptr,
    -
    19 unsigned int sampleRate = 0,
    -
    20 unsigned int sampleSize = 0,
    -
    21 unsigned int channels = 0) : ::AudioStream{buffer, sampleRate, sampleSize, channels} {
    -
    22 // Nothing.
    -
    23 }
    -
    24
    -
    30 AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
    -
    31 if (!Load(SampleRate, SampleSize, Channels)) {
    -
    32 throw RaylibException("Failed to create AudioStream");
    -
    33 }
    -
    34 }
    -
    35
    -
    36 AudioStream(const AudioStream&) = delete;
    -
    37
    - -
    39 set(other);
    -
    40
    -
    41 other.buffer = nullptr;
    -
    42 other.sampleRate = 0;
    -
    43 other.sampleSize = 0;
    -
    44 other.channels = 0;
    -
    45 }
    -
    46
    - -
    48 Unload();
    -
    49 }
    -
    50
    -
    51 GETTERSETTER(rAudioBuffer *, Buffer, buffer)
    -
    52 GETTERSETTER(unsigned int, SampleRate, sampleRate)
    -
    53 GETTERSETTER(unsigned int, SampleSize, sampleSize)
    -
    54 GETTERSETTER(unsigned int, Channels, channels)
    -
    55
    -
    56 AudioStream& operator=(const ::AudioStream& stream) {
    -
    57 set(stream);
    -
    58 return *this;
    -
    59 }
    -
    60
    - -
    62
    -
    63 AudioStream& operator=(AudioStream&& other) noexcept {
    -
    64 if (this == &other) {
    -
    65 return *this;
    -
    66 }
    -
    67
    -
    68 Unload();
    -
    69 set(other);
    -
    70
    -
    71 other.buffer = nullptr;
    -
    72 other.sampleRate = 0;
    -
    73 other.sampleSize = 0;
    -
    74 other.channels = 0;
    -
    75
    -
    76 return *this;
    -
    77 }
    -
    78
    -
    82 inline AudioStream& Update(const void *data, int samplesCount) {
    -
    83 ::UpdateAudioStream(*this, data, samplesCount);
    -
    84 return *this;
    -
    85 }
    -
    86
    -
    90 inline void Unload() {
    -
    91 ::UnloadAudioStream(*this);
    -
    92 }
    -
    93
    -
    97 inline bool IsProcessed() const {
    -
    98 return ::IsAudioStreamProcessed(*this);
    -
    99 }
    -
    100
    -
    104 inline AudioStream& Play() {
    -
    105 ::PlayAudioStream(*this);
    -
    106 return *this;
    -
    107 }
    -
    108
    -
    112 inline AudioStream& Pause() {
    -
    113 ::PauseAudioStream(*this);
    -
    114 return *this;
    -
    115 }
    -
    116
    -
    120 inline AudioStream& Resume() {
    -
    121 ::ResumeAudioStream(*this);
    -
    122 return *this;
    -
    123 }
    -
    124
    -
    128 inline bool IsPlaying() const {
    -
    129 return ::IsAudioStreamPlaying(*this);
    -
    130 }
    -
    131
    -
    135 inline AudioStream& Stop() {
    -
    136 ::StopAudioStream(*this);
    -
    137 return *this;
    -
    138 }
    -
    139
    -
    143 inline AudioStream& SetVolume(float volume) {
    -
    144 ::SetAudioStreamVolume(*this, volume);
    -
    145 return *this;
    -
    146 }
    -
    147
    -
    151 inline AudioStream& SetPitch(float pitch) {
    -
    152 ::SetAudioStreamPitch(*this, pitch);
    -
    153 return *this;
    -
    154 }
    -
    155
    -
    159 inline static void SetBufferSizeDefault(int size) {
    -
    160 ::SetAudioStreamBufferSizeDefault(size);
    -
    161 }
    -
    162
    -
    166 bool IsReady() {
    -
    167 return channels > 0;
    -
    168 }
    -
    169
    -
    175 bool Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
    -
    176 set(::LoadAudioStream(SampleRate, SampleSize, Channels));
    -
    177 return IsReady();
    -
    178 }
    -
    179
    -
    180 private:
    -
    181 inline void set(const ::AudioStream& stream) {
    -
    182 buffer = stream.buffer;
    -
    183 sampleRate = stream.sampleRate;
    -
    184 sampleSize = stream.sampleSize;
    -
    185 channels = stream.channels;
    -
    186 }
    -
    187};
    -
    188} // namespace raylib
    -
    189
    -
    190#endif // RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
    -
    AudioStream management functions.
    Definition: AudioStream.hpp:12
    -
    AudioStream & Stop()
    Stop audio stream.
    -
    AudioStream & SetPitch(float pitch)
    Set pitch for audio stream (1.0 is base level)
    -
    bool IsProcessed() const
    Check if any audio stream buffers requires refill.
    Definition: AudioStream.hpp:97
    -
    AudioStream(AudioStream &&other)
    Definition: AudioStream.hpp:38
    - -
    AudioStream & Play()
    Play audio stream.
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 #include "./RaylibException.hpp"
    +
    7 
    +
    8 namespace raylib {
    +
    12 class AudioStream : public ::AudioStream {
    +
    13  public:
    +
    14  AudioStream(const ::AudioStream& music) {
    +
    15  set(music);
    +
    16  }
    +
    17 
    +
    18  AudioStream(rAudioBuffer* buffer = nullptr,
    +
    19  unsigned int sampleRate = 0,
    +
    20  unsigned int sampleSize = 0,
    +
    21  unsigned int channels = 0) : ::AudioStream{buffer, sampleRate, sampleSize, channels} {
    +
    22  // Nothing.
    +
    23  }
    +
    24 
    +
    30  AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
    +
    31  if (!Load(SampleRate, SampleSize, Channels)) {
    +
    32  throw RaylibException("Failed to create AudioStream");
    +
    33  }
    +
    34  }
    +
    35 
    +
    36  AudioStream(const AudioStream&) = delete;
    +
    37 
    +
    38  AudioStream(AudioStream&& other) {
    +
    39  set(other);
    +
    40 
    +
    41  other.buffer = nullptr;
    +
    42  other.sampleRate = 0;
    +
    43  other.sampleSize = 0;
    +
    44  other.channels = 0;
    +
    45  }
    +
    46 
    +
    47  ~AudioStream() {
    +
    48  Unload();
    +
    49  }
    +
    50 
    +
    51  GETTERSETTER(rAudioBuffer *, Buffer, buffer)
    +
    52  GETTERSETTER(unsigned int, SampleRate, sampleRate)
    +
    53  GETTERSETTER(unsigned int, SampleSize, sampleSize)
    +
    54  GETTERSETTER(unsigned int, Channels, channels)
    +
    55 
    +
    56  AudioStream& operator=(const ::AudioStream& stream) {
    +
    57  set(stream);
    +
    58  return *this;
    +
    59  }
    +
    60 
    +
    61  AudioStream& operator=(const AudioStream&) = delete;
    +
    62 
    +
    63  AudioStream& operator=(AudioStream&& other) noexcept {
    +
    64  if (this == &other) {
    +
    65  return *this;
    +
    66  }
    +
    67 
    +
    68  Unload();
    +
    69  set(other);
    +
    70 
    +
    71  other.buffer = nullptr;
    +
    72  other.sampleRate = 0;
    +
    73  other.sampleSize = 0;
    +
    74  other.channels = 0;
    +
    75 
    +
    76  return *this;
    +
    77  }
    +
    78 
    +
    82  inline AudioStream& Update(const void *data, int samplesCount) {
    +
    83  ::UpdateAudioStream(*this, data, samplesCount);
    +
    84  return *this;
    +
    85  }
    +
    86 
    +
    90  inline void Unload() {
    +
    91  ::UnloadAudioStream(*this);
    +
    92  }
    +
    93 
    +
    97  inline bool IsProcessed() const {
    +
    98  return ::IsAudioStreamProcessed(*this);
    +
    99  }
    +
    100 
    +
    104  inline AudioStream& Play() {
    +
    105  ::PlayAudioStream(*this);
    +
    106  return *this;
    +
    107  }
    +
    108 
    +
    112  inline AudioStream& Pause() {
    +
    113  ::PauseAudioStream(*this);
    +
    114  return *this;
    +
    115  }
    +
    116 
    +
    120  inline AudioStream& Resume() {
    +
    121  ::ResumeAudioStream(*this);
    +
    122  return *this;
    +
    123  }
    +
    124 
    +
    128  inline bool IsPlaying() const {
    +
    129  return ::IsAudioStreamPlaying(*this);
    +
    130  }
    +
    131 
    +
    135  inline AudioStream& Stop() {
    +
    136  ::StopAudioStream(*this);
    +
    137  return *this;
    +
    138  }
    +
    139 
    +
    143  inline AudioStream& SetVolume(float volume) {
    +
    144  ::SetAudioStreamVolume(*this, volume);
    +
    145  return *this;
    +
    146  }
    +
    147 
    +
    151  inline AudioStream& SetPitch(float pitch) {
    +
    152  ::SetAudioStreamPitch(*this, pitch);
    +
    153  return *this;
    +
    154  }
    +
    155 
    +
    159  inline static void SetBufferSizeDefault(int size) {
    +
    160  ::SetAudioStreamBufferSizeDefault(size);
    +
    161  }
    +
    162 
    +
    166  bool IsReady() {
    +
    167  return channels > 0;
    +
    168  }
    +
    169 
    +
    175  bool Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
    +
    176  set(::LoadAudioStream(SampleRate, SampleSize, Channels));
    +
    177  return IsReady();
    +
    178  }
    +
    179 
    +
    180  private:
    +
    181  inline void set(const ::AudioStream& stream) {
    +
    182  buffer = stream.buffer;
    +
    183  sampleRate = stream.sampleRate;
    +
    184  sampleSize = stream.sampleSize;
    +
    185  channels = stream.channels;
    +
    186  }
    +
    187 };
    +
    188 } // namespace raylib
    +
    189 
    +
    190 #endif // RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    bool IsPlaying() const
    Check if audio stream is playing.
    -
    AudioStream & SetVolume(float volume)
    Set volume for audio stream (1.0 is max level)
    -
    AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
    Init audio stream (to stream raw audio pcm data)
    Definition: AudioStream.hpp:30
    -
    void Unload()
    Unload audio stream and free memory.
    Definition: AudioStream.hpp:90
    -
    AudioStream(const ::AudioStream &music)
    Definition: AudioStream.hpp:14
    +
    AudioStream & Stop()
    Stop audio stream.
    +
    AudioStream & Update(const void *data, int samplesCount)
    Update audio stream buffers with data.
    Definition: AudioStream.hpp:82
    +
    AudioStream & Resume()
    Resume audio stream.
    static void SetBufferSizeDefault(int size)
    Default size for new audio streams.
    -
    AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)
    Definition: AudioStream.hpp:18
    -
    AudioStream & operator=(AudioStream &&other) noexcept
    Definition: AudioStream.hpp:63
    -
    AudioStream & operator=(const AudioStream &)=delete
    -
    AudioStream & Pause()
    Pause audio stream.
    -
    AudioStream(const AudioStream &)=delete
    +
    AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
    Init audio stream (to stream raw audio pcm data)
    Definition: AudioStream.hpp:30
    bool Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
    Init audio stream (to stream raw audio pcm data)
    +
    AudioStream & Play()
    Play audio stream.
    +
    bool IsProcessed() const
    Check if any audio stream buffers requires refill.
    Definition: AudioStream.hpp:97
    +
    AudioStream & Pause()
    Pause audio stream.
    +
    AudioStream & SetPitch(float pitch)
    Set pitch for audio stream (1.0 is base level)
    +
    AudioStream management functions.
    Definition: AudioStream.hpp:12
    +
    AudioStream & SetVolume(float volume)
    Set volume for audio stream (1.0 is max level)
    +
    void Unload()
    Unload audio stream and free memory.
    Definition: AudioStream.hpp:90
    bool IsReady()
    Retrieve whether or not the audio stream is ready.
    -
    AudioStream & Resume()
    Resume audio stream.
    -
    AudioStream & Update(const void *data, int samplesCount)
    Update audio stream buffers with data.
    Definition: AudioStream.hpp:82
    Exception used for most raylib-related exceptions.
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    -
    - + diff --git a/docs/_bounding_box_8hpp_source.html b/docs/_bounding_box_8hpp_source.html index 6b962a95..9471aac6 100644 --- a/docs/_bounding_box_8hpp_source.html +++ b/docs/_bounding_box_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: BoundingBox.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    BoundingBox.hpp
    +
    +
    BoundingBox.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6
    -
    7namespace raylib {
    -
    11class BoundingBox : public ::BoundingBox {
    -
    12 public:
    -
    13 BoundingBox(const ::BoundingBox& box) {
    -
    14 set(box);
    -
    15 }
    -
    16
    -
    20 BoundingBox(const ::Mesh& mesh) {
    -
    21 set(::GetMeshBoundingBox(mesh));
    -
    22 }
    -
    23
    -
    24 BoundingBox(::Vector3 minMax) : ::BoundingBox{minMax, minMax} {}
    -
    25 BoundingBox(::Vector3 min, ::Vector3 max) : ::BoundingBox{min, max} {}
    -
    26
    -
    27 GETTERSETTER(::Vector3, Min, min)
    -
    28 GETTERSETTER(::Vector3, Max, max)
    -
    29
    -
    30 BoundingBox& operator=(const ::BoundingBox& box) {
    -
    31 set(box);
    -
    32 return *this;
    -
    33 }
    -
    34
    -
    38 inline BoundingBox& Draw(::Color color = {255, 255, 255, 255}) {
    -
    39 DrawBoundingBox(*this, color);
    -
    40 return *this;
    -
    41 }
    -
    42
    -
    46 inline bool CheckCollision(const ::BoundingBox& box2) const {
    -
    47 return CheckCollisionBoxes(*this, box2);
    -
    48 }
    -
    49
    -
    53 inline bool CheckCollision(::Vector3 center, float radius) const {
    -
    54 return CheckCollisionBoxSphere(*this, center, radius);
    -
    55 }
    -
    56
    -
    60 inline bool CheckCollision(const ::Ray& ray) const {
    -
    61 return GetRayCollisionBox(ray, *this).hit;
    -
    62 }
    -
    63
    -
    67 inline RayCollision GetCollision(const ::Ray& ray) const {
    -
    68 return GetRayCollisionBox(ray, *this);
    -
    69 }
    -
    70
    -
    71 private:
    -
    72 inline void set(const ::BoundingBox& box) {
    -
    73 min = box.min;
    -
    74 max = box.max;
    -
    75 }
    -
    76};
    -
    77} // namespace raylib
    -
    78
    -
    79#endif // RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
    -
    Bounding box type.
    Definition: BoundingBox.hpp:11
    -
    BoundingBox(const ::BoundingBox &box)
    Definition: BoundingBox.hpp:13
    -
    bool CheckCollision(::Vector3 center, float radius) const
    Detect collision between box and sphere.
    Definition: BoundingBox.hpp:53
    -
    BoundingBox(::Vector3 minMax)
    Definition: BoundingBox.hpp:24
    -
    RayCollision GetCollision(const ::Ray &ray) const
    Get collision information between ray and bounding box.
    Definition: BoundingBox.hpp:67
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 
    +
    7 namespace raylib {
    +
    11 class BoundingBox : public ::BoundingBox {
    +
    12  public:
    +
    13  BoundingBox(const ::BoundingBox& box) {
    +
    14  set(box);
    +
    15  }
    +
    16 
    +
    20  BoundingBox(const ::Mesh& mesh) {
    +
    21  set(::GetMeshBoundingBox(mesh));
    +
    22  }
    +
    23 
    +
    24  BoundingBox(::Vector3 minMax) : ::BoundingBox{minMax, minMax} {}
    +
    25  BoundingBox(::Vector3 min, ::Vector3 max) : ::BoundingBox{min, max} {}
    +
    26 
    +
    27  GETTERSETTER(::Vector3, Min, min)
    +
    28  GETTERSETTER(::Vector3, Max, max)
    +
    29 
    +
    30  BoundingBox& operator=(const ::BoundingBox& box) {
    +
    31  set(box);
    +
    32  return *this;
    +
    33  }
    +
    34 
    +
    38  inline BoundingBox& Draw(::Color color = {255, 255, 255, 255}) {
    +
    39  DrawBoundingBox(*this, color);
    +
    40  return *this;
    +
    41  }
    +
    42 
    +
    46  inline bool CheckCollision(const ::BoundingBox& box2) const {
    +
    47  return CheckCollisionBoxes(*this, box2);
    +
    48  }
    +
    49 
    +
    53  inline bool CheckCollision(::Vector3 center, float radius) const {
    +
    54  return CheckCollisionBoxSphere(*this, center, radius);
    +
    55  }
    +
    56 
    +
    60  inline bool CheckCollision(const ::Ray& ray) const {
    +
    61  return GetRayCollisionBox(ray, *this).hit;
    +
    62  }
    +
    63 
    +
    67  inline RayCollision GetCollision(const ::Ray& ray) const {
    +
    68  return GetRayCollisionBox(ray, *this);
    +
    69  }
    +
    70 
    +
    71  private:
    +
    72  inline void set(const ::BoundingBox& box) {
    +
    73  min = box.min;
    +
    74  max = box.max;
    +
    75  }
    +
    76 };
    +
    77 } // namespace raylib
    +
    78 
    +
    79 #endif // RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Raycast hit information.
    BoundingBox(const ::Mesh &mesh)
    Compute mesh bounding box limits.
    Definition: BoundingBox.hpp:20
    -
    BoundingBox & Draw(::Color color={255, 255, 255, 255})
    Draw a bounding box with wires.
    Definition: BoundingBox.hpp:38
    -
    BoundingBox(::Vector3 min, ::Vector3 max)
    Definition: BoundingBox.hpp:25
    +
    BoundingBox & Draw(::Color color={255, 255, 255, 255})
    Draw a bounding box with wires.
    Definition: BoundingBox.hpp:38
    +
    Vector3 type.
    Definition: Vector3.hpp:16
    +
    bool CheckCollision(::Vector3 center, float radius) const
    Detect collision between box and sphere.
    Definition: BoundingBox.hpp:53
    bool CheckCollision(const ::BoundingBox &box2) const
    Detect collision between two boxes.
    Definition: BoundingBox.hpp:46
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    Bounding box type.
    Definition: BoundingBox.hpp:11
    bool CheckCollision(const ::Ray &ray) const
    Detect collision between ray and bounding box.
    Definition: BoundingBox.hpp:60
    -
    Raycast hit information.
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    -
    +
    RayCollision GetCollision(const ::Ray &ray) const
    Get collision information between ray and bounding box.
    Definition: BoundingBox.hpp:67
    - + diff --git a/docs/_camera2_d_8hpp_source.html b/docs/_camera2_d_8hpp_source.html index c2d59152..427980eb 100644 --- a/docs/_camera2_d_8hpp_source.html +++ b/docs/_camera2_d_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Camera2D.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Camera2D.hpp
    +
    +
    Camera2D.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./Vector2.hpp"
    -
    6#include "./raylib-cpp-utils.hpp"
    -
    7
    -
    8namespace raylib {
    -
    12class Camera2D : public ::Camera2D {
    -
    13 public:
    -
    14 Camera2D(const ::Camera2D& camera) {
    -
    15 set(camera);
    -
    16 }
    -
    17
    - -
    19 Camera2D(::Vector2 offset, ::Vector2 target,
    -
    20 float rotation = 0.0f, float zoom = 1.0f) : ::Camera2D{offset, target, rotation, zoom} {}
    -
    21
    -
    22 inline Camera2D& BeginMode() {
    -
    23 ::BeginMode2D(*this);
    -
    24 return *this;
    -
    25 }
    -
    26
    -
    27 inline Camera2D& EndMode() {
    -
    28 ::EndMode2D();
    -
    29 return *this;
    -
    30 }
    -
    31
    -
    32 GETTERSETTER(::Vector2, Offset, offset)
    -
    33 GETTERSETTER(::Vector2, Target, target)
    -
    34 GETTERSETTER(float, Rotation, rotation)
    -
    35 GETTERSETTER(float, Zoom, zoom)
    -
    36
    -
    37 Camera2D& operator=(const ::Camera2D& camera) {
    -
    38 set(camera);
    -
    39 return *this;
    -
    40 }
    -
    41
    -
    45 inline Matrix GetMatrix() const {
    -
    46 return ::GetCameraMatrix2D(*this);
    -
    47 }
    -
    48
    -
    52 inline Vector2 GetWorldToScreen(::Vector2 position) const {
    -
    53 return ::GetWorldToScreen2D(position, *this);
    -
    54 }
    -
    55
    -
    59 inline Vector2 GetScreenToWorld(::Vector2 position) const {
    -
    60 return ::GetScreenToWorld2D(position, *this);
    -
    61 }
    -
    62
    -
    63 private:
    -
    64 inline void set(const ::Camera2D& camera) {
    -
    65 offset = camera.offset;
    -
    66 target = camera.target;
    -
    67 rotation = camera.rotation;
    -
    68 zoom = camera.zoom;
    -
    69 }
    -
    70};
    -
    71} // namespace raylib
    -
    72
    -
    73#endif // RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
    -
    Camera2D type, defines a 2d camera.
    Definition: Camera2D.hpp:12
    -
    Camera2D(const ::Camera2D &camera)
    Definition: Camera2D.hpp:14
    -
    Camera2D & EndMode()
    Definition: Camera2D.hpp:27
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./Vector2.hpp"
    +
    6 #include "./raylib-cpp-utils.hpp"
    +
    7 
    +
    8 namespace raylib {
    +
    12 class Camera2D : public ::Camera2D {
    +
    13  public:
    +
    14  Camera2D(const ::Camera2D& camera) {
    +
    15  set(camera);
    +
    16  }
    +
    17 
    +
    18  Camera2D() {}
    +
    19  Camera2D(::Vector2 offset, ::Vector2 target,
    +
    20  float rotation = 0.0f, float zoom = 1.0f) : ::Camera2D{offset, target, rotation, zoom} {}
    +
    21 
    +
    22  inline Camera2D& BeginMode() {
    +
    23  ::BeginMode2D(*this);
    +
    24  return *this;
    +
    25  }
    +
    26 
    +
    27  inline Camera2D& EndMode() {
    +
    28  ::EndMode2D();
    +
    29  return *this;
    +
    30  }
    +
    31 
    +
    32  GETTERSETTER(::Vector2, Offset, offset)
    +
    33  GETTERSETTER(::Vector2, Target, target)
    +
    34  GETTERSETTER(float, Rotation, rotation)
    +
    35  GETTERSETTER(float, Zoom, zoom)
    +
    36 
    +
    37  Camera2D& operator=(const ::Camera2D& camera) {
    +
    38  set(camera);
    +
    39  return *this;
    +
    40  }
    +
    41 
    +
    45  inline Matrix GetMatrix() const {
    +
    46  return ::GetCameraMatrix2D(*this);
    +
    47  }
    +
    48 
    +
    52  inline Vector2 GetWorldToScreen(::Vector2 position) const {
    +
    53  return ::GetWorldToScreen2D(position, *this);
    +
    54  }
    +
    55 
    +
    59  inline Vector2 GetScreenToWorld(::Vector2 position) const {
    +
    60  return ::GetScreenToWorld2D(position, *this);
    +
    61  }
    +
    62 
    +
    63  private:
    +
    64  inline void set(const ::Camera2D& camera) {
    +
    65  offset = camera.offset;
    +
    66  target = camera.target;
    +
    67  rotation = camera.rotation;
    +
    68  zoom = camera.zoom;
    +
    69  }
    +
    70 };
    +
    71 } // namespace raylib
    +
    72 
    +
    73 #endif // RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    Vector2 GetScreenToWorld(::Vector2 position) const
    Returns the world space position for a 2d camera screen space position.
    Definition: Camera2D.hpp:59
    - -
    Camera2D & BeginMode()
    Definition: Camera2D.hpp:22
    Matrix GetMatrix() const
    Returns camera 2d transform matrix.
    Definition: Camera2D.hpp:45
    -
    Vector2 GetWorldToScreen(::Vector2 position) const
    Returns the screen space position for a 3d world space position.
    Definition: Camera2D.hpp:52
    -
    Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)
    Definition: Camera2D.hpp:19
    -
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    +
    Camera2D type, defines a 2d camera.
    Definition: Camera2D.hpp:12
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    -
    +
    Vector2 GetWorldToScreen(::Vector2 position) const
    Returns the screen space position for a 3d world space position.
    Definition: Camera2D.hpp:52
    - + diff --git a/docs/_camera3_d_8hpp_source.html b/docs/_camera3_d_8hpp_source.html index 96ca05e5..a6a48267 100644 --- a/docs/_camera3_d_8hpp_source.html +++ b/docs/_camera3_d_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Camera3D.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Camera3D.hpp
    +
    +
    Camera3D.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./Vector3.hpp"
    -
    6#include "./raylib-cpp-utils.hpp"
    -
    7
    -
    8namespace raylib {
    -
    12class Camera3D : public ::Camera3D {
    -
    13 public:
    -
    14 Camera3D(const ::Camera3D& camera) {
    -
    15 set(camera);
    -
    16 }
    -
    17
    -
    27 Camera3D(::Vector3 position,
    -
    28 ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
    -
    29 ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
    -
    30 float fovy = 0,
    -
    31 int projection = CAMERA_PERSPECTIVE) : ::Camera3D{position, target, up, fovy, projection} {}
    -
    32
    - -
    34
    -
    35 GETTERSETTER(::Vector3, Position, position)
    -
    36 GETTERSETTER(::Vector3, Target, target)
    -
    37 GETTERSETTER(::Vector3, Up, up)
    -
    38 GETTERSETTER(float, Fovy, fovy)
    -
    39 GETTERSETTER(int, Projection, projection)
    -
    40
    -
    41 Camera3D& operator=(const ::Camera3D& camera) {
    -
    42 set(camera);
    -
    43 return *this;
    -
    44 }
    -
    45
    - -
    50 ::BeginMode3D(*this);
    -
    51 return *this;
    -
    52 }
    -
    53
    - -
    58 ::EndMode3D();
    -
    59 return *this;
    -
    60 }
    -
    61
    -
    65 inline Matrix GetMatrix() const {
    -
    66 return ::GetCameraMatrix(*this);
    -
    67 }
    -
    68
    -
    72 inline Camera3D& SetMode(int mode) {
    -
    73 ::SetCameraMode(*this, mode);
    -
    74 return *this;
    -
    75 }
    -
    76
    -
    80 inline Camera3D& SetAltControl(int altKey) {
    -
    81 ::SetCameraAltControl(altKey);
    -
    82 return *this;
    -
    83 }
    -
    84
    -
    88 inline Camera3D& SetSmoothZoomControl(int szKey) {
    -
    89 ::SetCameraSmoothZoomControl(szKey);
    -
    90 return *this;
    -
    91 }
    -
    92
    - -
    97 int frontKey, int backKey,
    -
    98 int rightKey, int leftKey,
    -
    99 int upKey, int downKey) {
    -
    100 ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
    -
    101 return *this;
    -
    102 }
    -
    103
    -
    107 inline Camera3D& Update() {
    -
    108 ::UpdateCamera(this);
    -
    109 return *this;
    -
    110 }
    -
    111
    -
    115 inline Ray GetMouseRay(::Vector2 mousePosition) const {
    -
    116 return ::GetMouseRay(mousePosition, *this);
    -
    117 }
    -
    118
    -
    122 inline Vector2 GetWorldToScreen(::Vector3 position) const {
    -
    123 return ::GetWorldToScreen(position, *this);
    -
    124 }
    -
    125
    - -
    130 const ::Texture2D& texture,
    -
    131 ::Vector3 center,
    -
    132 float size,
    -
    133 ::Color tint = {255, 255, 255, 255}) {
    -
    134 ::DrawBillboard(*this, texture, center, size, tint);
    -
    135 return *this;
    -
    136 }
    -
    137
    - -
    142 const ::Texture2D& texture,
    -
    143 ::Rectangle sourceRec,
    -
    144 ::Vector3 center,
    -
    145 ::Vector2 size,
    -
    146 ::Color tint = {255, 255, 255, 255}) {
    -
    147 ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
    -
    148 return *this;
    -
    149 }
    -
    150
    -
    151 private:
    -
    152 inline void set(const ::Camera3D& camera) {
    -
    153 position = camera.position;
    -
    154 target = camera.target;
    -
    155 up = camera.up;
    -
    156 fovy = camera.fovy;
    -
    157 projection = camera.projection;
    -
    158 }
    -
    159};
    -
    160
    - -
    162} // namespace raylib
    -
    163
    -
    164#endif // RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
    -
    Camera type, defines a camera position/orientation in 3d space.
    Definition: Camera3D.hpp:12
    -
    Matrix GetMatrix() const
    Get transform matrix for camera.
    Definition: Camera3D.hpp:65
    -
    Camera3D & DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
    Draw a billboard texture.
    Definition: Camera3D.hpp:129
    -
    Camera3D & SetAltControl(int altKey)
    Set camera alt key to combine with mouse movement (free camera)
    Definition: Camera3D.hpp:80
    -
    Camera3D & BeginMode()
    Initializes 3D mode with custom camera (3D)
    Definition: Camera3D.hpp:49
    -
    Camera3D & EndMode()
    Ends 3D mode and returns to default 2D orthographic mode.
    Definition: Camera3D.hpp:57
    -
    Camera3D & SetMode(int mode)
    Set camera mode (multiple camera modes available)
    Definition: Camera3D.hpp:72
    -
    Vector2 GetWorldToScreen(::Vector3 position) const
    Returns the screen space position for a 3d world space position.
    Definition: Camera3D.hpp:122
    - -
    Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
    Set camera move controls (1st person and 3rd person cameras)
    Definition: Camera3D.hpp:96
    -
    Camera3D(const ::Camera3D &camera)
    Definition: Camera3D.hpp:14
    -
    Camera3D & DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
    Draw a billboard texture defined by source.
    Definition: Camera3D.hpp:141
    -
    Camera3D & SetSmoothZoomControl(int szKey)
    Set camera smooth zoom key to combine with mouse (free camera)
    Definition: Camera3D.hpp:88
    -
    Camera3D & Update()
    Update camera position for selected mode.
    Definition: Camera3D.hpp:107
    -
    Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
    Create a new Camera3D.
    Definition: Camera3D.hpp:27
    -
    Ray GetMouseRay(::Vector2 mousePosition) const
    Returns a ray trace from mouse position.
    Definition: Camera3D.hpp:115
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./Vector3.hpp"
    +
    6 #include "./raylib-cpp-utils.hpp"
    +
    7 
    +
    8 namespace raylib {
    +
    12 class Camera3D : public ::Camera3D {
    +
    13  public:
    +
    14  Camera3D(const ::Camera3D& camera) {
    +
    15  set(camera);
    +
    16  }
    +
    17 
    +
    27  Camera3D(::Vector3 position,
    +
    28  ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
    +
    29  ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
    +
    30  float fovy = 0,
    +
    31  int projection = CAMERA_PERSPECTIVE) : ::Camera3D{position, target, up, fovy, projection} {}
    +
    32 
    +
    33  Camera3D() {}
    +
    34 
    +
    35  GETTERSETTER(::Vector3, Position, position)
    +
    36  GETTERSETTER(::Vector3, Target, target)
    +
    37  GETTERSETTER(::Vector3, Up, up)
    +
    38  GETTERSETTER(float, Fovy, fovy)
    +
    39  GETTERSETTER(int, Projection, projection)
    +
    40 
    +
    41  Camera3D& operator=(const ::Camera3D& camera) {
    +
    42  set(camera);
    +
    43  return *this;
    +
    44  }
    +
    45 
    + +
    50  ::BeginMode3D(*this);
    +
    51  return *this;
    +
    52  }
    +
    53 
    + +
    58  ::EndMode3D();
    +
    59  return *this;
    +
    60  }
    +
    61 
    +
    65  inline Matrix GetMatrix() const {
    +
    66  return ::GetCameraMatrix(*this);
    +
    67  }
    +
    68 
    +
    72  inline Camera3D& SetMode(int mode) {
    +
    73  ::SetCameraMode(*this, mode);
    +
    74  return *this;
    +
    75  }
    +
    76 
    +
    80  inline Camera3D& SetAltControl(int altKey) {
    +
    81  ::SetCameraAltControl(altKey);
    +
    82  return *this;
    +
    83  }
    +
    84 
    +
    88  inline Camera3D& SetSmoothZoomControl(int szKey) {
    +
    89  ::SetCameraSmoothZoomControl(szKey);
    +
    90  return *this;
    +
    91  }
    +
    92 
    + +
    97  int frontKey, int backKey,
    +
    98  int rightKey, int leftKey,
    +
    99  int upKey, int downKey) {
    +
    100  ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
    +
    101  return *this;
    +
    102  }
    +
    103 
    +
    107  inline Camera3D& Update() {
    +
    108  ::UpdateCamera(this);
    +
    109  return *this;
    +
    110  }
    +
    111 
    +
    115  inline Ray GetMouseRay(::Vector2 mousePosition) const {
    +
    116  return ::GetMouseRay(mousePosition, *this);
    +
    117  }
    +
    118 
    +
    122  inline Vector2 GetWorldToScreen(::Vector3 position) const {
    +
    123  return ::GetWorldToScreen(position, *this);
    +
    124  }
    +
    125 
    + +
    130  const ::Texture2D& texture,
    +
    131  ::Vector3 center,
    +
    132  float size,
    +
    133  ::Color tint = {255, 255, 255, 255}) {
    +
    134  ::DrawBillboard(*this, texture, center, size, tint);
    +
    135  return *this;
    +
    136  }
    +
    137 
    + +
    142  const ::Texture2D& texture,
    +
    143  ::Rectangle sourceRec,
    +
    144  ::Vector3 center,
    +
    145  ::Vector2 size,
    +
    146  ::Color tint = {255, 255, 255, 255}) {
    +
    147  ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
    +
    148  return *this;
    +
    149  }
    +
    150 
    +
    151  private:
    +
    152  inline void set(const ::Camera3D& camera) {
    +
    153  position = camera.position;
    +
    154  target = camera.target;
    +
    155  up = camera.up;
    +
    156  fovy = camera.fovy;
    +
    157  projection = camera.projection;
    +
    158  }
    +
    159 };
    +
    160 
    +
    161 typedef Camera3D Camera;
    +
    162 } // namespace raylib
    +
    163 
    +
    164 #endif // RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    +
    static void UpdateCamera(const ::Camera &camera)
    Update camera depending on selected mode.
    Definition: Functions.hpp:202
    +
    Ray GetMouseRay(::Vector2 mousePosition) const
    Returns a ray trace from mouse position.
    Definition: Camera3D.hpp:115
    +
    Camera3D & SetMode(int mode)
    Set camera mode (multiple camera modes available)
    Definition: Camera3D.hpp:72
    +
    Matrix GetMatrix() const
    Get transform matrix for camera.
    Definition: Camera3D.hpp:65
    +
    Camera3D & BeginMode()
    Initializes 3D mode with custom camera (3D)
    Definition: Camera3D.hpp:49
    +
    Camera3D & EndMode()
    Ends 3D mode and returns to default 2D orthographic mode.
    Definition: Camera3D.hpp:57
    Ray type (useful for raycast)
    Definition: Ray.hpp:12
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    Camera3D & Update()
    Update camera position for selected mode.
    Definition: Camera3D.hpp:107
    +
    Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
    Set camera move controls (1st person and 3rd person cameras)
    Definition: Camera3D.hpp:96
    +
    Camera3D & DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
    Draw a billboard texture defined by source.
    Definition: Camera3D.hpp:141
    +
    Camera3D & SetAltControl(int altKey)
    Set camera alt key to combine with mouse movement (free camera)
    Definition: Camera3D.hpp:80
    +
    Camera3D & DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
    Draw a billboard texture.
    Definition: Camera3D.hpp:129
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    Camera3D Camera
    Definition: Camera3D.hpp:161
    -
    static void UpdateCamera(const ::Camera &camera)
    Update camera depending on selected mode.
    Definition: Functions.hpp:202
    -
    -
    +
    Camera type, defines a camera position/orientation in 3d space.
    Definition: Camera3D.hpp:12
    +
    Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
    Create a new Camera3D.
    Definition: Camera3D.hpp:27
    +
    Rectangle type.
    Definition: Rectangle.hpp:12
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    Camera3D & SetSmoothZoomControl(int szKey)
    Set camera smooth zoom key to combine with mouse (free camera)
    Definition: Camera3D.hpp:88
    +
    Vector2 GetWorldToScreen(::Vector3 position) const
    Returns the screen space position for a 3d world space position.
    Definition: Camera3D.hpp:122
    - + diff --git a/docs/_color_8hpp_source.html b/docs/_color_8hpp_source.html index fc5db5f6..90e46f65 100644 --- a/docs/_color_8hpp_source.html +++ b/docs/_color_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Color.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Color.hpp
    +
    +
    Color.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_COLOR_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_COLOR_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./Vector4.hpp"
    -
    8#include "./raylib-cpp-utils.hpp"
    -
    9
    -
    10namespace raylib {
    -
    14class Color : public ::Color {
    -
    15 public:
    -
    16 Color(const ::Color& color) {
    -
    17 set(color);
    -
    18 }
    -
    19
    - -
    21 unsigned char red,
    -
    22 unsigned char green,
    -
    23 unsigned char blue,
    -
    24 unsigned char alpha = 255) : ::Color{red, green, blue, alpha} {};
    -
    25
    -
    29 Color() : ::Color{0, 0, 0, 255} {};
    -
    30
    -
    34 Color(::Vector3 hsv) {
    -
    35 set(::ColorFromHSV(hsv.x, hsv.y, hsv.z));
    -
    36 }
    -
    37
    -
    41 static ::Color FromHSV(float hue, float saturation, float value) {
    -
    42 return ::ColorFromHSV(hue, saturation, value);
    -
    43 }
    -
    44
    -
    48 Color(unsigned int hexValue) {
    -
    49 set(::GetColor(hexValue));
    -
    50 }
    -
    51
    -
    55 Color(::Vector4 normalized) {
    -
    56 set(::ColorFromNormalized(normalized));
    -
    57 }
    -
    58
    -
    62 int ToInt() const {
    -
    63 return ::ColorToInt(*this);
    -
    64 }
    -
    65
    -
    69 operator int() const {
    -
    70 return ::ColorToInt(*this);
    -
    71 }
    -
    72
    -
    76 Color Fade(float alpha) const {
    -
    77 return ::Fade(*this, alpha);
    -
    78 }
    -
    79
    - -
    84 return ::ColorNormalize(*this);
    -
    85 }
    -
    86
    -
    90 Vector3 ToHSV() const {
    -
    91 return ::ColorToHSV(*this);
    -
    92 }
    -
    93
    -
    94 GETTERSETTER(unsigned char, R, r)
    -
    95 GETTERSETTER(unsigned char, G, g)
    -
    96 GETTERSETTER(unsigned char, B, b)
    -
    97 GETTERSETTER(unsigned char, A, a)
    -
    98
    -
    99 Color& operator=(const ::Color& color) {
    -
    100 set(color);
    -
    101 return *this;
    -
    102 }
    -
    103
    - -
    108 ::ClearBackground(*this);
    -
    109 return *this;
    -
    110 }
    -
    111
    -
    112 inline Color& DrawPixel(int x, int y) {
    -
    113 ::DrawPixel(x, y, *this);
    -
    114 return *this;
    -
    115 }
    -
    116
    -
    120 inline Color& DrawPixel(::Vector2 pos) {
    -
    121 ::DrawPixelV(pos, *this);
    -
    122 return *this;
    -
    123 }
    -
    124
    -
    128 inline Color& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) {
    -
    129 ::DrawLine(startPosX, startPosY, endPosX, endPosY, *this);
    -
    130 return *this;
    -
    131 }
    -
    132
    -
    133 inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos) {
    -
    134 ::DrawLineV(startPos, endPos, *this);
    -
    135 return *this;
    -
    136 }
    -
    137
    -
    138 inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) {
    -
    139 ::DrawLineEx(startPos, endPos, thick, *this);
    -
    140 return *this;
    -
    141 }
    -
    142
    -
    143 inline Color& DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick) {
    -
    144 ::DrawLineBezier(startPos, endPos, thick, *this);
    -
    145 return *this;
    -
    146 }
    -
    147
    -
    148 inline Color& DrawLineStrip(::Vector2 *points, int numPoints) {
    -
    149 ::DrawLineStrip(points, numPoints, *this);
    -
    150 return *this;
    -
    151 }
    -
    152
    -
    153 inline Color& DrawText(const std::string& text, int posX, int posY, int fontSize) {
    -
    154 ::DrawText(text.c_str(), posX, posY, fontSize, *this);
    -
    155 return *this;
    -
    156 }
    -
    157
    -
    158 inline Color& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
    -
    159 float fontSize, float spacing) {
    -
    160 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
    -
    161 return *this;
    -
    162 }
    -
    163
    - -
    165 const ::Font& font,
    -
    166 const std::string& text,
    -
    167 ::Vector2 position,
    -
    168 ::Vector2 origin,
    -
    169 float rotation,
    -
    170 float fontSize,
    -
    171 float spacing) {
    -
    172 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
    -
    173 return *this;
    -
    174 }
    -
    175
    -
    176 inline Color& DrawRectangle(int posX, int posY, int width, int height) {
    -
    177 ::DrawRectangle(posX, posY, width, height, *this);
    -
    178 return *this;
    -
    179 }
    -
    180
    -
    181 inline Color& DrawRectangle(::Vector2 position, ::Vector2 size) {
    -
    182 ::DrawRectangleV(position, size, *this);
    -
    183 return *this;
    -
    184 }
    -
    185
    -
    186 inline Color& DrawRectangle(::Rectangle rec) {
    -
    187 ::DrawRectangleRec(rec, *this);
    -
    188 return *this;
    -
    189 }
    -
    190
    -
    191 inline Color& DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) {
    -
    192 ::DrawRectanglePro(rec, origin, rotation, *this);
    -
    193 return *this;
    -
    194 }
    -
    195
    -
    196 inline Color& DrawRectangleLines(int posX, int posY, int width, int height) {
    -
    197 ::DrawRectangleLines(posX, posY, width, height, *this);
    -
    198 return *this;
    -
    199 }
    -
    200
    -
    201 inline Color& DrawRectangleLines(::Rectangle rec, float lineThick) {
    -
    202 ::DrawRectangleLinesEx(rec, lineThick, *this);
    -
    203 return *this;
    -
    204 }
    -
    205
    -
    209 Color Alpha(float alpha) const {
    -
    210 return ::ColorAlpha(*this, alpha);
    -
    211 }
    -
    212
    -
    216 Color AlphaBlend(::Color dst, ::Color tint) const {
    -
    217 return ::ColorAlphaBlend(dst, *this, tint);
    -
    218 }
    -
    219
    -
    220 inline static Color LightGray() { return LIGHTGRAY; }
    -
    221 inline static Color Gray() { return GRAY; }
    -
    222 inline static Color DarkGray() { return DARKGRAY; }
    -
    223 inline static Color Yellow() { return YELLOW; }
    -
    224 inline static Color Gold() { return GOLD; }
    -
    225 inline static Color Orange() { return ORANGE; }
    -
    226 inline static Color Pink() { return PINK; }
    -
    227 inline static Color Red() { return RED; }
    -
    228 inline static Color Maroon() { return MAROON; }
    -
    229 inline static Color Green() { return GREEN; }
    -
    230 inline static Color Lime() { return LIME; }
    -
    231 inline static Color DarkGreen() { return DARKGREEN; }
    -
    232 inline static Color SkyBlue() { return SKYBLUE; }
    -
    233 inline static Color Blue() { return BLUE; }
    -
    234 inline static Color DarkBlue() { return DARKBLUE; }
    -
    235 inline static Color Purple() { return PURPLE; }
    -
    236 inline static Color Violet() { return VIOLET; }
    -
    237 inline static Color DarkPurple() { return DARKPURPLE; }
    -
    238 inline static Color Beige() { return BEIGE; }
    -
    239 inline static Color Brown() { return BROWN; }
    -
    240 inline static Color DarkBrown() { return DARKBROWN; }
    -
    241 inline static Color White() { return WHITE; }
    -
    242 inline static Color Black() { return BLACK; }
    -
    243 inline static Color Blank() { return BLANK; }
    -
    244 inline static Color Magenta() { return MAGENTA; }
    -
    245 inline static Color RayWhite() { return RAYWHITE; }
    -
    246
    -
    247 private:
    -
    248 inline void set(const ::Color& color) {
    -
    249 r = color.r;
    -
    250 g = color.g;
    -
    251 b = color.b;
    -
    252 a = color.a;
    -
    253 }
    -
    254};
    -
    255
    -
    256} // namespace raylib
    -
    257
    -
    258#endif // RAYLIB_CPP_INCLUDE_COLOR_HPP_
    -
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    -
    static Color DarkBrown()
    Definition: Color.hpp:240
    -
    Color & DrawLineStrip(::Vector2 *points, int numPoints)
    Definition: Color.hpp:148
    -
    Color & DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)
    Definition: Color.hpp:164
    -
    Color AlphaBlend(::Color dst, ::Color tint) const
    Returns src alpha-blended into dst color with tint.
    Definition: Color.hpp:216
    -
    static Color Beige()
    Definition: Color.hpp:238
    -
    Color & DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)
    Definition: Color.hpp:138
    -
    static Color Violet()
    Definition: Color.hpp:236
    -
    static Color DarkGreen()
    Definition: Color.hpp:231
    -
    static Color Green()
    Definition: Color.hpp:229
    -
    Color(::Vector3 hsv)
    Returns a Color from HSV values.
    Definition: Color.hpp:34
    -
    Color & DrawLine(::Vector2 startPos, ::Vector2 endPos)
    Definition: Color.hpp:133
    -
    static Color Yellow()
    Definition: Color.hpp:223
    -
    Color & DrawRectangle(int posX, int posY, int width, int height)
    Definition: Color.hpp:176
    -
    Color & DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)
    Definition: Color.hpp:191
    -
    static Color RayWhite()
    Definition: Color.hpp:245
    -
    static Color Magenta()
    Definition: Color.hpp:244
    -
    static Color Red()
    Definition: Color.hpp:227
    -
    Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
    Draw a line.
    Definition: Color.hpp:128
    -
    Color & DrawRectangle(::Rectangle rec)
    Definition: Color.hpp:186
    -
    ::Color FromHSV(float hue, float saturation, float value)
    Returns a Color from HSV values.
    Definition: Color.hpp:41
    -
    static Color Black()
    Definition: Color.hpp:242
    -
    Vector4 Normalize() const
    Returns Color normalized as float [0..1].
    Definition: Color.hpp:83
    -
    static Color Blank()
    Definition: Color.hpp:243
    -
    Color Fade(float alpha) const
    Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
    Definition: Color.hpp:76
    -
    Color & DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick)
    Definition: Color.hpp:143
    -
    static Color DarkGray()
    Definition: Color.hpp:222
    -
    static Color Blue()
    Definition: Color.hpp:233
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_COLOR_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_COLOR_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./Vector4.hpp"
    +
    8 #include "./raylib-cpp-utils.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    14 class Color : public ::Color {
    +
    15  public:
    +
    16  Color(const ::Color& color) {
    +
    17  set(color);
    +
    18  }
    +
    19 
    +
    20  Color(
    +
    21  unsigned char red,
    +
    22  unsigned char green,
    +
    23  unsigned char blue,
    +
    24  unsigned char alpha = 255) : ::Color{red, green, blue, alpha} {};
    +
    25 
    +
    29  Color() : ::Color{0, 0, 0, 255} {};
    +
    30 
    +
    34  Color(::Vector3 hsv) {
    +
    35  set(::ColorFromHSV(hsv.x, hsv.y, hsv.z));
    +
    36  }
    +
    37 
    +
    41  static ::Color FromHSV(float hue, float saturation, float value) {
    +
    42  return ::ColorFromHSV(hue, saturation, value);
    +
    43  }
    +
    44 
    +
    48  Color(unsigned int hexValue) {
    +
    49  set(::GetColor(hexValue));
    +
    50  }
    +
    51 
    +
    55  Color(::Vector4 normalized) {
    +
    56  set(::ColorFromNormalized(normalized));
    +
    57  }
    +
    58 
    +
    62  int ToInt() const {
    +
    63  return ::ColorToInt(*this);
    +
    64  }
    +
    65 
    +
    69  operator int() const {
    +
    70  return ::ColorToInt(*this);
    +
    71  }
    +
    72 
    +
    76  Color Fade(float alpha) const {
    +
    77  return ::Fade(*this, alpha);
    +
    78  }
    +
    79 
    +
    83  Vector4 Normalize() const {
    +
    84  return ::ColorNormalize(*this);
    +
    85  }
    +
    86 
    +
    90  Vector3 ToHSV() const {
    +
    91  return ::ColorToHSV(*this);
    +
    92  }
    +
    93 
    +
    94  GETTERSETTER(unsigned char, R, r)
    +
    95  GETTERSETTER(unsigned char, G, g)
    +
    96  GETTERSETTER(unsigned char, B, b)
    +
    97  GETTERSETTER(unsigned char, A, a)
    +
    98 
    +
    99  Color& operator=(const ::Color& color) {
    +
    100  set(color);
    +
    101  return *this;
    +
    102  }
    +
    103 
    +
    107  inline Color& ClearBackground() {
    +
    108  ::ClearBackground(*this);
    +
    109  return *this;
    +
    110  }
    +
    111 
    +
    112  inline Color& DrawPixel(int x, int y) {
    +
    113  ::DrawPixel(x, y, *this);
    +
    114  return *this;
    +
    115  }
    +
    116 
    +
    120  inline Color& DrawPixel(::Vector2 pos) {
    +
    121  ::DrawPixelV(pos, *this);
    +
    122  return *this;
    +
    123  }
    +
    124 
    +
    128  inline Color& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) {
    +
    129  ::DrawLine(startPosX, startPosY, endPosX, endPosY, *this);
    +
    130  return *this;
    +
    131  }
    +
    132 
    +
    133  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos) {
    +
    134  ::DrawLineV(startPos, endPos, *this);
    +
    135  return *this;
    +
    136  }
    +
    137 
    +
    138  inline Color& DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) {
    +
    139  ::DrawLineEx(startPos, endPos, thick, *this);
    +
    140  return *this;
    +
    141  }
    +
    142 
    +
    143  inline Color& DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick) {
    +
    144  ::DrawLineBezier(startPos, endPos, thick, *this);
    +
    145  return *this;
    +
    146  }
    +
    147 
    +
    148  inline Color& DrawLineStrip(::Vector2 *points, int numPoints) {
    +
    149  ::DrawLineStrip(points, numPoints, *this);
    +
    150  return *this;
    +
    151  }
    +
    152 
    +
    153  inline Color& DrawText(const std::string& text, int posX, int posY, int fontSize) {
    +
    154  ::DrawText(text.c_str(), posX, posY, fontSize, *this);
    +
    155  return *this;
    +
    156  }
    +
    157 
    +
    158  inline Color& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
    +
    159  float fontSize, float spacing) {
    +
    160  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
    +
    161  return *this;
    +
    162  }
    +
    163 
    +
    164  inline Color& DrawText(
    +
    165  const ::Font& font,
    +
    166  const std::string& text,
    +
    167  ::Vector2 position,
    +
    168  ::Vector2 origin,
    +
    169  float rotation,
    +
    170  float fontSize,
    +
    171  float spacing) {
    +
    172  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
    +
    173  return *this;
    +
    174  }
    +
    175 
    +
    176  inline Color& DrawRectangle(int posX, int posY, int width, int height) {
    +
    177  ::DrawRectangle(posX, posY, width, height, *this);
    +
    178  return *this;
    +
    179  }
    +
    180 
    +
    181  inline Color& DrawRectangle(::Vector2 position, ::Vector2 size) {
    +
    182  ::DrawRectangleV(position, size, *this);
    +
    183  return *this;
    +
    184  }
    +
    185 
    +
    186  inline Color& DrawRectangle(::Rectangle rec) {
    +
    187  ::DrawRectangleRec(rec, *this);
    +
    188  return *this;
    +
    189  }
    +
    190 
    +
    191  inline Color& DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) {
    +
    192  ::DrawRectanglePro(rec, origin, rotation, *this);
    +
    193  return *this;
    +
    194  }
    +
    195 
    +
    196  inline Color& DrawRectangleLines(int posX, int posY, int width, int height) {
    +
    197  ::DrawRectangleLines(posX, posY, width, height, *this);
    +
    198  return *this;
    +
    199  }
    +
    200 
    +
    201  inline Color& DrawRectangleLines(::Rectangle rec, float lineThick) {
    +
    202  ::DrawRectangleLinesEx(rec, lineThick, *this);
    +
    203  return *this;
    +
    204  }
    +
    205 
    +
    209  Color Alpha(float alpha) const {
    +
    210  return ::ColorAlpha(*this, alpha);
    +
    211  }
    +
    212 
    +
    216  Color AlphaBlend(::Color dst, ::Color tint) const {
    +
    217  return ::ColorAlphaBlend(dst, *this, tint);
    +
    218  }
    +
    219 
    +
    220  inline static Color LightGray() { return LIGHTGRAY; }
    +
    221  inline static Color Gray() { return GRAY; }
    +
    222  inline static Color DarkGray() { return DARKGRAY; }
    +
    223  inline static Color Yellow() { return YELLOW; }
    +
    224  inline static Color Gold() { return GOLD; }
    +
    225  inline static Color Orange() { return ORANGE; }
    +
    226  inline static Color Pink() { return PINK; }
    +
    227  inline static Color Red() { return RED; }
    +
    228  inline static Color Maroon() { return MAROON; }
    +
    229  inline static Color Green() { return GREEN; }
    +
    230  inline static Color Lime() { return LIME; }
    +
    231  inline static Color DarkGreen() { return DARKGREEN; }
    +
    232  inline static Color SkyBlue() { return SKYBLUE; }
    +
    233  inline static Color Blue() { return BLUE; }
    +
    234  inline static Color DarkBlue() { return DARKBLUE; }
    +
    235  inline static Color Purple() { return PURPLE; }
    +
    236  inline static Color Violet() { return VIOLET; }
    +
    237  inline static Color DarkPurple() { return DARKPURPLE; }
    +
    238  inline static Color Beige() { return BEIGE; }
    +
    239  inline static Color Brown() { return BROWN; }
    +
    240  inline static Color DarkBrown() { return DARKBROWN; }
    +
    241  inline static Color White() { return WHITE; }
    +
    242  inline static Color Black() { return BLACK; }
    +
    243  inline static Color Blank() { return BLANK; }
    +
    244  inline static Color Magenta() { return MAGENTA; }
    +
    245  inline static Color RayWhite() { return RAYWHITE; }
    +
    246 
    +
    247  private:
    +
    248  inline void set(const ::Color& color) {
    +
    249  r = color.r;
    +
    250  g = color.g;
    +
    251  b = color.b;
    +
    252  a = color.a;
    +
    253  }
    +
    254 };
    +
    255 
    +
    256 } // namespace raylib
    +
    257 
    +
    258 #endif // RAYLIB_CPP_INCLUDE_COLOR_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Vector4 type.
    Definition: Vector4.hpp:17
    +
    Color & ClearBackground()
    Set background color (framebuffer clear color)
    Definition: Color.hpp:107
    +
    Color(unsigned int hexValue)
    Get Color structure from hexadecimal value.
    Definition: Color.hpp:48
    +
    Vector3 type.
    Definition: Vector3.hpp:16
    int ToInt() const
    Returns hexadecimal value for a Color.
    Definition: Color.hpp:62
    -
    static Color Maroon()
    Definition: Color.hpp:228
    -
    static Color Purple()
    Definition: Color.hpp:235
    -
    static Color Gray()
    Definition: Color.hpp:221
    -
    Color(::Vector4 normalized)
    Returns Color from normalized values [0..1].
    Definition: Color.hpp:55
    -
    static Color DarkBlue()
    Definition: Color.hpp:234
    -
    Color & DrawPixel(::Vector2 pos)
    Draw a pixel.
    Definition: Color.hpp:120
    -
    Color & DrawRectangleLines(int posX, int posY, int width, int height)
    Definition: Color.hpp:196
    -
    Color(const ::Color &color)
    Definition: Color.hpp:16
    -
    Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
    Definition: Color.hpp:153
    -
    static Color SkyBlue()
    Definition: Color.hpp:232
    -
    Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
    Definition: Color.hpp:20
    -
    static Color DarkPurple()
    Definition: Color.hpp:237
    Vector3 ToHSV() const
    Returns HSV values for a Color.
    Definition: Color.hpp:90
    +
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    +
    Color(::Vector3 hsv)
    Returns a Color from HSV values.
    Definition: Color.hpp:34
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    Color & DrawPixel(::Vector2 pos)
    Draw a pixel.
    Definition: Color.hpp:120
    +
    Color(::Vector4 normalized)
    Returns Color from normalized values [0..1].
    Definition: Color.hpp:55
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    Color()
    Black.
    Definition: Color.hpp:29
    -
    Color & DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
    Definition: Color.hpp:158
    -
    static Color White()
    Definition: Color.hpp:241
    +
    ::Color FromHSV(float hue, float saturation, float value)
    Returns a Color from HSV values.
    Definition: Color.hpp:41
    Color Alpha(float alpha) const
    Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
    Definition: Color.hpp:209
    -
    static Color Pink()
    Definition: Color.hpp:226
    -
    static Color Lime()
    Definition: Color.hpp:230
    -
    static Color LightGray()
    Definition: Color.hpp:220
    -
    static Color Gold()
    Definition: Color.hpp:224
    -
    Color & ClearBackground()
    Set background color (framebuffer clear color)
    Definition: Color.hpp:107
    -
    Color(unsigned int hexValue)
    Get Color structure from hexadecimal value.
    Definition: Color.hpp:48
    -
    Color & DrawRectangleLines(::Rectangle rec, float lineThick)
    Definition: Color.hpp:201
    -
    static Color Brown()
    Definition: Color.hpp:239
    -
    Color & DrawPixel(int x, int y)
    Definition: Color.hpp:112
    -
    Color & DrawRectangle(::Vector2 position, ::Vector2 size)
    Definition: Color.hpp:181
    -
    static Color Orange()
    Definition: Color.hpp:225
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    Vector4 type.
    Definition: Vector4.hpp:17
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    +
    Color AlphaBlend(::Color dst, ::Color tint) const
    Returns src alpha-blended into dst color with tint.
    Definition: Color.hpp:216
    +
    Vector4 Normalize() const
    Returns Color normalized as float [0..1].
    Definition: Color.hpp:83
    +
    Color & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)
    Draw a line.
    Definition: Color.hpp:128
    +
    Color Fade(float alpha) const
    Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
    Definition: Color.hpp:76
    static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
    Draw text using font and additional parameters.
    Definition: Functions.hpp:263
    -
    -
    - + diff --git a/docs/_font_8hpp_source.html b/docs/_font_8hpp_source.html index 6cd68713..6af15ec1 100644 --- a/docs/_font_8hpp_source.html +++ b/docs/_font_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Font.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Font.hpp
    +
    +
    Font.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_FONT_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_FONT_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "./RaylibException.hpp"
    -
    9
    -
    10namespace raylib {
    -
    14class Font : public ::Font {
    -
    15 public:
    -
    16 Font(int baseSize,
    -
    17 int glyphCount,
    -
    18 int glyphPadding,
    -
    19 ::Texture2D texture,
    -
    20 ::Rectangle *recs = nullptr,
    -
    21 ::GlyphInfo *glyphs = nullptr) : ::Font{baseSize, glyphCount, glyphPadding, texture, recs, glyphs} {
    -
    22 // Nothing.
    -
    23 }
    -
    24
    -
    25 Font() {
    -
    26 set(::GetFontDefault());
    -
    27 }
    -
    28
    -
    29 Font(const ::Font& font) {
    -
    30 set(font);
    -
    31 }
    -
    32
    -
    40 Font(const std::string& fileName) {
    -
    41 if (!Load(fileName)) {
    -
    42 throw RaylibException("Failed to load Font from file");
    -
    43 }
    -
    44 }
    -
    45
    -
    55 Font(const std::string& fileName, int fontSize, int* fontChars = 0, int charCount = 0) {
    -
    56 if (!Load(fileName, fontSize, fontChars, charCount)) {
    -
    57 throw RaylibException("Failed to load font from font with extras");
    -
    58 }
    -
    59 }
    -
    60
    -
    70 Font(const ::Image& image, ::Color key, int firstChar) {
    -
    71 if (!Load(image, key, firstChar)) {
    -
    72 throw RaylibException("Failed to load Texture from Image");
    -
    73 }
    -
    74 }
    -
    75
    -
    83 Font(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
    -
    84 int *fontChars, int charsCount) {
    -
    85 if (!Load(fileType, fileData, dataSize, fontSize, fontChars, charsCount)) {
    -
    86 throw RaylibException("Failed to load Texture from file data");
    -
    87 }
    -
    88 }
    -
    89
    -
    90 Font(const Font&) = delete;
    -
    91
    -
    92 Font(Font&& other) {
    -
    93 set(other);
    -
    94
    -
    95 other.baseSize = 0;
    -
    96 other.glyphCount = 0;
    -
    97 other.glyphPadding = 0;
    -
    98 other.texture = {};
    -
    99 other.recs = nullptr;
    -
    100 other.glyphs = nullptr;
    -
    101 }
    -
    102
    - -
    104 Unload();
    -
    105 }
    -
    106
    -
    107 void Unload() {
    -
    108 UnloadFont(*this);
    -
    109 }
    -
    110
    -
    111 GETTERSETTER(int, BaseSize, baseSize)
    -
    112 GETTERSETTER(int, GlyphCount, glyphCount)
    -
    113 GETTERSETTER(int, GlyphPadding, glyphPadding)
    -
    114 GETTERSETTER(::Texture2D, Texture, texture)
    -
    115 GETTERSETTER(::Rectangle*, Recs, recs)
    -
    116 GETTERSETTER(::GlyphInfo*, Glyphs, glyphs)
    -
    117
    -
    118 Font& operator=(const ::Font& font) {
    -
    119 Unload();
    -
    120 set(font);
    -
    121 return *this;
    -
    122 }
    -
    123
    -
    124 Font& operator=(const Font&) = delete;
    -
    125
    -
    126 Font& operator=(Font&& other) noexcept {
    -
    127 if (this == &other) {
    -
    128 return *this;
    -
    129 }
    -
    130
    -
    131 Unload();
    -
    132 set(other);
    -
    133
    -
    134 other.baseSize = 0;
    -
    135 other.glyphCount = 0;
    -
    136 other.glyphPadding = 0;
    -
    137 other.texture = {};
    -
    138 other.recs = nullptr;
    -
    139 other.glyphs = nullptr;
    -
    140
    -
    141 return *this;
    -
    142 }
    -
    143
    -
    153 bool Load(const std::string& fileName) {
    -
    154 set(::LoadFont(fileName.c_str()));
    -
    155 return baseSize > 0;
    -
    156 }
    -
    157
    -
    168 bool Load(const std::string& fileName, int fontSize, int* fontChars, int charCount) {
    -
    169 set(::LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
    -
    170 return baseSize > 0;
    -
    171 }
    -
    172
    -
    173 bool Load(const ::Image& image, ::Color key, int firstChar) {
    -
    174 set(::LoadFontFromImage(image, key, firstChar));
    -
    175 return baseSize > 0;
    -
    176 }
    -
    177
    -
    178 bool Load(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
    -
    179 int *fontChars, int charsCount) {
    -
    180 set(::LoadFontFromMemory(fileType.c_str(), fileData, dataSize, fontSize, fontChars,
    -
    181 charsCount));
    -
    182 return baseSize > 0;
    -
    183 }
    -
    184
    -
    188 inline Font& DrawText(const std::string& text, ::Vector2 position, float fontSize,
    -
    189 float spacing, ::Color tint = WHITE) {
    -
    190 ::DrawTextEx(*this, text.c_str(), position, fontSize, spacing, tint);
    -
    191 return *this;
    -
    192 }
    -
    193
    -
    194 inline Font& DrawText(
    -
    195 const std::string& text,
    -
    196 ::Vector2 position,
    -
    197 ::Vector2 origin,
    -
    198 float rotation,
    -
    199 float fontSize,
    -
    200 float spacing,
    -
    201 ::Color tint = WHITE) {
    -
    202 ::DrawTextPro(*this, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
    -
    203 return *this;
    -
    204 }
    -
    205
    -
    209 inline Font& DrawText(int codepoint,
    -
    210 ::Vector2 position,
    -
    211 float fontSize,
    -
    212 ::Color tint = { 255, 255, 255, 255 }) {
    -
    213 ::DrawTextCodepoint(*this, codepoint, position, fontSize, tint);
    -
    214 return *this;
    -
    215 }
    -
    216
    -
    220 inline Vector2 MeasureText(const std::string& text, float fontSize, float spacing) const {
    -
    221 return ::MeasureTextEx(*this, text.c_str(), fontSize, spacing);
    -
    222 }
    -
    223
    -
    227 inline int GetGlyphIndex(int character) const {
    -
    228 return ::GetGlyphIndex(*this, character);
    -
    229 }
    -
    230
    -
    234 inline ::Image ImageText(const std::string& text, float fontSize,
    -
    235 float spacing, ::Color tint) const {
    -
    236 return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
    -
    237 }
    -
    238
    -
    239 private:
    -
    240 void set(const ::Font& font) {
    -
    241 baseSize = font.baseSize;
    -
    242 glyphCount = font.glyphCount;
    -
    243 glyphPadding = font.glyphPadding;
    -
    244 texture = font.texture;
    -
    245 recs = font.recs;
    -
    246 glyphs = font.glyphs;
    -
    247 }
    -
    248};
    -
    249} // namespace raylib
    -
    250
    -
    251#endif // RAYLIB_CPP_INCLUDE_FONT_HPP_
    -
    Font type, includes texture and charSet array data.
    Definition: Font.hpp:14
    -
    Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)
    Loads a Font from the given file, with generation parameters.
    Definition: Font.hpp:55
    -
    Font(const Font &)=delete
    -
    Vector2 MeasureText(const std::string &text, float fontSize, float spacing) const
    Measure string size for Font.
    Definition: Font.hpp:220
    -
    Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
    Draw text using font and additional parameters.
    Definition: Font.hpp:188
    -
    Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
    Loads a font from memory, based on the given file type and file data.
    Definition: Font.hpp:83
    -
    int GetGlyphIndex(int character) const
    Get index position for a unicode character on font.
    Definition: Font.hpp:227
    -
    Font(const ::Font &font)
    Definition: Font.hpp:29
    -
    bool Load(const std::string &fileName)
    Loads a font from a given file.
    Definition: Font.hpp:153
    - -
    void Unload()
    Definition: Font.hpp:107
    -
    Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)
    Definition: Font.hpp:16
    -
    Font & operator=(Font &&other) noexcept
    Definition: Font.hpp:126
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_FONT_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_FONT_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "./RaylibException.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    14 class Font : public ::Font {
    +
    15  public:
    +
    16  Font(int baseSize,
    +
    17  int glyphCount,
    +
    18  int glyphPadding,
    +
    19  ::Texture2D texture,
    +
    20  ::Rectangle *recs = nullptr,
    +
    21  ::GlyphInfo *glyphs = nullptr) : ::Font{baseSize, glyphCount, glyphPadding, texture, recs, glyphs} {
    +
    22  // Nothing.
    +
    23  }
    +
    24 
    +
    25  Font() {
    +
    26  set(::GetFontDefault());
    +
    27  }
    +
    28 
    +
    29  Font(const ::Font& font) {
    +
    30  set(font);
    +
    31  }
    +
    32 
    +
    40  Font(const std::string& fileName) {
    +
    41  if (!Load(fileName)) {
    +
    42  throw RaylibException("Failed to load Font from file");
    +
    43  }
    +
    44  }
    +
    45 
    +
    55  Font(const std::string& fileName, int fontSize, int* fontChars = 0, int charCount = 0) {
    +
    56  if (!Load(fileName, fontSize, fontChars, charCount)) {
    +
    57  throw RaylibException("Failed to load font from font with extras");
    +
    58  }
    +
    59  }
    +
    60 
    +
    70  Font(const ::Image& image, ::Color key, int firstChar) {
    +
    71  if (!Load(image, key, firstChar)) {
    +
    72  throw RaylibException("Failed to load Texture from Image");
    +
    73  }
    +
    74  }
    +
    75 
    +
    83  Font(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
    +
    84  int *fontChars, int charsCount) {
    +
    85  if (!Load(fileType, fileData, dataSize, fontSize, fontChars, charsCount)) {
    +
    86  throw RaylibException("Failed to load Texture from file data");
    +
    87  }
    +
    88  }
    +
    89 
    +
    90  Font(const Font&) = delete;
    +
    91 
    +
    92  Font(Font&& other) {
    +
    93  set(other);
    +
    94 
    +
    95  other.baseSize = 0;
    +
    96  other.glyphCount = 0;
    +
    97  other.glyphPadding = 0;
    +
    98  other.texture = {};
    +
    99  other.recs = nullptr;
    +
    100  other.glyphs = nullptr;
    +
    101  }
    +
    102 
    +
    103  ~Font() {
    +
    104  Unload();
    +
    105  }
    +
    106 
    +
    107  void Unload() {
    +
    108  UnloadFont(*this);
    +
    109  }
    +
    110 
    +
    111  GETTERSETTER(int, BaseSize, baseSize)
    +
    112  GETTERSETTER(int, GlyphCount, glyphCount)
    +
    113  GETTERSETTER(int, GlyphPadding, glyphPadding)
    +
    114  GETTERSETTER(::Texture2D, Texture, texture)
    +
    115  GETTERSETTER(::Rectangle*, Recs, recs)
    +
    116  GETTERSETTER(::GlyphInfo*, Glyphs, glyphs)
    +
    117 
    +
    118  Font& operator=(const ::Font& font) {
    +
    119  Unload();
    +
    120  set(font);
    +
    121  return *this;
    +
    122  }
    +
    123 
    +
    124  Font& operator=(const Font&) = delete;
    +
    125 
    +
    126  Font& operator=(Font&& other) noexcept {
    +
    127  if (this == &other) {
    +
    128  return *this;
    +
    129  }
    +
    130 
    +
    131  Unload();
    +
    132  set(other);
    +
    133 
    +
    134  other.baseSize = 0;
    +
    135  other.glyphCount = 0;
    +
    136  other.glyphPadding = 0;
    +
    137  other.texture = {};
    +
    138  other.recs = nullptr;
    +
    139  other.glyphs = nullptr;
    +
    140 
    +
    141  return *this;
    +
    142  }
    +
    143 
    +
    153  bool Load(const std::string& fileName) {
    +
    154  set(::LoadFont(fileName.c_str()));
    +
    155  return baseSize > 0;
    +
    156  }
    +
    157 
    +
    168  bool Load(const std::string& fileName, int fontSize, int* fontChars, int charCount) {
    +
    169  set(::LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
    +
    170  return baseSize > 0;
    +
    171  }
    +
    172 
    +
    173  bool Load(const ::Image& image, ::Color key, int firstChar) {
    +
    174  set(::LoadFontFromImage(image, key, firstChar));
    +
    175  return baseSize > 0;
    +
    176  }
    +
    177 
    +
    178  bool Load(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
    +
    179  int *fontChars, int charsCount) {
    +
    180  set(::LoadFontFromMemory(fileType.c_str(), fileData, dataSize, fontSize, fontChars,
    +
    181  charsCount));
    +
    182  return baseSize > 0;
    +
    183  }
    +
    184 
    +
    188  inline Font& DrawText(const std::string& text, ::Vector2 position, float fontSize,
    +
    189  float spacing, ::Color tint = WHITE) {
    +
    190  ::DrawTextEx(*this, text.c_str(), position, fontSize, spacing, tint);
    +
    191  return *this;
    +
    192  }
    +
    193 
    +
    194  inline Font& DrawText(
    +
    195  const std::string& text,
    +
    196  ::Vector2 position,
    +
    197  ::Vector2 origin,
    +
    198  float rotation,
    +
    199  float fontSize,
    +
    200  float spacing,
    +
    201  ::Color tint = WHITE) {
    +
    202  ::DrawTextPro(*this, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
    +
    203  return *this;
    +
    204  }
    +
    205 
    +
    209  inline Font& DrawText(int codepoint,
    +
    210  ::Vector2 position,
    +
    211  float fontSize,
    +
    212  ::Color tint = { 255, 255, 255, 255 }) {
    +
    213  ::DrawTextCodepoint(*this, codepoint, position, fontSize, tint);
    +
    214  return *this;
    +
    215  }
    +
    216 
    +
    220  inline Vector2 MeasureText(const std::string& text, float fontSize, float spacing) const {
    +
    221  return ::MeasureTextEx(*this, text.c_str(), fontSize, spacing);
    +
    222  }
    +
    223 
    +
    227  inline int GetGlyphIndex(int character) const {
    +
    228  return ::GetGlyphIndex(*this, character);
    +
    229  }
    +
    230 
    +
    234  inline ::Image ImageText(const std::string& text, float fontSize,
    +
    235  float spacing, ::Color tint) const {
    +
    236  return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
    +
    237  }
    +
    238 
    +
    239  private:
    +
    240  void set(const ::Font& font) {
    +
    241  baseSize = font.baseSize;
    +
    242  glyphCount = font.glyphCount;
    +
    243  glyphPadding = font.glyphPadding;
    +
    244  texture = font.texture;
    +
    245  recs = font.recs;
    +
    246  glyphs = font.glyphs;
    +
    247  }
    +
    248 };
    +
    249 } // namespace raylib
    +
    250 
    +
    251 #endif // RAYLIB_CPP_INCLUDE_FONT_HPP_
    +
    Font(const std::string &fileName)
    Loads a Font from the given file.
    Definition: Font.hpp:40
    -
    bool Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)
    Loads a font from a given file with generation parameters.
    Definition: Font.hpp:168
    -
    bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
    Definition: Font.hpp:178
    -
    Font & operator=(const Font &)=delete
    -
    Font & DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
    Draw one character (codepoint)
    Definition: Font.hpp:209
    - -
    bool Load(const ::Image &image, ::Color key, int firstChar)
    Definition: Font.hpp:173
    -
    Font & DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)
    Definition: Font.hpp:194
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Font & DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
    Draw text using font and additional parameters.
    Definition: Font.hpp:188
    +
    static inline ::Font LoadFont(const std::string &fileName)
    Load font from file (filename must include file extension)
    Definition: Functions.hpp:279
    Font(const ::Image &image, ::Color key, int firstChar)
    Loads a Font from the given image with a color key.
    Definition: Font.hpp:70
    -
    inline ::Image ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) const
    Create an image from text (custom sprite font)
    Definition: Font.hpp:234
    -
    Font(Font &&other)
    Definition: Font.hpp:92
    -
    Exception used for most raylib-related exceptions.
    +
    Font & DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
    Draw one character (codepoint)
    Definition: Font.hpp:209
    +
    Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
    Loads a font from memory, based on the given file type and file data.
    Definition: Font.hpp:83
    +
    Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)
    Loads a Font from the given file, with generation parameters.
    Definition: Font.hpp:55
    +
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    Rectangle type.
    Definition: Rectangle.hpp:12
    -
    Texture type.
    Definition: Texture.hpp:16
    +
    Font type, includes texture and charSet array data.
    Definition: Font.hpp:14
    +
    int GetGlyphIndex(int character) const
    Get index position for a unicode character on font.
    Definition: Font.hpp:227
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
    Load font from file (filename must include file extension)
    Definition: Functions.hpp:286
    -
    static inline ::Font LoadFont(const std::string &fileName)
    Load font from file (filename must include file extension)
    Definition: Functions.hpp:279
    -
    Texture Texture2D
    Definition: Texture.hpp:320
    -
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    +
    inline ::Image ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) const
    Create an image from text (custom sprite font)
    Definition: Font.hpp:234
    +
    bool Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)
    Loads a font from a given file with generation parameters.
    Definition: Font.hpp:168
    +
    Texture type.
    Definition: Texture.hpp:16
    +
    Vector2 MeasureText(const std::string &text, float fontSize, float spacing) const
    Measure string size for Font.
    Definition: Font.hpp:220
    +
    bool Load(const std::string &fileName)
    Loads a font from a given file.
    Definition: Font.hpp:153
    +
    Exception used for most raylib-related exceptions.
    static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
    Draw text using font and additional parameters.
    Definition: Functions.hpp:263
    -
    -
    - + diff --git a/docs/_functions_8hpp_source.html b/docs/_functions_8hpp_source.html index e4b920a8..51040a3d 100644 --- a/docs/_functions_8hpp_source.html +++ b/docs/_functions_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Functions.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Functions.hpp
    +
    +
    Functions.hpp
    -
    1
    -
    4#ifndef RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
    -
    5#define RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
    -
    6
    -
    7#include <string>
    -
    8#include <vector>
    -
    9
    -
    10#include "./raylib.hpp"
    -
    11
    -
    15#ifndef RLCPPAPI
    -
    16#define RLCPPAPI static
    -
    17#endif
    -
    18
    -
    19namespace raylib {
    -
    20
    -
    24RLCPPAPI inline void InitWindow(int width, int height, const std::string& title = "raylib") {
    -
    25 ::InitWindow(width, height, title.c_str());
    -
    26}
    -
    27
    -
    31RLCPPAPI inline void SetWindowTitle(const std::string& title) {
    -
    32 ::SetWindowTitle(title.c_str());
    -
    33}
    -
    34
    -
    38RLCPPAPI inline std::string GetMonitorName(int monitor = 0) {
    -
    39 return ::GetMonitorName(monitor);
    -
    40}
    -
    41
    -
    45RLCPPAPI inline void SetClipboardText(const std::string& text) {
    -
    46 ::SetClipboardText(text.c_str());
    -
    47}
    -
    48
    -
    52RLCPPAPI inline std::string GetClipboardText() {
    -
    53 return ::GetClipboardText();
    -
    54}
    -
    55
    -
    59RLCPPAPI inline void TakeScreenshot(const std::string& fileName) {
    -
    60 ::TakeScreenshot(fileName.c_str());
    -
    61}
    -
    62
    -
    66RLCPPAPI inline std::string GetGamepadName(int gamepad) {
    -
    67 return ::GetGamepadName(gamepad);
    -
    68}
    -
    69
    -
    73[[maybe_unused]]
    -
    74RLCPPAPI std::string LoadFileText(const std::string& fileName) {
    -
    75 char* text = ::LoadFileText(fileName.c_str());
    -
    76 std::string output(text);
    -
    77 ::UnloadFileText(text);
    -
    78 return output;
    -
    79}
    -
    80
    -
    84RLCPPAPI inline bool SaveFileText(const std::string& fileName, const std::string& text) {
    -
    85 return ::SaveFileText(fileName.c_str(), const_cast<char*>(text.c_str()));
    -
    86}
    -
    87
    -
    91RLCPPAPI inline bool FileExists(const std::string& fileName) {
    -
    92 return ::FileExists(fileName.c_str());
    -
    93}
    -
    94
    -
    98RLCPPAPI inline bool DirectoryExists(const std::string& dirPath) {
    -
    99 return ::DirectoryExists(dirPath.c_str());
    -
    100}
    -
    101
    -
    105RLCPPAPI inline bool IsFileExtension(const std::string& fileName, const std::string& ext) {
    -
    106 return ::IsFileExtension(fileName.c_str(), ext.c_str());
    -
    107}
    -
    108
    -
    112RLCPPAPI inline std::string GetFileExtension(const std::string& fileName) {
    -
    113 return ::GetFileExtension(fileName.c_str());
    -
    114}
    -
    115
    -
    119RLCPPAPI inline std::string GetFileName(const std::string& filePath) {
    -
    120 return ::GetFileName(filePath.c_str());
    -
    121}
    -
    122
    -
    126RLCPPAPI inline std::string GetFileNameWithoutExt(const std::string& filePath) {
    -
    127 return ::GetFileNameWithoutExt(filePath.c_str());
    -
    128}
    -
    129
    -
    133RLCPPAPI inline std::string GetDirectoryPath(const std::string& filePath) {
    -
    134 return ::GetDirectoryPath(filePath.c_str());
    -
    135}
    -
    136
    -
    140RLCPPAPI inline std::string GetPrevDirectoryPath(const std::string& dirPath) {
    -
    141 return ::GetPrevDirectoryPath(dirPath.c_str());
    -
    142}
    -
    143
    -
    147RLCPPAPI inline std::string GetWorkingDirectory() {
    -
    148 return ::GetWorkingDirectory();
    -
    149}
    -
    150
    -
    154[[maybe_unused]]
    -
    155RLCPPAPI std::vector<std::string> GetDirectoryFiles(const std::string& dirPath) {
    -
    156 int count;
    -
    157 char** files = ::GetDirectoryFiles(dirPath.c_str(), &count);
    -
    158 std::vector<std::string> output(files, files + count);
    -
    159 ::ClearDirectoryFiles();
    -
    160 return output;
    -
    161}
    -
    162
    -
    166RLCPPAPI inline bool ChangeDirectory(const std::string& dir) {
    -
    167 return ::ChangeDirectory(dir.c_str());
    -
    168}
    -
    169
    -
    173[[maybe_unused]]
    -
    174RLCPPAPI std::vector<std::string> GetDroppedFiles() {
    -
    175 if (!::IsFileDropped()) {
    -
    176 return std::vector<std::string>();
    -
    177 }
    -
    178 int count;
    -
    179 char** files = ::GetDroppedFiles(&count);
    -
    180 std::vector<std::string> output(files, files + count);
    -
    181 ::ClearDroppedFiles();
    -
    182 return output;
    -
    183}
    -
    184
    -
    188RLCPPAPI inline long GetFileModTime(const std::string& fileName) { // NOLINT
    -
    189 return ::GetFileModTime(fileName.c_str());
    -
    190}
    -
    191
    -
    195RLCPPAPI inline void OpenURL(const std::string& url) {
    -
    196 return ::OpenURL(url.c_str());
    -
    197}
    -
    198
    -
    202RLCPPAPI inline void UpdateCamera(const ::Camera& camera) {
    -
    203 ::Camera* cameraPointer = (::Camera*)&camera;
    -
    204 ::UpdateCamera(cameraPointer);
    -
    205}
    -
    206
    -
    210RLCPPAPI inline ::Image LoadImage(const std::string& fileName) {
    -
    211 return ::LoadImage(fileName.c_str());
    -
    212}
    -
    213
    -
    217RLCPPAPI inline ::Image LoadImageRaw(const std::string& fileName,
    -
    218 int width, int height,
    -
    219 int format, int headerSize) {
    -
    220 return ::LoadImageRaw(fileName.c_str(), width, height, format, headerSize);
    -
    221}
    -
    222
    -
    226RLCPPAPI inline ::Image LoadImageAnim(const std::string& fileName, int *frames) {
    -
    227 return ::LoadImageAnim(fileName.c_str(), frames);
    -
    228}
    -
    229
    -
    233RLCPPAPI inline ::Image LoadImageFromMemory(const std::string& fileType,
    -
    234 const unsigned char *fileData,
    -
    235 int dataSize) {
    -
    236 return ::LoadImageFromMemory(fileType.c_str(), fileData, dataSize);
    -
    237}
    -
    238
    -
    242RLCPPAPI inline bool ExportImage(const Image& image, const std::string& fileName) {
    -
    243 return ::ExportImage(image, fileName.c_str());
    -
    244}
    -
    245
    -
    249RLCPPAPI inline bool ExportImageAsCode(const Image& image, const std::string& fileName) {
    -
    250 return ::ExportImageAsCode(image, fileName.c_str());
    -
    251}
    -
    252
    -
    256RLCPPAPI inline void DrawText(const std::string& text, int posX, int posY, int fontSize, ::Color color) {
    -
    257 ::DrawText(text.c_str(), posX, posY, fontSize, color);
    -
    258}
    -
    259
    -
    263RLCPPAPI inline void DrawTextEx(const Font& font, const std::string& text, Vector2 position,
    -
    264 float fontSize, float spacing, ::Color tint) {
    -
    265 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, tint);
    -
    266}
    -
    267
    -
    271RLCPPAPI inline void DrawTextPro(const Font& font, const std::string& text, Vector2 position,
    -
    272 Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint) {
    -
    273 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
    -
    274}
    -
    275
    -
    279RLCPPAPI inline ::Font LoadFont(const std::string& fileName) {
    -
    280 return ::LoadFont(fileName.c_str());
    -
    281}
    -
    282
    -
    286RLCPPAPI inline ::Font LoadFontEx(const std::string& fileName, int fontSize, int *fontChars, int charsCount) {
    -
    287 return ::LoadFontEx(fileName.c_str(), fontSize, fontChars, charsCount);
    -
    288}
    -
    289
    -
    293RLCPPAPI inline int MeasureText(const std::string& text, int fontSize) {
    -
    294 return ::MeasureText(text.c_str(), fontSize);
    -
    295}
    -
    296
    -
    300RLCPPAPI inline bool TextIsEqual(const std::string& text1, const std::string& text2) {
    -
    301 return ::TextIsEqual(text1.c_str(), text2.c_str());
    -
    302}
    -
    303
    -
    307RLCPPAPI inline unsigned int TextLength(const std::string& text) {
    -
    308 return ::TextLength(text.c_str());
    -
    309}
    -
    310
    -
    314RLAPI inline std::string TextSubtext(const std::string& text, int position, int length) {
    -
    315 return ::TextSubtext(text.c_str(), position, length);
    -
    316}
    -
    317
    -
    321RLAPI inline std::string TextReplace(const std::string& text, const std::string& replace, const std::string& by) {
    -
    322 const char* input = text.c_str();
    -
    323 char* output = ::TextReplace(const_cast<char*>(input), replace.c_str(), by.c_str());
    -
    324 if (output != NULL) {
    -
    325 std::string stringOutput(output);
    -
    326 free(output);
    -
    327 return stringOutput;
    -
    328 }
    -
    329 return "";
    -
    330}
    -
    331
    -
    335RLAPI inline std::string TextInsert(const std::string& text, const std::string& insert, int position) {
    -
    336 char* output = ::TextInsert(text.c_str(), insert.c_str(), position);
    -
    337 if (output != NULL) {
    -
    338 std::string stringOutput(output);
    -
    339 free(output);
    -
    340 return stringOutput;
    -
    341 }
    -
    342 return "";
    -
    343}
    -
    344
    -
    348RLAPI inline int TextFindIndex(const std::string& text, const std::string& find) {
    -
    349 return ::TextFindIndex(text.c_str(), find.c_str());
    -
    350}
    -
    351
    -
    355RLAPI inline std::string TextToUpper(const std::string& text) {
    -
    356 return ::TextToUpper(text.c_str());
    -
    357}
    -
    358
    -
    362RLAPI inline std::string TextToLower(const std::string& text) {
    -
    363 return ::TextToLower(text.c_str());
    -
    364}
    -
    365
    -
    369RLAPI inline std::string TextToPascal(const std::string& text) {
    -
    370 return ::TextToPascal(text.c_str());
    -
    371}
    -
    372
    -
    376RLAPI inline int TextToInteger(const std::string& text) {
    -
    377 return ::TextToInteger(text.c_str());
    -
    378}
    -
    379
    -
    380} // namespace raylib
    -
    381
    -
    382#endif // RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
    -
    Font type, includes texture and charSet array data.
    Definition: Font.hpp:14
    -
    Image type, bpp always RGBA (32bit)
    Definition: Image.hpp:16
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
    +
    6 
    +
    7 #include <string>
    +
    8 #include <vector>
    +
    9 
    +
    10 #include "./raylib.hpp"
    +
    11 
    +
    15 #ifndef RLCPPAPI
    +
    16 #define RLCPPAPI static
    +
    17 #endif
    +
    18 
    +
    19 namespace raylib {
    +
    20 
    +
    24 RLCPPAPI inline void InitWindow(int width, int height, const std::string& title = "raylib") {
    +
    25  ::InitWindow(width, height, title.c_str());
    +
    26 }
    +
    27 
    +
    31 RLCPPAPI inline void SetWindowTitle(const std::string& title) {
    +
    32  ::SetWindowTitle(title.c_str());
    +
    33 }
    +
    34 
    +
    38 RLCPPAPI inline std::string GetMonitorName(int monitor = 0) {
    +
    39  return ::GetMonitorName(monitor);
    +
    40 }
    +
    41 
    +
    45 RLCPPAPI inline void SetClipboardText(const std::string& text) {
    +
    46  ::SetClipboardText(text.c_str());
    +
    47 }
    +
    48 
    +
    52 RLCPPAPI inline std::string GetClipboardText() {
    +
    53  return ::GetClipboardText();
    +
    54 }
    +
    55 
    +
    59 RLCPPAPI inline void TakeScreenshot(const std::string& fileName) {
    +
    60  ::TakeScreenshot(fileName.c_str());
    +
    61 }
    +
    62 
    +
    66 RLCPPAPI inline std::string GetGamepadName(int gamepad) {
    +
    67  return ::GetGamepadName(gamepad);
    +
    68 }
    +
    69 
    +
    73 [[maybe_unused]]
    +
    74 RLCPPAPI std::string LoadFileText(const std::string& fileName) {
    +
    75  char* text = ::LoadFileText(fileName.c_str());
    +
    76  std::string output(text);
    +
    77  ::UnloadFileText(text);
    +
    78  return output;
    +
    79 }
    +
    80 
    +
    84 RLCPPAPI inline bool SaveFileText(const std::string& fileName, const std::string& text) {
    +
    85  return ::SaveFileText(fileName.c_str(), const_cast<char*>(text.c_str()));
    +
    86 }
    +
    87 
    +
    91 RLCPPAPI inline bool FileExists(const std::string& fileName) {
    +
    92  return ::FileExists(fileName.c_str());
    +
    93 }
    +
    94 
    +
    98 RLCPPAPI inline bool DirectoryExists(const std::string& dirPath) {
    +
    99  return ::DirectoryExists(dirPath.c_str());
    +
    100 }
    +
    101 
    +
    105 RLCPPAPI inline bool IsFileExtension(const std::string& fileName, const std::string& ext) {
    +
    106  return ::IsFileExtension(fileName.c_str(), ext.c_str());
    +
    107 }
    +
    108 
    +
    112 RLCPPAPI inline std::string GetFileExtension(const std::string& fileName) {
    +
    113  return ::GetFileExtension(fileName.c_str());
    +
    114 }
    +
    115 
    +
    119 RLCPPAPI inline std::string GetFileName(const std::string& filePath) {
    +
    120  return ::GetFileName(filePath.c_str());
    +
    121 }
    +
    122 
    +
    126 RLCPPAPI inline std::string GetFileNameWithoutExt(const std::string& filePath) {
    +
    127  return ::GetFileNameWithoutExt(filePath.c_str());
    +
    128 }
    +
    129 
    +
    133 RLCPPAPI inline std::string GetDirectoryPath(const std::string& filePath) {
    +
    134  return ::GetDirectoryPath(filePath.c_str());
    +
    135 }
    +
    136 
    +
    140 RLCPPAPI inline std::string GetPrevDirectoryPath(const std::string& dirPath) {
    +
    141  return ::GetPrevDirectoryPath(dirPath.c_str());
    +
    142 }
    +
    143 
    +
    147 RLCPPAPI inline std::string GetWorkingDirectory() {
    +
    148  return ::GetWorkingDirectory();
    +
    149 }
    +
    150 
    +
    154 [[maybe_unused]]
    +
    155 RLCPPAPI std::vector<std::string> GetDirectoryFiles(const std::string& dirPath) {
    +
    156  int count;
    +
    157  char** files = ::GetDirectoryFiles(dirPath.c_str(), &count);
    +
    158  std::vector<std::string> output(files, files + count);
    +
    159  ::ClearDirectoryFiles();
    +
    160  return output;
    +
    161 }
    +
    162 
    +
    166 RLCPPAPI inline bool ChangeDirectory(const std::string& dir) {
    +
    167  return ::ChangeDirectory(dir.c_str());
    +
    168 }
    +
    169 
    +
    173 [[maybe_unused]]
    +
    174 RLCPPAPI std::vector<std::string> GetDroppedFiles() {
    +
    175  if (!::IsFileDropped()) {
    +
    176  return std::vector<std::string>();
    +
    177  }
    +
    178  int count;
    +
    179  char** files = ::GetDroppedFiles(&count);
    +
    180  std::vector<std::string> output(files, files + count);
    +
    181  ::ClearDroppedFiles();
    +
    182  return output;
    +
    183 }
    +
    184 
    +
    188 RLCPPAPI inline long GetFileModTime(const std::string& fileName) { // NOLINT
    +
    189  return ::GetFileModTime(fileName.c_str());
    +
    190 }
    +
    191 
    +
    195 RLCPPAPI inline void OpenURL(const std::string& url) {
    +
    196  return ::OpenURL(url.c_str());
    +
    197 }
    +
    198 
    +
    202 RLCPPAPI inline void UpdateCamera(const ::Camera& camera) {
    +
    203  ::Camera* cameraPointer = (::Camera*)&camera;
    +
    204  ::UpdateCamera(cameraPointer);
    +
    205 }
    +
    206 
    +
    210 RLCPPAPI inline ::Image LoadImage(const std::string& fileName) {
    +
    211  return ::LoadImage(fileName.c_str());
    +
    212 }
    +
    213 
    +
    217 RLCPPAPI inline ::Image LoadImageRaw(const std::string& fileName,
    +
    218  int width, int height,
    +
    219  int format, int headerSize) {
    +
    220  return ::LoadImageRaw(fileName.c_str(), width, height, format, headerSize);
    +
    221 }
    +
    222 
    +
    226 RLCPPAPI inline ::Image LoadImageAnim(const std::string& fileName, int *frames) {
    +
    227  return ::LoadImageAnim(fileName.c_str(), frames);
    +
    228 }
    +
    229 
    +
    233 RLCPPAPI inline ::Image LoadImageFromMemory(const std::string& fileType,
    +
    234  const unsigned char *fileData,
    +
    235  int dataSize) {
    +
    236  return ::LoadImageFromMemory(fileType.c_str(), fileData, dataSize);
    +
    237 }
    +
    238 
    +
    242 RLCPPAPI inline bool ExportImage(const Image& image, const std::string& fileName) {
    +
    243  return ::ExportImage(image, fileName.c_str());
    +
    244 }
    +
    245 
    +
    249 RLCPPAPI inline bool ExportImageAsCode(const Image& image, const std::string& fileName) {
    +
    250  return ::ExportImageAsCode(image, fileName.c_str());
    +
    251 }
    +
    252 
    +
    256 RLCPPAPI inline void DrawText(const std::string& text, int posX, int posY, int fontSize, ::Color color) {
    +
    257  ::DrawText(text.c_str(), posX, posY, fontSize, color);
    +
    258 }
    +
    259 
    +
    263 RLCPPAPI inline void DrawTextEx(const Font& font, const std::string& text, Vector2 position,
    +
    264  float fontSize, float spacing, ::Color tint) {
    +
    265  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, tint);
    +
    266 }
    +
    267 
    +
    271 RLCPPAPI inline void DrawTextPro(const Font& font, const std::string& text, Vector2 position,
    +
    272  Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint) {
    +
    273  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
    +
    274 }
    +
    275 
    +
    279 RLCPPAPI inline ::Font LoadFont(const std::string& fileName) {
    +
    280  return ::LoadFont(fileName.c_str());
    +
    281 }
    +
    282 
    +
    286 RLCPPAPI inline ::Font LoadFontEx(const std::string& fileName, int fontSize, int *fontChars, int charsCount) {
    +
    287  return ::LoadFontEx(fileName.c_str(), fontSize, fontChars, charsCount);
    +
    288 }
    +
    289 
    +
    293 RLCPPAPI inline int MeasureText(const std::string& text, int fontSize) {
    +
    294  return ::MeasureText(text.c_str(), fontSize);
    +
    295 }
    +
    296 
    +
    300 RLCPPAPI inline bool TextIsEqual(const std::string& text1, const std::string& text2) {
    +
    301  return ::TextIsEqual(text1.c_str(), text2.c_str());
    +
    302 }
    +
    303 
    +
    307 RLCPPAPI inline unsigned int TextLength(const std::string& text) {
    +
    308  return ::TextLength(text.c_str());
    +
    309 }
    +
    310 
    +
    314 RLAPI inline std::string TextSubtext(const std::string& text, int position, int length) {
    +
    315  return ::TextSubtext(text.c_str(), position, length);
    +
    316 }
    +
    317 
    +
    321 RLAPI inline std::string TextReplace(const std::string& text, const std::string& replace, const std::string& by) {
    +
    322  const char* input = text.c_str();
    +
    323  char* output = ::TextReplace(const_cast<char*>(input), replace.c_str(), by.c_str());
    +
    324  if (output != NULL) {
    +
    325  std::string stringOutput(output);
    +
    326  free(output);
    +
    327  return stringOutput;
    +
    328  }
    +
    329  return "";
    +
    330 }
    +
    331 
    +
    335 RLAPI inline std::string TextInsert(const std::string& text, const std::string& insert, int position) {
    +
    336  char* output = ::TextInsert(text.c_str(), insert.c_str(), position);
    +
    337  if (output != NULL) {
    +
    338  std::string stringOutput(output);
    +
    339  free(output);
    +
    340  return stringOutput;
    +
    341  }
    +
    342  return "";
    +
    343 }
    +
    344 
    +
    348 RLAPI inline int TextFindIndex(const std::string& text, const std::string& find) {
    +
    349  return ::TextFindIndex(text.c_str(), find.c_str());
    +
    350 }
    +
    351 
    +
    355 RLAPI inline std::string TextToUpper(const std::string& text) {
    +
    356  return ::TextToUpper(text.c_str());
    +
    357 }
    +
    358 
    +
    362 RLAPI inline std::string TextToLower(const std::string& text) {
    +
    363  return ::TextToLower(text.c_str());
    +
    364 }
    +
    365 
    +
    369 RLAPI inline std::string TextToPascal(const std::string& text) {
    +
    370  return ::TextToPascal(text.c_str());
    +
    371 }
    +
    372 
    +
    376 RLAPI inline int TextToInteger(const std::string& text) {
    +
    377  return ::TextToInteger(text.c_str());
    +
    378 }
    +
    379 
    +
    380 } // namespace raylib
    +
    381 
    +
    382 #endif // RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
    +
    +
    RLAPI std::string TextToPascal(const std::string &text)
    Get Pascal case notation version of provided string.
    Definition: Functions.hpp:369
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    static std::vector< std::string > GetDroppedFiles()
    Get dropped files names.
    Definition: Functions.hpp:174
    -
    static bool ExportImageAsCode(const Image &image, const std::string &fileName)
    Export image as code file (.h) defining an array of bytes.
    Definition: Functions.hpp:249
    -
    RLAPI std::string TextToUpper(const std::string &text)
    Get upper case version of provided string.
    Definition: Functions.hpp:355
    -
    static bool DirectoryExists(const std::string &dirPath)
    Check if directory path exists.
    Definition: Functions.hpp:98
    -
    RLAPI std::string TextToLower(const std::string &text)
    Get lower case version of provided string.
    Definition: Functions.hpp:362
    static inline ::Image LoadImage(const std::string &fileName)
    Load an image.
    Definition: Functions.hpp:210
    +
    static std::string GetFileName(const std::string &filePath)
    Get pointer to filename for a path string.
    Definition: Functions.hpp:119
    +
    static void UpdateCamera(const ::Camera &camera)
    Update camera depending on selected mode.
    Definition: Functions.hpp:202
    RLAPI int TextFindIndex(const std::string &text, const std::string &find)
    Find first text occurrence within a string.
    Definition: Functions.hpp:348
    -
    static std::string GetWorkingDirectory()
    Get current working directory.
    Definition: Functions.hpp:147
    -
    static unsigned int TextLength(const std::string &text)
    Check if two text string are equal.
    Definition: Functions.hpp:307
    -
    Camera3D Camera
    Definition: Camera3D.hpp:161
    -
    static std::string GetGamepadName(int gamepad)
    Get gamepad internal name id.
    Definition: Functions.hpp:66
    -
    static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
    Load font from file (filename must include file extension)
    Definition: Functions.hpp:286
    +
    static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
    Load an image from RAW file data.
    Definition: Functions.hpp:217
    +
    static std::string GetPrevDirectoryPath(const std::string &dirPath)
    Get previous directory path for a given path.
    Definition: Functions.hpp:140
    +
    static bool TextIsEqual(const std::string &text1, const std::string &text2)
    Check if two text string are equal.
    Definition: Functions.hpp:300
    +
    static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load image from memory buffer, fileType refers to extension like "png".
    Definition: Functions.hpp:233
    +
    static void SetWindowTitle(const std::string &title)
    Set title for window.
    Definition: Functions.hpp:31
    +
    Image type, bpp always RGBA (32bit)
    Definition: Image.hpp:16
    +
    static std::string GetMonitorName(int monitor=0)
    Get the human-readable, UTF-8 encoded name of the primary monitor.
    Definition: Functions.hpp:38
    +
    static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
    Load animated image data.
    Definition: Functions.hpp:226
    static inline ::Font LoadFont(const std::string &fileName)
    Load font from file (filename must include file extension)
    Definition: Functions.hpp:279
    -
    static bool ExportImage(const Image &image, const std::string &fileName)
    Export image data to file.
    Definition: Functions.hpp:242
    -
    static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
    Draw text (using default font)
    Definition: Functions.hpp:256
    +
    RLAPI std::string TextToUpper(const std::string &text)
    Get upper case version of provided string.
    Definition: Functions.hpp:355
    +
    static long GetFileModTime(const std::string &fileName)
    Get file modification time (last write time)
    Definition: Functions.hpp:188
    +
    static void TakeScreenshot(const std::string &fileName)
    Takes a screenshot of current screen (saved a .png)
    Definition: Functions.hpp:59
    +
    static std::vector< std::string > GetDroppedFiles()
    Get dropped files names.
    Definition: Functions.hpp:174
    +
    static std::string GetGamepadName(int gamepad)
    Get gamepad internal name id.
    Definition: Functions.hpp:66
    RLAPI std::string TextSubtext(const std::string &text, int position, int length)
    Get text length, checks for '\0' ending.
    Definition: Functions.hpp:314
    -
    RLAPI std::string TextToPascal(const std::string &text)
    Get Pascal case notation version of provided string.
    Definition: Functions.hpp:369
    -
    static bool SaveFileText(const std::string &fileName, const std::string &text)
    Save text data to file (write)
    Definition: Functions.hpp:84
    +
    static void InitWindow(int width, int height, const std::string &title="raylib")
    Initialize window and OpenGL context.
    Definition: Functions.hpp:24
    +
    static bool ExportImageAsCode(const Image &image, const std::string &fileName)
    Export image as code file (.h) defining an array of bytes.
    Definition: Functions.hpp:249
    +
    Camera type, defines a camera position/orientation in 3d space.
    Definition: Camera3D.hpp:12
    +
    static bool DirectoryExists(const std::string &dirPath)
    Check if directory path exists.
    Definition: Functions.hpp:98
    +
    static std::string GetFileNameWithoutExt(const std::string &filePath)
    Get filename string without extension.
    Definition: Functions.hpp:126
    +
    static std::string GetDirectoryPath(const std::string &filePath)
    Get full path for a given fileName with path.
    Definition: Functions.hpp:133
    static bool IsFileExtension(const std::string &fileName, const std::string &ext)
    Check file extension (including point: .png, .wav)
    Definition: Functions.hpp:105
    -
    static std::vector< std::string > GetDirectoryFiles(const std::string &dirPath)
    Get filenames in a directory path.
    Definition: Functions.hpp:155
    -
    RLAPI int TextToInteger(const std::string &text)
    Get integer value from text (negative values not supported)
    Definition: Functions.hpp:376
    -
    static std::string GetFileName(const std::string &filePath)
    Get pointer to filename for a path string.
    Definition: Functions.hpp:119
    -
    static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load image from memory buffer, fileType refers to extension like "png".
    Definition: Functions.hpp:233
    -
    static std::string GetMonitorName(int monitor=0)
    Get the human-readable, UTF-8 encoded name of the primary monitor.
    Definition: Functions.hpp:38
    +
    static bool FileExists(const std::string &fileName)
    Check if file exists.
    Definition: Functions.hpp:91
    +
    static std::vector< std::string > GetDirectoryFiles(const std::string &dirPath)
    Get filenames in a directory path.
    Definition: Functions.hpp:155
    +
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    +
    Font type, includes texture and charSet array data.
    Definition: Font.hpp:14
    +
    static bool ExportImage(const Image &image, const std::string &fileName)
    Export image data to file.
    Definition: Functions.hpp:242
    +
    static bool ChangeDirectory(const std::string &dir)
    Change working directory, return true on success.
    Definition: Functions.hpp:166
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    static int MeasureText(const std::string &text, int fontSize)
    Measure string width for default font.
    Definition: Functions.hpp:293
    RLAPI std::string TextReplace(const std::string &text, const std::string &replace, const std::string &by)
    Replace text string.
    Definition: Functions.hpp:321
    -
    static void TakeScreenshot(const std::string &fileName)
    Takes a screenshot of current screen (saved a .png)
    Definition: Functions.hpp:59
    static void SetClipboardText(const std::string &text)
    Set clipboard text content.
    Definition: Functions.hpp:45
    -
    RLAPI std::string TextInsert(const std::string &text, const std::string &insert, int position)
    Insert text in a position.
    Definition: Functions.hpp:335
    -
    static void SetWindowTitle(const std::string &title)
    Set title for window.
    Definition: Functions.hpp:31
    -
    static bool FileExists(const std::string &fileName)
    Check if file exists.
    Definition: Functions.hpp:91
    -
    static void InitWindow(int width, int height, const std::string &title="raylib")
    Initialize window and OpenGL context.
    Definition: Functions.hpp:24
    -
    static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
    Load animated image data.
    Definition: Functions.hpp:226
    -
    static std::string LoadFileText(const std::string &fileName)
    Load text data from file (read)
    Definition: Functions.hpp:74
    -
    static long GetFileModTime(const std::string &fileName)
    Get file modification time (last write time)
    Definition: Functions.hpp:188
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
    Load font from file (filename must include file extension)
    Definition: Functions.hpp:286
    static std::string GetFileExtension(const std::string &fileName)
    Get pointer to extension for a filename string (including point: ".png")
    Definition: Functions.hpp:112
    -
    static void UpdateCamera(const ::Camera &camera)
    Update camera depending on selected mode.
    Definition: Functions.hpp:202
    +
    static bool SaveFileText(const std::string &fileName, const std::string &text)
    Save text data to file (write)
    Definition: Functions.hpp:84
    +
    RLAPI std::string TextToLower(const std::string &text)
    Get lower case version of provided string.
    Definition: Functions.hpp:362
    +
    static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
    Draw text (using default font)
    Definition: Functions.hpp:256
    +
    static std::string LoadFileText(const std::string &fileName)
    Load text data from file (read)
    Definition: Functions.hpp:74
    static void OpenURL(const std::string &url)
    Open URL with default system browser (if available)
    Definition: Functions.hpp:195
    -
    static std::string GetFileNameWithoutExt(const std::string &filePath)
    Get filename string without extension.
    Definition: Functions.hpp:126
    -
    static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
    Load an image from RAW file data.
    Definition: Functions.hpp:217
    -
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    -
    static std::string GetPrevDirectoryPath(const std::string &dirPath)
    Get previous directory path for a given path.
    Definition: Functions.hpp:140
    +
    static unsigned int TextLength(const std::string &text)
    Check if two text string are equal.
    Definition: Functions.hpp:307
    static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
    Draw text using font and additional parameters.
    Definition: Functions.hpp:263
    -
    static bool ChangeDirectory(const std::string &dir)
    Change working directory, return true on success.
    Definition: Functions.hpp:166
    -
    static std::string GetDirectoryPath(const std::string &filePath)
    Get full path for a given fileName with path.
    Definition: Functions.hpp:133
    -
    static bool TextIsEqual(const std::string &text1, const std::string &text2)
    Check if two text string are equal.
    Definition: Functions.hpp:300
    +
    static std::string GetWorkingDirectory()
    Get current working directory.
    Definition: Functions.hpp:147
    +
    RLAPI std::string TextInsert(const std::string &text, const std::string &insert, int position)
    Insert text in a position.
    Definition: Functions.hpp:335
    static std::string GetClipboardText()
    Get clipboard text content.
    Definition: Functions.hpp:52
    -
    -
    +
    RLAPI int TextToInteger(const std::string &text)
    Get integer value from text (negative values not supported)
    Definition: Functions.hpp:376
    - + diff --git a/docs/_gamepad_8hpp_source.html b/docs/_gamepad_8hpp_source.html index 28a57924..7fd7d746 100644 --- a/docs/_gamepad_8hpp_source.html +++ b/docs/_gamepad_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Gamepad.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Gamepad.hpp
    +
    +
    Gamepad.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8
    -
    9namespace raylib {
    -
    13class Gamepad {
    -
    14 public:
    -
    15 Gamepad(int gamepadNumber = 0) {
    -
    16 set(gamepadNumber);
    -
    17 }
    -
    18 int number;
    -
    19
    -
    20 GETTERSETTER(int, Number, number)
    -
    21
    -
    22 Gamepad& operator=(const Gamepad& gamepad) {
    -
    23 set(gamepad);
    -
    24 return *this;
    -
    25 }
    -
    26
    -
    27 Gamepad& operator=(int gamepadNumber) {
    -
    28 set(gamepadNumber);
    -
    29 return *this;
    -
    30 }
    -
    31
    -
    32 operator int() const { return number; }
    -
    33
    -
    37 inline bool IsAvailable() const {
    -
    38 return ::IsGamepadAvailable(number);
    -
    39 }
    -
    40
    -
    44 static inline bool IsAvailable(int number) {
    -
    45 return ::IsGamepadAvailable(number);
    -
    46 }
    -
    47
    -
    51 std::string GetName() const {
    -
    52 return ::GetGamepadName(number);
    -
    53 }
    -
    54
    -
    58 operator std::string() const {
    -
    59 return GetName();
    -
    60 }
    -
    61
    -
    65 inline bool IsButtonPressed(int button) const {
    -
    66 return ::IsGamepadButtonPressed(number, button);
    -
    67 }
    -
    68
    -
    72 inline bool IsButtonDown(int button) const {
    -
    73 return ::IsGamepadButtonDown(number, button);
    -
    74 }
    -
    75
    -
    79 inline bool IsButtonReleased(int button) const {
    -
    80 return ::IsGamepadButtonReleased(number, button);
    -
    81 }
    -
    82
    -
    86 inline bool IsButtonUp(int button) const {
    -
    87 return ::IsGamepadButtonUp(number, button);
    -
    88 }
    -
    89
    -
    93 inline int GetButtonPressed() const {
    -
    94 return ::GetGamepadButtonPressed();
    -
    95 }
    -
    96
    -
    100 inline int GetAxisCount() const {
    -
    101 return ::GetGamepadAxisCount(number);
    -
    102 }
    -
    103
    -
    107 inline float GetAxisMovement(int axis) const {
    -
    108 return ::GetGamepadAxisMovement(number, axis);
    -
    109 }
    -
    110
    -
    111 private:
    -
    112 inline void set(int gamepadNumber) {
    -
    113 number = gamepadNumber;
    -
    114 }
    -
    115};
    -
    116} // namespace raylib
    -
    117
    -
    118#endif // RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
    -
    Input-related functions: gamepads.
    Definition: Gamepad.hpp:13
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 
    +
    9 namespace raylib {
    +
    13 class Gamepad {
    +
    14  public:
    +
    15  Gamepad(int gamepadNumber = 0) {
    +
    16  set(gamepadNumber);
    +
    17  }
    +
    18  int number;
    +
    19 
    +
    20  GETTERSETTER(int, Number, number)
    +
    21 
    +
    22  Gamepad& operator=(const Gamepad& gamepad) {
    +
    23  set(gamepad);
    +
    24  return *this;
    +
    25  }
    +
    26 
    +
    27  Gamepad& operator=(int gamepadNumber) {
    +
    28  set(gamepadNumber);
    +
    29  return *this;
    +
    30  }
    +
    31 
    +
    32  operator int() const { return number; }
    +
    33 
    +
    37  inline bool IsAvailable() const {
    +
    38  return ::IsGamepadAvailable(number);
    +
    39  }
    +
    40 
    +
    44  static inline bool IsAvailable(int number) {
    +
    45  return ::IsGamepadAvailable(number);
    +
    46  }
    +
    47 
    +
    51  std::string GetName() const {
    +
    52  return ::GetGamepadName(number);
    +
    53  }
    +
    54 
    +
    58  operator std::string() const {
    +
    59  return GetName();
    +
    60  }
    +
    61 
    +
    65  inline bool IsButtonPressed(int button) const {
    +
    66  return ::IsGamepadButtonPressed(number, button);
    +
    67  }
    +
    68 
    +
    72  inline bool IsButtonDown(int button) const {
    +
    73  return ::IsGamepadButtonDown(number, button);
    +
    74  }
    +
    75 
    +
    79  inline bool IsButtonReleased(int button) const {
    +
    80  return ::IsGamepadButtonReleased(number, button);
    +
    81  }
    +
    82 
    +
    86  inline bool IsButtonUp(int button) const {
    +
    87  return ::IsGamepadButtonUp(number, button);
    +
    88  }
    +
    89 
    +
    93  inline int GetButtonPressed() const {
    +
    94  return ::GetGamepadButtonPressed();
    +
    95  }
    +
    96 
    +
    100  inline int GetAxisCount() const {
    +
    101  return ::GetGamepadAxisCount(number);
    +
    102  }
    +
    103 
    +
    107  inline float GetAxisMovement(int axis) const {
    +
    108  return ::GetGamepadAxisMovement(number, axis);
    +
    109  }
    +
    110 
    +
    111  private:
    +
    112  inline void set(int gamepadNumber) {
    +
    113  number = gamepadNumber;
    +
    114  }
    +
    115 };
    +
    116 } // namespace raylib
    +
    117 
    +
    118 #endif // RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    float GetAxisMovement(int axis) const
    Return axis movement value for a gamepad axis.
    Definition: Gamepad.hpp:107
    bool IsButtonReleased(int button) const
    Detect if a gamepad button has been released once.
    Definition: Gamepad.hpp:79
    -
    Gamepad(int gamepadNumber=0)
    Definition: Gamepad.hpp:15
    -
    Gamepad & operator=(int gamepadNumber)
    Definition: Gamepad.hpp:27
    -
    int GetAxisCount() const
    Return gamepad axis count for a gamepad.
    Definition: Gamepad.hpp:100
    -
    static bool IsAvailable(int number)
    Detect if a gamepad is available.
    Definition: Gamepad.hpp:44
    -
    bool IsAvailable() const
    Detect if a gamepad is available.
    Definition: Gamepad.hpp:37
    - -
    int GetButtonPressed() const
    Get the last gamepad button pressed.
    Definition: Gamepad.hpp:93
    -
    bool IsButtonDown(int button) const
    Detect if a gamepad button is being pressed.
    Definition: Gamepad.hpp:72
    -
    std::string GetName() const
    Return gamepad internal name id.
    Definition: Gamepad.hpp:51
    bool IsButtonUp(int button) const
    Detect if a gamepad button is NOT being pressed.
    Definition: Gamepad.hpp:86
    +
    std::string GetName() const
    Return gamepad internal name id.
    Definition: Gamepad.hpp:51
    +
    Input-related functions: gamepads.
    Definition: Gamepad.hpp:13
    bool IsButtonPressed(int button) const
    Detect if a gamepad button has been pressed once.
    Definition: Gamepad.hpp:65
    -
    float GetAxisMovement(int axis) const
    Return axis movement value for a gamepad axis.
    Definition: Gamepad.hpp:107
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    -
    +
    bool IsButtonDown(int button) const
    Detect if a gamepad button is being pressed.
    Definition: Gamepad.hpp:72
    +
    int GetButtonPressed() const
    Get the last gamepad button pressed.
    Definition: Gamepad.hpp:93
    +
    bool IsAvailable() const
    Detect if a gamepad is available.
    Definition: Gamepad.hpp:37
    +
    int GetAxisCount() const
    Return gamepad axis count for a gamepad.
    Definition: Gamepad.hpp:100
    +
    static bool IsAvailable(int number)
    Detect if a gamepad is available.
    Definition: Gamepad.hpp:44
    - + diff --git a/docs/_image_8hpp_source.html b/docs/_image_8hpp_source.html index 7c451fcc..319e09e9 100644 --- a/docs/_image_8hpp_source.html +++ b/docs/_image_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Image.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Image.hpp
    +
    +
    Image.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_IMAGE_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_IMAGE_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "./RaylibException.hpp"
    -
    9
    -
    10namespace raylib {
    -
    16class Image : public ::Image {
    -
    17 public:
    -
    18 Image(void* data = nullptr,
    -
    19 int width = 0,
    -
    20 int height = 0,
    -
    21 int mipmaps = 0,
    -
    22 int format = 0) : ::Image{data, width, height, mipmaps, format} {
    -
    23 // Nothing.
    -
    24 }
    -
    25
    -
    26 Image(const ::Image& image) {
    -
    27 set(image);
    -
    28 }
    -
    29
    -
    37 Image(const std::string& fileName) {
    -
    38 if (!Load(fileName)) {
    -
    39 throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
    -
    40 }
    -
    41 }
    -
    42
    -
    50 Image(const std::string& fileName, int width, int height, int format, int headerSize) {
    -
    51 if (!Load(fileName, width, height, format, headerSize)) {
    -
    52 throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
    -
    53 }
    -
    54 }
    -
    55
    -
    63 Image(const std::string& fileName, int* frames) {
    -
    64 if (!Load(fileName, frames)) {
    -
    65 throw RaylibException(TextFormat("Failed to load Image from animation: %s", fileName.c_str()));
    -
    66 }
    -
    67 }
    -
    68
    -
    74 Image(const std::string& fileType, const unsigned char* fileData, int dataSize) {
    -
    75 if (!Load(fileType, fileData, dataSize)) {
    -
    76 throw RaylibException("Failed to load Image from memory");
    -
    77 }
    -
    78 }
    -
    79
    -
    85 Image(const ::Texture2D& texture) {
    -
    86 if (!Load(texture)) {
    -
    87 throw RaylibException("Failed to load Image from Texture");
    -
    88 }
    -
    89 }
    -
    90
    -
    91 Image(int width, int height, ::Color color = {255, 255, 255, 255}) {
    -
    92 set(::GenImageColor(width, height, color));
    -
    93 }
    -
    94
    -
    95 Image(const std::string& text, int fontSize, ::Color color = {255, 255, 255, 255}) {
    -
    96 set(::ImageText(text.c_str(), fontSize, color));
    -
    97 }
    -
    98
    -
    99 Image(const ::Font& font, const std::string& text, float fontSize, float spacing,
    -
    100 ::Color tint = {255, 255, 255, 255}) {
    -
    101 set(::ImageTextEx(font, text.c_str(), fontSize, spacing, tint));
    -
    102 }
    -
    103
    -
    104 Image(const Image& other) {
    -
    105 set(other.Copy());
    -
    106 }
    -
    107
    -
    108 Image(Image&& other) {
    -
    109 set(other);
    -
    110
    -
    111 other.data = nullptr;
    -
    112 other.width = 0;
    -
    113 other.height = 0;
    -
    114 other.mipmaps = 0;
    -
    115 other.format = 0;
    -
    116 }
    -
    117
    -
    118 static ::Image Text(const std::string& text, int fontSize,
    -
    119 ::Color color = {255, 255, 255, 255}) {
    -
    120 return ::ImageText(text.c_str(), fontSize, color);
    -
    121 }
    -
    122
    -
    123 static ::Image Text(const ::Font& font, const std::string& text, float fontSize, float spacing,
    -
    124 ::Color tint = {255, 255, 255, 255}) {
    -
    125 return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
    -
    126 }
    -
    127
    -
    131 static ::Image LoadFromScreen() {
    -
    132 return ::LoadImageFromScreen();
    -
    133 }
    -
    134
    -
    138 static ::Image Color(int width, int height, ::Color color = {255, 255, 255, 255}) {
    -
    139 return ::GenImageColor(width, height, color);
    -
    140 }
    -
    141
    -
    145 static ::Image GradientV(int width, int height, ::Color top, ::Color bottom) {
    -
    146 return ::GenImageGradientV(width, height, top, bottom);
    -
    147 }
    -
    148
    -
    152 static ::Image GradientH(int width, int height, ::Color left, ::Color right) {
    -
    153 return ::GenImageGradientH(width, height, left, right);
    -
    154 }
    -
    155
    -
    159 static ::Image GradientRadial(int width, int height, float density,
    -
    160 ::Color inner, ::Color outer) {
    -
    161 return ::GenImageGradientRadial(width, height, density, inner, outer);
    -
    162 }
    -
    163
    -
    167 static ::Image Checked(int width, int height, int checksX, int checksY,
    -
    168 ::Color col1 = {255, 255, 255, 255}, ::Color col2 = {0, 0, 0, 255}) {
    -
    169 return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
    -
    170 }
    -
    171
    -
    175 static ::Image WhiteNoise(int width, int height, float factor) {
    -
    176 return ::GenImageWhiteNoise(width, height, factor);
    -
    177 }
    -
    178
    -
    182 static ::Image Cellular(int width, int height, int tileSize) {
    -
    183 return ::GenImageCellular(width, height, tileSize);
    -
    184 }
    -
    185
    - -
    187 Unload();
    -
    188 }
    -
    189
    -
    190 Image& operator=(const ::Image& image) {
    -
    191 set(image);
    -
    192 return *this;
    -
    193 }
    -
    194
    -
    195 Image& operator=(const Image& other) {
    -
    196 if (this == &other) {
    -
    197 return *this;
    -
    198 }
    -
    199
    -
    200 Unload();
    -
    201 set(other.Copy());
    -
    202
    -
    203 return *this;
    -
    204 }
    -
    205
    -
    206 Image& operator=(Image&& other) noexcept {
    -
    207 if (this == &other) {
    -
    208 return *this;
    -
    209 }
    -
    210
    -
    211 Unload();
    -
    212 set(other);
    -
    213
    -
    214 other.data = nullptr;
    -
    215 other.width = 0;
    -
    216 other.height = 0;
    -
    217 other.mipmaps = 0;
    -
    218 other.format = 0;
    -
    219
    -
    220 return *this;
    -
    221 }
    -
    222
    -
    230 bool Load(const std::string& fileName) {
    -
    231 set(::LoadImage(fileName.c_str()));
    -
    232 return IsReady();
    -
    233 }
    -
    234
    -
    242 bool Load(const std::string& fileName, int width, int height, int format, int headerSize) {
    -
    243 set(::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
    -
    244 return IsReady();
    -
    245 }
    -
    246
    -
    254 bool Load(const std::string& fileName, int* frames) {
    -
    255 set(::LoadImageAnim(fileName.c_str(), frames));
    -
    256 return IsReady();
    -
    257 }
    -
    258
    -
    266 bool Load(
    -
    267 const std::string& fileType,
    -
    268 const unsigned char *fileData,
    -
    269 int dataSize) {
    -
    270 set(::LoadImageFromMemory(fileType.c_str(), fileData, dataSize));
    -
    271 return IsReady();
    -
    272 }
    -
    273
    -
    281 bool Load(const ::Texture2D& texture) {
    -
    282 set(::LoadImageFromTexture(texture));
    -
    283 return IsReady();
    -
    284 }
    -
    285
    -
    289 inline void Unload() {
    -
    290 if (data != nullptr) {
    -
    291 ::UnloadImage(*this);
    -
    292 data = nullptr;
    -
    293 }
    -
    294 }
    -
    295
    -
    299 inline bool Export(const std::string& fileName) const {
    -
    300 // TODO(RobLoach): Switch to an invalid loading exception on false.
    -
    301 return ::ExportImage(*this, fileName.c_str());
    -
    302 }
    -
    303
    -
    307 inline bool ExportAsCode(const std::string& fileName) const {
    -
    308 return ::ExportImageAsCode(*this, fileName.c_str());
    -
    309 }
    -
    310
    -
    311 GETTERSETTER(void*, Data, data)
    -
    312 GETTERSETTER(int, Width, width)
    -
    313 GETTERSETTER(int, Height, height)
    -
    314 GETTERSETTER(int, Mipmaps, mipmaps)
    -
    315 GETTERSETTER(int, Format, format)
    -
    316
    -
    320 inline ::Vector2 GetSize() const {
    -
    321 return {static_cast<float>(width), static_cast<float>(height)};
    -
    322 }
    -
    323
    -
    327 inline ::Image Copy() const {
    -
    328 return ::ImageCopy(*this);
    -
    329 }
    -
    330
    -
    334 inline ::Image FromImage(::Rectangle rec) const {
    -
    335 return ::ImageFromImage(*this, rec);
    -
    336 }
    -
    337
    -
    341 inline Image& ToPOT(::Color fillColor) {
    -
    342 ::ImageToPOT(this, fillColor);
    -
    343 return *this;
    -
    344 }
    -
    345
    -
    349 inline Image& Format(int newFormat) {
    -
    350 ::ImageFormat(this, newFormat);
    -
    351 return *this;
    -
    352 }
    -
    353
    -
    357 inline Image& AlphaCrop(float threshold) {
    -
    358 ::ImageAlphaCrop(this, threshold);
    -
    359 return *this;
    -
    360 }
    -
    361
    -
    365 inline Image& AlphaClear(::Color color, float threshold) {
    -
    366 ::ImageAlphaClear(this, color, threshold);
    -
    367 return *this;
    -
    368 }
    -
    369
    -
    373 inline Image& AlphaMask(const ::Image& alphaMask) {
    -
    374 ::ImageAlphaMask(this, alphaMask);
    -
    375 return *this;
    -
    376 }
    -
    377
    - -
    382 ::ImageAlphaPremultiply(this);
    -
    383 return *this;
    -
    384 }
    -
    385
    -
    389 inline Image& Crop(::Rectangle crop) {
    -
    390 ::ImageCrop(this, crop);
    -
    391 return *this;
    -
    392 }
    -
    393
    -
    397 inline Image& Crop(int newWidth, int newHeight) {
    -
    398 return Crop(0, 0, newWidth, newHeight);
    -
    399 }
    -
    400
    -
    404 inline Image& Crop(::Vector2 size) {
    -
    405 return Crop(0, 0, static_cast<int>(size.x), static_cast<int>(size.y));
    -
    406 }
    -
    407
    -
    411 inline Image& Crop(int offsetX, int offsetY, int newWidth, int newHeight) {
    -
    412 ::Rectangle rect{
    -
    413 static_cast<float>(offsetX),
    -
    414 static_cast<float>(offsetY),
    -
    415 static_cast<float>(newWidth),
    -
    416 static_cast<float>(newHeight)
    -
    417 };
    -
    418 ::ImageCrop(this, rect);
    -
    419 return *this;
    -
    420 }
    -
    421
    -
    425 inline Image& Resize(int newWidth, int newHeight) {
    -
    426 ::ImageResize(this, newWidth, newHeight);
    -
    427 return *this;
    -
    428 }
    -
    429
    -
    433 inline Image& ResizeNN(int newWidth, int newHeight) {
    -
    434 ::ImageResizeNN(this, newWidth, newHeight);
    -
    435 return *this;
    -
    436 }
    -
    437
    -
    441 inline Image& ResizeCanvas(int newWidth, int newHeight, int offsetX = 0, int offsetY = 0,
    -
    442 ::Color color = {255, 255, 255, 255}) {
    -
    443 ::ImageResizeCanvas(this, newWidth, newHeight, offsetX, offsetY, color);
    -
    444 return *this;
    -
    445 }
    -
    446
    -
    450 inline Image& Mipmaps() {
    -
    451 ::ImageMipmaps(this);
    -
    452 return *this;
    -
    453 }
    -
    454
    -
    458 inline Image& Dither(int rBpp, int gBpp, int bBpp, int aBpp) {
    -
    459 ::ImageDither(this, rBpp, gBpp, bBpp, aBpp);
    -
    460 return *this;
    -
    461 }
    -
    462
    -
    466 inline Image& FlipVertical() {
    -
    467 ::ImageFlipVertical(this);
    -
    468 return *this;
    -
    469 }
    -
    470
    - -
    475 ::ImageFlipHorizontal(this);
    -
    476 return *this;
    -
    477 }
    -
    478
    -
    482 inline Image& RotateCW() {
    -
    483 ::ImageRotateCW(this);
    -
    484 return *this;
    -
    485 }
    -
    486
    -
    490 inline Image& RotateCCW() {
    -
    491 ::ImageRotateCCW(this);
    -
    492 return *this;
    -
    493 }
    -
    494
    -
    498 inline Image& ColorTint(::Color color = {255, 255, 255, 255}) {
    -
    499 ::ImageColorTint(this, color);
    -
    500 return *this;
    -
    501 }
    -
    502
    -
    506 inline Image& ColorInvert() {
    -
    507 ::ImageColorInvert(this);
    -
    508 return *this;
    -
    509 }
    -
    510
    - -
    515 ::ImageColorGrayscale(this);
    -
    516 return *this;
    -
    517 }
    -
    518
    -
    524 inline Image& ColorContrast(float contrast) {
    -
    525 ::ImageColorContrast(this, contrast);
    -
    526 return *this;
    -
    527 }
    -
    528
    -
    534 inline Image& ColorBrightness(int brightness) {
    -
    535 ::ImageColorBrightness(this, brightness);
    -
    536 return *this;
    -
    537 }
    -
    538
    -
    542 inline Image& ColorReplace(::Color color, ::Color replace) {
    -
    543 ::ImageColorReplace(this, color, replace);
    -
    544 return *this;
    -
    545 }
    -
    546
    -
    552 inline Rectangle GetAlphaBorder(float threshold) const {
    -
    553 return ::GetImageAlphaBorder(*this, threshold);
    -
    554 }
    -
    555
    -
    559 inline Image& ClearBackground(::Color color = {0, 0, 0, 255}) {
    -
    560 ::ImageClearBackground(this, color);
    -
    561 return *this;
    -
    562 }
    -
    563
    -
    567 inline Image& DrawPixel(int posX, int posY, ::Color color = {255, 255, 255, 255}) {
    -
    568 ::ImageDrawPixel(this, posX, posY, color);
    -
    569 return *this;
    -
    570 }
    -
    571
    -
    572 inline Image& DrawPixel(::Vector2 position, ::Color color = {255, 255, 255, 255}) {
    -
    573 ::ImageDrawPixelV(this, position, color);
    -
    574 return *this;
    -
    575 }
    -
    576
    -
    577 inline Image& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY,
    -
    578 ::Color color = {255, 255, 255, 255}) {
    -
    579 ::ImageDrawLine(this, startPosX, startPosY, endPosX, endPosY, color);
    -
    580 return *this;
    -
    581 }
    -
    582
    -
    583 inline Image& DrawLine(::Vector2 start, ::Vector2 end, ::Color color = {255, 255, 255, 255}) {
    -
    584 ::ImageDrawLineV(this, start, end, color);
    -
    585 return *this;
    -
    586 }
    -
    587
    -
    588 inline Image& DrawCircle(int centerX, int centerY, int radius,
    -
    589 ::Color color = {255, 255, 255, 255}) {
    -
    590 ::ImageDrawCircle(this, centerX, centerY, radius, color);
    -
    591 return *this;
    -
    592 }
    -
    593
    -
    594 inline Image& DrawCircle(::Vector2 center, int radius,
    -
    595 ::Color color = {255, 255, 255, 255}) {
    -
    596 ::ImageDrawCircleV(this, center, radius, color);
    -
    597 return *this;
    -
    598 }
    -
    599
    -
    600 inline Image& DrawRectangle(int posX, int posY, int width, int height,
    -
    601 ::Color color = {255, 255, 255, 255}) {
    -
    602 ::ImageDrawRectangle(this, posX, posY, width, height, color);
    -
    603 return *this;
    -
    604 }
    -
    605
    -
    606 inline Image& DrawRectangle(Vector2 position, Vector2 size,
    -
    607 ::Color color = {255, 255, 255, 255}) {
    -
    608 ::ImageDrawRectangleV(this, position, size, color);
    -
    609 return *this;
    -
    610 }
    -
    611
    -
    612 inline Image& DrawRectangle(::Rectangle rec, ::Color color = {255, 255, 255, 255}) {
    -
    613 ::ImageDrawRectangleRec(this, rec, color);
    -
    614 return *this;
    -
    615 }
    -
    616
    -
    617 inline Image& DrawRectangleLines(::Rectangle rec, int thick = 1,
    -
    618 ::Color color = {255, 255, 255, 255}) {
    -
    619 ::ImageDrawRectangleLines(this, rec, thick, color);
    -
    620 return *this;
    -
    621 }
    -
    622
    -
    623 inline Image& Draw(const ::Image& src, ::Rectangle srcRec, ::Rectangle dstRec,
    -
    624 ::Color tint = {255, 255, 255, 255}) {
    -
    625 ::ImageDraw(this, src, srcRec, dstRec, tint);
    -
    626 return *this;
    -
    627 }
    -
    628
    -
    629 inline Image& DrawText(const std::string& text, ::Vector2 position, int fontSize,
    -
    630 ::Color color = {255, 255, 255, 255}) {
    -
    631 ::ImageDrawText(this,
    -
    632 text.c_str(),
    -
    633 static_cast<int>(position.x),
    -
    634 static_cast<int>(position.y),
    -
    635 fontSize,
    -
    636 color);
    -
    637 return *this;
    -
    638 }
    -
    639
    -
    640 inline Image& DrawText(const std::string& text, int x, int y, int fontSize,
    -
    641 ::Color color = {255, 255, 255, 255}) {
    -
    642 ::ImageDrawText(this, text.c_str(), x, y, fontSize, color);
    -
    643 return *this;
    -
    644 }
    -
    645
    -
    646 inline Image& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
    -
    647 float fontSize, float spacing, ::Color tint = {255, 255, 255, 255}) {
    -
    648 ::ImageDrawTextEx(this, font, text.c_str(), position, fontSize, spacing, tint);
    -
    649 return *this;
    -
    650 }
    -
    651
    -
    655 inline ::Color* LoadColors() const {
    -
    656 return ::LoadImageColors(*this);
    -
    657 }
    -
    658
    -
    662 inline ::Color* LoadPalette(int maxPaletteSize, int *colorsCount) const {
    -
    663 return ::LoadImagePalette(*this, maxPaletteSize, colorsCount);
    -
    664 }
    -
    665
    -
    669 inline void UnloadColors(::Color* colors) const {
    -
    670 ::UnloadImageColors(colors);
    -
    671 }
    -
    672
    -
    676 inline void UnloadPalette(::Color* colors) const {
    -
    677 ::UnloadImagePalette(colors);
    -
    678 }
    -
    679
    -
    683 inline ::Texture2D LoadTexture() const {
    -
    684 return ::LoadTextureFromImage(*this);
    -
    685 }
    -
    686
    -
    692 inline operator ::Texture2D() {
    -
    693 return LoadTexture();
    -
    694 }
    -
    695
    -
    699 static int GetPixelDataSize(int width, int height, int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) {
    -
    700 return ::GetPixelDataSize(width, height, format);
    -
    701 }
    -
    702
    -
    708 int GetPixelDataSize() const {
    -
    709 return ::GetPixelDataSize(width, height, format);
    -
    710 }
    -
    711
    -
    717 inline bool IsReady() const {
    -
    718 return data != nullptr;
    -
    719 }
    -
    720
    -
    721 private:
    -
    722 inline void set(const ::Image& image) {
    -
    723 data = image.data;
    -
    724 width = image.width;
    -
    725 height = image.height;
    -
    726 mipmaps = image.mipmaps;
    -
    727 format = image.format;
    -
    728 }
    -
    729};
    -
    730} // namespace raylib
    -
    731
    -
    732#endif // RAYLIB_CPP_INCLUDE_IMAGE_HPP_
    -
    Image type, bpp always RGBA (32bit)
    Definition: Image.hpp:16
    -
    Image & Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})
    Definition: Image.hpp:623
    -
    Image & ColorContrast(float contrast)
    Modify image color: contrast.
    Definition: Image.hpp:524
    -
    Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
    Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
    Definition: Image.hpp:458
    -
    Image & DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:606
    -
    Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:95
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_IMAGE_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_IMAGE_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "./RaylibException.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    16 class Image : public ::Image {
    +
    17  public:
    +
    18  Image(void* data = nullptr,
    +
    19  int width = 0,
    +
    20  int height = 0,
    +
    21  int mipmaps = 0,
    +
    22  int format = 0) : ::Image{data, width, height, mipmaps, format} {
    +
    23  // Nothing.
    +
    24  }
    +
    25 
    +
    26  Image(const ::Image& image) {
    +
    27  set(image);
    +
    28  }
    +
    29 
    +
    37  Image(const std::string& fileName) {
    +
    38  if (!Load(fileName)) {
    +
    39  throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
    +
    40  }
    +
    41  }
    +
    42 
    +
    50  Image(const std::string& fileName, int width, int height, int format, int headerSize) {
    +
    51  if (!Load(fileName, width, height, format, headerSize)) {
    +
    52  throw RaylibException(TextFormat("Failed to load Image from file: %s", fileName.c_str()));
    +
    53  }
    +
    54  }
    +
    55 
    +
    63  Image(const std::string& fileName, int* frames) {
    +
    64  if (!Load(fileName, frames)) {
    +
    65  throw RaylibException(TextFormat("Failed to load Image from animation: %s", fileName.c_str()));
    +
    66  }
    +
    67  }
    +
    68 
    +
    74  Image(const std::string& fileType, const unsigned char* fileData, int dataSize) {
    +
    75  if (!Load(fileType, fileData, dataSize)) {
    +
    76  throw RaylibException("Failed to load Image from memory");
    +
    77  }
    +
    78  }
    +
    79 
    +
    85  Image(const ::Texture2D& texture) {
    +
    86  if (!Load(texture)) {
    +
    87  throw RaylibException("Failed to load Image from Texture");
    +
    88  }
    +
    89  }
    +
    90 
    +
    91  Image(int width, int height, ::Color color = {255, 255, 255, 255}) {
    +
    92  set(::GenImageColor(width, height, color));
    +
    93  }
    +
    94 
    +
    95  Image(const std::string& text, int fontSize, ::Color color = {255, 255, 255, 255}) {
    +
    96  set(::ImageText(text.c_str(), fontSize, color));
    +
    97  }
    +
    98 
    +
    99  Image(const ::Font& font, const std::string& text, float fontSize, float spacing,
    +
    100  ::Color tint = {255, 255, 255, 255}) {
    +
    101  set(::ImageTextEx(font, text.c_str(), fontSize, spacing, tint));
    +
    102  }
    +
    103 
    +
    104  Image(const Image& other) {
    +
    105  set(other.Copy());
    +
    106  }
    +
    107 
    +
    108  Image(Image&& other) {
    +
    109  set(other);
    +
    110 
    +
    111  other.data = nullptr;
    +
    112  other.width = 0;
    +
    113  other.height = 0;
    +
    114  other.mipmaps = 0;
    +
    115  other.format = 0;
    +
    116  }
    +
    117 
    +
    118  static ::Image Text(const std::string& text, int fontSize,
    +
    119  ::Color color = {255, 255, 255, 255}) {
    +
    120  return ::ImageText(text.c_str(), fontSize, color);
    +
    121  }
    +
    122 
    +
    123  static ::Image Text(const ::Font& font, const std::string& text, float fontSize, float spacing,
    +
    124  ::Color tint = {255, 255, 255, 255}) {
    +
    125  return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
    +
    126  }
    +
    127 
    +
    131  static ::Image LoadFromScreen() {
    +
    132  return ::LoadImageFromScreen();
    +
    133  }
    +
    134 
    +
    138  static ::Image Color(int width, int height, ::Color color = {255, 255, 255, 255}) {
    +
    139  return ::GenImageColor(width, height, color);
    +
    140  }
    +
    141 
    +
    145  static ::Image GradientV(int width, int height, ::Color top, ::Color bottom) {
    +
    146  return ::GenImageGradientV(width, height, top, bottom);
    +
    147  }
    +
    148 
    +
    152  static ::Image GradientH(int width, int height, ::Color left, ::Color right) {
    +
    153  return ::GenImageGradientH(width, height, left, right);
    +
    154  }
    +
    155 
    +
    159  static ::Image GradientRadial(int width, int height, float density,
    +
    160  ::Color inner, ::Color outer) {
    +
    161  return ::GenImageGradientRadial(width, height, density, inner, outer);
    +
    162  }
    +
    163 
    +
    167  static ::Image Checked(int width, int height, int checksX, int checksY,
    +
    168  ::Color col1 = {255, 255, 255, 255}, ::Color col2 = {0, 0, 0, 255}) {
    +
    169  return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
    +
    170  }
    +
    171 
    +
    175  static ::Image WhiteNoise(int width, int height, float factor) {
    +
    176  return ::GenImageWhiteNoise(width, height, factor);
    +
    177  }
    +
    178 
    +
    182  static ::Image Cellular(int width, int height, int tileSize) {
    +
    183  return ::GenImageCellular(width, height, tileSize);
    +
    184  }
    +
    185 
    +
    186  ~Image() {
    +
    187  Unload();
    +
    188  }
    +
    189 
    +
    190  Image& operator=(const ::Image& image) {
    +
    191  set(image);
    +
    192  return *this;
    +
    193  }
    +
    194 
    +
    195  Image& operator=(const Image& other) {
    +
    196  if (this == &other) {
    +
    197  return *this;
    +
    198  }
    +
    199 
    +
    200  Unload();
    +
    201  set(other.Copy());
    +
    202 
    +
    203  return *this;
    +
    204  }
    +
    205 
    +
    206  Image& operator=(Image&& other) noexcept {
    +
    207  if (this == &other) {
    +
    208  return *this;
    +
    209  }
    +
    210 
    +
    211  Unload();
    +
    212  set(other);
    +
    213 
    +
    214  other.data = nullptr;
    +
    215  other.width = 0;
    +
    216  other.height = 0;
    +
    217  other.mipmaps = 0;
    +
    218  other.format = 0;
    +
    219 
    +
    220  return *this;
    +
    221  }
    +
    222 
    +
    230  bool Load(const std::string& fileName) {
    +
    231  set(::LoadImage(fileName.c_str()));
    +
    232  return IsReady();
    +
    233  }
    +
    234 
    +
    242  bool Load(const std::string& fileName, int width, int height, int format, int headerSize) {
    +
    243  set(::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
    +
    244  return IsReady();
    +
    245  }
    +
    246 
    +
    254  bool Load(const std::string& fileName, int* frames) {
    +
    255  set(::LoadImageAnim(fileName.c_str(), frames));
    +
    256  return IsReady();
    +
    257  }
    +
    258 
    +
    266  bool Load(
    +
    267  const std::string& fileType,
    +
    268  const unsigned char *fileData,
    +
    269  int dataSize) {
    +
    270  set(::LoadImageFromMemory(fileType.c_str(), fileData, dataSize));
    +
    271  return IsReady();
    +
    272  }
    +
    273 
    +
    281  bool Load(const ::Texture2D& texture) {
    +
    282  set(::LoadImageFromTexture(texture));
    +
    283  return IsReady();
    +
    284  }
    +
    285 
    +
    289  inline void Unload() {
    +
    290  if (data != nullptr) {
    +
    291  ::UnloadImage(*this);
    +
    292  data = nullptr;
    +
    293  }
    +
    294  }
    +
    295 
    +
    299  inline bool Export(const std::string& fileName) const {
    +
    300  // TODO(RobLoach): Switch to an invalid loading exception on false.
    +
    301  return ::ExportImage(*this, fileName.c_str());
    +
    302  }
    +
    303 
    +
    307  inline bool ExportAsCode(const std::string& fileName) const {
    +
    308  return ::ExportImageAsCode(*this, fileName.c_str());
    +
    309  }
    +
    310 
    +
    311  GETTERSETTER(void*, Data, data)
    +
    312  GETTERSETTER(int, Width, width)
    +
    313  GETTERSETTER(int, Height, height)
    +
    314  GETTERSETTER(int, Mipmaps, mipmaps)
    +
    315  GETTERSETTER(int, Format, format)
    +
    316 
    +
    320  inline ::Vector2 GetSize() const {
    +
    321  return {static_cast<float>(width), static_cast<float>(height)};
    +
    322  }
    +
    323 
    +
    327  inline ::Image Copy() const {
    +
    328  return ::ImageCopy(*this);
    +
    329  }
    +
    330 
    +
    334  inline ::Image FromImage(::Rectangle rec) const {
    +
    335  return ::ImageFromImage(*this, rec);
    +
    336  }
    +
    337 
    +
    341  inline Image& ToPOT(::Color fillColor) {
    +
    342  ::ImageToPOT(this, fillColor);
    +
    343  return *this;
    +
    344  }
    +
    345 
    +
    349  inline Image& Format(int newFormat) {
    +
    350  ::ImageFormat(this, newFormat);
    +
    351  return *this;
    +
    352  }
    +
    353 
    +
    357  inline Image& AlphaCrop(float threshold) {
    +
    358  ::ImageAlphaCrop(this, threshold);
    +
    359  return *this;
    +
    360  }
    +
    361 
    +
    365  inline Image& AlphaClear(::Color color, float threshold) {
    +
    366  ::ImageAlphaClear(this, color, threshold);
    +
    367  return *this;
    +
    368  }
    +
    369 
    +
    373  inline Image& AlphaMask(const ::Image& alphaMask) {
    +
    374  ::ImageAlphaMask(this, alphaMask);
    +
    375  return *this;
    +
    376  }
    +
    377 
    + +
    382  ::ImageAlphaPremultiply(this);
    +
    383  return *this;
    +
    384  }
    +
    385 
    +
    389  inline Image& Crop(::Rectangle crop) {
    +
    390  ::ImageCrop(this, crop);
    +
    391  return *this;
    +
    392  }
    +
    393 
    +
    397  inline Image& Crop(int newWidth, int newHeight) {
    +
    398  return Crop(0, 0, newWidth, newHeight);
    +
    399  }
    +
    400 
    +
    404  inline Image& Crop(::Vector2 size) {
    +
    405  return Crop(0, 0, static_cast<int>(size.x), static_cast<int>(size.y));
    +
    406  }
    +
    407 
    +
    411  inline Image& Crop(int offsetX, int offsetY, int newWidth, int newHeight) {
    +
    412  ::Rectangle rect{
    +
    413  static_cast<float>(offsetX),
    +
    414  static_cast<float>(offsetY),
    +
    415  static_cast<float>(newWidth),
    +
    416  static_cast<float>(newHeight)
    +
    417  };
    +
    418  ::ImageCrop(this, rect);
    +
    419  return *this;
    +
    420  }
    +
    421 
    +
    425  inline Image& Resize(int newWidth, int newHeight) {
    +
    426  ::ImageResize(this, newWidth, newHeight);
    +
    427  return *this;
    +
    428  }
    +
    429 
    +
    433  inline Image& ResizeNN(int newWidth, int newHeight) {
    +
    434  ::ImageResizeNN(this, newWidth, newHeight);
    +
    435  return *this;
    +
    436  }
    +
    437 
    +
    441  inline Image& ResizeCanvas(int newWidth, int newHeight, int offsetX = 0, int offsetY = 0,
    +
    442  ::Color color = {255, 255, 255, 255}) {
    +
    443  ::ImageResizeCanvas(this, newWidth, newHeight, offsetX, offsetY, color);
    +
    444  return *this;
    +
    445  }
    +
    446 
    +
    450  inline Image& Mipmaps() {
    +
    451  ::ImageMipmaps(this);
    +
    452  return *this;
    +
    453  }
    +
    454 
    +
    458  inline Image& Dither(int rBpp, int gBpp, int bBpp, int aBpp) {
    +
    459  ::ImageDither(this, rBpp, gBpp, bBpp, aBpp);
    +
    460  return *this;
    +
    461  }
    +
    462 
    +
    466  inline Image& FlipVertical() {
    +
    467  ::ImageFlipVertical(this);
    +
    468  return *this;
    +
    469  }
    +
    470 
    +
    474  inline Image& FlipHorizontal() {
    +
    475  ::ImageFlipHorizontal(this);
    +
    476  return *this;
    +
    477  }
    +
    478 
    +
    482  inline Image& RotateCW() {
    +
    483  ::ImageRotateCW(this);
    +
    484  return *this;
    +
    485  }
    +
    486 
    +
    490  inline Image& RotateCCW() {
    +
    491  ::ImageRotateCCW(this);
    +
    492  return *this;
    +
    493  }
    +
    494 
    +
    498  inline Image& ColorTint(::Color color = {255, 255, 255, 255}) {
    +
    499  ::ImageColorTint(this, color);
    +
    500  return *this;
    +
    501  }
    +
    502 
    +
    506  inline Image& ColorInvert() {
    +
    507  ::ImageColorInvert(this);
    +
    508  return *this;
    +
    509  }
    +
    510 
    +
    514  inline Image& ColorGrayscale() {
    +
    515  ::ImageColorGrayscale(this);
    +
    516  return *this;
    +
    517  }
    +
    518 
    +
    524  inline Image& ColorContrast(float contrast) {
    +
    525  ::ImageColorContrast(this, contrast);
    +
    526  return *this;
    +
    527  }
    +
    528 
    +
    534  inline Image& ColorBrightness(int brightness) {
    +
    535  ::ImageColorBrightness(this, brightness);
    +
    536  return *this;
    +
    537  }
    +
    538 
    +
    542  inline Image& ColorReplace(::Color color, ::Color replace) {
    +
    543  ::ImageColorReplace(this, color, replace);
    +
    544  return *this;
    +
    545  }
    +
    546 
    +
    552  inline Rectangle GetAlphaBorder(float threshold) const {
    +
    553  return ::GetImageAlphaBorder(*this, threshold);
    +
    554  }
    +
    555 
    +
    559  inline Image& ClearBackground(::Color color = {0, 0, 0, 255}) {
    +
    560  ::ImageClearBackground(this, color);
    +
    561  return *this;
    +
    562  }
    +
    563 
    +
    567  inline Image& DrawPixel(int posX, int posY, ::Color color = {255, 255, 255, 255}) {
    +
    568  ::ImageDrawPixel(this, posX, posY, color);
    +
    569  return *this;
    +
    570  }
    +
    571 
    +
    572  inline Image& DrawPixel(::Vector2 position, ::Color color = {255, 255, 255, 255}) {
    +
    573  ::ImageDrawPixelV(this, position, color);
    +
    574  return *this;
    +
    575  }
    +
    576 
    +
    577  inline Image& DrawLine(int startPosX, int startPosY, int endPosX, int endPosY,
    +
    578  ::Color color = {255, 255, 255, 255}) {
    +
    579  ::ImageDrawLine(this, startPosX, startPosY, endPosX, endPosY, color);
    +
    580  return *this;
    +
    581  }
    +
    582 
    +
    583  inline Image& DrawLine(::Vector2 start, ::Vector2 end, ::Color color = {255, 255, 255, 255}) {
    +
    584  ::ImageDrawLineV(this, start, end, color);
    +
    585  return *this;
    +
    586  }
    +
    587 
    +
    588  inline Image& DrawCircle(int centerX, int centerY, int radius,
    +
    589  ::Color color = {255, 255, 255, 255}) {
    +
    590  ::ImageDrawCircle(this, centerX, centerY, radius, color);
    +
    591  return *this;
    +
    592  }
    +
    593 
    +
    594  inline Image& DrawCircle(::Vector2 center, int radius,
    +
    595  ::Color color = {255, 255, 255, 255}) {
    +
    596  ::ImageDrawCircleV(this, center, radius, color);
    +
    597  return *this;
    +
    598  }
    +
    599 
    +
    600  inline Image& DrawRectangle(int posX, int posY, int width, int height,
    +
    601  ::Color color = {255, 255, 255, 255}) {
    +
    602  ::ImageDrawRectangle(this, posX, posY, width, height, color);
    +
    603  return *this;
    +
    604  }
    +
    605 
    +
    606  inline Image& DrawRectangle(Vector2 position, Vector2 size,
    +
    607  ::Color color = {255, 255, 255, 255}) {
    +
    608  ::ImageDrawRectangleV(this, position, size, color);
    +
    609  return *this;
    +
    610  }
    +
    611 
    +
    612  inline Image& DrawRectangle(::Rectangle rec, ::Color color = {255, 255, 255, 255}) {
    +
    613  ::ImageDrawRectangleRec(this, rec, color);
    +
    614  return *this;
    +
    615  }
    +
    616 
    +
    617  inline Image& DrawRectangleLines(::Rectangle rec, int thick = 1,
    +
    618  ::Color color = {255, 255, 255, 255}) {
    +
    619  ::ImageDrawRectangleLines(this, rec, thick, color);
    +
    620  return *this;
    +
    621  }
    +
    622 
    +
    623  inline Image& Draw(const ::Image& src, ::Rectangle srcRec, ::Rectangle dstRec,
    +
    624  ::Color tint = {255, 255, 255, 255}) {
    +
    625  ::ImageDraw(this, src, srcRec, dstRec, tint);
    +
    626  return *this;
    +
    627  }
    +
    628 
    +
    629  inline Image& DrawText(const std::string& text, ::Vector2 position, int fontSize,
    +
    630  ::Color color = {255, 255, 255, 255}) {
    +
    631  ::ImageDrawText(this,
    +
    632  text.c_str(),
    +
    633  static_cast<int>(position.x),
    +
    634  static_cast<int>(position.y),
    +
    635  fontSize,
    +
    636  color);
    +
    637  return *this;
    +
    638  }
    +
    639 
    +
    640  inline Image& DrawText(const std::string& text, int x, int y, int fontSize,
    +
    641  ::Color color = {255, 255, 255, 255}) {
    +
    642  ::ImageDrawText(this, text.c_str(), x, y, fontSize, color);
    +
    643  return *this;
    +
    644  }
    +
    645 
    +
    646  inline Image& DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
    +
    647  float fontSize, float spacing, ::Color tint = {255, 255, 255, 255}) {
    +
    648  ::ImageDrawTextEx(this, font, text.c_str(), position, fontSize, spacing, tint);
    +
    649  return *this;
    +
    650  }
    +
    651 
    +
    655  inline ::Color* LoadColors() const {
    +
    656  return ::LoadImageColors(*this);
    +
    657  }
    +
    658 
    +
    662  inline ::Color* LoadPalette(int maxPaletteSize, int *colorsCount) const {
    +
    663  return ::LoadImagePalette(*this, maxPaletteSize, colorsCount);
    +
    664  }
    +
    665 
    +
    669  inline void UnloadColors(::Color* colors) const {
    +
    670  ::UnloadImageColors(colors);
    +
    671  }
    +
    672 
    +
    676  inline void UnloadPalette(::Color* colors) const {
    +
    677  ::UnloadImagePalette(colors);
    +
    678  }
    +
    679 
    +
    683  inline ::Texture2D LoadTexture() const {
    +
    684  return ::LoadTextureFromImage(*this);
    +
    685  }
    +
    686 
    +
    692  inline operator ::Texture2D() {
    +
    693  return LoadTexture();
    +
    694  }
    +
    695 
    +
    699  static int GetPixelDataSize(int width, int height, int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) {
    +
    700  return ::GetPixelDataSize(width, height, format);
    +
    701  }
    +
    702 
    +
    708  int GetPixelDataSize() const {
    +
    709  return ::GetPixelDataSize(width, height, format);
    +
    710  }
    +
    711 
    +
    717  inline bool IsReady() const {
    +
    718  return data != nullptr;
    +
    719  }
    +
    720 
    +
    721  private:
    +
    722  inline void set(const ::Image& image) {
    +
    723  data = image.data;
    +
    724  width = image.width;
    +
    725  height = image.height;
    +
    726  mipmaps = image.mipmaps;
    +
    727  format = image.format;
    +
    728  }
    +
    729 };
    +
    730 } // namespace raylib
    +
    731 
    +
    732 #endif // RAYLIB_CPP_INCLUDE_IMAGE_HPP_
    +
    +
    Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
    Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
    Definition: Image.hpp:458
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Image & ColorBrightness(int brightness)
    Modify image color: brightness.
    Definition: Image.hpp:534
    ::Image WhiteNoise(int width, int height, float factor)
    Generate image: white noise.
    Definition: Image.hpp:175
    -
    Image & DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:640
    -
    ::Image GradientH(int width, int height, ::Color left, ::Color right)
    Generate image: horizontal gradient.
    Definition: Image.hpp:152
    -
    Image & ColorTint(::Color color={255, 255, 255, 255})
    Modify image color: tint.
    Definition: Image.hpp:498
    -
    inline ::Color * LoadPalette(int maxPaletteSize, int *colorsCount) const
    Load colors palette from image as a Color array (RGBA - 32bit)
    Definition: Image.hpp:662
    -
    Image & ResizeNN(int newWidth, int newHeight)
    Resize and image to new size using Nearest-Neighbor scaling algorithm.
    Definition: Image.hpp:433
    - -
    Image & ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
    Resize canvas and fill with color.
    Definition: Image.hpp:441
    -
    Image & operator=(const Image &other)
    Definition: Image.hpp:195
    -
    Image & DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:594
    -
    ::Image Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
    Generate image: checked.
    Definition: Image.hpp:167
    -
    ::Image Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
    Definition: Image.hpp:123
    -
    ::Image Cellular(int width, int height, int tileSize)
    Generate image: cellular algorithm.
    Definition: Image.hpp:182
    +
    static inline ::Image LoadImage(const std::string &fileName)
    Load an image.
    Definition: Functions.hpp:210
    +
    static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
    Load an image from RAW file data.
    Definition: Functions.hpp:217
    +
    ::Image GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)
    Generate image: radial gradient.
    Definition: Image.hpp:159
    Image(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load an image from the given file.
    Definition: Image.hpp:74
    -
    Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)
    Definition: Image.hpp:18
    -
    Image & DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:600
    -
    Image(const ::Texture2D &texture)
    Load an image from the given file.
    Definition: Image.hpp:85
    -
    Rectangle GetAlphaBorder(float threshold) const
    Get image alpha border rectangle.
    Definition: Image.hpp:552
    -
    inline ::Image Copy() const
    Create an image duplicate (useful for transformations)
    Definition: Image.hpp:327
    +
    Image & ToPOT(::Color fillColor)
    Convert image to POT (power-of-two)
    Definition: Image.hpp:341
    +
    static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load image from memory buffer, fileType refers to extension like "png".
    Definition: Functions.hpp:233
    +
    Image & Format(int newFormat)
    Convert image data to desired format.
    Definition: Image.hpp:349
    +
    Image & Crop(::Vector2 size)
    Crop an image to a new given width and height based on a vector.
    Definition: Image.hpp:404
    +
    Image & ColorInvert()
    Modify image color: invert.
    Definition: Image.hpp:506
    +
    Image & ColorGrayscale()
    Modify image color: grayscale.
    Definition: Image.hpp:514
    +
    Image type, bpp always RGBA (32bit)
    Definition: Image.hpp:16
    +
    bool Load(const ::Texture2D &texture)
    Load an image from the given file.
    Definition: Image.hpp:281
    +
    inline ::Image FromImage(::Rectangle rec) const
    Create an image from another image piece.
    Definition: Image.hpp:334
    +
    Image & Crop(::Rectangle crop)
    Crop an image to area defined by a rectangle.
    Definition: Image.hpp:389
    +
    Image & Crop(int newWidth, int newHeight)
    Crop an image to a new given width and height.
    Definition: Image.hpp:397
    +
    Image(const std::string &fileName)
    Load an image from the given file.
    Definition: Image.hpp:37
    +
    static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
    Load animated image data.
    Definition: Functions.hpp:226
    +
    bool ExportAsCode(const std::string &fileName) const
    Export image as code file defining an array of bytes, returns true on success.
    Definition: Image.hpp:307
    +
    Image & RotateCCW()
    Rotate image counter-clockwise 90deg.
    Definition: Image.hpp:490
    +
    inline ::Color * LoadPalette(int maxPaletteSize, int *colorsCount) const
    Load colors palette from image as a Color array (RGBA - 32bit)
    Definition: Image.hpp:662
    +
    Image & FlipVertical()
    Flip image vertically.
    Definition: Image.hpp:466
    +
    ::Image LoadFromScreen()
    Get pixel data from screen buffer and return an Image (screenshot)
    Definition: Image.hpp:131
    bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load image from memory buffer, fileType refers to extension: i.e.
    Definition: Image.hpp:266
    -
    Image(int width, int height, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:91
    -
    Image(const std::string &fileName, int width, int height, int format, int headerSize)
    Load a raw image from the given file, with the provided width, height, and formats.
    Definition: Image.hpp:50
    -
    Image & DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:612
    -
    int GetPixelDataSize() const
    Returns the pixel data size based on the current image.
    Definition: Image.hpp:708
    bool Export(const std::string &fileName) const
    Export image data to file, returns true on success.
    Definition: Image.hpp:299
    -
    ::Image GradientV(int width, int height, ::Color top, ::Color bottom)
    Generate image: vertical gradient.
    Definition: Image.hpp:145
    -
    bool IsReady() const
    Retrieve whether or not the Image has been loaded.
    Definition: Image.hpp:717
    -
    Image & DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})
    Draw pixel within an image.
    Definition: Image.hpp:567
    -
    Image & ColorGrayscale()
    Modify image color: grayscale.
    Definition: Image.hpp:514
    -
    inline ::Image FromImage(::Rectangle rec) const
    Create an image from another image piece.
    Definition: Image.hpp:334
    bool Load(const std::string &fileName, int width, int height, int format, int headerSize)
    Load image from RAW file data.
    Definition: Image.hpp:242
    -
    Image & ColorBrightness(int brightness)
    Modify image color: brightness.
    Definition: Image.hpp:534
    -
    Image & RotateCW()
    Rotate image clockwise 90deg.
    Definition: Image.hpp:482
    -
    Image & FlipHorizontal()
    Flip image horizontally.
    Definition: Image.hpp:474
    -
    Image & AlphaPremultiply()
    Premultiply alpha channel.
    Definition: Image.hpp:381
    -
    Image & ToPOT(::Color fillColor)
    Convert image to POT (power-of-two)
    Definition: Image.hpp:341
    -
    Image(const std::string &fileName, int *frames)
    Load an animation image from the given file.
    Definition: Image.hpp:63
    -
    Image & ClearBackground(::Color color={0, 0, 0, 255})
    Clear image background with given color.
    Definition: Image.hpp:559
    -
    Image & operator=(Image &&other) noexcept
    Definition: Image.hpp:206
    -
    Image(const Image &other)
    Definition: Image.hpp:104
    -
    Image & Crop(int offsetX, int offsetY, int newWidth, int newHeight)
    Crop an image to area defined by a rectangle.
    Definition: Image.hpp:411
    -
    Image(const std::string &fileName)
    Load an image from the given file.
    Definition: Image.hpp:37
    -
    bool Load(const ::Texture2D &texture)
    Load an image from the given file.
    Definition: Image.hpp:281
    -
    ::Image Color(int width, int height, ::Color color={255, 255, 255, 255})
    Generate image: plain color.
    Definition: Image.hpp:138
    -
    Image & FlipVertical()
    Flip image vertically.
    Definition: Image.hpp:466
    -
    ::Image Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:118
    -
    Image & RotateCCW()
    Rotate image counter-clockwise 90deg.
    Definition: Image.hpp:490
    -
    Image & Format(int newFormat)
    Convert image data to desired format.
    Definition: Image.hpp:349
    -
    Image & AlphaCrop(float threshold)
    Crop image depending on alpha value.
    Definition: Image.hpp:357
    -
    Image & DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:629
    +
    Image & ColorContrast(float contrast)
    Modify image color: contrast.
    Definition: Image.hpp:524
    +
    bool IsReady() const
    Retrieve whether or not the Image has been loaded.
    Definition: Image.hpp:717
    +
    Image & AlphaClear(::Color color, float threshold)
    Clear alpha channel to desired color.
    Definition: Image.hpp:365
    inline ::Texture2D LoadTexture() const
    Load texture from image data.
    Definition: Image.hpp:683
    -
    Image & DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:617
    -
    static int GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
    Get pixel data size in bytes for certain format.
    Definition: Image.hpp:699
    -
    Image & operator=(const ::Image &image)
    Definition: Image.hpp:190
    -
    Image & DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
    Definition: Image.hpp:646
    -
    ::Image GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)
    Generate image: radial gradient.
    Definition: Image.hpp:159
    -
    Image & Mipmaps()
    Generate all mipmap levels for a provided image.
    Definition: Image.hpp:450
    -
    Image & AlphaMask(const ::Image &alphaMask)
    Apply alpha mask to image.
    Definition: Image.hpp:373
    -
    ::Image LoadFromScreen()
    Get pixel data from screen buffer and return an Image (screenshot)
    Definition: Image.hpp:131
    -
    Image(Image &&other)
    Definition: Image.hpp:108
    +
    Image & AlphaPremultiply()
    Premultiply alpha channel.
    Definition: Image.hpp:381
    +
    Image & Crop(int offsetX, int offsetY, int newWidth, int newHeight)
    Crop an image to area defined by a rectangle.
    Definition: Image.hpp:411
    +
    Image & DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})
    Draw pixel within an image.
    Definition: Image.hpp:567
    +
    Image & Mipmaps()
    Generate all mipmap levels for a provided image.
    Definition: Image.hpp:450
    +
    Image(const std::string &fileName, int width, int height, int format, int headerSize)
    Load a raw image from the given file, with the provided width, height, and formats.
    Definition: Image.hpp:50
    +
    Rectangle type.
    Definition: Rectangle.hpp:12
    +
    bool Load(const std::string &fileName, int *frames)
    Load image sequence from file (frames appended to image.data).
    Definition: Image.hpp:254
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    ::Image GradientV(int width, int height, ::Color top, ::Color bottom)
    Generate image: vertical gradient.
    Definition: Image.hpp:145
    +
    Image & ColorTint(::Color color={255, 255, 255, 255})
    Modify image color: tint.
    Definition: Image.hpp:498
    +
    Rectangle GetAlphaBorder(float threshold) const
    Get image alpha border rectangle.
    Definition: Image.hpp:552
    bool Load(const std::string &fileName)
    Load image from file into CPU memory (RAM)
    Definition: Image.hpp:230
    -
    Image & ColorInvert()
    Modify image color: invert.
    Definition: Image.hpp:506
    +
    Image & ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
    Resize canvas and fill with color.
    Definition: Image.hpp:441
    +
    void UnloadPalette(::Color *colors) const
    Unload colors palette loaded with LoadImagePalette()
    Definition: Image.hpp:676
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    ::Image GradientH(int width, int height, ::Color left, ::Color right)
    Generate image: horizontal gradient.
    Definition: Image.hpp:152
    +
    inline ::Color * LoadColors() const
    Load color data from image as a Color array (RGBA - 32bit)
    Definition: Image.hpp:655
    +
    Image(const std::string &fileName, int *frames)
    Load an animation image from the given file.
    Definition: Image.hpp:63
    +
    ::Image Color(int width, int height, ::Color color={255, 255, 255, 255})
    Generate image: plain color.
    Definition: Image.hpp:138
    inline ::Vector2 GetSize() const
    Retrieve the width and height of the image.
    Definition: Image.hpp:320
    -
    void Unload()
    Unload image from CPU memory (RAM)
    Definition: Image.hpp:289
    -
    Image & DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:583
    -
    Image & Crop(int newWidth, int newHeight)
    Crop an image to a new given width and height.
    Definition: Image.hpp:397
    -
    inline ::Color * LoadColors() const
    Load color data from image as a Color array (RGBA - 32bit)
    Definition: Image.hpp:655
    +
    int GetPixelDataSize() const
    Returns the pixel data size based on the current image.
    Definition: Image.hpp:708
    void UnloadColors(::Color *colors) const
    Unload color data loaded with LoadImageColors()
    Definition: Image.hpp:669
    -
    bool Load(const std::string &fileName, int *frames)
    Load image sequence from file (frames appended to image.data).
    Definition: Image.hpp:254
    -
    Image & DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:577
    -
    Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
    Definition: Image.hpp:99
    -
    Image & ColorReplace(::Color color, ::Color replace)
    Modify image color: replace color.
    Definition: Image.hpp:542
    -
    Image & AlphaClear(::Color color, float threshold)
    Clear alpha channel to desired color.
    Definition: Image.hpp:365
    -
    Image & Crop(::Rectangle crop)
    Crop an image to area defined by a rectangle.
    Definition: Image.hpp:389
    -
    bool ExportAsCode(const std::string &fileName) const
    Export image as code file defining an array of bytes, returns true on success.
    Definition: Image.hpp:307
    -
    void UnloadPalette(::Color *colors) const
    Unload colors palette loaded with LoadImagePalette()
    Definition: Image.hpp:676
    -
    Image(const ::Image &image)
    Definition: Image.hpp:26
    -
    Image & Resize(int newWidth, int newHeight)
    Resize and image to new size.
    Definition: Image.hpp:425
    -
    Image & Crop(::Vector2 size)
    Crop an image to a new given width and height based on a vector.
    Definition: Image.hpp:404
    -
    Image & DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:572
    -
    Image & DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})
    Definition: Image.hpp:588
    +
    Image & AlphaCrop(float threshold)
    Crop image depending on alpha value.
    Definition: Image.hpp:357
    +
    Image & Resize(int newWidth, int newHeight)
    Resize and image to new size.
    Definition: Image.hpp:425
    +
    ::Image Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
    Generate image: checked.
    Definition: Image.hpp:167
    +
    Image(const ::Texture2D &texture)
    Load an image from the given file.
    Definition: Image.hpp:85
    +
    static int GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
    Get pixel data size in bytes for certain format.
    Definition: Image.hpp:699
    +
    void Unload()
    Unload image from CPU memory (RAM)
    Definition: Image.hpp:289
    +
    Image & FlipHorizontal()
    Flip image horizontally.
    Definition: Image.hpp:474
    +
    Image & ResizeNN(int newWidth, int newHeight)
    Resize and image to new size using Nearest-Neighbor scaling algorithm.
    Definition: Image.hpp:433
    Exception used for most raylib-related exceptions.
    -
    Rectangle type.
    Definition: Rectangle.hpp:12
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    static inline ::Image LoadImage(const std::string &fileName)
    Load an image.
    Definition: Functions.hpp:210
    -
    static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load image from memory buffer, fileType refers to extension like "png".
    Definition: Functions.hpp:233
    -
    static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
    Load animated image data.
    Definition: Functions.hpp:226
    -
    static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
    Load an image from RAW file data.
    Definition: Functions.hpp:217
    -
    -
    +
    ::Image Cellular(int width, int height, int tileSize)
    Generate image: cellular algorithm.
    Definition: Image.hpp:182
    +
    Image & ClearBackground(::Color color={0, 0, 0, 255})
    Clear image background with given color.
    Definition: Image.hpp:559
    +
    Image & RotateCW()
    Rotate image clockwise 90deg.
    Definition: Image.hpp:482
    +
    Image & AlphaMask(const ::Image &alphaMask)
    Apply alpha mask to image.
    Definition: Image.hpp:373
    +
    Image & ColorReplace(::Color color, ::Color replace)
    Modify image color: replace color.
    Definition: Image.hpp:542
    +
    inline ::Image Copy() const
    Create an image duplicate (useful for transformations)
    Definition: Image.hpp:327
    - + diff --git a/docs/_material_8hpp_source.html b/docs/_material_8hpp_source.html index 07b39529..a0cc757b 100644 --- a/docs/_material_8hpp_source.html +++ b/docs/_material_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Material.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Material.hpp
    +
    +
    Material.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
    -
    3
    -
    4#include <string>
    -
    5#include <vector>
    -
    6
    -
    7#include "./raylib.hpp"
    -
    8#include "./raylib-cpp-utils.hpp"
    -
    9
    -
    10namespace raylib {
    -
    14class Material : public ::Material {
    -
    15 public:
    -
    16 Material(const ::Material& material) {
    -
    17 set(material);
    -
    18 }
    -
    19
    - -
    24 set(LoadMaterialDefault());
    -
    25 }
    -
    26
    -
    27 Material(const Material&) = delete;
    -
    28
    -
    29 Material(Material&& other) {
    -
    30 set(other);
    -
    31
    -
    32 other.maps = nullptr;
    -
    33 other.shader = {};
    -
    34 }
    -
    35
    - -
    37 Unload();
    -
    38 }
    -
    39
    -
    43 static std::vector<Material> Load(const std::string& fileName) {
    -
    44 int count = 0;
    -
    45 // TODO(RobLoach): Material::Load() possibly leaks the materials array.
    -
    46 ::Material* materials = ::LoadMaterials(fileName.c_str(), &count);
    -
    47 return std::vector<Material>(materials, materials + count);
    -
    48 }
    -
    49
    -
    50 GETTERSETTER(::Shader, Shader, shader)
    -
    51 GETTERSETTER(::MaterialMap*, Maps, maps)
    -
    52 // TODO(RobLoach): Resolve the Material params being a float[4].
    -
    53 // GETTERSETTER(float[4], Params, params)
    -
    54
    -
    55 Material& operator=(const ::Material& material) {
    -
    56 set(material);
    -
    57 return *this;
    -
    58 }
    -
    59
    -
    60 Material& operator=(const Material&) = delete;
    -
    61
    -
    62 Material& operator=(Material&& other) noexcept {
    -
    63 if (this == &other) {
    -
    64 return *this;
    -
    65 }
    -
    66
    -
    67 Unload();
    -
    68 set(other);
    -
    69
    -
    70 other.maps = nullptr;
    -
    71 other.shader = {};
    -
    72
    -
    73 return *this;
    -
    74 }
    -
    75
    -
    79 inline void Unload() {
    -
    80 if (maps != nullptr) {
    -
    81 ::UnloadMaterial(*this);
    -
    82 maps = nullptr;
    -
    83 }
    -
    84 }
    -
    85
    -
    89 inline Material& SetTexture(int mapType, const ::Texture2D& texture) {
    -
    90 ::SetMaterialTexture(this, mapType, texture);
    -
    91 return *this;
    -
    92 }
    -
    93
    -
    97 inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix transform) const {
    -
    98 ::DrawMesh(mesh, *this, transform);
    -
    99 return *this;
    -
    100 }
    -
    101
    -
    105 inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix* transforms, int instances) const {
    -
    106 ::DrawMeshInstanced(mesh, *this, transforms, instances);
    -
    107 return *this;
    -
    108 }
    -
    109
    -
    110 private:
    -
    111 inline void set(const ::Material& material) {
    -
    112 shader = material.shader;
    -
    113 maps = material.maps;
    -
    114 params[0] = material.params[0];
    -
    115 params[1] = material.params[1];
    -
    116 params[2] = material.params[2];
    -
    117 params[3] = material.params[3];
    -
    118 }
    -
    119};
    -
    120} // namespace raylib
    -
    121
    -
    122#endif // RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
    -
    Material type (generic)
    Definition: Material.hpp:14
    -
    static std::vector< Material > Load(const std::string &fileName)
    Load materials from model file.
    Definition: Material.hpp:43
    -
    const Material & DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const
    Draw multiple mesh instances with material and different transforms.
    Definition: Material.hpp:105
    -
    Material & SetTexture(int mapType, const ::Texture2D &texture)
    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
    Definition: Material.hpp:89
    -
    void Unload()
    Unload material from memory.
    Definition: Material.hpp:79
    -
    Material(const Material &)=delete
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 #include <vector>
    +
    6 
    +
    7 #include "./raylib.hpp"
    +
    8 #include "./raylib-cpp-utils.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    14 class Material : public ::Material {
    +
    15  public:
    +
    16  Material(const ::Material& material) {
    +
    17  set(material);
    +
    18  }
    +
    19 
    + +
    24  set(LoadMaterialDefault());
    +
    25  }
    +
    26 
    +
    27  Material(const Material&) = delete;
    +
    28 
    +
    29  Material(Material&& other) {
    +
    30  set(other);
    +
    31 
    +
    32  other.maps = nullptr;
    +
    33  other.shader = {};
    +
    34  }
    +
    35 
    +
    36  ~Material() {
    +
    37  Unload();
    +
    38  }
    +
    39 
    +
    43  static std::vector<Material> Load(const std::string& fileName) {
    +
    44  int count = 0;
    +
    45  // TODO(RobLoach): Material::Load() possibly leaks the materials array.
    +
    46  ::Material* materials = ::LoadMaterials(fileName.c_str(), &count);
    +
    47  return std::vector<Material>(materials, materials + count);
    +
    48  }
    +
    49 
    +
    50  GETTERSETTER(::Shader, Shader, shader)
    +
    51  GETTERSETTER(::MaterialMap*, Maps, maps)
    +
    52  // TODO(RobLoach): Resolve the Material params being a float[4].
    +
    53  // GETTERSETTER(float[4], Params, params)
    +
    54 
    +
    55  Material& operator=(const ::Material& material) {
    +
    56  set(material);
    +
    57  return *this;
    +
    58  }
    +
    59 
    +
    60  Material& operator=(const Material&) = delete;
    +
    61 
    +
    62  Material& operator=(Material&& other) noexcept {
    +
    63  if (this == &other) {
    +
    64  return *this;
    +
    65  }
    +
    66 
    +
    67  Unload();
    +
    68  set(other);
    +
    69 
    +
    70  other.maps = nullptr;
    +
    71  other.shader = {};
    +
    72 
    +
    73  return *this;
    +
    74  }
    +
    75 
    +
    79  inline void Unload() {
    +
    80  if (maps != nullptr) {
    +
    81  ::UnloadMaterial(*this);
    +
    82  maps = nullptr;
    +
    83  }
    +
    84  }
    +
    85 
    +
    89  inline Material& SetTexture(int mapType, const ::Texture2D& texture) {
    +
    90  ::SetMaterialTexture(this, mapType, texture);
    +
    91  return *this;
    +
    92  }
    +
    93 
    +
    97  inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix transform) const {
    +
    98  ::DrawMesh(mesh, *this, transform);
    +
    99  return *this;
    +
    100  }
    +
    101 
    +
    105  inline const Material& DrawMesh(const ::Mesh& mesh, ::Matrix* transforms, int instances) const {
    +
    106  ::DrawMeshInstanced(mesh, *this, transforms, instances);
    +
    107  return *this;
    +
    108  }
    +
    109 
    +
    110  private:
    +
    111  inline void set(const ::Material& material) {
    +
    112  shader = material.shader;
    +
    113  maps = material.maps;
    +
    114  params[0] = material.params[0];
    +
    115  params[1] = material.params[1];
    +
    116  params[2] = material.params[2];
    +
    117  params[3] = material.params[3];
    +
    118  }
    +
    119 };
    +
    120 } // namespace raylib
    +
    121 
    +
    122 #endif // RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    +
    static std::vector< Material > Load(const std::string &fileName)
    Load materials from model file.
    Definition: Material.hpp:43
    +
    Material & SetTexture(int mapType, const ::Texture2D &texture)
    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
    Definition: Material.hpp:89
    Material()
    Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
    Definition: Material.hpp:23
    - -
    const Material & DrawMesh(const ::Mesh &mesh, ::Matrix transform) const
    Draw a 3d mesh with material and transform.
    Definition: Material.hpp:97
    -
    Material(const ::Material &material)
    Definition: Material.hpp:16
    -
    Material & operator=(Material &&other) noexcept
    Definition: Material.hpp:62
    -
    Material & operator=(const Material &)=delete
    -
    Material(Material &&other)
    Definition: Material.hpp:29
    Shader type (generic)
    Definition: Shader.hpp:14
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    -
    +
    void Unload()
    Unload material from memory.
    Definition: Material.hpp:79
    +
    const Material & DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const
    Draw multiple mesh instances with material and different transforms.
    Definition: Material.hpp:105
    +
    Material type (generic)
    Definition: Material.hpp:14
    +
    const Material & DrawMesh(const ::Mesh &mesh, ::Matrix transform) const
    Draw a 3d mesh with material and transform.
    Definition: Material.hpp:97
    - + diff --git a/docs/_matrix_8hpp_source.html b/docs/_matrix_8hpp_source.html index b79b0050..00aab051 100644 --- a/docs/_matrix_8hpp_source.html +++ b/docs/_matrix_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Matrix.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Matrix.hpp
    +
    +
    Matrix.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_MATRIX_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_MATRIX_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6#include "./raymath.hpp"
    -
    7
    -
    8#ifndef RAYLIB_CPP_NO_MATH
    -
    9#include <cmath>
    -
    10#endif
    -
    11
    -
    12namespace raylib {
    -
    16class Matrix : public ::Matrix {
    -
    17 public:
    -
    18 Matrix(const ::Matrix& mat) {
    -
    19 set(mat);
    -
    20 }
    -
    21
    - -
    23 float m0 = 0, float m1 = 0, float m2 = 0, float m3 = 0, float m4 = 0, float m5 = 0,
    -
    24 float m6 = 0, float m7 = 0, float m8 = 0, float m9 = 0, float m10 = 0, float m11 = 0,
    -
    25 float m12 = 0, float m13 = 0, float m14 = 0,
    -
    26 float m15 = 0) : ::Matrix{m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15} {}
    -
    27
    -
    28 GETTERSETTER(float, M0, m0)
    -
    29 GETTERSETTER(float, M1, m1)
    -
    30 GETTERSETTER(float, M2, m2)
    -
    31 GETTERSETTER(float, M3, m3)
    -
    32 GETTERSETTER(float, M4, m4)
    -
    33 GETTERSETTER(float, M5, m5)
    -
    34 GETTERSETTER(float, M6, m6)
    -
    35 GETTERSETTER(float, M7, m7)
    -
    36 GETTERSETTER(float, M8, m8)
    -
    37 GETTERSETTER(float, M9, m9)
    -
    38 GETTERSETTER(float, M10, m10)
    -
    39 GETTERSETTER(float, M11, m11)
    -
    40 GETTERSETTER(float, M12, m12)
    -
    41 GETTERSETTER(float, M13, m13)
    -
    42 GETTERSETTER(float, M14, m14)
    -
    43 GETTERSETTER(float, M15, m15)
    -
    44
    -
    45 Matrix& operator=(const ::Matrix& matrix) {
    -
    46 set(matrix);
    -
    47 return *this;
    -
    48 }
    -
    49
    -
    50 Matrix& operator=(const Matrix& matrix) {
    -
    51 set(matrix);
    -
    52 return *this;
    -
    53 }
    -
    54
    -
    55 bool operator==(const ::Matrix& other) {
    -
    56 return m0 == other.m0
    -
    57 && m1 == other.m1
    -
    58 && m2 == other.m2
    -
    59 && m3 == other.m3
    -
    60 && m4 == other.m4
    -
    61 && m5 == other.m5
    -
    62 && m6 == other.m6
    -
    63 && m7 == other.m7
    -
    64 && m8 == other.m8
    -
    65 && m9 == other.m9
    -
    66 && m10 == other.m10
    -
    67 && m11 == other.m11
    -
    68 && m12 == other.m12
    -
    69 && m13 == other.m13
    -
    70 && m14 == other.m14
    -
    71 && m15 == other.m15;
    -
    72 }
    -
    73
    -
    74 bool operator!=(const ::Matrix& other) {
    -
    75 return !(*this == other);
    -
    76 }
    -
    77
    -
    78#ifndef RAYLIB_CPP_NO_MATH
    -
    82 inline float Trace() const {
    -
    83 return ::MatrixTrace(*this);
    -
    84 }
    -
    85
    -
    89 inline Matrix Transpose() const {
    -
    90 return ::MatrixTranspose(*this);
    -
    91 }
    -
    92
    -
    93 inline Matrix Invert() const {
    -
    94 return ::MatrixInvert(*this);
    -
    95 }
    -
    96
    -
    97 inline Matrix Normalize() const {
    -
    98 return ::MatrixNormalize(*this);
    -
    99 }
    -
    100
    -
    101 static Matrix Identity() {
    -
    102 return ::MatrixIdentity();
    -
    103 }
    -
    104
    -
    105 Matrix Add(const ::Matrix& right) {
    -
    106 return ::MatrixAdd(*this, right);
    -
    107 }
    -
    108
    -
    109 Matrix operator+(const ::Matrix& matrix) {
    -
    110 return ::MatrixAdd(*this, matrix);
    -
    111 }
    -
    112
    -
    113 Matrix Subtract(const ::Matrix& right) {
    -
    114 return ::MatrixSubtract(*this, right);
    -
    115 }
    -
    116
    -
    117 Matrix operator-(const ::Matrix& matrix) {
    -
    118 return ::MatrixSubtract(*this, matrix);
    -
    119 }
    -
    120
    -
    121 static Matrix Translate(float x, float y, float z) {
    -
    122 return ::MatrixTranslate(x, y, z);
    -
    123 }
    -
    124
    -
    125 static Matrix Rotate(Vector3 axis, float angle) {
    -
    126 return ::MatrixRotate(axis, angle);
    -
    127 }
    -
    128
    -
    129 static Matrix RotateXYZ(Vector3 angle) {
    -
    130 return ::MatrixRotateXYZ(angle);
    -
    131 }
    -
    132
    -
    133 static Matrix RotateX(float angle) {
    -
    134 return ::MatrixRotateX(angle);
    -
    135 }
    -
    136
    -
    137 static Matrix RotateY(float angle) {
    -
    138 return ::MatrixRotateY(angle);
    -
    139 }
    -
    140
    -
    141 static Matrix RotateZ(float angle) {
    -
    142 return ::MatrixRotateZ(angle);
    -
    143 }
    -
    144
    -
    145 static Matrix Scale(float x, float y, float z) {
    -
    146 return ::MatrixScale(x, y, z);
    -
    147 }
    -
    148
    -
    149 Matrix Multiply(const ::Matrix& right) const {
    -
    150 return ::MatrixMultiply(*this, right);
    -
    151 }
    -
    152
    -
    153 Matrix operator*(const ::Matrix& matrix) {
    -
    154 return ::MatrixMultiply(*this, matrix);
    -
    155 }
    -
    156
    -
    157 static Matrix Frustum(double left, double right, double bottom, double top,
    -
    158 double near, double far) {
    -
    159 return ::MatrixFrustum(left, right, bottom, top, near, far);
    -
    160 }
    -
    161
    -
    162 static Matrix Perspective(double fovy, double aspect, double near, double far) {
    -
    163 return ::MatrixPerspective(fovy, aspect, near, far);
    -
    164 }
    -
    165
    -
    166 static Matrix Ortho(double left, double right, double bottom, double top,
    -
    167 double near, double far) {
    -
    168 return ::MatrixOrtho(left, right, bottom, top, near, far);
    -
    169 }
    -
    170
    -
    171 static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up) {
    -
    172 return ::MatrixLookAt(eye, target, up);
    -
    173 }
    -
    174
    -
    175 inline float16 ToFloatV() const {
    -
    176 return ::MatrixToFloatV(*this);
    -
    177 }
    -
    178
    -
    179 operator float16() {
    -
    180 return ToFloatV();
    -
    181 }
    -
    182
    -
    186 inline Matrix& SetShaderValue(::Shader shader, int uniformLoc) {
    -
    187 ::SetShaderValueMatrix(shader, uniformLoc, *this);
    -
    188 return *this;
    -
    189 }
    -
    190
    -
    191#endif
    -
    192
    -
    193 private:
    -
    194 inline void set(const ::Matrix& mat) {
    -
    195 m0 = mat.m0;
    -
    196 m1 = mat.m1;
    -
    197 m2 = mat.m2;
    -
    198 m3 = mat.m3;
    -
    199 m4 = mat.m4;
    -
    200 m5 = mat.m5;
    -
    201 m6 = mat.m6;
    -
    202 m7 = mat.m7;
    -
    203 m8 = mat.m8;
    -
    204 m9 = mat.m9;
    -
    205 m10 = mat.m10;
    -
    206 m11 = mat.m11;
    -
    207 m12 = mat.m12;
    -
    208 m13 = mat.m13;
    -
    209 m14 = mat.m14;
    -
    210 m15 = mat.m15;
    -
    211 }
    -
    212};
    -
    213} // namespace raylib
    -
    214
    -
    215
    -
    216#endif // RAYLIB_CPP_INCLUDE_MATRIX_HPP_
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_MATRIX_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_MATRIX_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 #include "./raymath.hpp"
    +
    7 
    +
    8 #ifndef RAYLIB_CPP_NO_MATH
    +
    9 #include <cmath>
    +
    10 #endif
    +
    11 
    +
    12 namespace raylib {
    +
    16 class Matrix : public ::Matrix {
    +
    17  public:
    +
    18  Matrix(const ::Matrix& mat) {
    +
    19  set(mat);
    +
    20  }
    +
    21 
    +
    22  Matrix(
    +
    23  float m0 = 0, float m1 = 0, float m2 = 0, float m3 = 0, float m4 = 0, float m5 = 0,
    +
    24  float m6 = 0, float m7 = 0, float m8 = 0, float m9 = 0, float m10 = 0, float m11 = 0,
    +
    25  float m12 = 0, float m13 = 0, float m14 = 0,
    +
    26  float m15 = 0) : ::Matrix{m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15} {}
    +
    27 
    +
    28  GETTERSETTER(float, M0, m0)
    +
    29  GETTERSETTER(float, M1, m1)
    +
    30  GETTERSETTER(float, M2, m2)
    +
    31  GETTERSETTER(float, M3, m3)
    +
    32  GETTERSETTER(float, M4, m4)
    +
    33  GETTERSETTER(float, M5, m5)
    +
    34  GETTERSETTER(float, M6, m6)
    +
    35  GETTERSETTER(float, M7, m7)
    +
    36  GETTERSETTER(float, M8, m8)
    +
    37  GETTERSETTER(float, M9, m9)
    +
    38  GETTERSETTER(float, M10, m10)
    +
    39  GETTERSETTER(float, M11, m11)
    +
    40  GETTERSETTER(float, M12, m12)
    +
    41  GETTERSETTER(float, M13, m13)
    +
    42  GETTERSETTER(float, M14, m14)
    +
    43  GETTERSETTER(float, M15, m15)
    +
    44 
    +
    45  Matrix& operator=(const ::Matrix& matrix) {
    +
    46  set(matrix);
    +
    47  return *this;
    +
    48  }
    +
    49 
    +
    50  Matrix& operator=(const Matrix& matrix) {
    +
    51  set(matrix);
    +
    52  return *this;
    +
    53  }
    +
    54 
    +
    55  bool operator==(const ::Matrix& other) {
    +
    56  return m0 == other.m0
    +
    57  && m1 == other.m1
    +
    58  && m2 == other.m2
    +
    59  && m3 == other.m3
    +
    60  && m4 == other.m4
    +
    61  && m5 == other.m5
    +
    62  && m6 == other.m6
    +
    63  && m7 == other.m7
    +
    64  && m8 == other.m8
    +
    65  && m9 == other.m9
    +
    66  && m10 == other.m10
    +
    67  && m11 == other.m11
    +
    68  && m12 == other.m12
    +
    69  && m13 == other.m13
    +
    70  && m14 == other.m14
    +
    71  && m15 == other.m15;
    +
    72  }
    +
    73 
    +
    74  bool operator!=(const ::Matrix& other) {
    +
    75  return !(*this == other);
    +
    76  }
    +
    77 
    +
    78 #ifndef RAYLIB_CPP_NO_MATH
    +
    79 
    +
    82  inline float Trace() const {
    +
    83  return ::MatrixTrace(*this);
    +
    84  }
    +
    85 
    +
    89  inline Matrix Transpose() const {
    +
    90  return ::MatrixTranspose(*this);
    +
    91  }
    +
    92 
    +
    93  inline Matrix Invert() const {
    +
    94  return ::MatrixInvert(*this);
    +
    95  }
    +
    96 
    +
    97  inline Matrix Normalize() const {
    +
    98  return ::MatrixNormalize(*this);
    +
    99  }
    +
    100 
    +
    101  static Matrix Identity() {
    +
    102  return ::MatrixIdentity();
    +
    103  }
    +
    104 
    +
    105  Matrix Add(const ::Matrix& right) {
    +
    106  return ::MatrixAdd(*this, right);
    +
    107  }
    +
    108 
    +
    109  Matrix operator+(const ::Matrix& matrix) {
    +
    110  return ::MatrixAdd(*this, matrix);
    +
    111  }
    +
    112 
    +
    113  Matrix Subtract(const ::Matrix& right) {
    +
    114  return ::MatrixSubtract(*this, right);
    +
    115  }
    +
    116 
    +
    117  Matrix operator-(const ::Matrix& matrix) {
    +
    118  return ::MatrixSubtract(*this, matrix);
    +
    119  }
    +
    120 
    +
    121  static Matrix Translate(float x, float y, float z) {
    +
    122  return ::MatrixTranslate(x, y, z);
    +
    123  }
    +
    124 
    +
    125  static Matrix Rotate(Vector3 axis, float angle) {
    +
    126  return ::MatrixRotate(axis, angle);
    +
    127  }
    +
    128 
    +
    129  static Matrix RotateXYZ(Vector3 angle) {
    +
    130  return ::MatrixRotateXYZ(angle);
    +
    131  }
    +
    132 
    +
    133  static Matrix RotateX(float angle) {
    +
    134  return ::MatrixRotateX(angle);
    +
    135  }
    +
    136 
    +
    137  static Matrix RotateY(float angle) {
    +
    138  return ::MatrixRotateY(angle);
    +
    139  }
    +
    140 
    +
    141  static Matrix RotateZ(float angle) {
    +
    142  return ::MatrixRotateZ(angle);
    +
    143  }
    +
    144 
    +
    145  static Matrix Scale(float x, float y, float z) {
    +
    146  return ::MatrixScale(x, y, z);
    +
    147  }
    +
    148 
    +
    149  Matrix Multiply(const ::Matrix& right) const {
    +
    150  return ::MatrixMultiply(*this, right);
    +
    151  }
    +
    152 
    +
    153  Matrix operator*(const ::Matrix& matrix) {
    +
    154  return ::MatrixMultiply(*this, matrix);
    +
    155  }
    +
    156 
    +
    157  static Matrix Frustum(double left, double right, double bottom, double top,
    +
    158  double near, double far) {
    +
    159  return ::MatrixFrustum(left, right, bottom, top, near, far);
    +
    160  }
    +
    161 
    +
    162  static Matrix Perspective(double fovy, double aspect, double near, double far) {
    +
    163  return ::MatrixPerspective(fovy, aspect, near, far);
    +
    164  }
    +
    165 
    +
    166  static Matrix Ortho(double left, double right, double bottom, double top,
    +
    167  double near, double far) {
    +
    168  return ::MatrixOrtho(left, right, bottom, top, near, far);
    +
    169  }
    +
    170 
    +
    171  static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up) {
    +
    172  return ::MatrixLookAt(eye, target, up);
    +
    173  }
    +
    174 
    +
    175  inline float16 ToFloatV() const {
    +
    176  return ::MatrixToFloatV(*this);
    +
    177  }
    +
    178 
    +
    179  operator float16() {
    +
    180  return ToFloatV();
    +
    181  }
    +
    182 
    +
    186  inline Matrix& SetShaderValue(::Shader shader, int uniformLoc) {
    +
    187  ::SetShaderValueMatrix(shader, uniformLoc, *this);
    +
    188  return *this;
    +
    189  }
    +
    190 
    +
    191 #endif
    +
    192 
    +
    193  private:
    +
    194  inline void set(const ::Matrix& mat) {
    +
    195  m0 = mat.m0;
    +
    196  m1 = mat.m1;
    +
    197  m2 = mat.m2;
    +
    198  m3 = mat.m3;
    +
    199  m4 = mat.m4;
    +
    200  m5 = mat.m5;
    +
    201  m6 = mat.m6;
    +
    202  m7 = mat.m7;
    +
    203  m8 = mat.m8;
    +
    204  m9 = mat.m9;
    +
    205  m10 = mat.m10;
    +
    206  m11 = mat.m11;
    +
    207  m12 = mat.m12;
    +
    208  m13 = mat.m13;
    +
    209  m14 = mat.m14;
    +
    210  m15 = mat.m15;
    +
    211  }
    +
    212 };
    +
    213 } // namespace raylib
    +
    214 
    +
    215 
    +
    216 #endif // RAYLIB_CPP_INCLUDE_MATRIX_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Matrix Transpose() const
    Transposes provided matrix.
    Definition: Matrix.hpp:89
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    -
    Matrix(const ::Matrix &mat)
    Definition: Matrix.hpp:18
    -
    Matrix Normalize() const
    Definition: Matrix.hpp:97
    -
    Matrix Subtract(const ::Matrix &right)
    Definition: Matrix.hpp:113
    -
    Matrix & SetShaderValue(::Shader shader, int uniformLoc)
    Set shader uniform value (matrix 4x4)
    Definition: Matrix.hpp:186
    -
    Matrix operator-(const ::Matrix &matrix)
    Definition: Matrix.hpp:117
    -
    static Matrix RotateXYZ(Vector3 angle)
    Definition: Matrix.hpp:129
    -
    static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up)
    Definition: Matrix.hpp:171
    -
    float16 ToFloatV() const
    Definition: Matrix.hpp:175
    -
    static Matrix Scale(float x, float y, float z)
    Definition: Matrix.hpp:145
    -
    Matrix & operator=(const Matrix &matrix)
    Definition: Matrix.hpp:50
    -
    static Matrix Translate(float x, float y, float z)
    Definition: Matrix.hpp:121
    +
    Matrix & SetShaderValue(::Shader shader, int uniformLoc)
    Set shader uniform value (matrix 4x4)
    Definition: Matrix.hpp:186
    +
    Shader type (generic)
    Definition: Shader.hpp:14
    float Trace() const
    Returns the trace of the matrix (sum of the values along the diagonal)
    Definition: Matrix.hpp:82
    -
    Matrix Transpose() const
    Transposes provided matrix.
    Definition: Matrix.hpp:89
    -
    static Matrix RotateZ(float angle)
    Definition: Matrix.hpp:141
    -
    bool operator!=(const ::Matrix &other)
    Definition: Matrix.hpp:74
    -
    Matrix Invert() const
    Definition: Matrix.hpp:93
    -
    static Matrix RotateY(float angle)
    Definition: Matrix.hpp:137
    -
    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:22
    -
    Matrix Add(const ::Matrix &right)
    Definition: Matrix.hpp:105
    -
    static Matrix Identity()
    Definition: Matrix.hpp:101
    -
    bool operator==(const ::Matrix &other)
    Definition: Matrix.hpp:55
    -
    Matrix operator+(const ::Matrix &matrix)
    Definition: Matrix.hpp:109
    -
    static Matrix Rotate(Vector3 axis, float angle)
    Definition: Matrix.hpp:125
    -
    static Matrix Frustum(double left, double right, double bottom, double top, double near, double far)
    Definition: Matrix.hpp:157
    -
    static Matrix Ortho(double left, double right, double bottom, double top, double near, double far)
    Definition: Matrix.hpp:166
    -
    static Matrix Perspective(double fovy, double aspect, double near, double far)
    Definition: Matrix.hpp:162
    -
    Matrix operator*(const ::Matrix &matrix)
    Definition: Matrix.hpp:153
    -
    static Matrix RotateX(float angle)
    Definition: Matrix.hpp:133
    -
    Matrix Multiply(const ::Matrix &right) const
    Definition: Matrix.hpp:149
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    -
    - + diff --git a/docs/_mesh_8hpp_source.html b/docs/_mesh_8hpp_source.html index 3f9aed89..609bebfd 100644 --- a/docs/_mesh_8hpp_source.html +++ b/docs/_mesh_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Mesh.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Mesh.hpp
    +
    +
    Mesh.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_MESH_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_MESH_HPP_
    -
    3
    -
    4#include <string>
    -
    5#include <vector>
    -
    6
    -
    7#include "./raylib.hpp"
    -
    8#include "./raylib-cpp-utils.hpp"
    -
    9#include "./BoundingBox.hpp"
    -
    10#include "./Model.hpp"
    -
    11
    -
    12namespace raylib {
    -
    16class Mesh : public ::Mesh {
    -
    17 public:
    -
    18 Mesh(const ::Mesh& mesh) {
    -
    19 set(mesh);
    -
    20 }
    -
    21
    -
    22 Mesh(int vertexCount, int triangleCount) : ::Mesh{
    -
    23 vertexCount,
    -
    24 triangleCount,
    -
    25 nullptr,
    -
    26 nullptr,
    -
    27 nullptr,
    -
    28 nullptr,
    -
    29 nullptr,
    -
    30 nullptr,
    -
    31 nullptr,
    -
    32 nullptr,
    -
    33 nullptr,
    -
    34 nullptr,
    -
    35 nullptr,
    -
    36 0,
    -
    37 nullptr
    -
    38 } {}
    -
    39
    -
    43 // static std::vector<Mesh> Load(const std::string& fileName) {
    -
    44 // int count = 0;
    -
    45 // ::Mesh* meshes = LoadMeshes(fileName.c_str(), &count);
    -
    46 // return std::vector<Mesh>(meshes, meshes + count);
    -
    47 // }
    -
    48
    -
    49 Mesh(const Mesh&) = delete;
    -
    50
    -
    51 Mesh(Mesh&& other) {
    -
    52 set(other);
    -
    53
    -
    54 other.vertexCount = 0;
    -
    55 other.triangleCount = 0;
    -
    56 other.vertices = nullptr;
    -
    57 other.texcoords = nullptr;
    -
    58 other.texcoords2 = nullptr;
    -
    59 other.normals = nullptr;
    -
    60 other.tangents = nullptr;
    -
    61 other.colors = nullptr;
    -
    62 other.indices = nullptr;
    -
    63 other.animVertices = nullptr;
    -
    64 other.animNormals = nullptr;
    -
    65 other.boneIds = nullptr;
    -
    66 other.boneWeights = nullptr;
    -
    67 other.vaoId = 0;
    -
    68 other.vboId = nullptr;
    -
    69 }
    -
    70
    -
    74 static ::Mesh Poly(int sides, float radius) {
    -
    75 return ::GenMeshPoly(sides, radius);
    -
    76 }
    -
    77
    -
    81 static ::Mesh Plane(float width, float length, int resX, int resZ) {
    -
    82 return ::GenMeshPlane(width, length, resX, resZ);
    -
    83 }
    -
    84
    -
    88 static ::Mesh Cube(float width, float height, float length) {
    -
    89 return ::GenMeshCube(width, height, length);
    -
    90 }
    -
    91
    -
    95 static ::Mesh Sphere(float radius, int rings, int slices) {
    -
    96 return ::GenMeshSphere(radius, rings, slices);
    -
    97 }
    -
    98
    -
    102 static ::Mesh HemiSphere(float radius, int rings, int slices) {
    -
    103 return ::GenMeshHemiSphere(radius, rings, slices);
    -
    104 }
    -
    105
    -
    109 static ::Mesh Cylinder(float radius, float height, int slices) {
    -
    110 return ::GenMeshCylinder(radius, height, slices);
    -
    111 }
    -
    112
    -
    116 static ::Mesh Torus(float radius, float size, int radSeg, int sides) {
    -
    117 return ::GenMeshTorus(radius, size, radSeg, sides);
    -
    118 }
    -
    119
    -
    123 static ::Mesh Knot(float radius, float size, int radSeg, int sides) {
    -
    124 return ::GenMeshKnot(radius, size, radSeg, sides);
    -
    125 }
    -
    126
    -
    130 static ::Mesh Heightmap(const ::Image& heightmap, ::Vector3 size) {
    -
    131 return ::GenMeshHeightmap(heightmap, size);
    -
    132 }
    -
    133
    -
    137 static ::Mesh Cubicmap(const ::Image& cubicmap, ::Vector3 cubeSize) {
    -
    138 return ::GenMeshCubicmap(cubicmap, cubeSize);
    -
    139 }
    -
    140
    -
    141 GETTERSETTER(int, VertexCount, vertexCount)
    -
    142 GETTERSETTER(int, TriangleCount, triangleCount)
    -
    143 GETTERSETTER(float*, Vertices, vertices)
    -
    144 GETTERSETTER(float *, TexCoords, texcoords)
    -
    145 GETTERSETTER(float *, TexCoords2, texcoords2)
    -
    146 GETTERSETTER(float *, Normals, normals)
    -
    147 GETTERSETTER(float *, Tangents, tangents)
    -
    148 GETTERSETTER(unsigned char *, Colors, colors)
    -
    149 GETTERSETTER(unsigned short *, Indices, indices) // NOLINT
    -
    150 GETTERSETTER(float *, AnimVertices, animVertices)
    -
    151 GETTERSETTER(float *, AnimNormals, animNormals)
    -
    152 GETTERSETTER(unsigned char *, BoneIds, boneIds)
    -
    153 GETTERSETTER(float *, BoneWeights, boneWeights)
    -
    154 GETTERSETTER(unsigned int, VaoId, vaoId)
    -
    155 GETTERSETTER(unsigned int *, VboId, vboId)
    -
    156
    -
    157 Mesh& operator=(const ::Mesh& mesh) {
    -
    158 set(mesh);
    -
    159 return *this;
    -
    160 }
    -
    161
    -
    162 Mesh& operator=(const Mesh&) = delete;
    -
    163
    -
    164 Mesh& operator=(Mesh&& other) noexcept {
    -
    165 if (this == &other) {
    -
    166 return *this;
    -
    167 }
    -
    168
    -
    169 Unload();
    -
    170 set(other);
    -
    171
    -
    172 other.vertexCount = 0;
    -
    173 other.triangleCount = 0;
    -
    174 other.vertices = nullptr;
    -
    175 other.texcoords = nullptr;
    -
    176 other.texcoords2 = nullptr;
    -
    177 other.normals = nullptr;
    -
    178 other.tangents = nullptr;
    -
    179 other.colors = nullptr;
    -
    180 other.indices = nullptr;
    -
    181 other.animVertices = nullptr;
    -
    182 other.animNormals = nullptr;
    -
    183 other.boneIds = nullptr;
    -
    184 other.boneWeights = nullptr;
    -
    185 other.vaoId = 0;
    -
    186 other.vboId = nullptr;
    -
    187
    -
    188 return *this;
    -
    189 }
    -
    190
    - -
    192 Unload();
    -
    193 }
    -
    194
    -
    198 inline void Upload(bool dynamic = false) {
    -
    199 ::UploadMesh(this, dynamic);
    -
    200 }
    -
    201
    -
    205 inline void UpdateBuffer(int index, void *data, int dataSize, int offset = 0) {
    -
    206 ::UpdateMeshBuffer(*this, index, data, dataSize, offset);
    -
    207 }
    -
    208
    -
    212 inline void Draw(const ::Material& material, const ::Matrix& transform) {
    -
    213 ::DrawMesh(*this, material, transform);
    -
    214 }
    -
    215
    -
    219 inline void Draw(const ::Material& material, ::Matrix* transforms, int instances) {
    -
    220 ::DrawMeshInstanced(*this, material, transforms, instances);
    -
    221 }
    -
    222
    -
    226 inline bool Export(const std::string& fileName) {
    -
    227 // TODO(RobLoach): Switch to an exception when failed.
    -
    228 return ExportMesh(*this, fileName.c_str());
    -
    229 }
    -
    230
    -
    234 inline void Unload() {
    -
    235 if (vboId != nullptr) {
    -
    236 ::UnloadMesh(*this);
    -
    237 vboId = nullptr;
    -
    238 }
    -
    239 }
    -
    240
    - -
    245 return ::GetMeshBoundingBox(*this);
    -
    246 }
    -
    247
    - -
    252 return BoundingBox();
    -
    253 }
    -
    254
    -
    258 inline Mesh& GenTangents() {
    -
    259 ::GenMeshTangents(this);
    -
    260 return *this;
    -
    261 }
    -
    262
    -
    266 inline Mesh& GenBinormals() {
    -
    267 ::GenMeshBinormals(this);
    -
    268 return *this;
    -
    269 }
    -
    270
    - -
    275 return ::LoadModelFromMesh(*this);
    -
    276 }
    -
    277
    -
    281 operator raylib::Model() {
    -
    282 return ::LoadModelFromMesh(*this);
    -
    283 }
    -
    284
    -
    285 private:
    -
    286 inline void set(const ::Mesh& mesh) {
    -
    287 vertexCount = mesh.vertexCount;
    -
    288 triangleCount = mesh.triangleCount;
    -
    289 vertices = mesh.vertices;
    -
    290 texcoords = mesh.texcoords;
    -
    291 texcoords2 = mesh.texcoords2;
    -
    292 normals = mesh.normals;
    -
    293 tangents = mesh.tangents;
    -
    294 colors = mesh.colors;
    -
    295 indices = mesh.indices;
    -
    296 animVertices = mesh.animVertices;
    -
    297 animNormals = mesh.animNormals;
    -
    298 boneIds = mesh.boneIds;
    -
    299 boneWeights = mesh.boneWeights;
    -
    300 vaoId = mesh.vaoId;
    -
    301 vboId = mesh.vboId;
    -
    302 }
    -
    303};
    -
    304} // namespace raylib
    -
    305
    -
    306#endif // RAYLIB_CPP_INCLUDE_MESH_HPP_
    -
    Bounding box type.
    Definition: BoundingBox.hpp:11
    -
    Vertex data definning a mesh.
    Definition: Mesh.hpp:16
    -
    raylib::BoundingBox BoundingBox() const
    Compute mesh bounding box limits.
    Definition: Mesh.hpp:244
    -
    Mesh(const Mesh &)=delete
    Load meshes from model file.
    -
    void Draw(const ::Material &material, const ::Matrix &transform)
    Draw a 3d mesh with material and transform.
    Definition: Mesh.hpp:212
    -
    raylib::Model LoadModelFrom() const
    Load model from generated mesh.
    Definition: Mesh.hpp:274
    -
    Mesh(const ::Mesh &mesh)
    Definition: Mesh.hpp:18
    -
    ::Mesh Sphere(float radius, int rings, int slices)
    Generate sphere mesh (standard sphere)
    Definition: Mesh.hpp:95
    -
    ::Mesh Knot(float radius, float size, int radSeg, int sides)
    Generate trefoil knot mesh.
    Definition: Mesh.hpp:123
    -
    void Unload()
    Unload mesh from memory (RAM and/or VRAM)
    Definition: Mesh.hpp:234
    -
    void UpdateBuffer(int index, void *data, int dataSize, int offset=0)
    Upload mesh vertex data to GPU (VRAM)
    Definition: Mesh.hpp:205
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_MESH_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_MESH_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 #include <vector>
    +
    6 
    +
    7 #include "./raylib.hpp"
    +
    8 #include "./raylib-cpp-utils.hpp"
    +
    9 #include "./BoundingBox.hpp"
    +
    10 #include "./Model.hpp"
    +
    11 
    +
    12 namespace raylib {
    +
    16 class Mesh : public ::Mesh {
    +
    17  public:
    +
    18  Mesh(const ::Mesh& mesh) {
    +
    19  set(mesh);
    +
    20  }
    +
    21 
    +
    22  Mesh(int vertexCount, int triangleCount) : ::Mesh{
    +
    23  vertexCount,
    +
    24  triangleCount,
    +
    25  nullptr,
    +
    26  nullptr,
    +
    27  nullptr,
    +
    28  nullptr,
    +
    29  nullptr,
    +
    30  nullptr,
    +
    31  nullptr,
    +
    32  nullptr,
    +
    33  nullptr,
    +
    34  nullptr,
    +
    35  nullptr,
    +
    36  0,
    +
    37  nullptr
    +
    38  } {}
    +
    39 
    +
    43  // static std::vector<Mesh> Load(const std::string& fileName) {
    +
    44  // int count = 0;
    +
    45  // ::Mesh* meshes = LoadMeshes(fileName.c_str(), &count);
    +
    46  // return std::vector<Mesh>(meshes, meshes + count);
    +
    47  // }
    +
    48 
    +
    49  Mesh(const Mesh&) = delete;
    +
    50 
    +
    51  Mesh(Mesh&& other) {
    +
    52  set(other);
    +
    53 
    +
    54  other.vertexCount = 0;
    +
    55  other.triangleCount = 0;
    +
    56  other.vertices = nullptr;
    +
    57  other.texcoords = nullptr;
    +
    58  other.texcoords2 = nullptr;
    +
    59  other.normals = nullptr;
    +
    60  other.tangents = nullptr;
    +
    61  other.colors = nullptr;
    +
    62  other.indices = nullptr;
    +
    63  other.animVertices = nullptr;
    +
    64  other.animNormals = nullptr;
    +
    65  other.boneIds = nullptr;
    +
    66  other.boneWeights = nullptr;
    +
    67  other.vaoId = 0;
    +
    68  other.vboId = nullptr;
    +
    69  }
    +
    70 
    +
    74  static ::Mesh Poly(int sides, float radius) {
    +
    75  return ::GenMeshPoly(sides, radius);
    +
    76  }
    +
    77 
    +
    81  static ::Mesh Plane(float width, float length, int resX, int resZ) {
    +
    82  return ::GenMeshPlane(width, length, resX, resZ);
    +
    83  }
    +
    84 
    +
    88  static ::Mesh Cube(float width, float height, float length) {
    +
    89  return ::GenMeshCube(width, height, length);
    +
    90  }
    +
    91 
    +
    95  static ::Mesh Sphere(float radius, int rings, int slices) {
    +
    96  return ::GenMeshSphere(radius, rings, slices);
    +
    97  }
    +
    98 
    +
    102  static ::Mesh HemiSphere(float radius, int rings, int slices) {
    +
    103  return ::GenMeshHemiSphere(radius, rings, slices);
    +
    104  }
    +
    105 
    +
    109  static ::Mesh Cylinder(float radius, float height, int slices) {
    +
    110  return ::GenMeshCylinder(radius, height, slices);
    +
    111  }
    +
    112 
    +
    116  static ::Mesh Torus(float radius, float size, int radSeg, int sides) {
    +
    117  return ::GenMeshTorus(radius, size, radSeg, sides);
    +
    118  }
    +
    119 
    +
    123  static ::Mesh Knot(float radius, float size, int radSeg, int sides) {
    +
    124  return ::GenMeshKnot(radius, size, radSeg, sides);
    +
    125  }
    +
    126 
    +
    130  static ::Mesh Heightmap(const ::Image& heightmap, ::Vector3 size) {
    +
    131  return ::GenMeshHeightmap(heightmap, size);
    +
    132  }
    +
    133 
    +
    137  static ::Mesh Cubicmap(const ::Image& cubicmap, ::Vector3 cubeSize) {
    +
    138  return ::GenMeshCubicmap(cubicmap, cubeSize);
    +
    139  }
    +
    140 
    +
    141  GETTERSETTER(int, VertexCount, vertexCount)
    +
    142  GETTERSETTER(int, TriangleCount, triangleCount)
    +
    143  GETTERSETTER(float*, Vertices, vertices)
    +
    144  GETTERSETTER(float *, TexCoords, texcoords)
    +
    145  GETTERSETTER(float *, TexCoords2, texcoords2)
    +
    146  GETTERSETTER(float *, Normals, normals)
    +
    147  GETTERSETTER(float *, Tangents, tangents)
    +
    148  GETTERSETTER(unsigned char *, Colors, colors)
    +
    149  GETTERSETTER(unsigned short *, Indices, indices) // NOLINT
    +
    150  GETTERSETTER(float *, AnimVertices, animVertices)
    +
    151  GETTERSETTER(float *, AnimNormals, animNormals)
    +
    152  GETTERSETTER(unsigned char *, BoneIds, boneIds)
    +
    153  GETTERSETTER(float *, BoneWeights, boneWeights)
    +
    154  GETTERSETTER(unsigned int, VaoId, vaoId)
    +
    155  GETTERSETTER(unsigned int *, VboId, vboId)
    +
    156 
    +
    157  Mesh& operator=(const ::Mesh& mesh) {
    +
    158  set(mesh);
    +
    159  return *this;
    +
    160  }
    +
    161 
    +
    162  Mesh& operator=(const Mesh&) = delete;
    +
    163 
    +
    164  Mesh& operator=(Mesh&& other) noexcept {
    +
    165  if (this == &other) {
    +
    166  return *this;
    +
    167  }
    +
    168 
    +
    169  Unload();
    +
    170  set(other);
    +
    171 
    +
    172  other.vertexCount = 0;
    +
    173  other.triangleCount = 0;
    +
    174  other.vertices = nullptr;
    +
    175  other.texcoords = nullptr;
    +
    176  other.texcoords2 = nullptr;
    +
    177  other.normals = nullptr;
    +
    178  other.tangents = nullptr;
    +
    179  other.colors = nullptr;
    +
    180  other.indices = nullptr;
    +
    181  other.animVertices = nullptr;
    +
    182  other.animNormals = nullptr;
    +
    183  other.boneIds = nullptr;
    +
    184  other.boneWeights = nullptr;
    +
    185  other.vaoId = 0;
    +
    186  other.vboId = nullptr;
    +
    187 
    +
    188  return *this;
    +
    189  }
    +
    190 
    +
    191  ~Mesh() {
    +
    192  Unload();
    +
    193  }
    +
    194 
    +
    198  inline void Upload(bool dynamic = false) {
    +
    199  ::UploadMesh(this, dynamic);
    +
    200  }
    +
    201 
    +
    205  inline void UpdateBuffer(int index, void *data, int dataSize, int offset = 0) {
    +
    206  ::UpdateMeshBuffer(*this, index, data, dataSize, offset);
    +
    207  }
    +
    208 
    +
    212  inline void Draw(const ::Material& material, const ::Matrix& transform) {
    +
    213  ::DrawMesh(*this, material, transform);
    +
    214  }
    +
    215 
    +
    219  inline void Draw(const ::Material& material, ::Matrix* transforms, int instances) {
    +
    220  ::DrawMeshInstanced(*this, material, transforms, instances);
    +
    221  }
    +
    222 
    +
    226  inline bool Export(const std::string& fileName) {
    +
    227  // TODO(RobLoach): Switch to an exception when failed.
    +
    228  return ExportMesh(*this, fileName.c_str());
    +
    229  }
    +
    230 
    +
    234  inline void Unload() {
    +
    235  if (vboId != nullptr) {
    +
    236  ::UnloadMesh(*this);
    +
    237  vboId = nullptr;
    +
    238  }
    +
    239  }
    +
    240 
    + +
    245  return ::GetMeshBoundingBox(*this);
    +
    246  }
    +
    247 
    +
    251  operator raylib::BoundingBox() {
    +
    252  return BoundingBox();
    +
    253  }
    +
    254 
    +
    258  inline Mesh& GenTangents() {
    +
    259  ::GenMeshTangents(this);
    +
    260  return *this;
    +
    261  }
    +
    262 
    +
    266  inline Mesh& GenBinormals() {
    +
    267  ::GenMeshBinormals(this);
    +
    268  return *this;
    +
    269  }
    +
    270 
    +
    274  inline raylib::Model LoadModelFrom() const {
    +
    275  return ::LoadModelFromMesh(*this);
    +
    276  }
    +
    277 
    +
    281  operator raylib::Model() {
    +
    282  return ::LoadModelFromMesh(*this);
    +
    283  }
    +
    284 
    +
    285  private:
    +
    286  inline void set(const ::Mesh& mesh) {
    +
    287  vertexCount = mesh.vertexCount;
    +
    288  triangleCount = mesh.triangleCount;
    +
    289  vertices = mesh.vertices;
    +
    290  texcoords = mesh.texcoords;
    +
    291  texcoords2 = mesh.texcoords2;
    +
    292  normals = mesh.normals;
    +
    293  tangents = mesh.tangents;
    +
    294  colors = mesh.colors;
    +
    295  indices = mesh.indices;
    +
    296  animVertices = mesh.animVertices;
    +
    297  animNormals = mesh.animNormals;
    +
    298  boneIds = mesh.boneIds;
    +
    299  boneWeights = mesh.boneWeights;
    +
    300  vaoId = mesh.vaoId;
    +
    301  vboId = mesh.vboId;
    +
    302  }
    +
    303 };
    +
    304 } // namespace raylib
    +
    305 
    +
    306 #endif // RAYLIB_CPP_INCLUDE_MESH_HPP_
    +
    ::Mesh Cube(float width, float height, float length)
    Generate cuboid mesh.
    Definition: Mesh.hpp:88
    -
    ::Mesh Plane(float width, float length, int resX, int resZ)
    Generate plane mesh (with subdivisions)
    Definition: Mesh.hpp:81
    -
    Mesh & operator=(const Mesh &)=delete
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    +
    bool Export(const std::string &fileName)
    Export mesh data to file.
    Definition: Mesh.hpp:226
    +
    raylib::BoundingBox BoundingBox() const
    Compute mesh bounding box limits.
    Definition: Mesh.hpp:244
    ::Mesh Poly(int sides, float radius)
    Generate polygonal mesh.
    Definition: Mesh.hpp:74
    -
    ::Mesh HemiSphere(float radius, int rings, int slices)
    Generate half-sphere mesh (no bottom cap)
    Definition: Mesh.hpp:102
    -
    Mesh(Mesh &&other)
    Definition: Mesh.hpp:51
    ::Mesh Torus(float radius, float size, int radSeg, int sides)
    Generate torus mesh.
    Definition: Mesh.hpp:116
    +
    Vector3 type.
    Definition: Vector3.hpp:16
    +
    ::Mesh HemiSphere(float radius, int rings, int slices)
    Generate half-sphere mesh (no bottom cap)
    Definition: Mesh.hpp:102
    +
    Mesh & GenTangents()
    Compute mesh tangents.
    Definition: Mesh.hpp:258
    void Upload(bool dynamic=false)
    Upload mesh vertex data to GPU (VRAM)
    Definition: Mesh.hpp:198
    -
    bool Export(const std::string &fileName)
    Export mesh data to file.
    Definition: Mesh.hpp:226
    -
    Mesh(int vertexCount, int triangleCount)
    Definition: Mesh.hpp:22
    -
    Mesh & GenBinormals()
    Compute mesh binormals (aka bitangent)
    Definition: Mesh.hpp:266
    +
    void Unload()
    Unload mesh from memory (RAM and/or VRAM)
    Definition: Mesh.hpp:234
    +
    Vertex data definning a mesh.
    Definition: Mesh.hpp:16
    ::Mesh Heightmap(const ::Image &heightmap, ::Vector3 size)
    Generate heightmap mesh from image data.
    Definition: Mesh.hpp:130
    -
    Mesh & GenTangents()
    Compute mesh tangents.
    Definition: Mesh.hpp:258
    -
    Mesh & operator=(Mesh &&other) noexcept
    Definition: Mesh.hpp:164
    -
    ::Mesh Cylinder(float radius, float height, int slices)
    Generate cylinder mesh.
    Definition: Mesh.hpp:109
    - +
    ::Mesh Knot(float radius, float size, int radSeg, int sides)
    Generate trefoil knot mesh.
    Definition: Mesh.hpp:123
    ::Mesh Cubicmap(const ::Image &cubicmap, ::Vector3 cubeSize)
    Generate cubes-based map mesh from image data.
    Definition: Mesh.hpp:137
    -
    void Draw(const ::Material &material, ::Matrix *transforms, int instances)
    Draw multiple mesh instances with material and different transforms.
    Definition: Mesh.hpp:219
    +
    ::Mesh Sphere(float radius, int rings, int slices)
    Generate sphere mesh (standard sphere)
    Definition: Mesh.hpp:95
    +
    Mesh & GenBinormals()
    Compute mesh binormals (aka bitangent)
    Definition: Mesh.hpp:266
    Model type.
    Definition: Model.hpp:15
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    void Draw(const ::Material &material, ::Matrix *transforms, int instances)
    Draw multiple mesh instances with material and different transforms.
    Definition: Mesh.hpp:219
    +
    ::Mesh Cylinder(float radius, float height, int slices)
    Generate cylinder mesh.
    Definition: Mesh.hpp:109
    +
    Bounding box type.
    Definition: BoundingBox.hpp:11
    +
    raylib::Model LoadModelFrom() const
    Load model from generated mesh.
    Definition: Mesh.hpp:274
    +
    void Draw(const ::Material &material, const ::Matrix &transform)
    Draw a 3d mesh with material and transform.
    Definition: Mesh.hpp:212
    +
    void UpdateBuffer(int index, void *data, int dataSize, int offset=0)
    Upload mesh vertex data to GPU (VRAM)
    Definition: Mesh.hpp:205
    +
    ::Mesh Plane(float width, float length, int resX, int resZ)
    Generate plane mesh (with subdivisions)
    Definition: Mesh.hpp:81
    - + diff --git a/docs/_model_8hpp_source.html b/docs/_model_8hpp_source.html index f44aec08..62273116 100644 --- a/docs/_model_8hpp_source.html +++ b/docs/_model_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Model.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Model.hpp
    +
    +
    Model.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_MODEL_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_MODEL_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "./Mesh.hpp"
    -
    9#include "./RaylibException.hpp"
    -
    10
    -
    11namespace raylib {
    -
    15class Model : public ::Model {
    -
    16 public:
    -
    17 Model(const ::Model& model) {
    -
    18 set(model);
    -
    19 }
    -
    20
    -
    21 Model(const std::string& fileName) {
    -
    22 if (!Load(fileName)) {
    -
    23 throw RaylibException("Failed to load Model from filename");
    -
    24 }
    -
    25 }
    -
    26
    -
    27 Model(const ::Mesh& mesh) {
    -
    28 if (!Load(mesh)) {
    -
    29 throw RaylibException("Failed to load Model from Mesh");
    -
    30 }
    -
    31 }
    -
    32
    - -
    34 Unload();
    -
    35 }
    -
    36
    -
    37 Model(const Model&) = delete;
    -
    38
    -
    39 Model(Model&& other) {
    -
    40 set(other);
    -
    41
    -
    42 other.bones = nullptr;
    -
    43 other.boneCount = 0;
    -
    44 other.materials = nullptr;
    -
    45 other.materialCount = 0;
    -
    46 other.meshes = nullptr;
    -
    47 other.meshCount = 0;
    -
    48 other.bindPose = nullptr;
    -
    49 }
    -
    50
    -
    51 GETTERSETTER(::Matrix, Transform, transform)
    -
    52 GETTERSETTER(int, MeshCount, meshCount)
    -
    53 GETTERSETTER(int, MaterialCount, materialCount)
    -
    54 GETTERSETTER(::Mesh *, Meshes, meshes)
    -
    55 GETTERSETTER(::Material *, Materials, materials)
    -
    56 GETTERSETTER(int *, MeshMaterial, meshMaterial)
    -
    57 GETTERSETTER(int, BoneCount, boneCount)
    -
    58 GETTERSETTER(::BoneInfo *, Bones, bones)
    -
    59 GETTERSETTER(::Transform *, BindPoe, bindPose)
    -
    60
    -
    61 Model& operator=(const ::Model& model) {
    -
    62 set(model);
    -
    63 return *this;
    -
    64 }
    -
    65
    -
    66 Model& operator=(const Model&) = delete;
    -
    67
    -
    68 Model& operator=(Model&& other) noexcept {
    -
    69 if (this == &other) {
    -
    70 return *this;
    -
    71 }
    -
    72
    -
    73 Unload();
    -
    74 set(other);
    -
    75
    -
    76 other.bones = nullptr;
    -
    77 other.boneCount = 0;
    -
    78 other.materials = nullptr;
    -
    79 other.materialCount = 0;
    -
    80 other.meshes = nullptr;
    -
    81 other.meshCount = 0;
    -
    82 other.bindPose = nullptr;
    -
    83
    -
    84 return *this;
    -
    85 }
    -
    86
    -
    90 inline void Unload() {
    -
    91 if (meshes != nullptr || materials != nullptr) {
    -
    92 ::UnloadModel(*this);
    -
    93 meshes = nullptr;
    -
    94 materials = nullptr;
    -
    95 }
    -
    96 }
    -
    97
    - -
    102 ::UnloadModelKeepMeshes(*this);
    -
    103 return *this;
    -
    104 }
    -
    105
    -
    109 inline Model& SetMeshMaterial(int meshId, int materialId) {
    -
    110 ::SetModelMeshMaterial(this, meshId, materialId);
    -
    111 return *this;
    -
    112 }
    -
    113
    -
    117 inline RayCollision GetCollision(const ::Ray& ray) const {
    -
    118 return ::GetRayCollisionModel(ray, *this);
    -
    119 }
    -
    120
    -
    124 inline Model& UpdateAnimation(const ::ModelAnimation& anim, int frame) {
    -
    125 ::UpdateModelAnimation(*this, anim, frame);
    -
    126 return *this;
    -
    127 }
    -
    128
    -
    132 inline bool IsModelAnimationValid(const ::ModelAnimation& anim) const {
    -
    133 return ::IsModelAnimationValid(*this, anim);
    -
    134 }
    -
    135
    -
    139 inline Model& Draw(::Vector3 position,
    -
    140 float scale = 1.0f,
    -
    141 ::Color tint = {255, 255, 255, 255}) {
    -
    142 ::DrawModel(*this, position, scale, tint);
    -
    143 return *this;
    -
    144 }
    -
    145
    -
    149 inline Model& Draw(
    -
    150 ::Vector3 position,
    -
    151 ::Vector3 rotationAxis,
    -
    152 float rotationAngle = 0.0f,
    -
    153 ::Vector3 scale = {1.0f, 1.0f, 1.0f},
    -
    154 ::Color tint = {255, 255, 255, 255}) {
    -
    155 ::DrawModelEx(*this, position, rotationAxis, rotationAngle, scale, tint);
    -
    156 return *this;
    -
    157 }
    -
    158
    -
    162 inline Model& DrawWires(::Vector3 position,
    -
    163 float scale = 1.0f,
    -
    164 ::Color tint = {255, 255, 255, 255}) {
    -
    165 ::DrawModelWires(*this, position, scale, tint);
    -
    166 return *this;
    -
    167 }
    -
    168
    - -
    173 ::Vector3 position,
    -
    174 ::Vector3 rotationAxis,
    -
    175 float rotationAngle = 0.0f,
    -
    176 ::Vector3 scale = {1.0f, 1.0f, 1.0f},
    -
    177 ::Color tint = {255, 255, 255, 255}) {
    -
    178 ::DrawModelWiresEx(*this, position, rotationAxis, rotationAngle, scale, tint);
    -
    179 return *this;
    -
    180 }
    -
    181
    - -
    186 return ::GetModelBoundingBox(*this);
    -
    187 }
    -
    188
    -
    192 operator BoundingBox() const {
    -
    193 return ::GetModelBoundingBox(*this);
    -
    194 }
    -
    195
    -
    199 bool IsReady() const {
    -
    200 return meshCount > 0 || materialCount > 0 || boneCount > 0;
    -
    201 }
    -
    202
    -
    208 bool Load(const std::string& fileName) {
    -
    209 set(::LoadModel(fileName.c_str()));
    -
    210 return IsReady();
    -
    211 }
    -
    212
    -
    218 bool Load(const ::Mesh& mesh) {
    -
    219 set(::LoadModelFromMesh(mesh));
    -
    220 return IsReady();
    -
    221 }
    -
    222
    -
    223 private:
    -
    224 inline void set(const ::Model& model) {
    -
    225 transform = model.transform;
    -
    226
    -
    227 meshCount = model.meshCount;
    -
    228 materialCount = model.materialCount;
    -
    229 meshes = model.meshes;
    -
    230 materials = model.materials;
    -
    231 meshMaterial = model.meshMaterial;
    -
    232
    -
    233 boneCount = model.boneCount;
    -
    234 bones = model.bones;
    -
    235 bindPose = model.bindPose;
    -
    236 }
    -
    237};
    -
    238
    -
    239} // namespace raylib
    -
    240
    -
    241#endif // RAYLIB_CPP_INCLUDE_MODEL_HPP_
    -
    Bounding box type.
    Definition: BoundingBox.hpp:11
    -
    Material type (generic)
    Definition: Material.hpp:14
    -
    Vertex data definning a mesh.
    Definition: Mesh.hpp:16
    -
    Model type.
    Definition: Model.hpp:15
    -
    bool IsReady() const
    Determines whether or not the Model has data in it.
    Definition: Model.hpp:199
    -
    Model & operator=(const Model &)=delete
    -
    void Unload()
    Unload model (including meshes) from memory (RAM and/or VRAM)
    Definition: Model.hpp:90
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_MODEL_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_MODEL_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "./Mesh.hpp"
    +
    9 #include "./RaylibException.hpp"
    +
    10 
    +
    11 namespace raylib {
    +
    15 class Model : public ::Model {
    +
    16  public:
    +
    17  Model(const ::Model& model) {
    +
    18  set(model);
    +
    19  }
    +
    20 
    +
    21  Model(const std::string& fileName) {
    +
    22  if (!Load(fileName)) {
    +
    23  throw RaylibException("Failed to load Model from filename");
    +
    24  }
    +
    25  }
    +
    26 
    +
    27  Model(const ::Mesh& mesh) {
    +
    28  if (!Load(mesh)) {
    +
    29  throw RaylibException("Failed to load Model from Mesh");
    +
    30  }
    +
    31  }
    +
    32 
    +
    33  ~Model() {
    +
    34  Unload();
    +
    35  }
    +
    36 
    +
    37  Model(const Model&) = delete;
    +
    38 
    +
    39  Model(Model&& other) {
    +
    40  set(other);
    +
    41 
    +
    42  other.bones = nullptr;
    +
    43  other.boneCount = 0;
    +
    44  other.materials = nullptr;
    +
    45  other.materialCount = 0;
    +
    46  other.meshes = nullptr;
    +
    47  other.meshCount = 0;
    +
    48  other.bindPose = nullptr;
    +
    49  }
    +
    50 
    +
    51  GETTERSETTER(::Matrix, Transform, transform)
    +
    52  GETTERSETTER(int, MeshCount, meshCount)
    +
    53  GETTERSETTER(int, MaterialCount, materialCount)
    +
    54  GETTERSETTER(::Mesh *, Meshes, meshes)
    +
    55  GETTERSETTER(::Material *, Materials, materials)
    +
    56  GETTERSETTER(int *, MeshMaterial, meshMaterial)
    +
    57  GETTERSETTER(int, BoneCount, boneCount)
    +
    58  GETTERSETTER(::BoneInfo *, Bones, bones)
    +
    59  GETTERSETTER(::Transform *, BindPoe, bindPose)
    +
    60 
    +
    61  Model& operator=(const ::Model& model) {
    +
    62  set(model);
    +
    63  return *this;
    +
    64  }
    +
    65 
    +
    66  Model& operator=(const Model&) = delete;
    +
    67 
    +
    68  Model& operator=(Model&& other) noexcept {
    +
    69  if (this == &other) {
    +
    70  return *this;
    +
    71  }
    +
    72 
    +
    73  Unload();
    +
    74  set(other);
    +
    75 
    +
    76  other.bones = nullptr;
    +
    77  other.boneCount = 0;
    +
    78  other.materials = nullptr;
    +
    79  other.materialCount = 0;
    +
    80  other.meshes = nullptr;
    +
    81  other.meshCount = 0;
    +
    82  other.bindPose = nullptr;
    +
    83 
    +
    84  return *this;
    +
    85  }
    +
    86 
    +
    90  inline void Unload() {
    +
    91  if (meshes != nullptr || materials != nullptr) {
    +
    92  ::UnloadModel(*this);
    +
    93  meshes = nullptr;
    +
    94  materials = nullptr;
    +
    95  }
    +
    96  }
    +
    97 
    + +
    102  ::UnloadModelKeepMeshes(*this);
    +
    103  return *this;
    +
    104  }
    +
    105 
    +
    109  inline Model& SetMeshMaterial(int meshId, int materialId) {
    +
    110  ::SetModelMeshMaterial(this, meshId, materialId);
    +
    111  return *this;
    +
    112  }
    +
    113 
    +
    117  inline RayCollision GetCollision(const ::Ray& ray) const {
    +
    118  return ::GetRayCollisionModel(ray, *this);
    +
    119  }
    +
    120 
    +
    124  inline Model& UpdateAnimation(const ::ModelAnimation& anim, int frame) {
    +
    125  ::UpdateModelAnimation(*this, anim, frame);
    +
    126  return *this;
    +
    127  }
    +
    128 
    +
    132  inline bool IsModelAnimationValid(const ::ModelAnimation& anim) const {
    +
    133  return ::IsModelAnimationValid(*this, anim);
    +
    134  }
    +
    135 
    +
    139  inline Model& Draw(::Vector3 position,
    +
    140  float scale = 1.0f,
    +
    141  ::Color tint = {255, 255, 255, 255}) {
    +
    142  ::DrawModel(*this, position, scale, tint);
    +
    143  return *this;
    +
    144  }
    +
    145 
    +
    149  inline Model& Draw(
    +
    150  ::Vector3 position,
    +
    151  ::Vector3 rotationAxis,
    +
    152  float rotationAngle = 0.0f,
    +
    153  ::Vector3 scale = {1.0f, 1.0f, 1.0f},
    +
    154  ::Color tint = {255, 255, 255, 255}) {
    +
    155  ::DrawModelEx(*this, position, rotationAxis, rotationAngle, scale, tint);
    +
    156  return *this;
    +
    157  }
    +
    158 
    +
    162  inline Model& DrawWires(::Vector3 position,
    +
    163  float scale = 1.0f,
    +
    164  ::Color tint = {255, 255, 255, 255}) {
    +
    165  ::DrawModelWires(*this, position, scale, tint);
    +
    166  return *this;
    +
    167  }
    +
    168 
    +
    172  inline Model& DrawWires(
    +
    173  ::Vector3 position,
    +
    174  ::Vector3 rotationAxis,
    +
    175  float rotationAngle = 0.0f,
    +
    176  ::Vector3 scale = {1.0f, 1.0f, 1.0f},
    +
    177  ::Color tint = {255, 255, 255, 255}) {
    +
    178  ::DrawModelWiresEx(*this, position, rotationAxis, rotationAngle, scale, tint);
    +
    179  return *this;
    +
    180  }
    +
    181 
    +
    185  inline BoundingBox GetBoundingBox() const {
    +
    186  return ::GetModelBoundingBox(*this);
    +
    187  }
    +
    188 
    +
    192  operator BoundingBox() const {
    +
    193  return ::GetModelBoundingBox(*this);
    +
    194  }
    +
    195 
    +
    199  bool IsReady() const {
    +
    200  return meshCount > 0 || materialCount > 0 || boneCount > 0;
    +
    201  }
    +
    202 
    +
    208  bool Load(const std::string& fileName) {
    +
    209  set(::LoadModel(fileName.c_str()));
    +
    210  return IsReady();
    +
    211  }
    +
    212 
    +
    218  bool Load(const ::Mesh& mesh) {
    +
    219  set(::LoadModelFromMesh(mesh));
    +
    220  return IsReady();
    +
    221  }
    +
    222 
    +
    223  private:
    +
    224  inline void set(const ::Model& model) {
    +
    225  transform = model.transform;
    +
    226 
    +
    227  meshCount = model.meshCount;
    +
    228  materialCount = model.materialCount;
    +
    229  meshes = model.meshes;
    +
    230  materials = model.materials;
    +
    231  meshMaterial = model.meshMaterial;
    +
    232 
    +
    233  boneCount = model.boneCount;
    +
    234  bones = model.bones;
    +
    235  bindPose = model.bindPose;
    +
    236  }
    +
    237 };
    +
    238 
    +
    239 } // namespace raylib
    +
    240 
    +
    241 #endif // RAYLIB_CPP_INCLUDE_MODEL_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    +
    Model & DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
    Draw a model wires (with texture if set)
    Definition: Model.hpp:162
    +
    Model & DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
    Draw a model wires (with texture if set) with extended parameters.
    Definition: Model.hpp:172
    +
    Model & SetMeshMaterial(int meshId, int materialId)
    Set material for a mesh.
    Definition: Model.hpp:109
    +
    Model & Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
    Draw a model (with texture if set)
    Definition: Model.hpp:139
    +
    Raycast hit information.
    +
    Model & Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
    Draw a model with extended parameters.
    Definition: Model.hpp:149
    bool IsModelAnimationValid(const ::ModelAnimation &anim) const
    Check model animation skeleton match.
    Definition: Model.hpp:132
    -
    Model & SetMeshMaterial(int meshId, int materialId)
    Set material for a mesh.
    Definition: Model.hpp:109
    -
    Model & Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
    Draw a model with extended parameters.
    Definition: Model.hpp:149
    -
    Model & DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
    Draw a model wires (with texture if set) with extended parameters.
    Definition: Model.hpp:172
    -
    Model(const ::Model &model)
    Definition: Model.hpp:17
    -
    Model(const ::Mesh &mesh)
    Definition: Model.hpp:27
    -
    Model(Model &&other)
    Definition: Model.hpp:39
    -
    Model(const std::string &fileName)
    Definition: Model.hpp:21
    -
    Model(const Model &)=delete
    +
    Vector3 type.
    Definition: Vector3.hpp:16
    +
    Model & UpdateAnimation(const ::ModelAnimation &anim, int frame)
    Update model animation pose.
    Definition: Model.hpp:124
    +
    bool IsReady() const
    Determines whether or not the Model has data in it.
    Definition: Model.hpp:199
    bool Load(const ::Mesh &mesh)
    Loads a Model from the given Mesh.
    Definition: Model.hpp:218
    -
    Model & UpdateAnimation(const ::ModelAnimation &anim, int frame)
    Update model animation pose.
    Definition: Model.hpp:124
    +
    Vertex data definning a mesh.
    Definition: Mesh.hpp:16
    bool Load(const std::string &fileName)
    Loads a Model from the given file.
    Definition: Model.hpp:208
    - -
    Model & Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
    Draw a model (with texture if set)
    Definition: Model.hpp:139
    -
    RayCollision GetCollision(const ::Ray &ray) const
    Get collision info between ray and model.
    Definition: Model.hpp:117
    -
    Model & UnloadKeepMeshes()
    Unload model (but not meshes) from memory (RAM and/or VRAM)
    Definition: Model.hpp:101
    -
    Model & DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
    Draw a model wires (with texture if set)
    Definition: Model.hpp:162
    -
    Model & operator=(Model &&other) noexcept
    Definition: Model.hpp:68
    BoundingBox GetBoundingBox() const
    Compute model bounding box limits (considers all meshes)
    Definition: Model.hpp:185
    -
    Raycast hit information.
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    Model type.
    Definition: Model.hpp:15
    +
    RayCollision GetCollision(const ::Ray &ray) const
    Get collision info between ray and model.
    Definition: Model.hpp:117
    +
    Bounding box type.
    Definition: BoundingBox.hpp:11
    Exception used for most raylib-related exceptions.
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    Material type (generic)
    Definition: Material.hpp:14
    +
    void Unload()
    Unload model (including meshes) from memory (RAM and/or VRAM)
    Definition: Model.hpp:90
    +
    Model & UnloadKeepMeshes()
    Unload model (but not meshes) from memory (RAM and/or VRAM)
    Definition: Model.hpp:101
    - + diff --git a/docs/_model_animation_8hpp_source.html b/docs/_model_animation_8hpp_source.html index 72de0d73..40d71872 100644 --- a/docs/_model_animation_8hpp_source.html +++ b/docs/_model_animation_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: ModelAnimation.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    ModelAnimation.hpp
    +
    +
    ModelAnimation.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
    -
    3
    -
    4#include <vector>
    -
    5#include <string>
    -
    6
    -
    7#include "./raylib.hpp"
    -
    8#include "./raylib-cpp-utils.hpp"
    -
    9#include "./Mesh.hpp"
    -
    10
    -
    11namespace raylib {
    -
    15class ModelAnimation : public ::ModelAnimation {
    -
    16 public:
    -
    17 ModelAnimation(const ::ModelAnimation& model) {
    -
    18 set(model);
    -
    19 }
    -
    20
    - -
    22
    - -
    24 set(other);
    -
    25
    -
    26 other.boneCount = 0;
    -
    27 other.bones = nullptr;
    -
    28 other.frameCount = 0;
    -
    29 other.framePoses = nullptr;
    -
    30 }
    -
    31
    - -
    33 Unload();
    -
    34 }
    -
    35
    -
    39 static std::vector<ModelAnimation> Load(const std::string& fileName) {
    -
    40 unsigned int count = 0;
    -
    41 ::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count);
    -
    42 std::vector<ModelAnimation> mats(modelAnimations, modelAnimations + count);
    -
    43
    -
    44 RL_FREE(modelAnimations);
    -
    45
    -
    46 return mats;
    -
    47 }
    -
    48
    -
    49 GETTERSETTER(int, BoneCount, boneCount)
    -
    50 GETTERSETTER(::BoneInfo*, Bones, bones)
    -
    51 GETTERSETTER(int, FrameCount, frameCount)
    -
    52 GETTERSETTER(::Transform**, FramePoses, framePoses)
    -
    53
    -
    54 ModelAnimation& operator=(const ::ModelAnimation& model) {
    -
    55 set(model);
    -
    56 return *this;
    -
    57 }
    -
    58
    - -
    60
    - -
    62 if (this == &other) {
    -
    63 return *this;
    -
    64 }
    -
    65
    -
    66 Unload();
    -
    67 set(other);
    -
    68
    -
    69 other.boneCount = 0;
    -
    70 other.bones = nullptr;
    -
    71 other.frameCount = 0;
    -
    72 other.framePoses = nullptr;
    -
    73
    -
    74 return *this;
    -
    75 }
    -
    76
    -
    80 inline void Unload() {
    -
    81 ::UnloadModelAnimation(*this);
    -
    82 }
    -
    83
    -
    87 inline ModelAnimation& Update(const ::Model& model, int frame) {
    -
    88 ::UpdateModelAnimation(model, *this, frame);
    -
    89 return *this;
    -
    90 }
    -
    91
    -
    95 inline bool IsValid(const ::Model& model) const {
    -
    96 return ::IsModelAnimationValid(model, *this);
    -
    97 }
    -
    98
    -
    99 private:
    -
    100 inline void set(const ::ModelAnimation& model) {
    -
    101 boneCount = model.boneCount;
    -
    102 bones = model.bones;
    -
    103 frameCount = model.frameCount;
    -
    104 framePoses = model.framePoses;
    -
    105 }
    -
    106};
    -
    107} // namespace raylib
    -
    108
    -
    109#endif // RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
    - -
    static std::vector< ModelAnimation > Load(const std::string &fileName)
    Load model animations from file.
    -
    ModelAnimation & operator=(const ModelAnimation &)=delete
    - -
    bool IsValid(const ::Model &model) const
    Check model animation skeleton match.
    -
    ModelAnimation(const ::ModelAnimation &model)
    -
    ModelAnimation(ModelAnimation &&other)
    -
    ModelAnimation & operator=(ModelAnimation &&other) noexcept
    -
    ModelAnimation(const ModelAnimation &)=delete
    -
    ModelAnimation & Update(const ::Model &model, int frame)
    Update model animation pose.
    -
    void Unload()
    Unload animation data.
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
    +
    3 
    +
    4 #include <vector>
    +
    5 #include <string>
    +
    6 
    +
    7 #include "./raylib.hpp"
    +
    8 #include "./raylib-cpp-utils.hpp"
    +
    9 #include "./Mesh.hpp"
    +
    10 
    +
    11 namespace raylib {
    + +
    16  public:
    +
    17  ModelAnimation(const ::ModelAnimation& model) {
    +
    18  set(model);
    +
    19  }
    +
    20 
    +
    21  ModelAnimation(const ModelAnimation&) = delete;
    +
    22 
    + +
    24  set(other);
    +
    25 
    +
    26  other.boneCount = 0;
    +
    27  other.bones = nullptr;
    +
    28  other.frameCount = 0;
    +
    29  other.framePoses = nullptr;
    +
    30  }
    +
    31 
    +
    32  ~ModelAnimation() {
    +
    33  Unload();
    +
    34  }
    +
    35 
    +
    39  static std::vector<ModelAnimation> Load(const std::string& fileName) {
    +
    40  unsigned int count = 0;
    +
    41  ::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count);
    +
    42  std::vector<ModelAnimation> mats(modelAnimations, modelAnimations + count);
    +
    43 
    +
    44  RL_FREE(modelAnimations);
    +
    45 
    +
    46  return mats;
    +
    47  }
    +
    48 
    +
    49  GETTERSETTER(int, BoneCount, boneCount)
    +
    50  GETTERSETTER(::BoneInfo*, Bones, bones)
    +
    51  GETTERSETTER(int, FrameCount, frameCount)
    +
    52  GETTERSETTER(::Transform**, FramePoses, framePoses)
    +
    53 
    +
    54  ModelAnimation& operator=(const ::ModelAnimation& model) {
    +
    55  set(model);
    +
    56  return *this;
    +
    57  }
    +
    58 
    +
    59  ModelAnimation& operator=(const ModelAnimation&) = delete;
    +
    60 
    +
    61  ModelAnimation& operator=(ModelAnimation&& other) noexcept {
    +
    62  if (this == &other) {
    +
    63  return *this;
    +
    64  }
    +
    65 
    +
    66  Unload();
    +
    67  set(other);
    +
    68 
    +
    69  other.boneCount = 0;
    +
    70  other.bones = nullptr;
    +
    71  other.frameCount = 0;
    +
    72  other.framePoses = nullptr;
    +
    73 
    +
    74  return *this;
    +
    75  }
    +
    76 
    +
    80  inline void Unload() {
    +
    81  ::UnloadModelAnimation(*this);
    +
    82  }
    +
    83 
    +
    87  inline ModelAnimation& Update(const ::Model& model, int frame) {
    +
    88  ::UpdateModelAnimation(model, *this, frame);
    +
    89  return *this;
    +
    90  }
    +
    91 
    +
    95  inline bool IsValid(const ::Model& model) const {
    +
    96  return ::IsModelAnimationValid(model, *this);
    +
    97  }
    +
    98 
    +
    99  private:
    +
    100  inline void set(const ::ModelAnimation& model) {
    +
    101  boneCount = model.boneCount;
    +
    102  bones = model.bones;
    +
    103  frameCount = model.frameCount;
    +
    104  framePoses = model.framePoses;
    +
    105  }
    +
    106 };
    +
    107 } // namespace raylib
    +
    108 
    +
    109 #endif // RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
    -
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    ModelAnimation & Update(const ::Model &model, int frame)
    Update model animation pose.
    +
    static std::vector< ModelAnimation > Load(const std::string &fileName)
    Load model animations from file.
    +
    void Unload()
    Unload animation data.
    +
    bool IsValid(const ::Model &model) const
    Check model animation skeleton match.
    + - + diff --git a/docs/_mouse_8hpp_source.html b/docs/_mouse_8hpp_source.html index bc2e0288..ab739774 100644 --- a/docs/_mouse_8hpp_source.html +++ b/docs/_mouse_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Mouse.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Mouse.hpp
    +
    +
    Mouse.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_MOUSE_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_MOUSE_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./Vector2.hpp"
    -
    6
    -
    7namespace raylib {
    -
    11class Mouse {
    -
    12 public:
    -
    16 static inline bool IsButtonPressed(int button) {
    -
    17 return ::IsMouseButtonPressed(button);
    -
    18 }
    -
    19
    -
    23 static inline bool IsButtonDown(int button) {
    -
    24 return ::IsMouseButtonDown(button);
    -
    25 }
    -
    26
    -
    30 static inline bool IsButtonReleased(int button) {
    -
    31 return ::IsMouseButtonReleased(button);
    -
    32 }
    -
    33
    -
    34 static inline bool IsButtonUp(int button) {
    -
    35 return ::IsMouseButtonUp(button);
    -
    36 }
    -
    37
    -
    38 static inline int GetX() {
    -
    39 return ::GetMouseX();
    -
    40 }
    -
    41
    -
    42 static inline int GetY() {
    -
    43 return ::GetMouseY();
    -
    44 }
    -
    45
    -
    46 static inline void SetX(int x) {
    -
    47 ::SetMousePosition(x, GetY());
    -
    48 }
    -
    49
    -
    50 static inline void SetY(int y) {
    -
    51 ::SetMousePosition(GetX(), y);
    -
    52 }
    -
    53
    -
    54 static inline Vector2 GetPosition() {
    -
    55 return ::GetMousePosition();
    -
    56 }
    -
    57
    -
    58 static inline void SetPosition(int x, int y) {
    -
    59 ::SetMousePosition(x, y);
    -
    60 }
    -
    61
    -
    62 static inline void SetPosition(::Vector2 position) {
    -
    63 ::SetMousePosition(static_cast<int>(position.x), static_cast<int>(position.y));
    -
    64 }
    -
    65
    -
    66 static inline void SetOffset(int offsetX = 0, int offsetY = 0) {
    -
    67 ::SetMouseOffset(offsetX, offsetY);
    -
    68 }
    -
    69
    -
    70 static inline void SetOffset(::Vector2 offset) {
    -
    71 ::SetMouseOffset(static_cast<int>(offset.x), static_cast<int>(offset.y));
    -
    72 }
    -
    73
    -
    74 static inline void SetScale(float scaleX = 1.0f, float scaleY = 1.0f) {
    -
    75 ::SetMouseScale(scaleX, scaleY);
    -
    76 }
    -
    77
    -
    78 static inline void SetScale(::Vector2 scale) {
    -
    79 ::SetMouseScale(scale.x, scale.y);
    -
    80 }
    -
    81
    -
    82 static inline float GetWheelMove() {
    -
    83 return ::GetMouseWheelMove();
    -
    84 }
    -
    85
    -
    91 static inline void SetCursor(int cursor = MOUSE_CURSOR_DEFAULT) {
    -
    92 ::SetMouseCursor(cursor);
    -
    93 }
    -
    94
    -
    98 static inline int GetTouchX() {
    -
    99 return ::GetTouchX();
    -
    100 }
    -
    101
    -
    105 static inline int GetTouchY() {
    -
    106 return ::GetTouchY();
    -
    107 }
    -
    108
    -
    112 static inline Vector2 GetTouchPosition(int index) {
    -
    113 return ::GetTouchPosition(index);
    -
    114 }
    -
    115};
    -
    116} // namespace raylib
    -
    117
    -
    118#endif // RAYLIB_CPP_INCLUDE_MOUSE_HPP_
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_MOUSE_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_MOUSE_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./Vector2.hpp"
    +
    6 
    +
    7 namespace raylib {
    +
    11 class Mouse {
    +
    12  public:
    +
    16  static inline bool IsButtonPressed(int button) {
    +
    17  return ::IsMouseButtonPressed(button);
    +
    18  }
    +
    19 
    +
    23  static inline bool IsButtonDown(int button) {
    +
    24  return ::IsMouseButtonDown(button);
    +
    25  }
    +
    26 
    +
    30  static inline bool IsButtonReleased(int button) {
    +
    31  return ::IsMouseButtonReleased(button);
    +
    32  }
    +
    33 
    +
    34  static inline bool IsButtonUp(int button) {
    +
    35  return ::IsMouseButtonUp(button);
    +
    36  }
    +
    37 
    +
    38  static inline int GetX() {
    +
    39  return ::GetMouseX();
    +
    40  }
    +
    41 
    +
    42  static inline int GetY() {
    +
    43  return ::GetMouseY();
    +
    44  }
    +
    45 
    +
    46  static inline void SetX(int x) {
    +
    47  ::SetMousePosition(x, GetY());
    +
    48  }
    +
    49 
    +
    50  static inline void SetY(int y) {
    +
    51  ::SetMousePosition(GetX(), y);
    +
    52  }
    +
    53 
    +
    54  static inline Vector2 GetPosition() {
    +
    55  return ::GetMousePosition();
    +
    56  }
    +
    57 
    +
    58  static inline void SetPosition(int x, int y) {
    +
    59  ::SetMousePosition(x, y);
    +
    60  }
    +
    61 
    +
    62  static inline void SetPosition(::Vector2 position) {
    +
    63  ::SetMousePosition(static_cast<int>(position.x), static_cast<int>(position.y));
    +
    64  }
    +
    65 
    +
    66  static inline void SetOffset(int offsetX = 0, int offsetY = 0) {
    +
    67  ::SetMouseOffset(offsetX, offsetY);
    +
    68  }
    +
    69 
    +
    70  static inline void SetOffset(::Vector2 offset) {
    +
    71  ::SetMouseOffset(static_cast<int>(offset.x), static_cast<int>(offset.y));
    +
    72  }
    +
    73 
    +
    74  static inline void SetScale(float scaleX = 1.0f, float scaleY = 1.0f) {
    +
    75  ::SetMouseScale(scaleX, scaleY);
    +
    76  }
    +
    77 
    +
    78  static inline void SetScale(::Vector2 scale) {
    +
    79  ::SetMouseScale(scale.x, scale.y);
    +
    80  }
    +
    81 
    +
    82  static inline float GetWheelMove() {
    +
    83  return ::GetMouseWheelMove();
    +
    84  }
    +
    85 
    +
    91  static inline void SetCursor(int cursor = MOUSE_CURSOR_DEFAULT) {
    +
    92  ::SetMouseCursor(cursor);
    +
    93  }
    +
    94 
    +
    98  static inline int GetTouchX() {
    +
    99  return ::GetTouchX();
    +
    100  }
    +
    101 
    +
    105  static inline int GetTouchY() {
    +
    106  return ::GetTouchY();
    +
    107  }
    +
    108 
    +
    112  static inline Vector2 GetTouchPosition(int index) {
    +
    113  return ::GetTouchPosition(index);
    +
    114  }
    +
    115 };
    +
    116 } // namespace raylib
    +
    117 
    +
    118 #endif // RAYLIB_CPP_INCLUDE_MOUSE_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    Input-related functions: mouse.
    Definition: Mouse.hpp:11
    -
    static int GetX()
    Definition: Mouse.hpp:38
    -
    static void SetScale(float scaleX=1.0f, float scaleY=1.0f)
    Definition: Mouse.hpp:74
    -
    static int GetY()
    Definition: Mouse.hpp:42
    -
    static int GetTouchX()
    Get touch position X for touch point 0 (relative to screen size)
    Definition: Mouse.hpp:98
    static bool IsButtonDown(int button)
    Detect if a mouse button is being pressed.
    Definition: Mouse.hpp:23
    -
    static void SetX(int x)
    Definition: Mouse.hpp:46
    -
    static void SetScale(::Vector2 scale)
    Definition: Mouse.hpp:78
    -
    static int GetTouchY()
    Get touch position Y for touch point 0 (relative to screen size)
    Definition: Mouse.hpp:105
    -
    static void SetOffset(::Vector2 offset)
    Definition: Mouse.hpp:70
    -
    static void SetY(int y)
    Definition: Mouse.hpp:50
    -
    static void SetOffset(int offsetX=0, int offsetY=0)
    Definition: Mouse.hpp:66
    -
    static bool IsButtonUp(int button)
    Definition: Mouse.hpp:34
    +
    static bool IsButtonPressed(int button)
    Detect if a mouse button has been pressed once.
    Definition: Mouse.hpp:16
    static Vector2 GetTouchPosition(int index)
    Get touch position XY for a touch point index (relative to screen size)
    Definition: Mouse.hpp:112
    static void SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)
    Sets the current mouse cursor icon.
    Definition: Mouse.hpp:91
    -
    static bool IsButtonReleased(int button)
    Detect if a mouse button has been released once.
    Definition: Mouse.hpp:30
    -
    static void SetPosition(::Vector2 position)
    Definition: Mouse.hpp:62
    -
    static bool IsButtonPressed(int button)
    Detect if a mouse button has been pressed once.
    Definition: Mouse.hpp:16
    -
    static Vector2 GetPosition()
    Definition: Mouse.hpp:54
    -
    static void SetPosition(int x, int y)
    Definition: Mouse.hpp:58
    -
    static float GetWheelMove()
    Definition: Mouse.hpp:82
    +
    static int GetTouchX()
    Get touch position X for touch point 0 (relative to screen size)
    Definition: Mouse.hpp:98
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    static int GetTouchY()
    Get touch position Y for touch point 0 (relative to screen size)
    Definition: Mouse.hpp:105
    +
    static bool IsButtonReleased(int button)
    Detect if a mouse button has been released once.
    Definition: Mouse.hpp:30
    - + diff --git a/docs/_music_8hpp_source.html b/docs/_music_8hpp_source.html index 4f72db2d..333c6fd7 100644 --- a/docs/_music_8hpp_source.html +++ b/docs/_music_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Music.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Music.hpp
    +
    +
    Music.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_MUSIC_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_MUSIC_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "./RaylibException.hpp"
    -
    9
    -
    10namespace raylib {
    -
    14class Music : public ::Music {
    -
    15 public:
    - -
    20 ctxType = 0;
    -
    21 ctxData = nullptr;
    -
    22 looping = false;
    -
    23 frameCount = 0;
    -
    24 stream.buffer = nullptr;
    -
    25 }
    -
    26
    -
    27 Music(const ::Music& music) {
    -
    28 set(music);
    -
    29 }
    -
    30
    -
    36 Music(const std::string& fileName) {
    -
    37 if (!Load(fileName)) {
    -
    38 throw RaylibException(TextFormat("Failed to load Music from file: %s", fileName.c_str()));
    -
    39 }
    -
    40 }
    -
    41
    -
    47 Music(const std::string& fileType, unsigned char* data, int dataSize) {
    -
    48 if (!Load(fileType, data, dataSize)) {
    -
    49 throw RaylibException(TextFormat("Failed to load Music from %s file", fileType.c_str()));
    -
    50 }
    -
    51 }
    -
    52
    -
    53 Music(const Music&) = delete;
    -
    54
    -
    55 Music(Music&& other) {
    -
    56 set(other);
    -
    57
    -
    58 other.ctxType = 0;
    -
    59 other.ctxData = nullptr;
    -
    60 other.looping = false;
    -
    61 other.frameCount = 0;
    -
    62 other.stream = {};
    -
    63 }
    -
    64
    - -
    69 Unload();
    -
    70 }
    -
    71
    -
    72 GETTERSETTER(::AudioStream, Stream, stream)
    -
    73 GETTERSETTER(unsigned int, FrameCount, frameCount)
    -
    74 GETTERSETTER(bool, Looping, looping)
    -
    75 GETTERSETTER(int, CtxType, ctxType)
    -
    76 GETTERSETTER(void*, CtxData, ctxData)
    -
    77
    -
    78 Music& operator=(const ::Music& music) {
    -
    79 set(music);
    -
    80 return *this;
    -
    81 }
    -
    82
    -
    83 Music& operator=(const Music&) = delete;
    -
    84
    -
    85 Music& operator=(Music&& other) noexcept {
    -
    86 if (this == &other) {
    -
    87 return *this;
    -
    88 }
    -
    89
    -
    90 Unload();
    -
    91 set(other);
    -
    92
    -
    93 other.ctxType = 0;
    -
    94 other.ctxData = nullptr;
    -
    95 other.looping = false;
    -
    96 other.frameCount = 0;
    -
    97 other.stream = {};
    -
    98
    -
    99 return *this;
    -
    100 }
    -
    101
    -
    105 inline void Unload() {
    -
    106 ::UnloadMusicStream(*this);
    -
    107 }
    -
    108
    -
    112 inline Music& Play() {
    -
    113 ::PlayMusicStream(*this);
    -
    114 return *this;
    -
    115 }
    -
    116
    -
    120 inline Music& Update() {
    -
    121 ::UpdateMusicStream(*this);
    -
    122 return *this;
    -
    123 }
    -
    124
    -
    128 inline Music& Stop() {
    -
    129 ::StopMusicStream(*this);
    -
    130 return *this;
    -
    131 }
    -
    132
    -
    136 inline Music& Pause() {
    -
    137 ::PauseMusicStream(*this);
    -
    138 return *this;
    -
    139 }
    -
    140
    -
    144 inline Music& Resume() {
    -
    145 ::ResumeMusicStream(*this);
    -
    146 return *this;
    -
    147 }
    -
    148
    -
    152 inline Music& Seek(float position) {
    -
    153 SeekMusicStream(*this, position);
    -
    154 return *this;
    -
    155 }
    -
    156
    -
    160 inline bool IsPlaying() const {
    -
    161 return ::IsMusicStreamPlaying(*this);
    -
    162 }
    -
    163
    -
    167 inline Music& SetVolume(float volume) {
    -
    168 ::SetMusicVolume(*this, volume);
    -
    169 return *this;
    -
    170 }
    -
    171
    -
    175 inline Music& SetPitch(float pitch) {
    -
    176 ::SetMusicPitch(*this, pitch);
    -
    177 return *this;
    -
    178 }
    -
    179
    -
    183 inline float GetTimeLength() const {
    -
    184 return ::GetMusicTimeLength(*this);
    -
    185 }
    -
    186
    -
    190 inline float GetTimePlayed() const {
    -
    191 return ::GetMusicTimePlayed(*this);
    -
    192 }
    -
    193
    -
    197 bool Load(const std::string& fileName) {
    -
    198 set(::LoadMusicStream(fileName.c_str()));
    -
    199 return IsReady();
    -
    200 }
    -
    201
    -
    205 bool Load(const std::string& fileType, unsigned char* data, int dataSize) {
    -
    206 set(::LoadMusicStreamFromMemory(fileType.c_str(), data, dataSize));
    -
    207 return IsReady();
    -
    208 }
    -
    209
    -
    215 inline bool IsReady() const {
    -
    216 return stream.buffer != nullptr;
    -
    217 }
    -
    218
    -
    219 private:
    -
    220 inline void set(const ::Music& music) {
    -
    221 ctxType = music.ctxType;
    -
    222 ctxData = music.ctxData;
    -
    223 looping = music.looping;
    -
    224 frameCount = music.frameCount;
    -
    225 stream = music.stream;
    -
    226 }
    -
    227};
    -
    228} // namespace raylib
    -
    229
    -
    230#endif // RAYLIB_CPP_INCLUDE_MUSIC_HPP_
    -
    Music stream type (audio file streaming from memory)
    Definition: Music.hpp:14
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_MUSIC_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_MUSIC_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "./RaylibException.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    14 class Music : public ::Music {
    +
    15  public:
    +
    19  Music() {
    +
    20  ctxType = 0;
    +
    21  ctxData = nullptr;
    +
    22  looping = false;
    +
    23  frameCount = 0;
    +
    24  stream.buffer = nullptr;
    +
    25  }
    +
    26 
    +
    27  Music(const ::Music& music) {
    +
    28  set(music);
    +
    29  }
    +
    30 
    +
    36  Music(const std::string& fileName) {
    +
    37  if (!Load(fileName)) {
    +
    38  throw RaylibException(TextFormat("Failed to load Music from file: %s", fileName.c_str()));
    +
    39  }
    +
    40  }
    +
    41 
    +
    47  Music(const std::string& fileType, unsigned char* data, int dataSize) {
    +
    48  if (!Load(fileType, data, dataSize)) {
    +
    49  throw RaylibException(TextFormat("Failed to load Music from %s file", fileType.c_str()));
    +
    50  }
    +
    51  }
    +
    52 
    +
    53  Music(const Music&) = delete;
    +
    54 
    +
    55  Music(Music&& other) {
    +
    56  set(other);
    +
    57 
    +
    58  other.ctxType = 0;
    +
    59  other.ctxData = nullptr;
    +
    60  other.looping = false;
    +
    61  other.frameCount = 0;
    +
    62  other.stream = {};
    +
    63  }
    +
    64 
    +
    68  ~Music() {
    +
    69  Unload();
    +
    70  }
    +
    71 
    +
    72  GETTERSETTER(::AudioStream, Stream, stream)
    +
    73  GETTERSETTER(unsigned int, FrameCount, frameCount)
    +
    74  GETTERSETTER(bool, Looping, looping)
    +
    75  GETTERSETTER(int, CtxType, ctxType)
    +
    76  GETTERSETTER(void*, CtxData, ctxData)
    +
    77 
    +
    78  Music& operator=(const ::Music& music) {
    +
    79  set(music);
    +
    80  return *this;
    +
    81  }
    +
    82 
    +
    83  Music& operator=(const Music&) = delete;
    +
    84 
    +
    85  Music& operator=(Music&& other) noexcept {
    +
    86  if (this == &other) {
    +
    87  return *this;
    +
    88  }
    +
    89 
    +
    90  Unload();
    +
    91  set(other);
    +
    92 
    +
    93  other.ctxType = 0;
    +
    94  other.ctxData = nullptr;
    +
    95  other.looping = false;
    +
    96  other.frameCount = 0;
    +
    97  other.stream = {};
    +
    98 
    +
    99  return *this;
    +
    100  }
    +
    101 
    +
    105  inline void Unload() {
    +
    106  ::UnloadMusicStream(*this);
    +
    107  }
    +
    108 
    +
    112  inline Music& Play() {
    +
    113  ::PlayMusicStream(*this);
    +
    114  return *this;
    +
    115  }
    +
    116 
    +
    120  inline Music& Update() {
    +
    121  ::UpdateMusicStream(*this);
    +
    122  return *this;
    +
    123  }
    +
    124 
    +
    128  inline Music& Stop() {
    +
    129  ::StopMusicStream(*this);
    +
    130  return *this;
    +
    131  }
    +
    132 
    +
    136  inline Music& Pause() {
    +
    137  ::PauseMusicStream(*this);
    +
    138  return *this;
    +
    139  }
    +
    140 
    +
    144  inline Music& Resume() {
    +
    145  ::ResumeMusicStream(*this);
    +
    146  return *this;
    +
    147  }
    +
    148 
    +
    152  inline Music& Seek(float position) {
    +
    153  SeekMusicStream(*this, position);
    +
    154  return *this;
    +
    155  }
    +
    156 
    +
    160  inline bool IsPlaying() const {
    +
    161  return ::IsMusicStreamPlaying(*this);
    +
    162  }
    +
    163 
    +
    167  inline Music& SetVolume(float volume) {
    +
    168  ::SetMusicVolume(*this, volume);
    +
    169  return *this;
    +
    170  }
    +
    171 
    +
    175  inline Music& SetPitch(float pitch) {
    +
    176  ::SetMusicPitch(*this, pitch);
    +
    177  return *this;
    +
    178  }
    +
    179 
    +
    183  inline float GetTimeLength() const {
    +
    184  return ::GetMusicTimeLength(*this);
    +
    185  }
    +
    186 
    +
    190  inline float GetTimePlayed() const {
    +
    191  return ::GetMusicTimePlayed(*this);
    +
    192  }
    +
    193 
    +
    197  bool Load(const std::string& fileName) {
    +
    198  set(::LoadMusicStream(fileName.c_str()));
    +
    199  return IsReady();
    +
    200  }
    +
    201 
    +
    205  bool Load(const std::string& fileType, unsigned char* data, int dataSize) {
    +
    206  set(::LoadMusicStreamFromMemory(fileType.c_str(), data, dataSize));
    +
    207  return IsReady();
    +
    208  }
    +
    209 
    +
    215  inline bool IsReady() const {
    +
    216  return stream.buffer != nullptr;
    +
    217  }
    +
    218 
    +
    219  private:
    +
    220  inline void set(const ::Music& music) {
    +
    221  ctxType = music.ctxType;
    +
    222  ctxData = music.ctxData;
    +
    223  looping = music.looping;
    +
    224  frameCount = music.frameCount;
    +
    225  stream = music.stream;
    +
    226  }
    +
    227 };
    +
    228 } // namespace raylib
    +
    229 
    +
    230 #endif // RAYLIB_CPP_INCLUDE_MUSIC_HPP_
    +
    +
    Music(const std::string &fileType, unsigned char *data, int dataSize)
    Load music stream from memory.
    Definition: Music.hpp:47
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Music & SetPitch(float pitch)
    Set pitch for music.
    Definition: Music.hpp:175
    +
    Music & Stop()
    Stop music playing.
    Definition: Music.hpp:128
    +
    Music & SetVolume(float volume)
    Set volume for music.
    Definition: Music.hpp:167
    +
    Music & Resume()
    Resume music playing.
    Definition: Music.hpp:144
    +
    Music & Play()
    Start music playing.
    Definition: Music.hpp:112
    +
    Music & Pause()
    Pause music playing.
    Definition: Music.hpp:136
    bool IsPlaying() const
    Check if music is playing.
    Definition: Music.hpp:160
    -
    bool Load(const std::string &fileType, unsigned char *data, int dataSize)
    Load music stream from memory.
    Definition: Music.hpp:205
    -
    Music & Seek(float position)
    Seek music to a position (in seconds)
    Definition: Music.hpp:152
    -
    Music(const ::Music &music)
    Definition: Music.hpp:27
    -
    Music & SetVolume(float volume)
    Set volume for music.
    Definition: Music.hpp:167
    -
    Music(const std::string &fileName)
    Load music stream from file.
    Definition: Music.hpp:36
    bool IsReady() const
    Retrieve whether or not the Music has been loaded.
    Definition: Music.hpp:215
    -
    Music & operator=(const Music &)=delete
    -
    float GetTimePlayed() const
    Get current music time played (in seconds)
    Definition: Music.hpp:190
    -
    Music & Stop()
    Stop music playing.
    Definition: Music.hpp:128
    -
    Music & Play()
    Start music playing.
    Definition: Music.hpp:112
    ~Music()
    Unload music stream.
    Definition: Music.hpp:68
    -
    Music(const std::string &fileType, unsigned char *data, int dataSize)
    Load music stream from memory.
    Definition: Music.hpp:47
    -
    Music & operator=(Music &&other) noexcept
    Definition: Music.hpp:85
    -
    Music(Music &&other)
    Definition: Music.hpp:55
    -
    Music & Resume()
    Resume music playing.
    Definition: Music.hpp:144
    -
    Music & SetPitch(float pitch)
    Set pitch for music.
    Definition: Music.hpp:175
    -
    bool Load(const std::string &fileName)
    Load music stream from file.
    Definition: Music.hpp:197
    -
    float GetTimeLength() const
    Get music time length (in seconds)
    Definition: Music.hpp:183
    -
    Music & Pause()
    Pause music playing.
    Definition: Music.hpp:136
    -
    Music & Update()
    Updates buffers for music streaming.
    Definition: Music.hpp:120
    -
    Music(const Music &)=delete
    +
    Music(const std::string &fileName)
    Load music stream from file.
    Definition: Music.hpp:36
    void Unload()
    Unload music stream.
    Definition: Music.hpp:105
    +
    bool Load(const std::string &fileType, unsigned char *data, int dataSize)
    Load music stream from memory.
    Definition: Music.hpp:205
    Music()
    Default Music constructor to build an empty Music object.
    Definition: Music.hpp:19
    +
    Music stream type (audio file streaming from memory)
    Definition: Music.hpp:14
    +
    bool Load(const std::string &fileName)
    Load music stream from file.
    Definition: Music.hpp:197
    +
    Music & Seek(float position)
    Seek music to a position (in seconds)
    Definition: Music.hpp:152
    +
    AudioStream management functions.
    Definition: AudioStream.hpp:12
    Exception used for most raylib-related exceptions.
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    Music & Update()
    Updates buffers for music streaming.
    Definition: Music.hpp:120
    +
    float GetTimeLength() const
    Get music time length (in seconds)
    Definition: Music.hpp:183
    +
    float GetTimePlayed() const
    Get current music time played (in seconds)
    Definition: Music.hpp:190
    - + diff --git a/docs/_physics_8hpp_source.html b/docs/_physics_8hpp_source.html index 1483b557..8632486b 100644 --- a/docs/_physics_8hpp_source.html +++ b/docs/_physics_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Physics.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Physics.hpp
    +
    +
    Physics.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./physac.hpp"
    -
    6#include "./Vector2.hpp"
    -
    7
    -
    8namespace raylib {
    -
    12class Physics {
    -
    13 public:
    - -
    15 Init();
    -
    16 }
    -
    17
    -
    18 Physics(float gravityY) {
    -
    19 Init();
    -
    20 SetGravity(0, gravityY);
    -
    21 }
    -
    22
    -
    23 Physics(float gravityX, float gravityY) {
    -
    24 Init();
    -
    25 SetGravity(gravityX, gravityY);
    -
    26 }
    -
    27
    - -
    29 Close();
    -
    30 }
    -
    31
    -
    32 inline Physics& Init() {
    -
    33 ::InitPhysics();
    -
    34 return *this;
    -
    35 }
    -
    36
    -
    37 inline Physics& Update() {
    -
    38 ::UpdatePhysics();
    -
    39 return *this;
    -
    40 }
    -
    41
    -
    42 inline Physics& Reset() {
    -
    43 ::ResetPhysics();
    -
    44 return *this;
    -
    45 }
    -
    46
    -
    47 inline Physics& Close() {
    -
    48 ::ClosePhysics();
    -
    49 return *this;
    -
    50 }
    -
    51
    -
    52 inline Physics& SetTimeStep(double delta) {
    -
    53 ::SetPhysicsTimeStep(delta);
    -
    54 return *this;
    -
    55 }
    -
    56
    -
    57 inline Physics& SetGravity(float x, float y) {
    -
    58 ::SetPhysicsGravity(x, y);
    -
    59 return *this;
    -
    60 }
    -
    61
    -
    62 inline PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density) {
    -
    63 return ::CreatePhysicsBodyCircle(pos, radius, density);
    -
    64 }
    -
    65
    -
    66 inline PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density) {
    -
    67 return ::CreatePhysicsBodyRectangle(pos, width, height, density);
    -
    68 }
    -
    69
    -
    70 inline PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density) {
    -
    71 return ::CreatePhysicsBodyPolygon(pos, radius, sides, density);
    -
    72 }
    -
    73
    -
    74 inline Physics& DestroyBody(PhysicsBody body) {
    -
    75 ::DestroyPhysicsBody(body);
    -
    76 return *this;
    -
    77 }
    -
    78
    -
    79 inline Physics& AddForce(PhysicsBody body, Vector2 force) {
    -
    80 ::PhysicsAddForce(body, force);
    -
    81 return *this;
    -
    82 }
    -
    83
    -
    84 inline Physics& AddTorque(PhysicsBody body, float amount) {
    -
    85 ::PhysicsAddTorque(body, amount);
    -
    86 return *this;
    -
    87 }
    -
    88
    -
    89 inline Physics& Shatter(PhysicsBody body, Vector2 position, float force) {
    -
    90 ::PhysicsShatter(body, position, force);
    -
    91 return *this;
    -
    92 }
    -
    93
    -
    94 inline Physics& SetBodyRotation(PhysicsBody body, float radians) {
    -
    95 ::SetPhysicsBodyRotation(body, radians);
    -
    96 return *this;
    -
    97 }
    -
    98
    -
    99 inline int GetBodiesCount() const {
    -
    100 return ::GetPhysicsBodiesCount();
    -
    101 }
    -
    102
    -
    103 inline PhysicsBody GetBody(int index) const {
    -
    104 return ::GetPhysicsBody(index);
    -
    105 }
    -
    106
    -
    107 inline int GetShapeType(int index) const {
    -
    108 return ::GetPhysicsShapeType(index);
    -
    109 }
    -
    110
    -
    111 inline int GetShapeVerticesCount(int index) const {
    -
    112 return ::GetPhysicsShapeVerticesCount(index);
    -
    113 }
    -
    114
    -
    115 inline Vector2 GetShapeVertex(PhysicsBody body, int vertex) const {
    -
    116 return ::GetPhysicsShapeVertex(body, vertex);
    -
    117 }
    -
    118};
    -
    119} // namespace raylib
    -
    120
    -
    121#endif // RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./physac.hpp"
    +
    6 #include "./Vector2.hpp"
    +
    7 
    +
    8 namespace raylib {
    +
    12 class Physics {
    +
    13  public:
    +
    14  Physics() {
    +
    15  Init();
    +
    16  }
    +
    17 
    +
    18  Physics(float gravityY) {
    +
    19  Init();
    +
    20  SetGravity(0, gravityY);
    +
    21  }
    +
    22 
    +
    23  Physics(float gravityX, float gravityY) {
    +
    24  Init();
    +
    25  SetGravity(gravityX, gravityY);
    +
    26  }
    +
    27 
    +
    28  ~Physics() {
    +
    29  Close();
    +
    30  }
    +
    31 
    +
    32  inline Physics& Init() {
    +
    33  ::InitPhysics();
    +
    34  return *this;
    +
    35  }
    +
    36 
    +
    37  inline Physics& Update() {
    +
    38  ::UpdatePhysics();
    +
    39  return *this;
    +
    40  }
    +
    41 
    +
    42  inline Physics& Reset() {
    +
    43  ::ResetPhysics();
    +
    44  return *this;
    +
    45  }
    +
    46 
    +
    47  inline Physics& Close() {
    +
    48  ::ClosePhysics();
    +
    49  return *this;
    +
    50  }
    +
    51 
    +
    52  inline Physics& SetTimeStep(double delta) {
    +
    53  ::SetPhysicsTimeStep(delta);
    +
    54  return *this;
    +
    55  }
    +
    56 
    +
    57  inline Physics& SetGravity(float x, float y) {
    +
    58  ::SetPhysicsGravity(x, y);
    +
    59  return *this;
    +
    60  }
    +
    61 
    +
    62  inline PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density) {
    +
    63  return ::CreatePhysicsBodyCircle(pos, radius, density);
    +
    64  }
    +
    65 
    +
    66  inline PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density) {
    +
    67  return ::CreatePhysicsBodyRectangle(pos, width, height, density);
    +
    68  }
    +
    69 
    +
    70  inline PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density) {
    +
    71  return ::CreatePhysicsBodyPolygon(pos, radius, sides, density);
    +
    72  }
    +
    73 
    +
    74  inline Physics& DestroyBody(PhysicsBody body) {
    +
    75  ::DestroyPhysicsBody(body);
    +
    76  return *this;
    +
    77  }
    +
    78 
    +
    79  inline Physics& AddForce(PhysicsBody body, Vector2 force) {
    +
    80  ::PhysicsAddForce(body, force);
    +
    81  return *this;
    +
    82  }
    +
    83 
    +
    84  inline Physics& AddTorque(PhysicsBody body, float amount) {
    +
    85  ::PhysicsAddTorque(body, amount);
    +
    86  return *this;
    +
    87  }
    +
    88 
    +
    89  inline Physics& Shatter(PhysicsBody body, Vector2 position, float force) {
    +
    90  ::PhysicsShatter(body, position, force);
    +
    91  return *this;
    +
    92  }
    +
    93 
    +
    94  inline Physics& SetBodyRotation(PhysicsBody body, float radians) {
    +
    95  ::SetPhysicsBodyRotation(body, radians);
    +
    96  return *this;
    +
    97  }
    +
    98 
    +
    99  inline int GetBodiesCount() const {
    +
    100  return ::GetPhysicsBodiesCount();
    +
    101  }
    +
    102 
    +
    103  inline PhysicsBody GetBody(int index) const {
    +
    104  return ::GetPhysicsBody(index);
    +
    105  }
    +
    106 
    +
    107  inline int GetShapeType(int index) const {
    +
    108  return ::GetPhysicsShapeType(index);
    +
    109  }
    +
    110 
    +
    111  inline int GetShapeVerticesCount(int index) const {
    +
    112  return ::GetPhysicsShapeVerticesCount(index);
    +
    113  }
    +
    114 
    +
    115  inline Vector2 GetShapeVertex(PhysicsBody body, int vertex) const {
    +
    116  return ::GetPhysicsShapeVertex(body, vertex);
    +
    117  }
    +
    118 };
    +
    119 } // namespace raylib
    +
    120 
    +
    121 #endif // RAYLIB_CPP_INCLUDE_PHYSICS_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    2D Physics library for videogames
    Definition: Physics.hpp:12
    -
    Physics & Close()
    Definition: Physics.hpp:47
    - -
    Physics & SetBodyRotation(PhysicsBody body, float radians)
    Definition: Physics.hpp:94
    -
    PhysicsBody CreateBodyCircle(Vector2 pos, float radius, float density)
    Definition: Physics.hpp:62
    -
    Physics & Init()
    Definition: Physics.hpp:32
    -
    Physics & Update()
    Definition: Physics.hpp:37
    -
    Physics & AddTorque(PhysicsBody body, float amount)
    Definition: Physics.hpp:84
    -
    Physics & DestroyBody(PhysicsBody body)
    Definition: Physics.hpp:74
    -
    Vector2 GetShapeVertex(PhysicsBody body, int vertex) const
    Definition: Physics.hpp:115
    -
    Physics(float gravityY)
    Definition: Physics.hpp:18
    -
    Physics & Shatter(PhysicsBody body, Vector2 position, float force)
    Definition: Physics.hpp:89
    -
    PhysicsBody CreateBodyPolygon(Vector2 pos, float radius, int sides, float density)
    Definition: Physics.hpp:70
    -
    int GetShapeVerticesCount(int index) const
    Definition: Physics.hpp:111
    -
    int GetShapeType(int index) const
    Definition: Physics.hpp:107
    -
    Physics & SetGravity(float x, float y)
    Definition: Physics.hpp:57
    - -
    Physics(float gravityX, float gravityY)
    Definition: Physics.hpp:23
    -
    PhysicsBody GetBody(int index) const
    Definition: Physics.hpp:103
    -
    PhysicsBody CreateBodyRectangle(Vector2 pos, float width, float height, float density)
    Definition: Physics.hpp:66
    -
    Physics & SetTimeStep(double delta)
    Definition: Physics.hpp:52
    -
    Physics & Reset()
    Definition: Physics.hpp:42
    -
    Physics & AddForce(PhysicsBody body, Vector2 force)
    Definition: Physics.hpp:79
    -
    int GetBodiesCount() const
    Definition: Physics.hpp:99
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - - + diff --git a/docs/_ray_8hpp_source.html b/docs/_ray_8hpp_source.html index 032240f8..a44b7705 100644 --- a/docs/_ray_8hpp_source.html +++ b/docs/_ray_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Ray.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Ray.hpp
    +
    +
    Ray.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_RAY_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_RAY_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6#include "./RayCollision.hpp"
    -
    7
    -
    8namespace raylib {
    -
    12class Ray : public ::Ray {
    -
    13 public:
    -
    14 Ray(const ::Ray& ray) {
    -
    15 set(ray);
    -
    16 }
    -
    17
    -
    18 Ray(::Vector3 position, ::Vector3 direction = {0.0f, 0.0f, 0.0f}) : ::Ray{position, direction} {
    -
    19 // Nothing.
    -
    20 }
    -
    21
    -
    22 Ray(::Vector2 mousePosition, ::Camera camera) {
    -
    23 set(::GetMouseRay(mousePosition, camera));
    -
    24 }
    -
    25
    -
    26 Ray& operator=(const ::Ray& ray) {
    -
    27 set(ray);
    -
    28 return *this;
    -
    29 }
    -
    30
    -
    31 GETTERSETTER(::Vector3, Position, position)
    -
    32 GETTERSETTER(::Vector3, Direction, direction)
    -
    33
    -
    37 inline Ray& Draw(::Color color) {
    -
    38 DrawRay(*this, color);
    -
    39 return *this;
    -
    40 }
    -
    41
    -
    45 inline bool CheckCollisionSphere(::Vector3 center, float radius) const {
    -
    46 return GetRayCollisionSphere(*this, center, radius).hit;
    -
    47 }
    -
    48
    -
    52 inline RayCollision GetCollision(::Vector3 center, float radius) const {
    -
    53 return GetRayCollisionSphere(*this, center, radius);
    -
    54 }
    -
    55
    -
    59 inline bool CheckCollision(const ::BoundingBox& box) const {
    -
    60 return GetRayCollisionBox(*this, box).hit;
    -
    61 }
    -
    62
    -
    66 inline RayCollision GetCollision(const ::Model& model) const {
    -
    67 return GetRayCollisionModel(*this, model);
    -
    68 }
    -
    69
    -
    73 inline RayCollision GetCollision(const ::Mesh& mesh, const ::Matrix& transform) const {
    -
    74 return GetRayCollisionMesh(*this, mesh, transform);
    -
    75 }
    -
    76
    -
    80 inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const {
    -
    81 return GetRayCollisionTriangle(*this, p1, p2, p3);
    -
    82 }
    -
    83
    -
    87 inline RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const {
    -
    88 return GetRayCollisionQuad(*this, p1, p2, p3, p4);
    -
    89 }
    -
    90
    -
    91 private:
    -
    92 inline void set(const ::Ray& ray) {
    -
    93 position = ray.position;
    -
    94 direction = ray.direction;
    -
    95 }
    -
    96};
    -
    97} // namespace raylib
    -
    98
    -
    99#endif // RAYLIB_CPP_INCLUDE_RAY_HPP_
    -
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    -
    Raycast hit information.
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_RAY_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_RAY_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 #include "./RayCollision.hpp"
    +
    7 
    +
    8 namespace raylib {
    +
    12 class Ray : public ::Ray {
    +
    13  public:
    +
    14  Ray(const ::Ray& ray) {
    +
    15  set(ray);
    +
    16  }
    +
    17 
    +
    18  Ray(::Vector3 position, ::Vector3 direction = {0.0f, 0.0f, 0.0f}) : ::Ray{position, direction} {
    +
    19  // Nothing.
    +
    20  }
    +
    21 
    +
    22  Ray(::Vector2 mousePosition, ::Camera camera) {
    +
    23  set(::GetMouseRay(mousePosition, camera));
    +
    24  }
    +
    25 
    +
    26  Ray& operator=(const ::Ray& ray) {
    +
    27  set(ray);
    +
    28  return *this;
    +
    29  }
    +
    30 
    +
    31  GETTERSETTER(::Vector3, Position, position)
    +
    32  GETTERSETTER(::Vector3, Direction, direction)
    +
    33 
    +
    37  inline Ray& Draw(::Color color) {
    +
    38  DrawRay(*this, color);
    +
    39  return *this;
    +
    40  }
    +
    41 
    +
    45  inline bool CheckCollisionSphere(::Vector3 center, float radius) const {
    +
    46  return GetRayCollisionSphere(*this, center, radius).hit;
    +
    47  }
    +
    48 
    +
    52  inline RayCollision GetCollision(::Vector3 center, float radius) const {
    +
    53  return GetRayCollisionSphere(*this, center, radius);
    +
    54  }
    +
    55 
    +
    59  inline bool CheckCollision(const ::BoundingBox& box) const {
    +
    60  return GetRayCollisionBox(*this, box).hit;
    +
    61  }
    +
    62 
    +
    66  inline RayCollision GetCollision(const ::Model& model) const {
    +
    67  return GetRayCollisionModel(*this, model);
    +
    68  }
    +
    69 
    +
    73  inline RayCollision GetCollision(const ::Mesh& mesh, const ::Matrix& transform) const {
    +
    74  return GetRayCollisionMesh(*this, mesh, transform);
    +
    75  }
    +
    76 
    +
    80  inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const {
    +
    81  return GetRayCollisionTriangle(*this, p1, p2, p3);
    +
    82  }
    +
    83 
    +
    87  inline RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const {
    +
    88  return GetRayCollisionQuad(*this, p1, p2, p3, p4);
    +
    89  }
    +
    90 
    +
    91  private:
    +
    92  inline void set(const ::Ray& ray) {
    +
    93  position = ray.position;
    +
    94  direction = ray.direction;
    +
    95  }
    +
    96 };
    +
    97 } // namespace raylib
    +
    98 
    +
    99 #endif // RAYLIB_CPP_INCLUDE_RAY_HPP_
    +
    +
    Ray & Draw(::Color color)
    Draw a ray line.
    Definition: Ray.hpp:37
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    bool CheckCollision(const ::BoundingBox &box) const
    Detect collision between ray and box.
    Definition: Ray.hpp:59
    Ray type (useful for raycast)
    Definition: Ray.hpp:12
    -
    RayCollision GetCollision(const ::Model &model) const
    Get collision info between ray and model.
    Definition: Ray.hpp:66
    bool CheckCollisionSphere(::Vector3 center, float radius) const
    Detect collision between ray and sphere.
    Definition: Ray.hpp:45
    -
    Ray & Draw(::Color color)
    Draw a ray line.
    Definition: Ray.hpp:37
    -
    Ray(const ::Ray &ray)
    Definition: Ray.hpp:14
    -
    RayCollision GetCollision(::Vector3 center, float radius) const
    Get collision information between ray and sphere.
    Definition: Ray.hpp:52
    +
    RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
    Get collision info between ray and quad.
    Definition: Ray.hpp:87
    +
    Raycast hit information.
    RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
    Get collision info between ray and triangle.
    Definition: Ray.hpp:80
    -
    Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})
    Definition: Ray.hpp:18
    RayCollision GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const
    Get collision information between ray and mesh.
    Definition: Ray.hpp:73
    -
    Ray & operator=(const ::Ray &ray)
    Definition: Ray.hpp:26
    -
    Ray(::Vector2 mousePosition, ::Camera camera)
    Definition: Ray.hpp:22
    -
    bool CheckCollision(const ::BoundingBox &box) const
    Detect collision between ray and box.
    Definition: Ray.hpp:59
    -
    RayCollision GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
    Get collision info between ray and quad.
    Definition: Ray.hpp:87
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    Camera3D Camera
    Definition: Camera3D.hpp:161
    -
    - +
    RayCollision GetCollision(::Vector3 center, float radius) const
    Get collision information between ray and sphere.
    Definition: Ray.hpp:52
    +
    Camera type, defines a camera position/orientation in 3d space.
    Definition: Camera3D.hpp:12
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    RayCollision GetCollision(const ::Model &model) const
    Get collision info between ray and model.
    Definition: Ray.hpp:66
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    - + diff --git a/docs/_ray_collision_8hpp_source.html b/docs/_ray_collision_8hpp_source.html index a64f2809..afcea971 100644 --- a/docs/_ray_collision_8hpp_source.html +++ b/docs/_ray_collision_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: RayCollision.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    RayCollision.hpp
    +
    +
    RayCollision.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6
    -
    7namespace raylib {
    -
    11class RayCollision : public ::RayCollision {
    -
    12 public:
    -
    13 RayCollision(const ::RayCollision& ray) {
    -
    14 set(ray);
    -
    15 }
    -
    16
    -
    17 RayCollision(bool hit, float distance,
    -
    18 ::Vector3 point, ::Vector3 normal) : ::RayCollision{hit, distance, point, normal} {
    -
    19 // Nothing.
    -
    20 }
    -
    21
    -
    25 RayCollision(const ::Ray& ray, const ::Mesh& mesh, const ::Matrix& transform) {
    -
    26 set(::GetRayCollisionMesh(ray, mesh, transform));
    -
    27 }
    -
    28
    -
    32 RayCollision(const ::Ray& ray, const ::Model& model) {
    -
    33 set(::GetRayCollisionModel(ray, model));
    -
    34 }
    -
    35
    -
    39 RayCollision(const ::Ray& ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) {
    -
    40 set(::GetRayCollisionTriangle(ray, p1, p2, p3));
    -
    41 }
    -
    42
    -
    43 RayCollision& operator=(const ::RayCollision& ray) {
    -
    44 set(ray);
    -
    45 return *this;
    -
    46 }
    -
    47
    -
    48 GETTERSETTER(bool, Hit, hit)
    -
    49 GETTERSETTER(float, Distance, distance)
    -
    50 GETTERSETTER(::Vector3, Position, point)
    -
    51 GETTERSETTER(::Vector3, Normal, normal)
    -
    52
    -
    53 private:
    -
    54 inline void set(const ::RayCollision& ray) {
    -
    55 hit = ray.hit;
    -
    56 distance = ray.distance;
    -
    57 point = ray.point;
    -
    58 normal = ray.normal;
    -
    59 }
    -
    60};
    -
    61} // namespace raylib
    -
    62
    -
    63#endif // RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 
    +
    7 namespace raylib {
    +
    11 class RayCollision : public ::RayCollision {
    +
    12  public:
    +
    13  RayCollision(const ::RayCollision& ray) {
    +
    14  set(ray);
    +
    15  }
    +
    16 
    +
    17  RayCollision(bool hit, float distance,
    +
    18  ::Vector3 point, ::Vector3 normal) : ::RayCollision{hit, distance, point, normal} {
    +
    19  // Nothing.
    +
    20  }
    +
    21 
    +
    25  RayCollision(const ::Ray& ray, const ::Mesh& mesh, const ::Matrix& transform) {
    +
    26  set(::GetRayCollisionMesh(ray, mesh, transform));
    +
    27  }
    +
    28 
    +
    32  RayCollision(const ::Ray& ray, const ::Model& model) {
    +
    33  set(::GetRayCollisionModel(ray, model));
    +
    34  }
    +
    35 
    +
    39  RayCollision(const ::Ray& ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) {
    +
    40  set(::GetRayCollisionTriangle(ray, p1, p2, p3));
    +
    41  }
    +
    42 
    +
    43  RayCollision& operator=(const ::RayCollision& ray) {
    +
    44  set(ray);
    +
    45  return *this;
    +
    46  }
    +
    47 
    +
    48  GETTERSETTER(bool, Hit, hit)
    +
    49  GETTERSETTER(float, Distance, distance)
    +
    50  GETTERSETTER(::Vector3, Position, point)
    +
    51  GETTERSETTER(::Vector3, Normal, normal)
    +
    52 
    +
    53  private:
    +
    54  inline void set(const ::RayCollision& ray) {
    +
    55  hit = ray.hit;
    +
    56  distance = ray.distance;
    +
    57  point = ray.point;
    +
    58  normal = ray.normal;
    +
    59  }
    +
    60 };
    +
    61 } // namespace raylib
    +
    62 
    +
    63 #endif // RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    Raycast hit information.
    -
    RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
    Get collision info between ray and mesh.
    +
    Vector3 type.
    Definition: Vector3.hpp:16
    RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
    Get collision info between ray and triangle.
    RayCollision(const ::Ray &ray, const ::Model &model)
    Get collision info between ray and model.
    -
    RayCollision(const ::RayCollision &ray)
    -
    RayCollision & operator=(const ::RayCollision &ray)
    -
    RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
    Get collision info between ray and mesh.
    - + diff --git a/docs/_raylib_exception_8hpp_source.html b/docs/_raylib_exception_8hpp_source.html index 38f4d075..f78f34d7 100644 --- a/docs/_raylib_exception_8hpp_source.html +++ b/docs/_raylib_exception_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: RaylibException.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    RaylibException.hpp
    +
    +
    RaylibException.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
    -
    3
    -
    4#include <stdexcept>
    -
    5#include <string>
    -
    6
    -
    7#include "./raylib.hpp"
    -
    8
    -
    9namespace raylib {
    -
    13class RaylibException : public std::runtime_error {
    -
    14 public:
    -
    20 RaylibException(std::string message) throw() : std::runtime_error(message) {
    -
    21 // Nothing
    -
    22 }
    -
    23
    -
    29 void TraceLog(int logLevel = LOG_ERROR) {
    -
    30 ::TraceLog(logLevel, std::runtime_error::what());
    -
    31 }
    -
    32};
    -
    33
    -
    34} // namespace raylib
    -
    35
    -
    36#endif // RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
    -
    Exception used for most raylib-related exceptions.
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
    +
    3 
    +
    4 #include <stdexcept>
    +
    5 #include <string>
    +
    6 
    +
    7 #include "./raylib.hpp"
    +
    8 
    +
    9 namespace raylib {
    +
    13 class RaylibException : public std::runtime_error {
    +
    14  public:
    +
    20  RaylibException(std::string message) throw() : std::runtime_error(message) {
    +
    21  // Nothing
    +
    22  }
    +
    23 
    +
    29  void TraceLog(int logLevel = LOG_ERROR) {
    +
    30  ::TraceLog(logLevel, std::runtime_error::what());
    +
    31  }
    +
    32 };
    +
    33 
    +
    34 } // namespace raylib
    +
    35 
    +
    36 #endif // RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    RaylibException(std::string message)
    Construct a runtime exception with the given message.
    +
    Exception used for most raylib-related exceptions.
    void TraceLog(int logLevel=LOG_ERROR)
    Outputs the exception message to TraceLog().
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - - + diff --git a/docs/_rectangle_8hpp_source.html b/docs/_rectangle_8hpp_source.html index 49018b88..e9d78de2 100644 --- a/docs/_rectangle_8hpp_source.html +++ b/docs/_rectangle_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Rectangle.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Rectangle.hpp
    +
    +
    Rectangle.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6#include "./Vector2.hpp"
    -
    7
    -
    8namespace raylib {
    -
    12class Rectangle : public ::Rectangle {
    -
    13 public:
    -
    14 Rectangle(const ::Rectangle& vec) {
    -
    15 set(vec);
    -
    16 }
    -
    17
    -
    18 Rectangle(float x, float y, float width, float height) : ::Rectangle{x, y, width, height} {}
    -
    19 Rectangle(float x, float y, float width) : ::Rectangle{x, y, width, 0} {}
    -
    20 Rectangle(float x, float y) : ::Rectangle{x, y, 0, 0} {}
    -
    21 Rectangle(float x) : ::Rectangle{x, 0, 0, 0} {}
    -
    22 Rectangle() : ::Rectangle{0, 0, 0, 0} {}
    -
    23
    -
    24 Rectangle(::Vector2 position, ::Vector2 size)
    -
    25 : ::Rectangle{position.x, position.y, size.x, size.y} {}
    -
    26 Rectangle(::Vector2 size) : ::Rectangle{0, 0, size.x, size.y} {}
    -
    27 Rectangle(::Vector4 rect) : ::Rectangle{rect.x, rect.y, rect.z, rect.w} {}
    -
    28
    -
    29 GETTERSETTER(float, X, x)
    -
    30 GETTERSETTER(float, Y, y)
    -
    31 GETTERSETTER(float, Width, width)
    -
    32 GETTERSETTER(float, Height, height)
    -
    33
    -
    34 Rectangle& operator=(const ::Rectangle& rect) {
    -
    35 set(rect);
    -
    36 return *this;
    -
    37 }
    -
    38
    -
    39 inline ::Vector4 ToVector4() {
    -
    40 return {x, y, width, height};
    -
    41 }
    -
    42
    -
    43 operator ::Vector4() const {
    -
    44 return {x, y, width, height};
    -
    45 }
    -
    46
    -
    50 inline Rectangle& Draw(::Color color) {
    -
    51 ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    -
    52 static_cast<int>(height), color);
    -
    53 return *this;
    -
    54 }
    -
    55
    -
    56 inline Rectangle& Draw(::Vector2 origin, float rotation, ::Color color) {
    -
    57 ::DrawRectanglePro(*this, origin, rotation, color);
    -
    58 return *this;
    -
    59 }
    -
    60
    -
    61 inline Rectangle& DrawGradientV(::Color color1, ::Color color2) {
    -
    62 ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    -
    63 static_cast<int>(height), color1, color2);
    -
    64 return *this;
    -
    65 }
    -
    66
    -
    67 inline Rectangle& DrawGradientH(::Color color1, ::Color color2) {
    -
    68 ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    -
    69 static_cast<int>(height), color1, color2);
    -
    70 return *this;
    -
    71 }
    -
    72
    -
    73 inline Rectangle& DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) {
    -
    74 ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
    -
    75 return *this;
    -
    76 }
    -
    77
    -
    78 inline Rectangle& DrawLines(::Color color) {
    -
    79 ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    -
    80 static_cast<int>(height), color);
    -
    81 return *this;
    -
    82 }
    -
    83
    -
    84 inline Rectangle& DrawLines(::Color color, float lineThick) {
    -
    85 ::DrawRectangleLinesEx(*this, lineThick, color);
    -
    86 return *this;
    -
    87 }
    -
    88
    -
    89 inline Rectangle& DrawRounded(float roundness, int segments, ::Color color) {
    -
    90 ::DrawRectangleRounded(*this, roundness, segments, color);
    -
    91 return *this;
    -
    92 }
    -
    93
    -
    94 inline Rectangle& DrawRoundedLines(float roundness, int segments,
    -
    95 float lineThick, ::Color color) {
    -
    96 ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
    -
    97 return *this;
    -
    98 }
    -
    99
    -
    103 inline bool CheckCollision(::Rectangle rec2) const {
    -
    104 return ::CheckCollisionRecs(*this, rec2);
    -
    105 }
    -
    106
    -
    110 inline ::Rectangle GetCollision(::Rectangle rec2) const {
    -
    111 return ::GetCollisionRec(*this, rec2);
    -
    112 }
    -
    113
    -
    117 inline bool CheckCollision(::Vector2 point) const {
    -
    118 return ::CheckCollisionPointRec(point, *this);
    -
    119 }
    -
    120
    -
    124 inline bool CheckCollision(::Vector2 center, float radius) {
    -
    125 return ::CheckCollisionCircleRec(center, radius, *this);
    -
    126 }
    -
    127
    -
    128 inline ::Vector2 GetSize() {
    -
    129 return {width, height};
    -
    130 }
    -
    131
    -
    132 inline Rectangle& SetSize(float newWidth, float newHeight) {
    -
    133 width = newWidth;
    -
    134 height = newHeight;
    -
    135 return *this;
    -
    136 }
    -
    137
    -
    138 inline Rectangle& SetSize(const ::Vector2& size) {
    -
    139 return SetSize(size.x, size.y);
    -
    140 }
    -
    141
    -
    142 inline Rectangle& SetShapesTexture(const ::Texture2D& texture) {
    -
    143 ::SetShapesTexture(texture, *this);
    -
    144 return *this;
    -
    145 }
    -
    146
    -
    147 inline ::Vector2 GetPosition() {
    -
    148 return {x, y};
    -
    149 }
    -
    150
    -
    151 inline Rectangle& SetPosition(float newX, float newY) {
    -
    152 x = newX;
    -
    153 y = newY;
    -
    154 return *this;
    -
    155 }
    -
    156
    -
    157 inline Rectangle& SetPosition(const ::Vector2& position) {
    -
    158 return SetPosition(position.x, position.y);
    -
    159 }
    -
    160
    -
    161 private:
    -
    162 inline void set(const ::Rectangle& rect) {
    -
    163 x = rect.x;
    -
    164 y = rect.y;
    -
    165 width = rect.width;
    -
    166 height = rect.height;
    -
    167 }
    -
    168};
    -
    169} // namespace raylib
    -
    170
    -
    171#endif // RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 #include "./Vector2.hpp"
    +
    7 
    +
    8 namespace raylib {
    +
    12 class Rectangle : public ::Rectangle {
    +
    13  public:
    +
    14  Rectangle(const ::Rectangle& vec) {
    +
    15  set(vec);
    +
    16  }
    +
    17 
    +
    18  Rectangle(float x, float y, float width, float height) : ::Rectangle{x, y, width, height} {}
    +
    19  Rectangle(float x, float y, float width) : ::Rectangle{x, y, width, 0} {}
    +
    20  Rectangle(float x, float y) : ::Rectangle{x, y, 0, 0} {}
    +
    21  Rectangle(float x) : ::Rectangle{x, 0, 0, 0} {}
    +
    22  Rectangle() : ::Rectangle{0, 0, 0, 0} {}
    +
    23 
    +
    24  Rectangle(::Vector2 position, ::Vector2 size)
    +
    25  : ::Rectangle{position.x, position.y, size.x, size.y} {}
    +
    26  Rectangle(::Vector2 size) : ::Rectangle{0, 0, size.x, size.y} {}
    +
    27  Rectangle(::Vector4 rect) : ::Rectangle{rect.x, rect.y, rect.z, rect.w} {}
    +
    28 
    +
    29  GETTERSETTER(float, X, x)
    +
    30  GETTERSETTER(float, Y, y)
    +
    31  GETTERSETTER(float, Width, width)
    +
    32  GETTERSETTER(float, Height, height)
    +
    33 
    +
    34  Rectangle& operator=(const ::Rectangle& rect) {
    +
    35  set(rect);
    +
    36  return *this;
    +
    37  }
    +
    38 
    +
    39  inline ::Vector4 ToVector4() {
    +
    40  return {x, y, width, height};
    +
    41  }
    +
    42 
    +
    43  operator ::Vector4() const {
    +
    44  return {x, y, width, height};
    +
    45  }
    +
    46 
    +
    50  inline Rectangle& Draw(::Color color) {
    +
    51  ::DrawRectangle(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    +
    52  static_cast<int>(height), color);
    +
    53  return *this;
    +
    54  }
    +
    55 
    +
    56  inline Rectangle& Draw(::Vector2 origin, float rotation, ::Color color) {
    +
    57  ::DrawRectanglePro(*this, origin, rotation, color);
    +
    58  return *this;
    +
    59  }
    +
    60 
    +
    61  inline Rectangle& DrawGradientV(::Color color1, ::Color color2) {
    +
    62  ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    +
    63  static_cast<int>(height), color1, color2);
    +
    64  return *this;
    +
    65  }
    +
    66 
    +
    67  inline Rectangle& DrawGradientH(::Color color1, ::Color color2) {
    +
    68  ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    +
    69  static_cast<int>(height), color1, color2);
    +
    70  return *this;
    +
    71  }
    +
    72 
    +
    73  inline Rectangle& DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) {
    +
    74  ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
    +
    75  return *this;
    +
    76  }
    +
    77 
    +
    78  inline Rectangle& DrawLines(::Color color) {
    +
    79  ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    +
    80  static_cast<int>(height), color);
    +
    81  return *this;
    +
    82  }
    +
    83 
    +
    84  inline Rectangle& DrawLines(::Color color, float lineThick) {
    +
    85  ::DrawRectangleLinesEx(*this, lineThick, color);
    +
    86  return *this;
    +
    87  }
    +
    88 
    +
    89  inline Rectangle& DrawRounded(float roundness, int segments, ::Color color) {
    +
    90  ::DrawRectangleRounded(*this, roundness, segments, color);
    +
    91  return *this;
    +
    92  }
    +
    93 
    +
    94  inline Rectangle& DrawRoundedLines(float roundness, int segments,
    +
    95  float lineThick, ::Color color) {
    +
    96  ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
    +
    97  return *this;
    +
    98  }
    +
    99 
    +
    103  inline bool CheckCollision(::Rectangle rec2) const {
    +
    104  return ::CheckCollisionRecs(*this, rec2);
    +
    105  }
    +
    106 
    +
    110  inline ::Rectangle GetCollision(::Rectangle rec2) const {
    +
    111  return ::GetCollisionRec(*this, rec2);
    +
    112  }
    +
    113 
    +
    117  inline bool CheckCollision(::Vector2 point) const {
    +
    118  return ::CheckCollisionPointRec(point, *this);
    +
    119  }
    +
    120 
    +
    124  inline bool CheckCollision(::Vector2 center, float radius) {
    +
    125  return ::CheckCollisionCircleRec(center, radius, *this);
    +
    126  }
    +
    127 
    +
    128  inline ::Vector2 GetSize() {
    +
    129  return {width, height};
    +
    130  }
    +
    131 
    +
    132  inline Rectangle& SetSize(float newWidth, float newHeight) {
    +
    133  width = newWidth;
    +
    134  height = newHeight;
    +
    135  return *this;
    +
    136  }
    +
    137 
    +
    138  inline Rectangle& SetSize(const ::Vector2& size) {
    +
    139  return SetSize(size.x, size.y);
    +
    140  }
    +
    141 
    +
    142  inline Rectangle& SetShapesTexture(const ::Texture2D& texture) {
    +
    143  ::SetShapesTexture(texture, *this);
    +
    144  return *this;
    +
    145  }
    +
    146 
    +
    147  inline ::Vector2 GetPosition() {
    +
    148  return {x, y};
    +
    149  }
    +
    150 
    +
    151  inline Rectangle& SetPosition(float newX, float newY) {
    +
    152  x = newX;
    +
    153  y = newY;
    +
    154  return *this;
    +
    155  }
    +
    156 
    +
    157  inline Rectangle& SetPosition(const ::Vector2& position) {
    +
    158  return SetPosition(position.x, position.y);
    +
    159  }
    +
    160 
    +
    161  private:
    +
    162  inline void set(const ::Rectangle& rect) {
    +
    163  x = rect.x;
    +
    164  y = rect.y;
    +
    165  width = rect.width;
    +
    166  height = rect.height;
    +
    167  }
    +
    168 };
    +
    169 } // namespace raylib
    +
    170 
    +
    171 #endif // RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Vector4 type.
    Definition: Vector4.hpp:17
    +
    bool CheckCollision(::Vector2 point) const
    Check if point is inside rectangle.
    Definition: Rectangle.hpp:117
    +
    bool CheckCollision(::Vector2 center, float radius)
    Check collision between circle and rectangle.
    Definition: Rectangle.hpp:124
    Rectangle type.
    Definition: Rectangle.hpp:12
    -
    Rectangle(float x, float y)
    Definition: Rectangle.hpp:20
    -
    Rectangle(::Vector4 rect)
    Definition: Rectangle.hpp:27
    -
    Rectangle & SetPosition(const ::Vector2 &position)
    Definition: Rectangle.hpp:157
    -
    Rectangle(::Vector2 position, ::Vector2 size)
    Definition: Rectangle.hpp:24
    -
    Rectangle(float x)
    Definition: Rectangle.hpp:21
    -
    bool CheckCollision(::Rectangle rec2) const
    Check collision between two rectangles.
    Definition: Rectangle.hpp:103
    -
    Rectangle & SetPosition(float newX, float newY)
    Definition: Rectangle.hpp:151
    -
    Rectangle & DrawGradientV(::Color color1, ::Color color2)
    Definition: Rectangle.hpp:61
    -
    Rectangle(float x, float y, float width)
    Definition: Rectangle.hpp:19
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    inline ::Rectangle GetCollision(::Rectangle rec2) const
    Get collision rectangle for two rectangles collision.
    Definition: Rectangle.hpp:110
    -
    Rectangle & DrawGradientH(::Color color1, ::Color color2)
    Definition: Rectangle.hpp:67
    -
    inline ::Vector4 ToVector4()
    Definition: Rectangle.hpp:39
    -
    Rectangle(::Vector2 size)
    Definition: Rectangle.hpp:26
    -
    Rectangle & DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4)
    Definition: Rectangle.hpp:73
    -
    Rectangle & SetSize(float newWidth, float newHeight)
    Definition: Rectangle.hpp:132
    -
    Rectangle & DrawRounded(float roundness, int segments, ::Color color)
    Definition: Rectangle.hpp:89
    -
    Rectangle & DrawLines(::Color color)
    Definition: Rectangle.hpp:78
    -
    inline ::Vector2 GetPosition()
    Definition: Rectangle.hpp:147
    -
    Rectangle & DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color)
    Definition: Rectangle.hpp:94
    -
    Rectangle(float x, float y, float width, float height)
    Definition: Rectangle.hpp:18
    -
    Rectangle & Draw(::Vector2 origin, float rotation, ::Color color)
    Definition: Rectangle.hpp:56
    - -
    Rectangle & Draw(::Color color)
    Draw a color-filled rectangle.
    Definition: Rectangle.hpp:50
    -
    bool CheckCollision(::Vector2 center, float radius)
    Check collision between circle and rectangle.
    Definition: Rectangle.hpp:124
    -
    bool CheckCollision(::Vector2 point) const
    Check if point is inside rectangle.
    Definition: Rectangle.hpp:117
    -
    Rectangle & SetSize(const ::Vector2 &size)
    Definition: Rectangle.hpp:138
    -
    Rectangle & DrawLines(::Color color, float lineThick)
    Definition: Rectangle.hpp:84
    -
    inline ::Vector2 GetSize()
    Definition: Rectangle.hpp:128
    -
    Rectangle(const ::Rectangle &vec)
    Definition: Rectangle.hpp:14
    -
    Rectangle & SetShapesTexture(const ::Texture2D &texture)
    Definition: Rectangle.hpp:142
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    bool CheckCollision(::Rectangle rec2) const
    Check collision between two rectangles.
    Definition: Rectangle.hpp:103
    +
    Rectangle & Draw(::Color color)
    Draw a color-filled rectangle.
    Definition: Rectangle.hpp:50
    - + diff --git a/docs/_render_texture_8hpp_source.html b/docs/_render_texture_8hpp_source.html index f078e845..8da2d7c1 100644 --- a/docs/_render_texture_8hpp_source.html +++ b/docs/_render_texture_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: RenderTexture.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    RenderTexture.hpp
    +
    +
    RenderTexture.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6#include "./RaylibException.hpp"
    -
    7
    -
    8namespace raylib {
    -
    12class RenderTexture : public ::RenderTexture {
    -
    13 public:
    - -
    18 id = 0;
    -
    19 }
    -
    20
    -
    21 RenderTexture(const ::RenderTexture& renderTexture) {
    -
    22 set(renderTexture);
    -
    23 }
    -
    24
    -
    25 RenderTexture(unsigned int id, ::Texture texture, ::Texture depth) : ::RenderTexture{id, texture, depth} {}
    -
    26
    -
    27 RenderTexture(int width, int height) {
    -
    28 if (!Load(width, height)) {
    -
    29 throw RaylibException("Failed to create RenderTexture");
    -
    30 }
    -
    31 }
    -
    32
    -
    33 RenderTexture(const RenderTexture&) = delete;
    -
    34
    - -
    36 set(other);
    -
    37
    -
    38 other.id = 0;
    -
    39 other.texture = {};
    -
    40 other.depth = {};
    -
    41 }
    -
    42
    -
    43 GETTERSETTER(unsigned int, Id, id)
    -
    44 GETTERSETTER(::Texture2D, Texture, texture)
    -
    45 GETTERSETTER(::Texture2D, Depth, depth)
    -
    46
    -
    47 RenderTexture& operator=(const ::RenderTexture& texture) {
    -
    48 set(texture);
    -
    49 return *this;
    -
    50 }
    -
    51
    - -
    53
    - -
    55 if (this == &other) {
    -
    56 return *this;
    -
    57 }
    -
    58
    -
    59 Unload();
    -
    60 set(other);
    -
    61
    -
    62 other.id = 0;
    -
    63 other.texture = {};
    -
    64 other.depth = {};
    -
    65
    -
    66 return *this;
    -
    67 }
    -
    68
    - -
    70 Unload();
    -
    71 }
    -
    72
    -
    73 inline void Unload() {
    -
    74 UnloadRenderTexture(*this);
    -
    75 }
    -
    76
    - -
    81 ::BeginTextureMode(*this);
    -
    82 return *this;
    -
    83 }
    -
    84
    - -
    89 ::EndTextureMode();
    -
    90 return *this;
    -
    91 }
    -
    92
    -
    96 bool Load(int width, int height) {
    -
    97 set(::LoadRenderTexture(width, height));
    -
    98 return IsReady();
    -
    99 }
    -
    100
    -
    104 bool IsReady() const {
    -
    105 return id != 0;
    -
    106 }
    -
    107
    -
    108 private:
    -
    109 inline void set(const ::RenderTexture& renderTexture) {
    -
    110 id = renderTexture.id;
    -
    111 texture = renderTexture.texture;
    -
    112 depth = renderTexture.depth;
    -
    113 }
    -
    114};
    - -
    116} // namespace raylib
    -
    117
    -
    118#endif // RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    -
    Exception used for most raylib-related exceptions.
    -
    RenderTexture type, for texture rendering.
    -
    RenderTexture & operator=(const RenderTexture &)=delete
    -
    RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)
    -
    RenderTexture(RenderTexture &&other)
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 #include "./RaylibException.hpp"
    +
    7 
    +
    8 namespace raylib {
    + +
    13  public:
    + +
    18  id = 0;
    +
    19  }
    +
    20 
    +
    21  RenderTexture(const ::RenderTexture& renderTexture) {
    +
    22  set(renderTexture);
    +
    23  }
    +
    24 
    +
    25  RenderTexture(unsigned int id, ::Texture texture, ::Texture depth) : ::RenderTexture{id, texture, depth} {}
    +
    26 
    +
    27  RenderTexture(int width, int height) {
    +
    28  if (!Load(width, height)) {
    +
    29  throw RaylibException("Failed to create RenderTexture");
    +
    30  }
    +
    31  }
    +
    32 
    +
    33  RenderTexture(const RenderTexture&) = delete;
    +
    34 
    +
    35  RenderTexture(RenderTexture&& other) {
    +
    36  set(other);
    +
    37 
    +
    38  other.id = 0;
    +
    39  other.texture = {};
    +
    40  other.depth = {};
    +
    41  }
    +
    42 
    +
    43  GETTERSETTER(unsigned int, Id, id)
    +
    44  GETTERSETTER(::Texture2D, Texture, texture)
    +
    45  GETTERSETTER(::Texture2D, Depth, depth)
    +
    46 
    +
    47  RenderTexture& operator=(const ::RenderTexture& texture) {
    +
    48  set(texture);
    +
    49  return *this;
    +
    50  }
    +
    51 
    +
    52  RenderTexture& operator=(const RenderTexture&) = delete;
    +
    53 
    +
    54  RenderTexture& operator=(RenderTexture&& other) noexcept {
    +
    55  if (this == &other) {
    +
    56  return *this;
    +
    57  }
    +
    58 
    +
    59  Unload();
    +
    60  set(other);
    +
    61 
    +
    62  other.id = 0;
    +
    63  other.texture = {};
    +
    64  other.depth = {};
    +
    65 
    +
    66  return *this;
    +
    67  }
    +
    68 
    +
    69  ~RenderTexture() {
    +
    70  Unload();
    +
    71  }
    +
    72 
    +
    73  inline void Unload() {
    +
    74  UnloadRenderTexture(*this);
    +
    75  }
    +
    76 
    + +
    81  ::BeginTextureMode(*this);
    +
    82  return *this;
    +
    83  }
    +
    84 
    +
    88  inline RenderTexture& EndMode() {
    +
    89  ::EndTextureMode();
    +
    90  return *this;
    +
    91  }
    +
    92 
    +
    96  bool Load(int width, int height) {
    +
    97  set(::LoadRenderTexture(width, height));
    +
    98  return IsReady();
    +
    99  }
    +
    100 
    +
    104  bool IsReady() const {
    +
    105  return id != 0;
    +
    106  }
    +
    107 
    +
    108  private:
    +
    109  inline void set(const ::RenderTexture& renderTexture) {
    +
    110  id = renderTexture.id;
    +
    111  texture = renderTexture.texture;
    +
    112  depth = renderTexture.depth;
    +
    113  }
    +
    114 };
    +
    115 typedef RenderTexture RenderTexture2D;
    +
    116 } // namespace raylib
    +
    117 
    +
    118 #endif // RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    RenderTexture()
    Default constructor to build an empty RenderTexture.
    bool IsReady() const
    Retrieves whether or not the render texture is ready.
    -
    RenderTexture & BeginMode()
    Initializes render texture for drawing.
    - -
    RenderTexture & EndMode()
    Ends drawing to render texture.
    -
    RenderTexture(const ::RenderTexture &renderTexture)
    - +
    RenderTexture type, for texture rendering.
    bool Load(int width, int height)
    Loads a render texture at the given width and height.
    -
    RenderTexture & operator=(RenderTexture &&other) noexcept
    -
    RenderTexture()
    Default constructor to build an empty RenderTexture.
    -
    RenderTexture(const RenderTexture &)=delete
    -
    RenderTexture(int width, int height)
    +
    RenderTexture & EndMode()
    Ends drawing to render texture.
    +
    RenderTexture & BeginMode()
    Initializes render texture for drawing.
    Texture type.
    Definition: Texture.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    RenderTexture RenderTexture2D
    -
    - - + diff --git a/docs/_shader_8hpp_source.html b/docs/_shader_8hpp_source.html index acfd9743..51c9937c 100644 --- a/docs/_shader_8hpp_source.html +++ b/docs/_shader_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Shader.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Shader.hpp
    +
    +
    Shader.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_SHADER_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_SHADER_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "Texture.hpp"
    -
    9
    -
    10namespace raylib {
    -
    14class Shader : public ::Shader {
    -
    15 public:
    -
    16 Shader(const ::Shader& shader) {
    -
    17 set(shader);
    -
    18 }
    -
    19
    -
    20 Shader(unsigned int id, int* locs = nullptr) : ::Shader{id, locs} {}
    -
    21
    -
    22 Shader(const std::string& vsFileName, const std::string& fsFileName) {
    -
    23 set(::LoadShader(vsFileName.c_str(), fsFileName.c_str()));
    -
    24 }
    -
    25
    -
    26 Shader(const char* vsFileName, const char* fsFileName) {
    -
    27 set(::LoadShader(vsFileName, fsFileName));
    -
    28 }
    -
    29
    -
    30 Shader(const Shader&) = delete;
    -
    31
    -
    32 Shader(Shader&& other) {
    -
    33 set(other);
    -
    34
    -
    35 other.id = 0;
    -
    36 other.locs = nullptr;
    -
    37 }
    -
    38
    -
    44 static ::Shader Load(const std::string& vsFileName, const std::string& fsFileName) {
    -
    45 return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
    -
    46 }
    -
    47
    -
    53 static ::Shader LoadFromMemory(const std::string& vsCode, const std::string& fsCode) {
    -
    54 return ::LoadShaderFromMemory(vsCode.c_str(), fsCode.c_str());
    -
    55 }
    -
    56
    -
    57 GETTERSETTER(unsigned int, Id, id)
    -
    58 GETTERSETTER(int*, Locs, locs)
    -
    59
    -
    60 Shader& operator=(const ::Shader& shader) {
    -
    61 set(shader);
    -
    62 return *this;
    -
    63 }
    -
    64
    -
    65 Shader& operator=(const Shader&) = delete;
    -
    66
    -
    67 Shader& operator=(Shader&& other) noexcept {
    -
    68 if (this == &other) {
    -
    69 return *this;
    -
    70 }
    -
    71
    -
    72 Unload();
    -
    73 set(other);
    -
    74
    -
    75 other.id = 0;
    -
    76 other.locs = nullptr;
    -
    77
    -
    78 return *this;
    -
    79 }
    -
    80
    - -
    82 Unload();
    -
    83 }
    -
    84
    -
    85 void Unload() {
    -
    86 if (locs != nullptr) {
    -
    87 ::UnloadShader(*this);
    -
    88 }
    -
    89 }
    -
    90
    -
    94 inline Shader& BeginMode() {
    -
    95 ::BeginShaderMode(*this);
    -
    96 return *this;
    -
    97 }
    -
    98
    -
    102 inline Shader& EndMode() {
    -
    103 ::EndShaderMode();
    -
    104 return *this;
    -
    105 }
    -
    106
    -
    112 inline int GetLocation(const std::string& uniformName) const {
    -
    113 return ::GetShaderLocation(*this, uniformName.c_str());
    -
    114 }
    -
    115
    -
    121 inline int GetLocationAttrib(const std::string& attribName) const {
    -
    122 return ::GetShaderLocationAttrib(*this, attribName.c_str());
    -
    123 }
    -
    124
    -
    130 inline Shader& SetValue(int uniformLoc, const void* value, int uniformType) {
    -
    131 ::SetShaderValue(*this, uniformLoc, value, uniformType);
    -
    132 return *this;
    -
    133 }
    -
    134
    -
    140 inline Shader& SetValue(int uniformLoc, const void* value, int uniformType, int count) {
    -
    141 ::SetShaderValueV(*this, uniformLoc, value, uniformType, count);
    -
    142 return *this;
    -
    143 }
    -
    144
    -
    150 inline Shader& SetValue(int uniformLoc, const ::Matrix& mat) {
    -
    151 ::SetShaderValueMatrix(*this, uniformLoc, mat);
    -
    152 return *this;
    -
    153 }
    -
    154
    -
    160 inline Shader& SetValue(int uniformLoc, const ::Texture2D& texture) {
    -
    161 ::SetShaderValueTexture(*this, uniformLoc, texture);
    -
    162 return *this;
    -
    163 }
    -
    164
    -
    168 bool IsReady() const {
    -
    169 return id != 0 && locs != nullptr;
    -
    170 }
    -
    171
    -
    172 private:
    -
    173 inline void set(const ::Shader& shader) {
    -
    174 id = shader.id;
    -
    175 locs = shader.locs;
    -
    176 }
    -
    177};
    -
    178} // namespace raylib
    -
    179
    -
    180#endif // RAYLIB_CPP_INCLUDE_SHADER_HPP_
    -
    Shader type (generic)
    Definition: Shader.hpp:14
    -
    Shader & SetValue(int uniformLoc, const ::Texture2D &texture)
    Set shader uniform value for texture.
    Definition: Shader.hpp:160
    -
    Shader & operator=(Shader &&other) noexcept
    Definition: Shader.hpp:67
    -
    Shader & operator=(const Shader &)=delete
    -
    void Unload()
    Definition: Shader.hpp:85
    - -
    Shader(const ::Shader &shader)
    Definition: Shader.hpp:16
    -
    ::Shader Load(const std::string &vsFileName, const std::string &fsFileName)
    Load shader from files and bind default locations.
    Definition: Shader.hpp:44
    -
    Shader & BeginMode()
    Begin custom shader drawing.
    Definition: Shader.hpp:94
    -
    Shader(const std::string &vsFileName, const std::string &fsFileName)
    Definition: Shader.hpp:22
    -
    Shader & SetValue(int uniformLoc, const void *value, int uniformType)
    Set shader uniform value.
    Definition: Shader.hpp:130
    -
    Shader & EndMode()
    End custom shader drawing (use default shader).
    Definition: Shader.hpp:102
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_SHADER_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_SHADER_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "Texture.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    14 class Shader : public ::Shader {
    +
    15  public:
    +
    16  Shader(const ::Shader& shader) {
    +
    17  set(shader);
    +
    18  }
    +
    19 
    +
    20  Shader(unsigned int id, int* locs = nullptr) : ::Shader{id, locs} {}
    +
    21 
    +
    22  Shader(const std::string& vsFileName, const std::string& fsFileName) {
    +
    23  set(::LoadShader(vsFileName.c_str(), fsFileName.c_str()));
    +
    24  }
    +
    25 
    +
    26  Shader(const char* vsFileName, const char* fsFileName) {
    +
    27  set(::LoadShader(vsFileName, fsFileName));
    +
    28  }
    +
    29 
    +
    30  Shader(const Shader&) = delete;
    +
    31 
    +
    32  Shader(Shader&& other) {
    +
    33  set(other);
    +
    34 
    +
    35  other.id = 0;
    +
    36  other.locs = nullptr;
    +
    37  }
    +
    38 
    +
    44  static ::Shader Load(const std::string& vsFileName, const std::string& fsFileName) {
    +
    45  return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
    +
    46  }
    +
    47 
    +
    53  static ::Shader LoadFromMemory(const std::string& vsCode, const std::string& fsCode) {
    +
    54  return ::LoadShaderFromMemory(vsCode.c_str(), fsCode.c_str());
    +
    55  }
    +
    56 
    +
    57  GETTERSETTER(unsigned int, Id, id)
    +
    58  GETTERSETTER(int*, Locs, locs)
    +
    59 
    +
    60  Shader& operator=(const ::Shader& shader) {
    +
    61  set(shader);
    +
    62  return *this;
    +
    63  }
    +
    64 
    +
    65  Shader& operator=(const Shader&) = delete;
    +
    66 
    +
    67  Shader& operator=(Shader&& other) noexcept {
    +
    68  if (this == &other) {
    +
    69  return *this;
    +
    70  }
    +
    71 
    +
    72  Unload();
    +
    73  set(other);
    +
    74 
    +
    75  other.id = 0;
    +
    76  other.locs = nullptr;
    +
    77 
    +
    78  return *this;
    +
    79  }
    +
    80 
    +
    81  ~Shader() {
    +
    82  Unload();
    +
    83  }
    +
    84 
    +
    85  void Unload() {
    +
    86  if (locs != nullptr) {
    +
    87  ::UnloadShader(*this);
    +
    88  }
    +
    89  }
    +
    90 
    +
    94  inline Shader& BeginMode() {
    +
    95  ::BeginShaderMode(*this);
    +
    96  return *this;
    +
    97  }
    +
    98 
    +
    102  inline Shader& EndMode() {
    +
    103  ::EndShaderMode();
    +
    104  return *this;
    +
    105  }
    +
    106 
    +
    112  inline int GetLocation(const std::string& uniformName) const {
    +
    113  return ::GetShaderLocation(*this, uniformName.c_str());
    +
    114  }
    +
    115 
    +
    121  inline int GetLocationAttrib(const std::string& attribName) const {
    +
    122  return ::GetShaderLocationAttrib(*this, attribName.c_str());
    +
    123  }
    +
    124 
    +
    130  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType) {
    +
    131  ::SetShaderValue(*this, uniformLoc, value, uniformType);
    +
    132  return *this;
    +
    133  }
    +
    134 
    +
    140  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType, int count) {
    +
    141  ::SetShaderValueV(*this, uniformLoc, value, uniformType, count);
    +
    142  return *this;
    +
    143  }
    +
    144 
    +
    150  inline Shader& SetValue(int uniformLoc, const ::Matrix& mat) {
    +
    151  ::SetShaderValueMatrix(*this, uniformLoc, mat);
    +
    152  return *this;
    +
    153  }
    +
    154 
    +
    160  inline Shader& SetValue(int uniformLoc, const ::Texture2D& texture) {
    +
    161  ::SetShaderValueTexture(*this, uniformLoc, texture);
    +
    162  return *this;
    +
    163  }
    +
    164 
    +
    168  bool IsReady() const {
    +
    169  return id != 0 && locs != nullptr;
    +
    170  }
    +
    171 
    +
    172  private:
    +
    173  inline void set(const ::Shader& shader) {
    +
    174  id = shader.id;
    +
    175  locs = shader.locs;
    +
    176  }
    +
    177 };
    +
    178 } // namespace raylib
    +
    179 
    +
    180 #endif // RAYLIB_CPP_INCLUDE_SHADER_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Shader & SetValue(int uniformLoc, const void *value, int uniformType, int count)
    Set shader uniform value vector.
    Definition: Shader.hpp:140
    ::Shader LoadFromMemory(const std::string &vsCode, const std::string &fsCode)
    Load a shader from memory.
    Definition: Shader.hpp:53
    +
    Shader & SetValue(int uniformLoc, const ::Matrix &mat)
    Set shader uniform value (matrix 4x4)
    Definition: Shader.hpp:150
    int GetLocation(const std::string &uniformName) const
    Get shader uniform location.
    Definition: Shader.hpp:112
    +
    Shader & EndMode()
    End custom shader drawing (use default shader).
    Definition: Shader.hpp:102
    +
    Shader type (generic)
    Definition: Shader.hpp:14
    +
    Shader & BeginMode()
    Begin custom shader drawing.
    Definition: Shader.hpp:94
    int GetLocationAttrib(const std::string &attribName) const
    Get shader attribute location.
    Definition: Shader.hpp:121
    -
    Shader & SetValue(int uniformLoc, const ::Matrix &mat)
    Set shader uniform value (matrix 4x4)
    Definition: Shader.hpp:150
    +
    ::Shader Load(const std::string &vsFileName, const std::string &fsFileName)
    Load shader from files and bind default locations.
    Definition: Shader.hpp:44
    +
    Shader & SetValue(int uniformLoc, const ::Texture2D &texture)
    Set shader uniform value for texture.
    Definition: Shader.hpp:160
    +
    Shader & SetValue(int uniformLoc, const void *value, int uniformType)
    Set shader uniform value.
    Definition: Shader.hpp:130
    bool IsReady() const
    Retrieves whether or not the shader is ready.
    Definition: Shader.hpp:168
    -
    Shader & SetValue(int uniformLoc, const void *value, int uniformType, int count)
    Set shader uniform value vector.
    Definition: Shader.hpp:140
    -
    Shader(const Shader &)=delete
    -
    Shader(const char *vsFileName, const char *fsFileName)
    Definition: Shader.hpp:26
    -
    Shader(unsigned int id, int *locs=nullptr)
    Definition: Shader.hpp:20
    -
    Shader(Shader &&other)
    Definition: Shader.hpp:32
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - - + diff --git a/docs/_sound_8hpp_source.html b/docs/_sound_8hpp_source.html index 660097da..9850fc0a 100644 --- a/docs/_sound_8hpp_source.html +++ b/docs/_sound_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Sound.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Sound.hpp
    +
    +
    Sound.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_SOUND_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_SOUND_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "./RaylibException.hpp"
    -
    9
    -
    10namespace raylib {
    -
    19class Sound : public ::Sound {
    -
    20 public:
    -
    21 Sound(const Sound&) = delete;
    -
    22 Sound& operator=(const Sound&) = delete;
    -
    23
    - -
    25 frameCount = 0;
    -
    26 stream.buffer = nullptr;
    -
    27 }
    -
    28
    -
    29 Sound(::AudioStream stream, unsigned int frameCount) : ::Sound{stream, frameCount} {
    -
    30 // Nothing.
    -
    31 }
    -
    32
    -
    33 Sound(Sound&& other) {
    -
    34 set(other);
    -
    35
    -
    36 other.frameCount = 0;
    -
    37 other.stream = { 0, 0, 0, 0 };
    -
    38 }
    -
    39
    -
    45 Sound(const std::string& fileName) {
    -
    46 if (!Load(fileName)) {
    -
    47 throw RaylibException(TextFormat("Failed to load Sound from file: %s", fileName.c_str()));
    -
    48 }
    -
    49 }
    -
    50
    -
    56 Sound(const ::Wave& wave) {
    -
    57 if (!Load(wave)) {
    -
    58 throw RaylibException("Failed to load Sound from Wave");
    -
    59 }
    -
    60 }
    -
    61
    - -
    63 Unload();
    -
    64 }
    -
    65
    -
    66 GETTERSETTER(unsigned int, FrameCount, frameCount)
    -
    67 GETTERSETTER(::AudioStream, Stream, stream)
    -
    68
    -
    69 Sound& operator=(Sound&& other) noexcept {
    -
    70 if (this == &other) {
    -
    71 return *this;
    -
    72 }
    -
    73
    -
    74 Unload();
    -
    75 set(other);
    -
    76 other.frameCount = 0;
    -
    77 other.stream = { 0, 0, 0, 0 };
    -
    78
    -
    79 return *this;
    -
    80 }
    -
    81
    -
    85 inline Sound& Update(const void *data, int samplesCount) {
    -
    86 ::UpdateSound(*this, data, samplesCount);
    -
    87 return *this;
    -
    88 }
    -
    89
    -
    93 inline Sound& Update(const void *data) {
    -
    94 ::UpdateSound(*this, data, static_cast<int>(frameCount));
    -
    95 return *this;
    -
    96 }
    -
    97
    -
    101 inline void Unload() {
    -
    102 ::UnloadSound(*this);
    -
    103 }
    -
    104
    -
    108 inline Sound& Play() {
    -
    109 ::PlaySound(*this);
    -
    110 return *this;
    -
    111 }
    -
    112
    -
    116 inline Sound& Stop() {
    -
    117 ::StopSound(*this);
    -
    118 return *this;
    -
    119 }
    -
    120
    -
    124 inline Sound& Pause() {
    -
    125 ::PauseSound(*this);
    -
    126 return *this;
    -
    127 }
    -
    128
    -
    132 inline Sound& Resume() {
    -
    133 ::ResumeSound(*this);
    -
    134 return *this;
    -
    135 }
    -
    136
    -
    140 inline Sound& PlayMulti() {
    -
    141 ::PlaySoundMulti(*this);
    -
    142 return *this;
    -
    143 }
    -
    144
    -
    148 inline Sound& StopMulti() {
    -
    149 ::StopSoundMulti();
    -
    150 return *this;
    -
    151 }
    -
    152
    -
    156 inline bool IsPlaying() const {
    -
    157 return ::IsSoundPlaying(*this);
    -
    158 }
    -
    159
    -
    163 inline Sound& SetVolume(float volume) {
    -
    164 ::SetSoundVolume(*this, volume);
    -
    165 return *this;
    -
    166 }
    -
    167
    -
    171 inline Sound& SetPitch(float pitch) {
    -
    172 ::SetSoundPitch(*this, pitch);
    -
    173 return *this;
    -
    174 }
    -
    175
    -
    181 bool Load(const std::string& fileName) {
    -
    182 set(::LoadSound(fileName.c_str()));
    -
    183 return IsReady();
    -
    184 }
    -
    185
    -
    189 bool Load(const ::Wave& wave) {
    -
    190 set(::LoadSoundFromWave(wave));
    -
    191 return IsReady();
    -
    192 }
    -
    193
    -
    194
    -
    200 bool IsReady() const {
    -
    201 return stream.buffer != nullptr;
    -
    202 }
    -
    203
    -
    204 private:
    -
    205 inline void set(const ::Sound& sound) {
    -
    206 frameCount = sound.frameCount;
    -
    207 stream = sound.stream;
    -
    208 }
    -
    209};
    -
    210} // namespace raylib
    -
    211
    -
    212#endif // RAYLIB_CPP_INCLUDE_SOUND_HPP_
    -
    AudioStream management functions.
    Definition: AudioStream.hpp:12
    -
    Exception used for most raylib-related exceptions.
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_SOUND_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_SOUND_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "./RaylibException.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    19 class Sound : public ::Sound {
    +
    20  public:
    +
    21  Sound(const Sound&) = delete;
    +
    22  Sound& operator=(const Sound&) = delete;
    +
    23 
    +
    24  Sound() {
    +
    25  frameCount = 0;
    +
    26  stream.buffer = nullptr;
    +
    27  }
    +
    28 
    +
    29  Sound(::AudioStream stream, unsigned int frameCount) : ::Sound{stream, frameCount} {
    +
    30  // Nothing.
    +
    31  }
    +
    32 
    +
    33  Sound(Sound&& other) {
    +
    34  set(other);
    +
    35 
    +
    36  other.frameCount = 0;
    +
    37  other.stream = { 0, 0, 0, 0 };
    +
    38  }
    +
    39 
    +
    45  Sound(const std::string& fileName) {
    +
    46  if (!Load(fileName)) {
    +
    47  throw RaylibException(TextFormat("Failed to load Sound from file: %s", fileName.c_str()));
    +
    48  }
    +
    49  }
    +
    50 
    +
    56  Sound(const ::Wave& wave) {
    +
    57  if (!Load(wave)) {
    +
    58  throw RaylibException("Failed to load Sound from Wave");
    +
    59  }
    +
    60  }
    +
    61 
    +
    62  ~Sound() {
    +
    63  Unload();
    +
    64  }
    +
    65 
    +
    66  GETTERSETTER(unsigned int, FrameCount, frameCount)
    +
    67  GETTERSETTER(::AudioStream, Stream, stream)
    +
    68 
    +
    69  Sound& operator=(Sound&& other) noexcept {
    +
    70  if (this == &other) {
    +
    71  return *this;
    +
    72  }
    +
    73 
    +
    74  Unload();
    +
    75  set(other);
    +
    76  other.frameCount = 0;
    +
    77  other.stream = { 0, 0, 0, 0 };
    +
    78 
    +
    79  return *this;
    +
    80  }
    +
    81 
    +
    85  inline Sound& Update(const void *data, int samplesCount) {
    +
    86  ::UpdateSound(*this, data, samplesCount);
    +
    87  return *this;
    +
    88  }
    +
    89 
    +
    93  inline Sound& Update(const void *data) {
    +
    94  ::UpdateSound(*this, data, static_cast<int>(frameCount));
    +
    95  return *this;
    +
    96  }
    +
    97 
    +
    101  inline void Unload() {
    +
    102  ::UnloadSound(*this);
    +
    103  }
    +
    104 
    +
    108  inline Sound& Play() {
    +
    109  ::PlaySound(*this);
    +
    110  return *this;
    +
    111  }
    +
    112 
    +
    116  inline Sound& Stop() {
    +
    117  ::StopSound(*this);
    +
    118  return *this;
    +
    119  }
    +
    120 
    +
    124  inline Sound& Pause() {
    +
    125  ::PauseSound(*this);
    +
    126  return *this;
    +
    127  }
    +
    128 
    +
    132  inline Sound& Resume() {
    +
    133  ::ResumeSound(*this);
    +
    134  return *this;
    +
    135  }
    +
    136 
    +
    140  inline Sound& PlayMulti() {
    +
    141  ::PlaySoundMulti(*this);
    +
    142  return *this;
    +
    143  }
    +
    144 
    +
    148  inline Sound& StopMulti() {
    +
    149  ::StopSoundMulti();
    +
    150  return *this;
    +
    151  }
    +
    152 
    +
    156  inline bool IsPlaying() const {
    +
    157  return ::IsSoundPlaying(*this);
    +
    158  }
    +
    159 
    +
    163  inline Sound& SetVolume(float volume) {
    +
    164  ::SetSoundVolume(*this, volume);
    +
    165  return *this;
    +
    166  }
    +
    167 
    +
    171  inline Sound& SetPitch(float pitch) {
    +
    172  ::SetSoundPitch(*this, pitch);
    +
    173  return *this;
    +
    174  }
    +
    175 
    +
    181  bool Load(const std::string& fileName) {
    +
    182  set(::LoadSound(fileName.c_str()));
    +
    183  return IsReady();
    +
    184  }
    +
    185 
    +
    189  bool Load(const ::Wave& wave) {
    +
    190  set(::LoadSoundFromWave(wave));
    +
    191  return IsReady();
    +
    192  }
    +
    193 
    +
    194 
    +
    200  bool IsReady() const {
    +
    201  return stream.buffer != nullptr;
    +
    202  }
    +
    203 
    +
    204  private:
    +
    205  inline void set(const ::Sound& sound) {
    +
    206  frameCount = sound.frameCount;
    +
    207  stream = sound.stream;
    +
    208  }
    +
    209 };
    +
    210 } // namespace raylib
    +
    211 
    +
    212 #endif // RAYLIB_CPP_INCLUDE_SOUND_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    bool Load(const ::Wave &wave)
    Loads the given Wave object into the Sound.
    Definition: Sound.hpp:189
    +
    Sound & StopMulti()
    Stop any sound playing (using multichannel buffer pool)
    Definition: Sound.hpp:148
    +
    Sound & SetVolume(float volume)
    Set volume for a sound (1.0 is max level)
    Definition: Sound.hpp:163
    +
    Sound & Update(const void *data, int samplesCount)
    Update sound buffer with new data.
    Definition: Sound.hpp:85
    Wave/Sound management functions.
    Definition: Sound.hpp:19
    -
    Sound & operator=(const Sound &)=delete
    -
    Sound(const std::string &fileName)
    Loads a sound from the given file.
    Definition: Sound.hpp:45
    -
    void Unload()
    Unload sound.
    Definition: Sound.hpp:101
    -
    bool Load(const std::string &fileName)
    Load a sound from the given file.
    Definition: Sound.hpp:181
    -
    Sound & Stop()
    Stop playing a sound.
    Definition: Sound.hpp:116
    -
    Sound & SetVolume(float volume)
    Set volume for a sound (1.0 is max level)
    Definition: Sound.hpp:163
    - -
    Sound(const Sound &)=delete
    -
    Sound & Pause()
    Pause a sound.
    Definition: Sound.hpp:124
    +
    Sound & Pause()
    Pause a sound.
    Definition: Sound.hpp:124
    bool IsReady() const
    Retrieve whether or not the Sound buffer is loaded.
    Definition: Sound.hpp:200
    -
    Sound & Update(const void *data)
    Update sound buffer with new data, assuming it's the same sample count.
    Definition: Sound.hpp:93
    -
    Sound & Resume()
    Resume a paused sound.
    Definition: Sound.hpp:132
    -
    Sound & Update(const void *data, int samplesCount)
    Update sound buffer with new data.
    Definition: Sound.hpp:85
    -
    Sound & StopMulti()
    Stop any sound playing (using multichannel buffer pool)
    Definition: Sound.hpp:148
    - -
    Sound & Play()
    Play a sound.
    Definition: Sound.hpp:108
    -
    Sound(Sound &&other)
    Definition: Sound.hpp:33
    +
    Sound & Resume()
    Resume a paused sound.
    Definition: Sound.hpp:132
    +
    Sound & Stop()
    Stop playing a sound.
    Definition: Sound.hpp:116
    +
    bool Load(const std::string &fileName)
    Load a sound from the given file.
    Definition: Sound.hpp:181
    bool IsPlaying() const
    Check if a sound is currently playing.
    Definition: Sound.hpp:156
    -
    Sound & PlayMulti()
    Play a sound (using multichannel buffer pool)
    Definition: Sound.hpp:140
    -
    Sound(::AudioStream stream, unsigned int frameCount)
    Definition: Sound.hpp:29
    +
    void Unload()
    Unload sound.
    Definition: Sound.hpp:101
    +
    AudioStream management functions.
    Definition: AudioStream.hpp:12
    Sound(const ::Wave &wave)
    Loads a sound from the given Wave.
    Definition: Sound.hpp:56
    -
    Sound & SetPitch(float pitch)
    Set pitch for a sound (1.0 is base level)
    Definition: Sound.hpp:171
    -
    bool Load(const ::Wave &wave)
    Loads the given Wave object into the Sound.
    Definition: Sound.hpp:189
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    Sound & Update(const void *data)
    Update sound buffer with new data, assuming it's the same sample count.
    Definition: Sound.hpp:93
    +
    Sound & SetPitch(float pitch)
    Set pitch for a sound (1.0 is base level)
    Definition: Sound.hpp:171
    +
    Exception used for most raylib-related exceptions.
    +
    Sound & Play()
    Play a sound.
    Definition: Sound.hpp:108
    +
    Sound & PlayMulti()
    Play a sound (using multichannel buffer pool)
    Definition: Sound.hpp:140
    +
    Sound(const std::string &fileName)
    Loads a sound from the given file.
    Definition: Sound.hpp:45
    - + diff --git a/docs/_text_8hpp_source.html b/docs/_text_8hpp_source.html index 7956a0d4..2f9a5b81 100644 --- a/docs/_text_8hpp_source.html +++ b/docs/_text_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Text.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Text.hpp
    +
    +
    Text.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_TEXT_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_TEXT_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./RaylibException.hpp"
    -
    8#include "./raylib-cpp-utils.hpp"
    -
    9
    -
    10namespace raylib {
    -
    14class Text {
    -
    15 public:
    -
    19 std::string text;
    -
    20
    -
    24 float fontSize;
    -
    25
    -
    29 ::Color color;
    -
    30
    -
    34 ::Font font;
    -
    35
    -
    39 float spacing;
    -
    40
    - -
    51 const std::string& text = "",
    -
    52 float fontSize = 10,
    -
    53 const ::Color& color = WHITE,
    -
    54 const ::Font& font = ::GetFontDefault(),
    -
    55 float spacing = 0) :
    -
    56 text(text),
    - -
    58 color(color),
    -
    59 font(font),
    - -
    61 // Nothing.
    -
    62 }
    -
    63
    - -
    74 const ::Font& font,
    -
    75 const std::string& text = "",
    -
    76 float fontSize = 10,
    -
    77 float spacing = 0,
    -
    78 const ::Color& color = WHITE) :
    -
    79 text(text),
    - -
    81 color(color),
    -
    82 font(font),
    - -
    84 // Nothing.
    -
    85 }
    -
    86
    -
    87 GETTERSETTER(std::string, Text, text)
    -
    88 GETTERSETTER(float, FontSize, fontSize)
    -
    89 GETTERSETTER(::Font, Font, font)
    -
    90 GETTERSETTER(::Color, Color, color)
    -
    91 GETTERSETTER(float, Spacing, spacing)
    -
    92
    -
    96 inline void Draw(const ::Vector2& position) {
    -
    97 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    -
    98 }
    -
    99
    -
    103 inline void Draw(int posX, int posY) {
    - -
    105 text.c_str(),
    -
    106 { static_cast<float>(posX), static_cast<float>(posY) },
    -
    107 fontSize,
    -
    108 spacing,
    -
    109 color);
    -
    110 }
    -
    111
    -
    117 inline void Draw(const ::Vector2& position, float rotation, const Vector2& origin = {0, 0}) {
    -
    118 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    -
    119 }
    -
    120
    -
    124 inline int Measure() {
    -
    125 return ::MeasureText(text.c_str(), static_cast<int>(fontSize));
    -
    126 }
    -
    127
    - -
    132 return ::MeasureTextEx(font, text.c_str(), fontSize, spacing);
    -
    133 }
    -
    134
    -
    135 Text& operator=(const Text& other) {
    -
    136 if (this == &other) {
    -
    137 return *this;
    -
    138 }
    -
    139
    -
    140 text = other.text;
    -
    141 fontSize = other.fontSize;
    -
    142 color = other.color;
    -
    143 font = other.font;
    -
    144 spacing = other.spacing;
    -
    145
    -
    146 return *this;
    -
    147 }
    -
    148
    -
    154 static inline void Draw(
    -
    155 const std::string& text,
    -
    156 const int posX,
    -
    157 const int posY,
    -
    158 const int fontSize,
    -
    159 const ::Color& color) {
    -
    160 ::DrawText(text.c_str(), posX, posY, fontSize, color);
    -
    161 }
    -
    162
    -
    168 static inline void Draw(
    -
    169 const std::string& text,
    -
    170 const ::Vector2& pos,
    -
    171 const int fontSize,
    -
    172 const ::Color& color) {
    -
    173 ::DrawText(text.c_str(), static_cast<int>(pos.x), static_cast<int>(pos.y), fontSize, color);
    -
    174 }
    -
    175
    -
    181 static inline void Draw(
    -
    182 const ::Font& font,
    -
    183 const std::string& text,
    -
    184 const ::Vector2& position,
    -
    185 const float fontSize,
    -
    186 const float spacing,
    -
    187 const ::Color& color) {
    -
    188 ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    -
    189 }
    -
    190
    -
    196 static inline void Draw(
    -
    197 const ::Font& font,
    -
    198 const std::string& text,
    -
    199 const ::Vector2& position,
    -
    200 const ::Vector2& origin,
    -
    201 const float rotation,
    -
    202 const float fontSize,
    -
    203 const float spacing,
    -
    204 const ::Color& color) {
    -
    205 ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    -
    206 }
    -
    207};
    -
    208} // namespace raylib
    -
    209
    -
    210#endif // RAYLIB_CPP_INCLUDE_TEXT_HPP_
    -
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    -
    Font type, includes texture and charSet array data.
    Definition: Font.hpp:14
    -
    Text Functions.
    Definition: Text.hpp:14
    -
    void Draw(const ::Vector2 &position)
    Draw text with values in class.
    Definition: Text.hpp:96
    -
    float fontSize
    The size of the text.
    Definition: Text.hpp:24
    -
    void Draw(int posX, int posY)
    Draw text with values in class.
    Definition: Text.hpp:103
    -
    Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
    Initializes a new Text object with a custom font.
    Definition: Text.hpp:73
    -
    static void Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
    Draw text using font and color, with position defined as Vector2.
    Definition: Text.hpp:168
    -
    static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
    Draw text using font, color, position, font size and spacing.
    Definition: Text.hpp:181
    -
    float spacing
    The character spacing for the text.
    Definition: Text.hpp:39
    -
    int Measure()
    Measure string width for default font.
    Definition: Text.hpp:124
    -
    void Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})
    Draw text using Font and pro parameters (rotation).
    Definition: Text.hpp:117
    -
    ::Font font
    The internal raylib font to use for the text.
    Definition: Text.hpp:34
    -
    Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
    Initializes a new Text object.
    Definition: Text.hpp:50
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_TEXT_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_TEXT_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./RaylibException.hpp"
    +
    8 #include "./raylib-cpp-utils.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    14 class Text {
    +
    15  public:
    +
    19  std::string text;
    +
    20 
    +
    24  float fontSize;
    +
    25 
    + +
    30 
    + +
    35 
    +
    39  float spacing;
    +
    40 
    + +
    51  const std::string& text = "",
    +
    52  float fontSize = 10,
    +
    53  const ::Color& color = WHITE,
    +
    54  const ::Font& font = ::GetFontDefault(),
    +
    55  float spacing = 0) :
    +
    56  text(text),
    + +
    58  color(color),
    +
    59  font(font),
    +
    60  spacing(spacing) {
    +
    61  // Nothing.
    +
    62  }
    +
    63 
    + +
    74  const ::Font& font,
    +
    75  const std::string& text = "",
    +
    76  float fontSize = 10,
    +
    77  float spacing = 0,
    +
    78  const ::Color& color = WHITE) :
    +
    79  text(text),
    + +
    81  color(color),
    +
    82  font(font),
    +
    83  spacing(spacing) {
    +
    84  // Nothing.
    +
    85  }
    +
    86 
    +
    87  GETTERSETTER(std::string, Text, text)
    +
    88  GETTERSETTER(float, FontSize, fontSize)
    +
    89  GETTERSETTER(::Font, Font, font)
    +
    90  GETTERSETTER(::Color, Color, color)
    +
    91  GETTERSETTER(float, Spacing, spacing)
    +
    92 
    +
    96  inline void Draw(const ::Vector2& position) {
    +
    97  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    +
    98  }
    +
    99 
    +
    103  inline void Draw(int posX, int posY) {
    + +
    105  text.c_str(),
    +
    106  { static_cast<float>(posX), static_cast<float>(posY) },
    +
    107  fontSize,
    +
    108  spacing,
    +
    109  color);
    +
    110  }
    +
    111 
    +
    117  inline void Draw(const ::Vector2& position, float rotation, const Vector2& origin = {0, 0}) {
    +
    118  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    +
    119  }
    +
    120 
    +
    124  inline int Measure() {
    +
    125  return ::MeasureText(text.c_str(), static_cast<int>(fontSize));
    +
    126  }
    +
    127 
    +
    131  inline Vector2 MeasureEx() {
    +
    132  return ::MeasureTextEx(font, text.c_str(), fontSize, spacing);
    +
    133  }
    +
    134 
    +
    135  Text& operator=(const Text& other) {
    +
    136  if (this == &other) {
    +
    137  return *this;
    +
    138  }
    +
    139 
    +
    140  text = other.text;
    +
    141  fontSize = other.fontSize;
    +
    142  color = other.color;
    +
    143  font = other.font;
    +
    144  spacing = other.spacing;
    +
    145 
    +
    146  return *this;
    +
    147  }
    +
    148 
    +
    154  static inline void Draw(
    +
    155  const std::string& text,
    +
    156  const int posX,
    +
    157  const int posY,
    +
    158  const int fontSize,
    +
    159  const ::Color& color) {
    +
    160  ::DrawText(text.c_str(), posX, posY, fontSize, color);
    +
    161  }
    +
    162 
    +
    168  static inline void Draw(
    +
    169  const std::string& text,
    +
    170  const ::Vector2& pos,
    +
    171  const int fontSize,
    +
    172  const ::Color& color) {
    +
    173  ::DrawText(text.c_str(), static_cast<int>(pos.x), static_cast<int>(pos.y), fontSize, color);
    +
    174  }
    +
    175 
    +
    181  static inline void Draw(
    +
    182  const ::Font& font,
    +
    183  const std::string& text,
    +
    184  const ::Vector2& position,
    +
    185  const float fontSize,
    +
    186  const float spacing,
    +
    187  const ::Color& color) {
    +
    188  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    +
    189  }
    +
    190 
    +
    196  static inline void Draw(
    +
    197  const ::Font& font,
    +
    198  const std::string& text,
    +
    199  const ::Vector2& position,
    +
    200  const ::Vector2& origin,
    +
    201  const float rotation,
    +
    202  const float fontSize,
    +
    203  const float spacing,
    +
    204  const ::Color& color) {
    +
    205  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    +
    206  }
    +
    207 };
    +
    208 } // namespace raylib
    +
    209 
    +
    210 #endif // RAYLIB_CPP_INCLUDE_TEXT_HPP_
    +
    static void Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
    Draw text using font and color.
    Definition: Text.hpp:154
    -
    Text & operator=(const Text &other)
    Definition: Text.hpp:135
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    int Measure()
    Measure string width for default font.
    Definition: Text.hpp:124
    Vector2 MeasureEx()
    Measure string size for Font.
    Definition: Text.hpp:131
    -
    ::Color color
    The color of the text.
    Definition: Text.hpp:29
    +
    Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
    Initializes a new Text object with a custom font.
    Definition: Text.hpp:73
    std::string text
    The internal text.
    Definition: Text.hpp:19
    -
    static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
    Draw text using font, color, position, origin, font size and spacing.
    Definition: Text.hpp:196
    +
    float fontSize
    The size of the text.
    Definition: Text.hpp:24
    +
    float spacing
    The character spacing for the text.
    Definition: Text.hpp:39
    +
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    +
    Font type, includes texture and charSet array data.
    Definition: Font.hpp:14
    +
    static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
    Draw text using font, color, position, font size and spacing.
    Definition: Text.hpp:181
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    void Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})
    Draw text using Font and pro parameters (rotation).
    Definition: Text.hpp:117
    +
    void Draw(int posX, int posY)
    Draw text with values in class.
    Definition: Text.hpp:103
    +
    ::Color color
    The color of the text.
    Definition: Text.hpp:29
    +
    void Draw(const ::Vector2 &position)
    Draw text with values in class.
    Definition: Text.hpp:96
    +
    Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
    Initializes a new Text object.
    Definition: Text.hpp:50
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    static void Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
    Draw text using font and color, with position defined as Vector2.
    Definition: Text.hpp:168
    static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
    Draw text (using default font)
    Definition: Functions.hpp:256
    -
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:271
    +
    Text Functions.
    Definition: Text.hpp:14
    +
    static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
    Draw text using font, color, position, origin, font size and spacing.
    Definition: Text.hpp:196
    static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
    Draw text using font and additional parameters.
    Definition: Functions.hpp:263
    -
    - +
    ::Font font
    The internal raylib font to use for the text.
    Definition: Text.hpp:34
    - + diff --git a/docs/_texture_8hpp_source.html b/docs/_texture_8hpp_source.html index 129fc42c..e2028958 100644 --- a/docs/_texture_8hpp_source.html +++ b/docs/_texture_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Texture.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Texture.hpp
    +
    +
    Texture.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "./Vector2.hpp"
    -
    9#include "./Material.hpp"
    -
    10#include "./RaylibException.hpp"
    -
    11
    -
    12namespace raylib {
    -
    16class Texture : public ::Texture {
    -
    17 public:
    -
    21 Texture(unsigned int id = 0,
    -
    22 int width = 0,
    -
    23 int height = 0,
    -
    24 int mipmaps = 0,
    -
    25 int format = 0) : ::Texture{id, width, height, mipmaps, format} {
    -
    26 // Nothing.
    -
    27 }
    -
    28
    -
    32 Texture(const ::Texture& texture) {
    -
    33 set(texture);
    -
    34 }
    -
    35
    -
    41 Texture(const ::Image& image) {
    -
    42 if (!Load(image)) {
    -
    43 throw RaylibException("Failed to load Texture from Image");
    -
    44 }
    -
    45 }
    -
    46
    -
    54 Texture(const ::Image& image, int layout) {
    -
    55 if (!Load(image, layout)) {
    -
    56 throw RaylibException("Failed to load Texture from Cubemap");
    -
    57 }
    -
    58 }
    -
    59
    -
    65 Texture(const std::string& fileName) {
    -
    66 if (!Load(fileName)) {
    -
    67 throw RaylibException(TextFormat("Failed to load Texture from file: %s", fileName.c_str()));
    -
    68 }
    -
    69 }
    -
    70
    -
    71 Texture(const Texture&) = delete;
    -
    72
    -
    73 Texture(Texture&& other) {
    -
    74 set(other);
    -
    75
    -
    76 other.id = 0;
    -
    77 other.width = 0;
    -
    78 other.height = 0;
    -
    79 other.mipmaps = 0;
    -
    80 other.format = 0;
    -
    81 }
    -
    82
    - -
    84 Unload();
    -
    85 }
    -
    86
    -
    87 GETTERSETTER(unsigned int, Id, id)
    -
    88 GETTERSETTER(int, Width, width)
    -
    89 GETTERSETTER(int, Height, height)
    -
    90 GETTERSETTER(int, Mipmaps, mipmaps)
    -
    91 GETTERSETTER(int, Format, format)
    -
    92
    -
    93 Texture& operator=(const ::Texture& texture) {
    -
    94 set(texture);
    -
    95 return *this;
    -
    96 }
    -
    97
    -
    98 Texture& operator=(const Texture&) = delete;
    -
    99
    -
    100 Texture& operator=(Texture&& other) noexcept {
    -
    101 if (this == &other) {
    -
    102 return *this;
    -
    103 }
    -
    104
    -
    105 Unload();
    -
    106 set(other);
    -
    107
    -
    108 other.id = 0;
    -
    109 other.width = 0;
    -
    110 other.height = 0;
    -
    111 other.mipmaps = 0;
    -
    112 other.format = 0;
    -
    113
    -
    114 return *this;
    -
    115 }
    -
    116
    -
    120 inline ::Vector2 GetSize() const {
    -
    121 return {static_cast<float>(width), static_cast<float>(height)};
    -
    122 }
    -
    123
    -
    127 bool Load(const ::Image& image) {
    -
    128 set(::LoadTextureFromImage(image));
    -
    129 return IsReady();
    -
    130 }
    -
    131
    -
    135 bool Load(const ::Image& image, int layoutType) {
    -
    136 set(::LoadTextureCubemap(image, layoutType));
    -
    137 return IsReady();
    -
    138 }
    -
    139
    -
    143 bool Load(const std::string& fileName) {
    -
    144 set(::LoadTexture(fileName.c_str()));
    -
    145 return IsReady();
    -
    146 }
    -
    147
    -
    151 inline void Unload() {
    -
    152 ::UnloadTexture(*this);
    -
    153 }
    -
    154
    -
    158 inline Texture& Update(const void *pixels) {
    -
    159 ::UpdateTexture(*this, pixels);
    -
    160 return *this;
    -
    161 }
    -
    162
    -
    166 inline Texture& Update(::Rectangle rec, const void *pixels) {
    -
    167 UpdateTextureRec(*this, rec, pixels);
    -
    168 return *this;
    -
    169 }
    -
    170
    -
    174 inline ::Image GetData() const {
    -
    175 return ::LoadImageFromTexture(*this);
    -
    176 }
    -
    177
    -
    181 inline operator raylib::Image() {
    -
    182 return GetData();
    -
    183 }
    -
    184
    -
    188 inline Texture& GenMipmaps() {
    -
    189 ::GenTextureMipmaps(this);
    -
    190 return *this;
    -
    191 }
    -
    192
    -
    196 inline Texture& SetFilter(int filterMode) {
    -
    197 ::SetTextureFilter(*this, filterMode);
    -
    198 return *this;
    -
    199 }
    -
    200
    -
    204 inline Texture& SetWrap(int wrapMode) {
    -
    205 ::SetTextureWrap(*this, wrapMode);
    -
    206 return *this;
    -
    207 }
    -
    208
    -
    212 inline Texture& Draw(int posX = 0, int posY = 0, ::Color tint = {255, 255, 255, 255}) {
    -
    213 ::DrawTexture(*this, posX, posY, tint);
    -
    214 return *this;
    -
    215 }
    -
    216
    -
    217 inline Texture& Draw(::Vector2 position, ::Color tint = {255, 255, 255, 255}) {
    -
    218 ::DrawTextureV(*this, position, tint);
    -
    219 return *this;
    -
    220 }
    -
    221
    -
    222 inline Texture& Draw(::Vector2 position, float rotation, float scale = 1.0f,
    -
    223 ::Color tint = {255, 255, 255, 255}) {
    -
    224 ::DrawTextureEx(*this, position, rotation, scale, tint);
    -
    225 return *this;
    -
    226 }
    -
    227
    -
    228 inline Texture& Draw(::Rectangle sourceRec, ::Vector2 position = {0, 0},
    -
    229 ::Color tint = {255, 255, 255, 255}) {
    -
    230 ::DrawTextureRec(*this, sourceRec, position, tint);
    -
    231 return *this;
    -
    232 }
    -
    233
    -
    234 inline Texture& Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad,
    -
    235 ::Color tint = {255, 255, 255, 255}) {
    -
    236 ::DrawTextureQuad(*this, tiling, offset, quad, tint);
    -
    237 return *this;
    -
    238 }
    -
    239
    -
    240 inline Texture& Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    -
    241 float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
    -
    242 ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
    -
    243 return *this;
    -
    244 }
    -
    245
    -
    246 inline Texture& Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    -
    247 float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
    -
    248 ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
    -
    249 return *this;
    -
    250 }
    -
    251
    -
    252 inline Texture& Draw(::Vector3 position, float width, float height, float length,
    -
    253 ::Color tint = {255, 255, 255, 255}) {
    -
    254 ::DrawCubeTexture(*this, position, width, height, length, tint);
    -
    255 return *this;
    -
    256 }
    -
    257
    -
    258 inline Texture& DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    -
    259 float rotation = 0, float scale = 1, Color tint = {255, 255, 255, 255}) {
    -
    260 ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint);
    -
    261 return *this;
    -
    262 }
    -
    263
    -
    264 inline Texture& DrawPoly(Vector2 center, Vector2 *points,
    -
    265 Vector2 *texcoords, int pointsCount,
    -
    266 Color tint = {255, 255, 255, 255}) {
    -
    267 ::DrawTexturePoly(*this, center, points, texcoords, pointsCount, tint);
    -
    268 return *this;
    -
    269 }
    -
    270
    -
    274 inline Texture& SetMaterial(::Material *material, int mapType = MATERIAL_MAP_NORMAL) {
    -
    275 ::SetMaterialTexture(material, mapType, *this);
    -
    276 return *this;
    -
    277 }
    -
    278
    -
    279 inline Texture& SetMaterial(const ::Material& material, int mapType = MATERIAL_MAP_NORMAL) {
    -
    280 ::SetMaterialTexture((::Material*)(&material), mapType, *this);
    -
    281 return *this;
    -
    282 }
    -
    283
    -
    287 inline Texture& SetShapes(const ::Rectangle& source) {
    -
    288 ::SetShapesTexture(*this, source);
    -
    289 return *this;
    -
    290 }
    -
    291
    -
    295 inline Texture& SetShaderValue(const ::Shader& shader, int locIndex) {
    -
    296 ::SetShaderValueTexture(shader, locIndex, *this);
    -
    297 return *this;
    -
    298 }
    -
    299
    -
    305 bool IsReady() const {
    -
    306 return id != 0;
    -
    307 }
    -
    308
    -
    309 private:
    -
    310 inline void set(const ::Texture& texture) {
    -
    311 id = texture.id;
    -
    312 width = texture.width;
    -
    313 height = texture.height;
    -
    314 mipmaps = texture.mipmaps;
    -
    315 format = texture.format;
    -
    316 }
    -
    317};
    -
    318
    -
    319// Create the Texture aliases.
    - - -
    322
    -
    323} // namespace raylib
    -
    324
    -
    325#endif // RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
    -
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "./Vector2.hpp"
    +
    9 #include "./Material.hpp"
    +
    10 #include "./RaylibException.hpp"
    +
    11 
    +
    12 namespace raylib {
    +
    16 class Texture : public ::Texture {
    +
    17  public:
    +
    21  Texture(unsigned int id = 0,
    +
    22  int width = 0,
    +
    23  int height = 0,
    +
    24  int mipmaps = 0,
    +
    25  int format = 0) : ::Texture{id, width, height, mipmaps, format} {
    +
    26  // Nothing.
    +
    27  }
    +
    28 
    +
    32  Texture(const ::Texture& texture) {
    +
    33  set(texture);
    +
    34  }
    +
    35 
    +
    41  Texture(const ::Image& image) {
    +
    42  if (!Load(image)) {
    +
    43  throw RaylibException("Failed to load Texture from Image");
    +
    44  }
    +
    45  }
    +
    46 
    +
    54  Texture(const ::Image& image, int layout) {
    +
    55  if (!Load(image, layout)) {
    +
    56  throw RaylibException("Failed to load Texture from Cubemap");
    +
    57  }
    +
    58  }
    +
    59 
    +
    65  Texture(const std::string& fileName) {
    +
    66  if (!Load(fileName)) {
    +
    67  throw RaylibException(TextFormat("Failed to load Texture from file: %s", fileName.c_str()));
    +
    68  }
    +
    69  }
    +
    70 
    +
    71  Texture(const Texture&) = delete;
    +
    72 
    +
    73  Texture(Texture&& other) {
    +
    74  set(other);
    +
    75 
    +
    76  other.id = 0;
    +
    77  other.width = 0;
    +
    78  other.height = 0;
    +
    79  other.mipmaps = 0;
    +
    80  other.format = 0;
    +
    81  }
    +
    82 
    +
    83  ~Texture() {
    +
    84  Unload();
    +
    85  }
    +
    86 
    +
    87  GETTERSETTER(unsigned int, Id, id)
    +
    88  GETTERSETTER(int, Width, width)
    +
    89  GETTERSETTER(int, Height, height)
    +
    90  GETTERSETTER(int, Mipmaps, mipmaps)
    +
    91  GETTERSETTER(int, Format, format)
    +
    92 
    +
    93  Texture& operator=(const ::Texture& texture) {
    +
    94  set(texture);
    +
    95  return *this;
    +
    96  }
    +
    97 
    +
    98  Texture& operator=(const Texture&) = delete;
    +
    99 
    +
    100  Texture& operator=(Texture&& other) noexcept {
    +
    101  if (this == &other) {
    +
    102  return *this;
    +
    103  }
    +
    104 
    +
    105  Unload();
    +
    106  set(other);
    +
    107 
    +
    108  other.id = 0;
    +
    109  other.width = 0;
    +
    110  other.height = 0;
    +
    111  other.mipmaps = 0;
    +
    112  other.format = 0;
    +
    113 
    +
    114  return *this;
    +
    115  }
    +
    116 
    +
    120  inline ::Vector2 GetSize() const {
    +
    121  return {static_cast<float>(width), static_cast<float>(height)};
    +
    122  }
    +
    123 
    +
    127  bool Load(const ::Image& image) {
    +
    128  set(::LoadTextureFromImage(image));
    +
    129  return IsReady();
    +
    130  }
    +
    131 
    +
    135  bool Load(const ::Image& image, int layoutType) {
    +
    136  set(::LoadTextureCubemap(image, layoutType));
    +
    137  return IsReady();
    +
    138  }
    +
    139 
    +
    143  bool Load(const std::string& fileName) {
    +
    144  set(::LoadTexture(fileName.c_str()));
    +
    145  return IsReady();
    +
    146  }
    +
    147 
    +
    151  inline void Unload() {
    +
    152  ::UnloadTexture(*this);
    +
    153  }
    +
    154 
    +
    158  inline Texture& Update(const void *pixels) {
    +
    159  ::UpdateTexture(*this, pixels);
    +
    160  return *this;
    +
    161  }
    +
    162 
    +
    166  inline Texture& Update(::Rectangle rec, const void *pixels) {
    +
    167  UpdateTextureRec(*this, rec, pixels);
    +
    168  return *this;
    +
    169  }
    +
    170 
    +
    174  inline ::Image GetData() const {
    +
    175  return ::LoadImageFromTexture(*this);
    +
    176  }
    +
    177 
    +
    181  inline operator raylib::Image() {
    +
    182  return GetData();
    +
    183  }
    +
    184 
    +
    188  inline Texture& GenMipmaps() {
    +
    189  ::GenTextureMipmaps(this);
    +
    190  return *this;
    +
    191  }
    +
    192 
    +
    196  inline Texture& SetFilter(int filterMode) {
    +
    197  ::SetTextureFilter(*this, filterMode);
    +
    198  return *this;
    +
    199  }
    +
    200 
    +
    204  inline Texture& SetWrap(int wrapMode) {
    +
    205  ::SetTextureWrap(*this, wrapMode);
    +
    206  return *this;
    +
    207  }
    +
    208 
    +
    212  inline Texture& Draw(int posX = 0, int posY = 0, ::Color tint = {255, 255, 255, 255}) {
    +
    213  ::DrawTexture(*this, posX, posY, tint);
    +
    214  return *this;
    +
    215  }
    +
    216 
    +
    217  inline Texture& Draw(::Vector2 position, ::Color tint = {255, 255, 255, 255}) {
    +
    218  ::DrawTextureV(*this, position, tint);
    +
    219  return *this;
    +
    220  }
    +
    221 
    +
    222  inline Texture& Draw(::Vector2 position, float rotation, float scale = 1.0f,
    +
    223  ::Color tint = {255, 255, 255, 255}) {
    +
    224  ::DrawTextureEx(*this, position, rotation, scale, tint);
    +
    225  return *this;
    +
    226  }
    +
    227 
    +
    228  inline Texture& Draw(::Rectangle sourceRec, ::Vector2 position = {0, 0},
    +
    229  ::Color tint = {255, 255, 255, 255}) {
    +
    230  ::DrawTextureRec(*this, sourceRec, position, tint);
    +
    231  return *this;
    +
    232  }
    +
    233 
    +
    234  inline Texture& Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad,
    +
    235  ::Color tint = {255, 255, 255, 255}) {
    +
    236  ::DrawTextureQuad(*this, tiling, offset, quad, tint);
    +
    237  return *this;
    +
    238  }
    +
    239 
    +
    240  inline Texture& Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    +
    241  float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
    +
    242  ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
    +
    243  return *this;
    +
    244  }
    +
    245 
    +
    246  inline Texture& Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    +
    247  float rotation = 0, ::Color tint = {255, 255, 255, 255}) {
    +
    248  ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
    +
    249  return *this;
    +
    250  }
    +
    251 
    +
    252  inline Texture& Draw(::Vector3 position, float width, float height, float length,
    +
    253  ::Color tint = {255, 255, 255, 255}) {
    +
    254  ::DrawCubeTexture(*this, position, width, height, length, tint);
    +
    255  return *this;
    +
    256  }
    +
    257 
    +
    258  inline Texture& DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    +
    259  float rotation = 0, float scale = 1, Color tint = {255, 255, 255, 255}) {
    +
    260  ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint);
    +
    261  return *this;
    +
    262  }
    +
    263 
    +
    264  inline Texture& DrawPoly(Vector2 center, Vector2 *points,
    +
    265  Vector2 *texcoords, int pointsCount,
    +
    266  Color tint = {255, 255, 255, 255}) {
    +
    267  ::DrawTexturePoly(*this, center, points, texcoords, pointsCount, tint);
    +
    268  return *this;
    +
    269  }
    +
    270 
    +
    274  inline Texture& SetMaterial(::Material *material, int mapType = MATERIAL_MAP_NORMAL) {
    +
    275  ::SetMaterialTexture(material, mapType, *this);
    +
    276  return *this;
    +
    277  }
    +
    278 
    +
    279  inline Texture& SetMaterial(const ::Material& material, int mapType = MATERIAL_MAP_NORMAL) {
    +
    280  ::SetMaterialTexture((::Material*)(&material), mapType, *this);
    +
    281  return *this;
    +
    282  }
    +
    283 
    +
    287  inline Texture& SetShapes(const ::Rectangle& source) {
    +
    288  ::SetShapesTexture(*this, source);
    +
    289  return *this;
    +
    290  }
    +
    291 
    +
    295  inline Texture& SetShaderValue(const ::Shader& shader, int locIndex) {
    +
    296  ::SetShaderValueTexture(shader, locIndex, *this);
    +
    297  return *this;
    +
    298  }
    +
    299 
    +
    305  bool IsReady() const {
    +
    306  return id != 0;
    +
    307  }
    +
    308 
    +
    309  private:
    +
    310  inline void set(const ::Texture& texture) {
    +
    311  id = texture.id;
    +
    312  width = texture.width;
    +
    313  height = texture.height;
    +
    314  mipmaps = texture.mipmaps;
    +
    315  format = texture.format;
    +
    316  }
    +
    317 };
    +
    318 
    +
    319 // Create the Texture aliases.
    +
    320 typedef Texture Texture2D;
    +
    321 typedef Texture TextureCubemap;
    +
    322 
    +
    323 } // namespace raylib
    +
    324 
    +
    325 #endif // RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Texture & SetWrap(int wrapMode)
    Set texture wrapping mode.
    Definition: Texture.hpp:204
    +
    bool Load(const ::Image &image)
    Load texture from image data.
    Definition: Texture.hpp:127
    Image type, bpp always RGBA (32bit)
    Definition: Image.hpp:16
    -
    Exception used for most raylib-related exceptions.
    -
    Texture type.
    Definition: Texture.hpp:16
    -
    Texture & Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
    Draw a Texture2D.
    Definition: Texture.hpp:212
    -
    Texture & operator=(Texture &&other) noexcept
    Definition: Texture.hpp:100
    -
    Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
    Default constructor to create an empty Texture object.
    Definition: Texture.hpp:21
    -
    void Unload()
    Unload texture from GPU memory (VRAM)
    Definition: Texture.hpp:151
    -
    bool Load(const std::string &fileName)
    Load texture from file into GPU memory (VRAM)
    Definition: Texture.hpp:143
    -
    Texture & Update(::Rectangle rec, const void *pixels)
    Update GPU texture rectangle with new data.
    Definition: Texture.hpp:166
    -
    Texture(const ::Texture &texture)
    Creates a texture object based on the given Texture struct data.
    Definition: Texture.hpp:32
    -
    Texture & Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:217
    -
    Texture & DrawPoly(Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:264
    -
    Texture & Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:228
    -
    Texture & SetShaderValue(const ::Shader &shader, int locIndex)
    Set shader uniform value for texture (sampler2d)
    Definition: Texture.hpp:295
    inline ::Vector2 GetSize() const
    Retrieve the width and height of the texture.
    Definition: Texture.hpp:120
    -
    inline ::Image GetData() const
    Get pixel data from GPU texture and return an Image.
    Definition: Texture.hpp:174
    Texture(const ::Image &image)
    Creates a texture from the given Image.
    Definition: Texture.hpp:41
    -
    bool Load(const ::Image &image, int layoutType)
    Load cubemap from image, multiple image cubemap layouts supported.
    Definition: Texture.hpp:135
    -
    Texture(const Texture &)=delete
    -
    Texture & DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:258
    bool IsReady() const
    Determines whether or not the Texture has been loaded and is ready.
    Definition: Texture.hpp:305
    -
    Texture(Texture &&other)
    Definition: Texture.hpp:73
    -
    Texture & Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:246
    -
    Texture & operator=(const Texture &)=delete
    -
    Texture & SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
    Definition: Texture.hpp:279
    -
    Texture & GenMipmaps()
    Generate GPU mipmaps for a texture.
    Definition: Texture.hpp:188
    -
    Texture(const ::Image &image, int layout)
    Load cubemap from image, multiple image cubemap layouts supported.
    Definition: Texture.hpp:54
    -
    Texture & SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)
    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
    Definition: Texture.hpp:274
    -
    Texture & SetWrap(int wrapMode)
    Set texture wrapping mode.
    Definition: Texture.hpp:204
    +
    Texture & SetShapes(const ::Rectangle &source)
    Set texture and rectangle to be used on shapes drawing.
    Definition: Texture.hpp:287
    +
    Rectangle type.
    Definition: Rectangle.hpp:12
    +
    Texture & Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
    Draw a Texture2D.
    Definition: Texture.hpp:212
    Texture(const std::string &fileName)
    Load texture from file into GPU memory (VRAM)
    Definition: Texture.hpp:65
    -
    Texture & Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:240
    -
    Texture & SetShapes(const ::Rectangle &source)
    Set texture and rectangle to be used on shapes drawing.
    Definition: Texture.hpp:287
    -
    Texture & Update(const void *pixels)
    Update GPU texture with new data.
    Definition: Texture.hpp:158
    -
    Texture & SetFilter(int filterMode)
    Set texture scaling filter mode.
    Definition: Texture.hpp:196
    -
    Texture & Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:234
    -
    Texture & Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:222
    -
    Texture & Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})
    Definition: Texture.hpp:252
    - -
    bool Load(const ::Image &image)
    Load texture from image data.
    Definition: Texture.hpp:127
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    Texture TextureCubemap
    Definition: Texture.hpp:321
    -
    Texture Texture2D
    Definition: Texture.hpp:320
    -
    - +
    Texture(const ::Image &image, int layout)
    Load cubemap from image, multiple image cubemap layouts supported.
    Definition: Texture.hpp:54
    +
    Texture & SetFilter(int filterMode)
    Set texture scaling filter mode.
    Definition: Texture.hpp:196
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    bool Load(const std::string &fileName)
    Load texture from file into GPU memory (VRAM)
    Definition: Texture.hpp:143
    +
    inline ::Image GetData() const
    Get pixel data from GPU texture and return an Image.
    Definition: Texture.hpp:174
    +
    bool Load(const ::Image &image, int layoutType)
    Load cubemap from image, multiple image cubemap layouts supported.
    Definition: Texture.hpp:135
    +
    Texture & SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)
    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
    Definition: Texture.hpp:274
    +
    Texture type.
    Definition: Texture.hpp:16
    +
    void Unload()
    Unload texture from GPU memory (VRAM)
    Definition: Texture.hpp:151
    +
    Exception used for most raylib-related exceptions.
    +
    Texture & GenMipmaps()
    Generate GPU mipmaps for a texture.
    Definition: Texture.hpp:188
    +
    Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
    Default constructor to create an empty Texture object.
    Definition: Texture.hpp:21
    +
    Texture(const ::Texture &texture)
    Creates a texture object based on the given Texture struct data.
    Definition: Texture.hpp:32
    +
    Material type (generic)
    Definition: Material.hpp:14
    +
    Texture & SetShaderValue(const ::Shader &shader, int locIndex)
    Set shader uniform value for texture (sampler2d)
    Definition: Texture.hpp:295
    +
    Texture & Update(::Rectangle rec, const void *pixels)
    Update GPU texture rectangle with new data.
    Definition: Texture.hpp:166
    +
    Texture & Update(const void *pixels)
    Update GPU texture with new data.
    Definition: Texture.hpp:158
    - + diff --git a/docs/_vector2_8hpp_source.html b/docs/_vector2_8hpp_source.html index c60406ce..b01e7d50 100644 --- a/docs/_vector2_8hpp_source.html +++ b/docs/_vector2_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Vector2.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Vector2.hpp
    +
    +
    Vector2.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    -
    3
    -
    4#ifndef RAYLIB_CPP_NO_MATH
    -
    5#include <cmath>
    -
    6#endif
    -
    7
    -
    8#include "./raylib.hpp"
    -
    9#include "./raymath.hpp"
    -
    10#include "./raylib-cpp-utils.hpp"
    -
    11
    -
    12namespace raylib {
    -
    16class Vector2 : public ::Vector2 {
    -
    17 public:
    -
    18 Vector2(const ::Vector2& vec) {
    -
    19 set(vec);
    -
    20 }
    -
    21
    -
    22 Vector2(float x, float y) : ::Vector2{x, y} {}
    -
    23 Vector2(float x) : ::Vector2{x, 0} {}
    -
    24 Vector2() : ::Vector2{0, 0} {}
    -
    25
    -
    26 GETTERSETTER(float, X, x)
    -
    27 GETTERSETTER(float, Y, y)
    -
    28
    -
    29 Vector2& operator=(const ::Vector2& vector2) {
    -
    30 set(vector2);
    -
    31 return *this;
    -
    32 }
    -
    33
    -
    34 bool operator==(const ::Vector2& other) {
    -
    35 return x == other.x
    -
    36 && y == other.y;
    -
    37 }
    -
    38
    -
    39 bool operator!=(const ::Vector2& other) {
    -
    40 return !(*this == other);
    -
    41 }
    -
    42
    -
    43#ifndef RAYLIB_CPP_NO_MATH
    -
    44 Vector2 Add(const ::Vector2& vector2) const {
    -
    45 return Vector2Add(*this, vector2);
    -
    46 }
    -
    47
    -
    48 Vector2 operator+(const ::Vector2& vector2) const {
    -
    49 return Vector2Add(*this, vector2);
    -
    50 }
    -
    51
    -
    52 Vector2 Subtract(const ::Vector2& vector2) const {
    -
    53 return Vector2Subtract(*this, vector2);
    -
    54 }
    -
    55
    -
    56 Vector2 operator-(const ::Vector2& vector2) const {
    -
    57 return Vector2Subtract(*this, vector2);
    -
    58 }
    -
    59
    -
    60 Vector2 Negate() const {
    -
    61 return Vector2Negate(*this);
    -
    62 }
    -
    63
    - -
    65 return Vector2Negate(*this);
    -
    66 }
    -
    67
    -
    68 Vector2 Multiply(const ::Vector2& vector2) const {
    -
    69 return Vector2Multiply(*this, vector2);
    -
    70 }
    -
    71
    -
    72 Vector2 operator*(const ::Vector2& vector2) const {
    -
    73 return Vector2Multiply(*this, vector2);
    -
    74 }
    -
    75
    -
    76 Vector2 Scale(const float scale) const {
    -
    77 return Vector2Scale(*this, scale);
    -
    78 }
    -
    79
    -
    80 Vector2 operator*(const float scale) const {
    -
    81 return Vector2Scale(*this, scale);
    -
    82 }
    -
    83
    -
    84 Vector2 Divide(const ::Vector2& vector2) const {
    -
    85 return Vector2Divide(*this, vector2);
    -
    86 }
    -
    87
    -
    88 Vector2 operator/(const ::Vector2& vector2) const {
    -
    89 return Vector2Divide(*this, vector2);
    -
    90 }
    -
    91
    -
    92 Vector2 Divide(const float div) const {
    -
    93 return ::Vector2{x / div, y / div};
    -
    94 }
    -
    95
    -
    96 Vector2 operator/(const float div) const {
    -
    97 return Divide(div);
    -
    98 }
    -
    99
    -
    100 Vector2& operator+=(const ::Vector2& vector2) {
    -
    101 set(Vector2Add(*this, vector2));
    -
    102
    -
    103 return *this;
    -
    104 }
    -
    105
    -
    106 Vector2& operator-=(const ::Vector2& vector2) {
    -
    107 set(Vector2Subtract(*this, vector2));
    -
    108
    -
    109 return *this;
    -
    110 }
    -
    111
    -
    112
    -
    113 Vector2& operator*=(const ::Vector2& vector2) {
    -
    114 set(Vector2Multiply(*this, vector2));
    -
    115
    -
    116 return *this;
    -
    117 }
    -
    118
    -
    119 Vector2& operator*=(const float scale) {
    -
    120 set(Vector2Scale(*this, scale));
    -
    121
    -
    122 return *this;
    -
    123 }
    -
    124
    -
    125 Vector2& operator/=(const ::Vector2& vector2) {
    -
    126 set(Vector2Divide(*this, vector2));
    -
    127
    -
    128 return *this;
    -
    129 }
    -
    130
    -
    131 Vector2& operator/=(const float div) {
    -
    132 this->x /= div;
    -
    133 this->y /= div;
    -
    134
    -
    135 return *this;
    -
    136 }
    -
    137
    -
    141 float Length() const {
    -
    142 return Vector2Length(*this);
    -
    143 }
    -
    144
    -
    148 float LengthSqr() const {
    -
    149 return Vector2LengthSqr(*this);
    -
    150 }
    -
    151
    - -
    156 return Vector2Normalize(*this);
    -
    157 }
    -
    158
    -
    162 float DotProduct(const ::Vector2& vector2) const {
    -
    163 return Vector2DotProduct(*this, vector2);
    -
    164 }
    -
    165
    -
    169 float Angle(const ::Vector2& vector2) const {
    -
    170 return Vector2Angle(*this, vector2);
    -
    171 }
    -
    172
    -
    176 float Distance(const ::Vector2& vector2) const {
    -
    177 return Vector2Distance(*this, vector2);
    -
    178 }
    -
    179
    -
    183 Vector2 Lerp(const ::Vector2& vector2, float amount) const {
    -
    184 return Vector2Lerp(*this, vector2, amount);
    -
    185 }
    -
    186
    -
    190 Vector2 Reflect(const ::Vector2& normal) const {
    -
    191 return Vector2Reflect(*this, normal);
    -
    192 }
    -
    193
    -
    197 Vector2 Rotate(float degrees) const {
    -
    198 return Vector2Rotate(*this, degrees);
    -
    199 }
    -
    200
    -
    204 Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
    -
    205 return Vector2MoveTowards(*this, target, maxDistance);
    -
    206 }
    -
    207
    -
    211 static Vector2 Zero() {
    -
    212 return Vector2Zero();
    -
    213 }
    -
    214
    -
    218 static Vector2 One() {
    -
    219 return Vector2One();
    -
    220 }
    -
    221#endif
    -
    222
    -
    223 inline Vector2& DrawPixel(::Color color) {
    -
    224 ::DrawPixelV(*this, color);
    -
    225 return *this;
    -
    226 }
    -
    227
    -
    228 inline Vector2& DrawLine(::Vector2 endPos, ::Color color) {
    -
    229 ::DrawLineV(*this, endPos, color);
    -
    230 return *this;
    -
    231 }
    -
    232
    -
    233 inline Vector2& DrawLine(::Vector2 endPos, float thick, ::Color color) {
    -
    234 ::DrawLineEx(*this, endPos, thick, color);
    -
    235 return *this;
    -
    236 }
    -
    237
    -
    238 inline Vector2& DrawLineBezier(::Vector2 endPos, float thick, ::Color color) {
    -
    239 ::DrawLineBezier(*this, endPos, thick, color);
    -
    240 return *this;
    -
    241 }
    -
    242
    - -
    247 ::Vector2 endPos,
    -
    248 ::Vector2 controlPos,
    -
    249 float thick,
    -
    250 ::Color color) {
    -
    251 ::DrawLineBezierQuad(*this, endPos, controlPos, thick, color);
    -
    252 return *this;
    -
    253 }
    -
    254
    -
    258 inline Vector2& DrawCircle(float radius, ::Color color) {
    -
    259 ::DrawCircleV(*this, radius, color);
    -
    260 return *this;
    -
    261 }
    -
    262
    -
    263 inline Vector2& DrawRectangle(::Vector2 size, ::Color color) {
    -
    264 ::DrawRectangleV(*this, size, color);
    -
    265 return *this;
    -
    266 }
    -
    267
    -
    268 inline Vector2& DrawPoly(int sides, float radius, float rotation, ::Color color) {
    -
    269 ::DrawPoly(*this, sides, radius, rotation, color);
    -
    270 return *this;
    -
    271 }
    -
    272
    -
    276 inline bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const {
    -
    277 return ::CheckCollisionCircles(*this, radius1, center2, radius2);
    -
    278 }
    -
    279
    -
    283 inline bool CheckCollisionCircle(float radius, ::Rectangle rec) const {
    -
    284 return ::CheckCollisionCircleRec(*this, radius, rec);
    -
    285 }
    -
    286
    -
    290 inline bool CheckCollision(::Rectangle rec) const {
    -
    291 return ::CheckCollisionPointRec(*this, rec);
    -
    292 }
    -
    293
    -
    297 inline bool CheckCollision(::Vector2 center, float radius) const {
    -
    298 return ::CheckCollisionPointCircle(*this, center, radius);
    -
    299 }
    -
    300
    -
    304 inline bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const {
    -
    305 return ::CheckCollisionPointTriangle(*this, p1, p2, p3);
    -
    306 }
    -
    307
    - -
    312 ::Vector2 endPos1,
    -
    313 ::Vector2 startPos2, ::Vector2 endPos2,
    -
    314 ::Vector2 *collisionPoint) const {
    -
    315 return ::CheckCollisionLines(*this, endPos1, startPos2, endPos2, collisionPoint);
    -
    316 }
    -
    317
    -
    318 private:
    -
    319 inline void set(const ::Vector2& vec) {
    -
    320 x = vec.x;
    -
    321 y = vec.y;
    -
    322 }
    -
    323};
    -
    324
    -
    325} // namespace raylib
    -
    326
    -
    327#endif // RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    Vector2 & DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
    Draw line using quadratic bezier curves with a control point.
    Definition: Vector2.hpp:246
    -
    Vector2 & operator-=(const ::Vector2 &vector2)
    Definition: Vector2.hpp:106
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    +
    3 
    +
    4 #ifndef RAYLIB_CPP_NO_MATH
    +
    5 #include <cmath>
    +
    6 #endif
    +
    7 
    +
    8 #include "./raylib.hpp"
    +
    9 #include "./raymath.hpp"
    +
    10 #include "./raylib-cpp-utils.hpp"
    +
    11 
    +
    12 namespace raylib {
    +
    16 class Vector2 : public ::Vector2 {
    +
    17  public:
    +
    18  Vector2(const ::Vector2& vec) {
    +
    19  set(vec);
    +
    20  }
    +
    21 
    +
    22  Vector2(float x, float y) : ::Vector2{x, y} {}
    +
    23  Vector2(float x) : ::Vector2{x, 0} {}
    +
    24  Vector2() : ::Vector2{0, 0} {}
    +
    25 
    +
    26  GETTERSETTER(float, X, x)
    +
    27  GETTERSETTER(float, Y, y)
    +
    28 
    +
    29  Vector2& operator=(const ::Vector2& vector2) {
    +
    30  set(vector2);
    +
    31  return *this;
    +
    32  }
    +
    33 
    +
    34  bool operator==(const ::Vector2& other) {
    +
    35  return x == other.x
    +
    36  && y == other.y;
    +
    37  }
    +
    38 
    +
    39  bool operator!=(const ::Vector2& other) {
    +
    40  return !(*this == other);
    +
    41  }
    +
    42 
    +
    43 #ifndef RAYLIB_CPP_NO_MATH
    +
    44  Vector2 Add(const ::Vector2& vector2) const {
    +
    45  return Vector2Add(*this, vector2);
    +
    46  }
    +
    47 
    +
    48  Vector2 operator+(const ::Vector2& vector2) const {
    +
    49  return Vector2Add(*this, vector2);
    +
    50  }
    +
    51 
    +
    52  Vector2 Subtract(const ::Vector2& vector2) const {
    +
    53  return Vector2Subtract(*this, vector2);
    +
    54  }
    +
    55 
    +
    56  Vector2 operator-(const ::Vector2& vector2) const {
    +
    57  return Vector2Subtract(*this, vector2);
    +
    58  }
    +
    59 
    +
    60  Vector2 Negate() const {
    +
    61  return Vector2Negate(*this);
    +
    62  }
    +
    63 
    +
    64  Vector2 operator-() const {
    +
    65  return Vector2Negate(*this);
    +
    66  }
    +
    67 
    +
    68  Vector2 Multiply(const ::Vector2& vector2) const {
    +
    69  return Vector2Multiply(*this, vector2);
    +
    70  }
    +
    71 
    +
    72  Vector2 operator*(const ::Vector2& vector2) const {
    +
    73  return Vector2Multiply(*this, vector2);
    +
    74  }
    +
    75 
    +
    76  Vector2 Scale(const float scale) const {
    +
    77  return Vector2Scale(*this, scale);
    +
    78  }
    +
    79 
    +
    80  Vector2 operator*(const float scale) const {
    +
    81  return Vector2Scale(*this, scale);
    +
    82  }
    +
    83 
    +
    84  Vector2 Divide(const ::Vector2& vector2) const {
    +
    85  return Vector2Divide(*this, vector2);
    +
    86  }
    +
    87 
    +
    88  Vector2 operator/(const ::Vector2& vector2) const {
    +
    89  return Vector2Divide(*this, vector2);
    +
    90  }
    +
    91 
    +
    92  Vector2 Divide(const float div) const {
    +
    93  return ::Vector2{x / div, y / div};
    +
    94  }
    +
    95 
    +
    96  Vector2 operator/(const float div) const {
    +
    97  return Divide(div);
    +
    98  }
    +
    99 
    +
    100  Vector2& operator+=(const ::Vector2& vector2) {
    +
    101  set(Vector2Add(*this, vector2));
    +
    102 
    +
    103  return *this;
    +
    104  }
    +
    105 
    +
    106  Vector2& operator-=(const ::Vector2& vector2) {
    +
    107  set(Vector2Subtract(*this, vector2));
    +
    108 
    +
    109  return *this;
    +
    110  }
    +
    111 
    +
    112 
    +
    113  Vector2& operator*=(const ::Vector2& vector2) {
    +
    114  set(Vector2Multiply(*this, vector2));
    +
    115 
    +
    116  return *this;
    +
    117  }
    +
    118 
    +
    119  Vector2& operator*=(const float scale) {
    +
    120  set(Vector2Scale(*this, scale));
    +
    121 
    +
    122  return *this;
    +
    123  }
    +
    124 
    +
    125  Vector2& operator/=(const ::Vector2& vector2) {
    +
    126  set(Vector2Divide(*this, vector2));
    +
    127 
    +
    128  return *this;
    +
    129  }
    +
    130 
    +
    131  Vector2& operator/=(const float div) {
    +
    132  this->x /= div;
    +
    133  this->y /= div;
    +
    134 
    +
    135  return *this;
    +
    136  }
    +
    137 
    +
    141  float Length() const {
    +
    142  return Vector2Length(*this);
    +
    143  }
    +
    144 
    +
    148  float LengthSqr() const {
    +
    149  return Vector2LengthSqr(*this);
    +
    150  }
    +
    151 
    +
    155  Vector2 Normalize() const {
    +
    156  return Vector2Normalize(*this);
    +
    157  }
    +
    158 
    +
    162  float DotProduct(const ::Vector2& vector2) const {
    +
    163  return Vector2DotProduct(*this, vector2);
    +
    164  }
    +
    165 
    +
    169  float Angle(const ::Vector2& vector2) const {
    +
    170  return Vector2Angle(*this, vector2);
    +
    171  }
    +
    172 
    +
    176  float Distance(const ::Vector2& vector2) const {
    +
    177  return Vector2Distance(*this, vector2);
    +
    178  }
    +
    179 
    +
    183  Vector2 Lerp(const ::Vector2& vector2, float amount) const {
    +
    184  return Vector2Lerp(*this, vector2, amount);
    +
    185  }
    +
    186 
    +
    190  Vector2 Reflect(const ::Vector2& normal) const {
    +
    191  return Vector2Reflect(*this, normal);
    +
    192  }
    +
    193 
    +
    197  Vector2 Rotate(float degrees) const {
    +
    198  return Vector2Rotate(*this, degrees);
    +
    199  }
    +
    200 
    +
    204  Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
    +
    205  return Vector2MoveTowards(*this, target, maxDistance);
    +
    206  }
    +
    207 
    +
    211  static Vector2 Zero() {
    +
    212  return Vector2Zero();
    +
    213  }
    +
    214 
    +
    218  static Vector2 One() {
    +
    219  return Vector2One();
    +
    220  }
    +
    221 #endif
    +
    222 
    +
    223  inline Vector2& DrawPixel(::Color color) {
    +
    224  ::DrawPixelV(*this, color);
    +
    225  return *this;
    +
    226  }
    +
    227 
    +
    228  inline Vector2& DrawLine(::Vector2 endPos, ::Color color) {
    +
    229  ::DrawLineV(*this, endPos, color);
    +
    230  return *this;
    +
    231  }
    +
    232 
    +
    233  inline Vector2& DrawLine(::Vector2 endPos, float thick, ::Color color) {
    +
    234  ::DrawLineEx(*this, endPos, thick, color);
    +
    235  return *this;
    +
    236  }
    +
    237 
    +
    238  inline Vector2& DrawLineBezier(::Vector2 endPos, float thick, ::Color color) {
    +
    239  ::DrawLineBezier(*this, endPos, thick, color);
    +
    240  return *this;
    +
    241  }
    +
    242 
    + +
    247  ::Vector2 endPos,
    +
    248  ::Vector2 controlPos,
    +
    249  float thick,
    +
    250  ::Color color) {
    +
    251  ::DrawLineBezierQuad(*this, endPos, controlPos, thick, color);
    +
    252  return *this;
    +
    253  }
    +
    254 
    +
    258  inline Vector2& DrawCircle(float radius, ::Color color) {
    +
    259  ::DrawCircleV(*this, radius, color);
    +
    260  return *this;
    +
    261  }
    +
    262 
    +
    263  inline Vector2& DrawRectangle(::Vector2 size, ::Color color) {
    +
    264  ::DrawRectangleV(*this, size, color);
    +
    265  return *this;
    +
    266  }
    +
    267 
    +
    268  inline Vector2& DrawPoly(int sides, float radius, float rotation, ::Color color) {
    +
    269  ::DrawPoly(*this, sides, radius, rotation, color);
    +
    270  return *this;
    +
    271  }
    +
    272 
    +
    276  inline bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const {
    +
    277  return ::CheckCollisionCircles(*this, radius1, center2, radius2);
    +
    278  }
    +
    279 
    +
    283  inline bool CheckCollisionCircle(float radius, ::Rectangle rec) const {
    +
    284  return ::CheckCollisionCircleRec(*this, radius, rec);
    +
    285  }
    +
    286 
    +
    290  inline bool CheckCollision(::Rectangle rec) const {
    +
    291  return ::CheckCollisionPointRec(*this, rec);
    +
    292  }
    +
    293 
    +
    297  inline bool CheckCollision(::Vector2 center, float radius) const {
    +
    298  return ::CheckCollisionPointCircle(*this, center, radius);
    +
    299  }
    +
    300 
    +
    304  inline bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const {
    +
    305  return ::CheckCollisionPointTriangle(*this, p1, p2, p3);
    +
    306  }
    +
    307 
    +
    311  inline bool CheckCollisionLines(
    +
    312  ::Vector2 endPos1,
    +
    313  ::Vector2 startPos2, ::Vector2 endPos2,
    +
    314  ::Vector2 *collisionPoint) const {
    +
    315  return ::CheckCollisionLines(*this, endPos1, startPos2, endPos2, collisionPoint);
    +
    316  }
    +
    317 
    +
    318  private:
    +
    319  inline void set(const ::Vector2& vec) {
    +
    320  x = vec.x;
    +
    321  y = vec.y;
    +
    322  }
    +
    323 };
    +
    324 
    +
    325 } // namespace raylib
    +
    326 
    +
    327 #endif // RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    +
    bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
    Check if point is inside a triangle.
    Definition: Vector2.hpp:304
    -
    Vector2 & DrawCircle(float radius, ::Color color)
    Draw a color-filled circle (Vector version)
    Definition: Vector2.hpp:258
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Vector2 Reflect(const ::Vector2 &normal) const
    Calculate reflected vector to normal.
    Definition: Vector2.hpp:190
    Vector2 MoveTowards(const ::Vector2 &target, float maxDistance) const
    Move Vector towards target.
    Definition: Vector2.hpp:204
    -
    Vector2 Subtract(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:52
    -
    Vector2 operator*(const float scale) const
    Definition: Vector2.hpp:80
    +
    float Length() const
    Calculate vector length.
    Definition: Vector2.hpp:141
    +
    Vector2 Normalize() const
    Normalize provided vector.
    Definition: Vector2.hpp:155
    +
    static Vector2 Zero()
    Vector with components value 0.0f.
    Definition: Vector2.hpp:211
    bool CheckCollision(::Rectangle rec) const
    Check if point is inside rectangle.
    Definition: Vector2.hpp:290
    +
    bool CheckCollision(::Vector2 center, float radius) const
    Check if point is inside circle.
    Definition: Vector2.hpp:297
    Vector2 Lerp(const ::Vector2 &vector2, float amount) const
    Calculate linear interpolation between two vectors.
    Definition: Vector2.hpp:183
    -
    Vector2 & DrawLine(::Vector2 endPos, float thick, ::Color color)
    Definition: Vector2.hpp:233
    -
    Vector2 & operator*=(const float scale)
    Definition: Vector2.hpp:119
    -
    Vector2 & operator/=(const ::Vector2 &vector2)
    Definition: Vector2.hpp:125
    -
    Vector2 & DrawPixel(::Color color)
    Definition: Vector2.hpp:223
    -
    float Length() const
    Calculate vector length.
    Definition: Vector2.hpp:141
    -
    float DotProduct(const ::Vector2 &vector2) const
    Calculate two vectors dot product.
    Definition: Vector2.hpp:162
    -
    Vector2 Rotate(float degrees) const
    Rotate Vector by float in Degrees.
    Definition: Vector2.hpp:197
    +
    static Vector2 One()
    Vector with components value 1.0f.
    Definition: Vector2.hpp:218
    float LengthSqr() const
    Calculate vector square length.
    Definition: Vector2.hpp:148
    -
    float Distance(const ::Vector2 &vector2) const
    Calculate distance between two vectors.
    Definition: Vector2.hpp:176
    -
    Vector2 & operator+=(const ::Vector2 &vector2)
    Definition: Vector2.hpp:100
    -
    bool CheckCollision(::Vector2 center, float radius) const
    Check if point is inside circle.
    Definition: Vector2.hpp:297
    -
    Vector2 Divide(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:84
    -
    bool CheckCollisionCircle(float radius, ::Rectangle rec) const
    Check collision between circle and rectangle.
    Definition: Vector2.hpp:283
    -
    static Vector2 Zero()
    Vector with components value 0.0f.
    Definition: Vector2.hpp:211
    +
    Rectangle type.
    Definition: Rectangle.hpp:12
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    Vector2 & DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
    Draw line using quadratic bezier curves with a control point.
    Definition: Vector2.hpp:246
    bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const
    Check collision between two circles.
    Definition: Vector2.hpp:276
    -
    Vector2 Reflect(const ::Vector2 &normal) const
    Calculate reflected vector to normal.
    Definition: Vector2.hpp:190
    -
    Vector2 Multiply(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:68
    -
    Vector2 operator+(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:48
    -
    Vector2 operator/(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:88
    -
    bool operator==(const ::Vector2 &other)
    Definition: Vector2.hpp:34
    -
    Vector2 Negate() const
    Definition: Vector2.hpp:60
    -
    Vector2 Scale(const float scale) const
    Definition: Vector2.hpp:76
    -
    Vector2 Add(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:44
    -
    Vector2 operator*(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:72
    -
    Vector2 operator/(const float div) const
    Definition: Vector2.hpp:96
    -
    Vector2(float x)
    Definition: Vector2.hpp:23
    -
    Vector2 & DrawPoly(int sides, float radius, float rotation, ::Color color)
    Definition: Vector2.hpp:268
    -
    Vector2(float x, float y)
    Definition: Vector2.hpp:22
    -
    Vector2 & operator*=(const ::Vector2 &vector2)
    Definition: Vector2.hpp:113
    -
    bool CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
    Check the collision between two lines defined by two points each, returns collision point by referenc...
    Definition: Vector2.hpp:311
    -
    static Vector2 One()
    Vector with components value 1.0f.
    Definition: Vector2.hpp:218
    -
    Vector2 & DrawLineBezier(::Vector2 endPos, float thick, ::Color color)
    Definition: Vector2.hpp:238
    -
    Vector2 & DrawLine(::Vector2 endPos, ::Color color)
    Definition: Vector2.hpp:228
    -
    Vector2 & operator/=(const float div)
    Definition: Vector2.hpp:131
    - -
    bool operator!=(const ::Vector2 &other)
    Definition: Vector2.hpp:39
    -
    Vector2 Normalize() const
    Normalize provided vector.
    Definition: Vector2.hpp:155
    -
    Vector2 operator-() const
    Definition: Vector2.hpp:64
    -
    Vector2(const ::Vector2 &vec)
    Definition: Vector2.hpp:18
    -
    Vector2 & DrawRectangle(::Vector2 size, ::Color color)
    Definition: Vector2.hpp:263
    -
    Vector2 operator-(const ::Vector2 &vector2) const
    Definition: Vector2.hpp:56
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    bool CheckCollisionCircle(float radius, ::Rectangle rec) const
    Check collision between circle and rectangle.
    Definition: Vector2.hpp:283
    +
    Vector2 Rotate(float degrees) const
    Rotate Vector by float in Degrees.
    Definition: Vector2.hpp:197
    +
    float Distance(const ::Vector2 &vector2) const
    Calculate distance between two vectors.
    Definition: Vector2.hpp:176
    float Angle(const ::Vector2 &vector2) const
    Calculate angle from two vectors in X-axis.
    Definition: Vector2.hpp:169
    -
    Vector2 Divide(const float div) const
    Definition: Vector2.hpp:92
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    float DotProduct(const ::Vector2 &vector2) const
    Calculate two vectors dot product.
    Definition: Vector2.hpp:162
    +
    Vector2 & DrawCircle(float radius, ::Color color)
    Draw a color-filled circle (Vector version)
    Definition: Vector2.hpp:258
    +
    bool CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
    Check the collision between two lines defined by two points each, returns collision point by referenc...
    Definition: Vector2.hpp:311
    - + diff --git a/docs/_vector3_8hpp_source.html b/docs/_vector3_8hpp_source.html index 81bf441b..6e3d2898 100644 --- a/docs/_vector3_8hpp_source.html +++ b/docs/_vector3_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Vector3.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Vector3.hpp
    +
    +
    Vector3.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    -
    3
    -
    4#ifndef RAYLIB_CPP_NO_MATH
    -
    5#include <cmath>
    -
    6#endif
    -
    7
    -
    8#include "./raylib.hpp"
    -
    9#include "./raymath.hpp"
    -
    10#include "./raylib-cpp-utils.hpp"
    -
    11
    -
    12namespace raylib {
    -
    16class Vector3 : public ::Vector3 {
    -
    17 public:
    -
    18 Vector3(const ::Vector3& vec) {
    -
    19 set(vec);
    -
    20 }
    -
    21
    -
    22 Vector3(float x, float y, float z) : ::Vector3{x, y, z} {}
    -
    23 Vector3(float x, float y) : ::Vector3{x, y, 0} {}
    -
    24 Vector3(float x) : ::Vector3{x, 0, 0} {}
    - -
    26
    -
    27 Vector3(::Color color) {
    -
    28 set(ColorToHSV(color));
    -
    29 }
    -
    30
    -
    31 GETTERSETTER(float, X, x)
    -
    32 GETTERSETTER(float, Y, y)
    -
    33 GETTERSETTER(float, Z, z)
    -
    34
    -
    35 Vector3& operator=(const ::Vector3& vector3) {
    -
    36 set(vector3);
    -
    37 return *this;
    -
    38 }
    -
    39
    -
    40 bool operator==(const ::Vector3& other) {
    -
    41 return x == other.x
    -
    42 && y == other.y
    -
    43 && z == other.z;
    -
    44 }
    -
    45
    -
    46 bool operator!=(const ::Vector3& other) {
    -
    47 return !(*this == other);
    -
    48 }
    -
    49
    -
    50#ifndef RAYLIB_CPP_NO_MATH
    -
    51 Vector3 Add(const ::Vector3& vector3) {
    -
    52 return Vector3Add(*this, vector3);
    -
    53 }
    -
    54
    -
    55 Vector3 operator+(const ::Vector3& vector3) {
    -
    56 return Vector3Add(*this, vector3);
    -
    57 }
    -
    58
    -
    59 Vector3 Subtract(const ::Vector3& vector3) {
    -
    60 return Vector3Subtract(*this, vector3);
    -
    61 }
    -
    62
    -
    63 Vector3 operator-(const ::Vector3& vector3) {
    -
    64 return Vector3Subtract(*this, vector3);
    -
    65 }
    -
    66
    - -
    68 return Vector3Negate(*this);
    -
    69 }
    -
    70
    - -
    72 return Vector3Negate(*this);
    -
    73 }
    -
    74
    -
    75 Vector3 Multiply(const ::Vector3& vector3) const {
    -
    76 return Vector3Multiply(*this, vector3);
    -
    77 }
    -
    78
    -
    79 Vector3 operator*(const ::Vector3& vector3) const {
    -
    80 return Vector3Multiply(*this, vector3);
    -
    81 }
    -
    82
    -
    83 Vector3 Scale(const float scale) const {
    -
    84 return Vector3Scale(*this, scale);
    -
    85 }
    -
    86
    -
    87 Vector3 operator*(const float scale) const {
    -
    88 return Vector3Scale(*this, scale);
    -
    89 }
    -
    90
    -
    91 Vector3 Divide(const ::Vector3& vector3) const {
    -
    92 return Vector3Divide(*this, vector3);
    -
    93 }
    -
    94
    -
    95 Vector3 operator/(const ::Vector3& vector3) const {
    -
    96 return Vector3Divide(*this, vector3);
    -
    97 }
    -
    98
    -
    99 Vector3 Divide(const float div) const {
    -
    100 return ::Vector3{x / div, y / div, z / div};
    -
    101 }
    -
    102
    -
    103 Vector3 operator/(const float div) const {
    -
    104 return Divide(div);
    -
    105 }
    -
    106
    -
    107 Vector3& operator+=(const ::Vector3& vector3) {
    -
    108 set(Vector3Add(*this, vector3));
    -
    109
    -
    110 return *this;
    -
    111 }
    -
    112
    -
    113 Vector3& operator-=(const ::Vector3& vector3) {
    -
    114 set(Vector3Subtract(*this, vector3));
    -
    115
    -
    116 return *this;
    -
    117 }
    -
    118
    -
    119
    -
    120 Vector3& operator*=(const ::Vector3& vector3) {
    -
    121 set(Vector3Multiply(*this, vector3));
    -
    122
    -
    123 return *this;
    -
    124 }
    -
    125
    -
    126 Vector3& operator*=(const float scale) {
    -
    127 set(Vector3Scale(*this, scale));
    -
    128
    -
    129 return *this;
    -
    130 }
    -
    131
    -
    132 Vector3& operator/=(const ::Vector3& vector3) {
    -
    133 x /= vector3.x;
    -
    134 y /= vector3.y;
    -
    135 z /= vector3.z;
    -
    136
    -
    137 return *this;
    -
    138 }
    -
    139
    -
    140 Vector3& operator/=(const float div) {
    -
    141 x /= div;
    -
    142 y /= div;
    -
    143 z /= div;
    -
    144
    -
    145 return *this;
    -
    146 }
    -
    147
    -
    148 float Length() const {
    -
    149 return Vector3Length(*this);
    -
    150 }
    -
    151
    - -
    153 return Vector3Normalize(*this);
    -
    154 }
    -
    155
    -
    156 float DotProduct(const ::Vector3& vector3) {
    -
    157 return Vector3DotProduct(*this, vector3);
    -
    158 }
    -
    159
    -
    160 float Distance(const ::Vector3& vector3) const {
    -
    161 return Vector3Distance(*this, vector3);
    -
    162 }
    -
    163
    -
    164 Vector3 Lerp(const ::Vector3& vector3, const float amount) const {
    -
    165 return Vector3Lerp(*this, vector3, amount);
    -
    166 }
    -
    167
    -
    168 Vector3 CrossProduct(const ::Vector3& vector3) const {
    -
    169 return Vector3CrossProduct(*this, vector3);
    -
    170 }
    -
    171
    - -
    173 return Vector3Perpendicular(*this);
    -
    174 }
    -
    175
    -
    176 void OrthoNormalize(::Vector3* vector3) {
    -
    177 Vector3OrthoNormalize(this, vector3);
    -
    178 }
    -
    179
    -
    180 Vector3 Transform(const ::Matrix& matrix) const {
    -
    181 return Vector3Transform(*this, matrix);
    -
    182 }
    -
    183
    -
    184 Vector3 RotateByQuaternion(const ::Quaternion& quaternion) {
    -
    185 return Vector3RotateByQuaternion(*this, quaternion);
    -
    186 }
    -
    187
    -
    188 Vector3 Reflect(const ::Vector3& normal) const {
    -
    189 return Vector3Reflect(*this, normal);
    -
    190 }
    -
    191
    -
    192 Vector3 Min(const ::Vector3& vector3) {
    -
    193 return Vector3Min(*this, vector3);
    -
    194 }
    -
    195
    -
    196 Vector3 Max(const ::Vector3& vector3) {
    -
    197 return Vector3Max(*this, vector3);
    -
    198 }
    -
    199
    -
    200 Vector3 Barycenter(const ::Vector3& a, const ::Vector3& b, const ::Vector3& c) {
    -
    201 return Vector3Barycenter(*this, a, b, c);
    -
    202 }
    -
    203
    -
    204 static Vector3 Zero() {
    -
    205 return Vector3Zero();
    -
    206 }
    -
    207
    -
    208 static Vector3 One() {
    -
    209 return Vector3One();
    -
    210 }
    -
    211#endif
    -
    212
    -
    213 inline Vector3& DrawLine3D(const ::Vector3& endPos, ::Color color) {
    -
    214 ::DrawLine3D(*this, endPos, color);
    -
    215 return *this;
    -
    216 }
    -
    217
    -
    218 inline Vector3& DrawPoint3D(::Color color) {
    -
    219 ::DrawPoint3D(*this, color);
    -
    220 return *this;
    -
    221 }
    -
    222
    - -
    224 float radius,
    -
    225 const ::Vector3& rotationAxis,
    -
    226 float rotationAngle,
    -
    227 Color color) {
    -
    228 ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
    -
    229 return *this;
    -
    230 }
    -
    231
    -
    232 inline Vector3& DrawCube(float width, float height, float length, ::Color color) {
    -
    233 ::DrawCube(*this, width, height, length, color);
    -
    234 return *this;
    -
    235 }
    -
    236
    -
    237 inline Vector3& DrawCube(const ::Vector3& size, ::Color color) {
    -
    238 ::DrawCubeV(*this, size, color);
    -
    239 return *this;
    -
    240 }
    -
    241
    -
    242 inline Vector3& DrawCubeWires(float width, float height, float length, ::Color color) {
    -
    243 ::DrawCubeWires(*this, width, height, length, color);
    -
    244 return *this;
    -
    245 }
    -
    246
    -
    247 inline Vector3& DrawCubeWires(const ::Vector3& size, ::Color color) {
    -
    248 ::DrawCubeWiresV(*this, size, color);
    -
    249 return *this;
    -
    250 }
    -
    251
    - -
    253 const ::Texture2D& texture,
    -
    254 float width,
    -
    255 float height,
    -
    256 float length,
    -
    257 ::Color color) {
    -
    258 ::DrawCubeTexture(texture, *this, width, height, length, color);
    -
    259 return *this;
    -
    260 }
    -
    261
    -
    262 inline Vector3& DrawSphere(float radius, ::Color color) {
    -
    263 ::DrawSphere(*this, radius, color);
    -
    264 return *this;
    -
    265 }
    -
    266
    -
    267 inline Vector3& DrawSphere(float radius, int rings, int slices, ::Color color) {
    -
    268 ::DrawSphereEx(*this, radius, rings, slices, color);
    -
    269 return *this;
    -
    270 }
    -
    271
    -
    272 inline Vector3& DrawSphereWires(float radius, int rings, int slices, ::Color color) {
    -
    273 ::DrawSphereWires(*this, radius, rings, slices, color);
    -
    274 return *this;
    -
    275 }
    -
    276
    -
    277 inline Vector3& DrawCylinder(float radiusTop, float radiusBottom, float height,
    -
    278 int slices, Color color) {
    -
    279 ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
    -
    280 return *this;
    -
    281 }
    -
    282
    -
    283 inline Vector3& DrawCylinderWires(float radiusTop, float radiusBottom, float height,
    -
    284 int slices, Color color) {
    -
    285 ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
    -
    286 return *this;
    -
    287 }
    -
    288
    -
    289 inline Vector3& DrawPlane(const ::Vector2& size, ::Color color) {
    -
    290 ::DrawPlane(*this, size, color);
    -
    291 return *this;
    -
    292 }
    -
    293
    -
    297 inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
    -
    298 return CheckCollisionSpheres(*this, radius1, center2, radius2);
    -
    299 }
    -
    300
    -
    301 private:
    -
    302 inline void set(const ::Vector3& vec) {
    -
    303 x = vec.x;
    -
    304 y = vec.y;
    -
    305 z = vec.z;
    -
    306 }
    -
    307};
    -
    308} // namespace raylib
    -
    309
    -
    310#endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    -
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    +
    3 
    +
    4 #ifndef RAYLIB_CPP_NO_MATH
    +
    5 #include <cmath>
    +
    6 #endif
    +
    7 
    +
    8 #include "./raylib.hpp"
    +
    9 #include "./raymath.hpp"
    +
    10 #include "./raylib-cpp-utils.hpp"
    +
    11 
    +
    12 namespace raylib {
    +
    16 class Vector3 : public ::Vector3 {
    +
    17  public:
    +
    18  Vector3(const ::Vector3& vec) {
    +
    19  set(vec);
    +
    20  }
    +
    21 
    +
    22  Vector3(float x, float y, float z) : ::Vector3{x, y, z} {}
    +
    23  Vector3(float x, float y) : ::Vector3{x, y, 0} {}
    +
    24  Vector3(float x) : ::Vector3{x, 0, 0} {}
    +
    25  Vector3() {}
    +
    26 
    +
    27  Vector3(::Color color) {
    +
    28  set(ColorToHSV(color));
    +
    29  }
    +
    30 
    +
    31  GETTERSETTER(float, X, x)
    +
    32  GETTERSETTER(float, Y, y)
    +
    33  GETTERSETTER(float, Z, z)
    +
    34 
    +
    35  Vector3& operator=(const ::Vector3& vector3) {
    +
    36  set(vector3);
    +
    37  return *this;
    +
    38  }
    +
    39 
    +
    40  bool operator==(const ::Vector3& other) {
    +
    41  return x == other.x
    +
    42  && y == other.y
    +
    43  && z == other.z;
    +
    44  }
    +
    45 
    +
    46  bool operator!=(const ::Vector3& other) {
    +
    47  return !(*this == other);
    +
    48  }
    +
    49 
    +
    50 #ifndef RAYLIB_CPP_NO_MATH
    +
    51  Vector3 Add(const ::Vector3& vector3) {
    +
    52  return Vector3Add(*this, vector3);
    +
    53  }
    +
    54 
    +
    55  Vector3 operator+(const ::Vector3& vector3) {
    +
    56  return Vector3Add(*this, vector3);
    +
    57  }
    +
    58 
    +
    59  Vector3 Subtract(const ::Vector3& vector3) {
    +
    60  return Vector3Subtract(*this, vector3);
    +
    61  }
    +
    62 
    +
    63  Vector3 operator-(const ::Vector3& vector3) {
    +
    64  return Vector3Subtract(*this, vector3);
    +
    65  }
    +
    66 
    +
    67  Vector3 Negate() {
    +
    68  return Vector3Negate(*this);
    +
    69  }
    +
    70 
    +
    71  Vector3 operator-() {
    +
    72  return Vector3Negate(*this);
    +
    73  }
    +
    74 
    +
    75  Vector3 Multiply(const ::Vector3& vector3) const {
    +
    76  return Vector3Multiply(*this, vector3);
    +
    77  }
    +
    78 
    +
    79  Vector3 operator*(const ::Vector3& vector3) const {
    +
    80  return Vector3Multiply(*this, vector3);
    +
    81  }
    +
    82 
    +
    83  Vector3 Scale(const float scale) const {
    +
    84  return Vector3Scale(*this, scale);
    +
    85  }
    +
    86 
    +
    87  Vector3 operator*(const float scale) const {
    +
    88  return Vector3Scale(*this, scale);
    +
    89  }
    +
    90 
    +
    91  Vector3 Divide(const ::Vector3& vector3) const {
    +
    92  return Vector3Divide(*this, vector3);
    +
    93  }
    +
    94 
    +
    95  Vector3 operator/(const ::Vector3& vector3) const {
    +
    96  return Vector3Divide(*this, vector3);
    +
    97  }
    +
    98 
    +
    99  Vector3 Divide(const float div) const {
    +
    100  return ::Vector3{x / div, y / div, z / div};
    +
    101  }
    +
    102 
    +
    103  Vector3 operator/(const float div) const {
    +
    104  return Divide(div);
    +
    105  }
    +
    106 
    +
    107  Vector3& operator+=(const ::Vector3& vector3) {
    +
    108  set(Vector3Add(*this, vector3));
    +
    109 
    +
    110  return *this;
    +
    111  }
    +
    112 
    +
    113  Vector3& operator-=(const ::Vector3& vector3) {
    +
    114  set(Vector3Subtract(*this, vector3));
    +
    115 
    +
    116  return *this;
    +
    117  }
    +
    118 
    +
    119 
    +
    120  Vector3& operator*=(const ::Vector3& vector3) {
    +
    121  set(Vector3Multiply(*this, vector3));
    +
    122 
    +
    123  return *this;
    +
    124  }
    +
    125 
    +
    126  Vector3& operator*=(const float scale) {
    +
    127  set(Vector3Scale(*this, scale));
    +
    128 
    +
    129  return *this;
    +
    130  }
    +
    131 
    +
    132  Vector3& operator/=(const ::Vector3& vector3) {
    +
    133  x /= vector3.x;
    +
    134  y /= vector3.y;
    +
    135  z /= vector3.z;
    +
    136 
    +
    137  return *this;
    +
    138  }
    +
    139 
    +
    140  Vector3& operator/=(const float div) {
    +
    141  x /= div;
    +
    142  y /= div;
    +
    143  z /= div;
    +
    144 
    +
    145  return *this;
    +
    146  }
    +
    147 
    +
    148  float Length() const {
    +
    149  return Vector3Length(*this);
    +
    150  }
    +
    151 
    +
    152  Vector3 Normalize() const {
    +
    153  return Vector3Normalize(*this);
    +
    154  }
    +
    155 
    +
    156  float DotProduct(const ::Vector3& vector3) {
    +
    157  return Vector3DotProduct(*this, vector3);
    +
    158  }
    +
    159 
    +
    160  float Distance(const ::Vector3& vector3) const {
    +
    161  return Vector3Distance(*this, vector3);
    +
    162  }
    +
    163 
    +
    164  Vector3 Lerp(const ::Vector3& vector3, const float amount) const {
    +
    165  return Vector3Lerp(*this, vector3, amount);
    +
    166  }
    +
    167 
    +
    168  Vector3 CrossProduct(const ::Vector3& vector3) const {
    +
    169  return Vector3CrossProduct(*this, vector3);
    +
    170  }
    +
    171 
    +
    172  Vector3 Perpendicular() const {
    +
    173  return Vector3Perpendicular(*this);
    +
    174  }
    +
    175 
    +
    176  void OrthoNormalize(::Vector3* vector3) {
    +
    177  Vector3OrthoNormalize(this, vector3);
    +
    178  }
    +
    179 
    +
    180  Vector3 Transform(const ::Matrix& matrix) const {
    +
    181  return Vector3Transform(*this, matrix);
    +
    182  }
    +
    183 
    +
    184  Vector3 RotateByQuaternion(const ::Quaternion& quaternion) {
    +
    185  return Vector3RotateByQuaternion(*this, quaternion);
    +
    186  }
    +
    187 
    +
    188  Vector3 Reflect(const ::Vector3& normal) const {
    +
    189  return Vector3Reflect(*this, normal);
    +
    190  }
    +
    191 
    +
    192  Vector3 Min(const ::Vector3& vector3) {
    +
    193  return Vector3Min(*this, vector3);
    +
    194  }
    +
    195 
    +
    196  Vector3 Max(const ::Vector3& vector3) {
    +
    197  return Vector3Max(*this, vector3);
    +
    198  }
    +
    199 
    +
    200  Vector3 Barycenter(const ::Vector3& a, const ::Vector3& b, const ::Vector3& c) {
    +
    201  return Vector3Barycenter(*this, a, b, c);
    +
    202  }
    +
    203 
    +
    204  static Vector3 Zero() {
    +
    205  return Vector3Zero();
    +
    206  }
    +
    207 
    +
    208  static Vector3 One() {
    +
    209  return Vector3One();
    +
    210  }
    +
    211 #endif
    +
    212 
    +
    213  inline Vector3& DrawLine3D(const ::Vector3& endPos, ::Color color) {
    +
    214  ::DrawLine3D(*this, endPos, color);
    +
    215  return *this;
    +
    216  }
    +
    217 
    +
    218  inline Vector3& DrawPoint3D(::Color color) {
    +
    219  ::DrawPoint3D(*this, color);
    +
    220  return *this;
    +
    221  }
    +
    222 
    +
    223  inline Vector3& DrawCircle3D(
    +
    224  float radius,
    +
    225  const ::Vector3& rotationAxis,
    +
    226  float rotationAngle,
    +
    227  Color color) {
    +
    228  ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
    +
    229  return *this;
    +
    230  }
    +
    231 
    +
    232  inline Vector3& DrawCube(float width, float height, float length, ::Color color) {
    +
    233  ::DrawCube(*this, width, height, length, color);
    +
    234  return *this;
    +
    235  }
    +
    236 
    +
    237  inline Vector3& DrawCube(const ::Vector3& size, ::Color color) {
    +
    238  ::DrawCubeV(*this, size, color);
    +
    239  return *this;
    +
    240  }
    +
    241 
    +
    242  inline Vector3& DrawCubeWires(float width, float height, float length, ::Color color) {
    +
    243  ::DrawCubeWires(*this, width, height, length, color);
    +
    244  return *this;
    +
    245  }
    +
    246 
    +
    247  inline Vector3& DrawCubeWires(const ::Vector3& size, ::Color color) {
    +
    248  ::DrawCubeWiresV(*this, size, color);
    +
    249  return *this;
    +
    250  }
    +
    251 
    +
    252  inline Vector3& DrawCubeTexture(
    +
    253  const ::Texture2D& texture,
    +
    254  float width,
    +
    255  float height,
    +
    256  float length,
    +
    257  ::Color color) {
    +
    258  ::DrawCubeTexture(texture, *this, width, height, length, color);
    +
    259  return *this;
    +
    260  }
    +
    261 
    +
    262  inline Vector3& DrawSphere(float radius, ::Color color) {
    +
    263  ::DrawSphere(*this, radius, color);
    +
    264  return *this;
    +
    265  }
    +
    266 
    +
    267  inline Vector3& DrawSphere(float radius, int rings, int slices, ::Color color) {
    +
    268  ::DrawSphereEx(*this, radius, rings, slices, color);
    +
    269  return *this;
    +
    270  }
    +
    271 
    +
    272  inline Vector3& DrawSphereWires(float radius, int rings, int slices, ::Color color) {
    +
    273  ::DrawSphereWires(*this, radius, rings, slices, color);
    +
    274  return *this;
    +
    275  }
    +
    276 
    +
    277  inline Vector3& DrawCylinder(float radiusTop, float radiusBottom, float height,
    +
    278  int slices, Color color) {
    +
    279  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
    +
    280  return *this;
    +
    281  }
    +
    282 
    +
    283  inline Vector3& DrawCylinderWires(float radiusTop, float radiusBottom, float height,
    +
    284  int slices, Color color) {
    +
    285  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
    +
    286  return *this;
    +
    287  }
    +
    288 
    +
    289  inline Vector3& DrawPlane(const ::Vector2& size, ::Color color) {
    +
    290  ::DrawPlane(*this, size, color);
    +
    291  return *this;
    +
    292  }
    +
    293 
    +
    297  inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
    +
    298  return CheckCollisionSpheres(*this, radius1, center2, radius2);
    +
    299  }
    +
    300 
    +
    301  private:
    +
    302  inline void set(const ::Vector3& vec) {
    +
    303  x = vec.x;
    +
    304  y = vec.y;
    +
    305  z = vec.z;
    +
    306  }
    +
    307 };
    +
    308 } // namespace raylib
    +
    309 
    +
    310 #endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    Vector3 & DrawSphere(float radius, ::Color color)
    Definition: Vector3.hpp:262
    -
    Vector3 operator*(const float scale) const
    Definition: Vector3.hpp:87
    -
    Vector3 operator/(const ::Vector3 &vector3) const
    Definition: Vector3.hpp:95
    -
    Vector3(float x, float y)
    Definition: Vector3.hpp:23
    -
    bool operator!=(const ::Vector3 &other)
    Definition: Vector3.hpp:46
    -
    Vector3 & operator/=(const ::Vector3 &vector3)
    Definition: Vector3.hpp:132
    -
    Vector3 operator*(const ::Vector3 &vector3) const
    Definition: Vector3.hpp:79
    -
    Vector3 Scale(const float scale) const
    Definition: Vector3.hpp:83
    -
    Vector3(const ::Vector3 &vec)
    Definition: Vector3.hpp:18
    -
    Vector3 & operator*=(const ::Vector3 &vector3)
    Definition: Vector3.hpp:120
    -
    Vector3 & DrawPlane(const ::Vector2 &size, ::Color color)
    Definition: Vector3.hpp:289
    -
    Vector3 & DrawSphereWires(float radius, int rings, int slices, ::Color color)
    Definition: Vector3.hpp:272
    -
    Vector3 & DrawSphere(float radius, int rings, int slices, ::Color color)
    Definition: Vector3.hpp:267
    -
    void OrthoNormalize(::Vector3 *vector3)
    Definition: Vector3.hpp:176
    -
    Vector3 operator/(const float div) const
    Definition: Vector3.hpp:103
    -
    Vector3(float x, float y, float z)
    Definition: Vector3.hpp:22
    -
    Vector3 Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)
    Definition: Vector3.hpp:200
    -
    Vector3 Normalize() const
    Definition: Vector3.hpp:152
    -
    Vector3 RotateByQuaternion(const ::Quaternion &quaternion)
    Definition: Vector3.hpp:184
    -
    Vector3 & operator*=(const float scale)
    Definition: Vector3.hpp:126
    -
    Vector3 operator+(const ::Vector3 &vector3)
    Definition: Vector3.hpp:55
    -
    Vector3 Negate()
    Definition: Vector3.hpp:67
    -
    Vector3 Transform(const ::Matrix &matrix) const
    Definition: Vector3.hpp:180
    -
    Vector3 & DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color)
    Definition: Vector3.hpp:252
    -
    Vector3 & DrawCubeWires(float width, float height, float length, ::Color color)
    Definition: Vector3.hpp:242
    -
    Vector3(float x)
    Definition: Vector3.hpp:24
    -
    Vector3 Max(const ::Vector3 &vector3)
    Definition: Vector3.hpp:196
    -
    Vector3 & DrawCubeWires(const ::Vector3 &size, ::Color color)
    Definition: Vector3.hpp:247
    -
    Vector3 Add(const ::Vector3 &vector3)
    Definition: Vector3.hpp:51
    -
    Vector3 Reflect(const ::Vector3 &normal) const
    Definition: Vector3.hpp:188
    -
    Vector3 Min(const ::Vector3 &vector3)
    Definition: Vector3.hpp:192
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    bool CheckCollision(float radius1, const ::Vector3 &center2, float radius2)
    Detect collision between two spheres.
    Definition: Vector3.hpp:297
    -
    Vector3 Perpendicular() const
    Definition: Vector3.hpp:172
    -
    Vector3 & DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)
    Definition: Vector3.hpp:277
    -
    Vector3 Lerp(const ::Vector3 &vector3, const float amount) const
    Definition: Vector3.hpp:164
    -
    Vector3 operator-(const ::Vector3 &vector3)
    Definition: Vector3.hpp:63
    -
    bool operator==(const ::Vector3 &other)
    Definition: Vector3.hpp:40
    -
    float Length() const
    Definition: Vector3.hpp:148
    -
    Vector3 & DrawCube(float width, float height, float length, ::Color color)
    Definition: Vector3.hpp:232
    -
    Vector3 Divide(const ::Vector3 &vector3) const
    Definition: Vector3.hpp:91
    -
    Vector3 operator-()
    Definition: Vector3.hpp:71
    -
    Vector3 CrossProduct(const ::Vector3 &vector3) const
    Definition: Vector3.hpp:168
    -
    Vector3 Divide(const float div) const
    Definition: Vector3.hpp:99
    -
    Vector3 & operator+=(const ::Vector3 &vector3)
    Definition: Vector3.hpp:107
    -
    Vector3 & operator-=(const ::Vector3 &vector3)
    Definition: Vector3.hpp:113
    -
    Vector3(::Color color)
    Definition: Vector3.hpp:27
    -
    Vector3 & DrawPoint3D(::Color color)
    Definition: Vector3.hpp:218
    -
    static Vector3 One()
    Definition: Vector3.hpp:208
    -
    Vector3 & DrawLine3D(const ::Vector3 &endPos, ::Color color)
    Definition: Vector3.hpp:213
    -
    Vector3 & DrawCube(const ::Vector3 &size, ::Color color)
    Definition: Vector3.hpp:237
    -
    Vector3 & operator/=(const float div)
    Definition: Vector3.hpp:140
    -
    Vector3 Multiply(const ::Vector3 &vector3) const
    Definition: Vector3.hpp:75
    -
    float Distance(const ::Vector3 &vector3) const
    Definition: Vector3.hpp:160
    -
    float DotProduct(const ::Vector3 &vector3)
    Definition: Vector3.hpp:156
    - -
    static Vector3 Zero()
    Definition: Vector3.hpp:204
    -
    Vector3 & DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)
    Definition: Vector3.hpp:283
    -
    Vector3 & DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)
    Definition: Vector3.hpp:223
    -
    Vector3 Subtract(const ::Vector3 &vector3)
    Definition: Vector3.hpp:59
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - - + diff --git a/docs/_vector4_8hpp_source.html b/docs/_vector4_8hpp_source.html index 7e3017c1..ff72271f 100644 --- a/docs/_vector4_8hpp_source.html +++ b/docs/_vector4_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Vector4.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Vector4.hpp
    +
    +
    Vector4.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    -
    3
    -
    4#ifndef RAYLIB_CPP_NO_MATH
    -
    5#include <cmath>
    -
    6#include <utility>
    -
    7#endif
    -
    8
    -
    9#include "./raylib.hpp"
    -
    10#include "./raymath.hpp"
    -
    11#include "./raylib-cpp-utils.hpp"
    -
    12
    -
    13namespace raylib {
    -
    17class Vector4 : public ::Vector4 {
    -
    18 public:
    -
    19 Vector4(const ::Vector4& vec) {
    -
    20 set(vec);
    -
    21 }
    -
    22
    -
    23 Vector4(float x, float y, float z, float w) : ::Vector4{x, y, z, w} {}
    -
    24 Vector4(float x, float y, float z) : ::Vector4{x, y, z, 0} {}
    -
    25 Vector4(float x, float y) : ::Vector4{x, y, 0, 0} {}
    -
    26 Vector4(float x) : ::Vector4{x, 0, 0, 0} {}
    - -
    28 Vector4(::Rectangle rect) : ::Vector4{rect.x, rect.y, rect.width, rect.height} {}
    -
    29
    -
    30 Vector4(::Color color) {
    -
    31 set(ColorNormalize(color));
    -
    32 }
    -
    33
    -
    34 GETTERSETTER(float, X, x)
    -
    35 GETTERSETTER(float, Y, y)
    -
    36 GETTERSETTER(float, Z, z)
    -
    37 GETTERSETTER(float, W, w)
    -
    38
    -
    39 Vector4& operator=(const ::Vector4& vector4) {
    -
    40 set(vector4);
    -
    41 return *this;
    -
    42 }
    -
    43
    -
    44 bool operator==(const ::Vector4& other) {
    -
    45 return x == other.x
    -
    46 && y == other.y
    -
    47 && z == other.z
    -
    48 && w == other.w;
    -
    49 }
    -
    50
    -
    51 bool operator!=(const ::Vector4& other) {
    -
    52 return !(*this == other);
    -
    53 }
    -
    54
    -
    55 inline ::Rectangle ToRectangle() {
    -
    56 return {x, y, z, w};
    -
    57 }
    -
    58
    -
    59 operator ::Rectangle() const {
    -
    60 return {x, y, z, w};
    -
    61 }
    -
    62
    -
    63#ifndef RAYLIB_CPP_NO_MATH
    -
    64 Vector4 Multiply(const ::Vector4& vector4) const {
    -
    65 return QuaternionMultiply(*this, vector4);
    -
    66 }
    -
    67
    -
    68 Vector4 operator*(const ::Vector4& vector4) const {
    -
    69 return QuaternionMultiply(*this, vector4);
    -
    70 }
    -
    71
    -
    72 Vector4 Lerp(const ::Vector4& vector4, float amount) const {
    -
    73 return QuaternionLerp(*this, vector4, amount);
    -
    74 }
    -
    75
    -
    76 Vector4 Nlerp(const ::Vector4& vector4, float amount) const {
    -
    77 return QuaternionNlerp(*this, vector4, amount);
    -
    78 }
    -
    79
    -
    80 Vector4 Slerp(const ::Vector4& vector4, float amount) const {
    -
    81 return QuaternionSlerp(*this, vector4, amount);
    -
    82 }
    -
    83
    -
    84 Matrix ToMatrix() const {
    -
    85 return QuaternionToMatrix(*this);
    -
    86 }
    -
    87
    -
    88 float Length() const {
    -
    89 return QuaternionLength(*this);
    -
    90 }
    -
    91
    - -
    93 return QuaternionNormalize(*this);
    -
    94 }
    -
    95
    -
    96 Vector4 Invert() const {
    -
    97 return QuaternionInvert(*this);
    -
    98 }
    -
    99
    -
    100 void ToAxisAngle(::Vector3 *outAxis, float *outAngle) {
    -
    101 QuaternionToAxisAngle(*this, outAxis, outAngle);
    -
    102 }
    -
    103
    -
    104 std::pair<Vector3, float> ToAxisAngle() {
    -
    105 Vector3 outAxis;
    -
    106 float outAngle;
    -
    107
    -
    108 QuaternionToAxisAngle(*this, &outAxis, &outAngle);
    -
    109
    -
    110 std::pair<Vector3, float> out(outAxis, outAngle);
    -
    111
    -
    112 return out;
    -
    113 }
    -
    114
    -
    115 Vector4 Transform(const ::Matrix& matrix) {
    -
    116 return ::QuaternionTransform(*this, matrix);
    -
    117 }
    -
    118
    -
    119 static Vector4 Identity() {
    -
    120 return ::QuaternionIdentity();
    -
    121 }
    -
    122
    -
    123 static Vector4 FromVector3ToVector3(const ::Vector3& from , const ::Vector3& to) {
    -
    124 return ::QuaternionFromVector3ToVector3(from , to);
    -
    125 }
    -
    126
    -
    127 static Vector4 FromMatrix(const ::Matrix& matrix) {
    -
    128 return ::QuaternionFromMatrix(matrix);
    -
    129 }
    -
    130
    -
    131 static Vector4 FromAxisAngle(const ::Vector3& axis, const float angle) {
    -
    132 return ::QuaternionFromAxisAngle(axis, angle);
    -
    133 }
    -
    134
    -
    135 static Vector4 FromEuler(const float yaw, const float pitch, const float roll) {
    -
    136 return ::QuaternionFromEuler(yaw, pitch, roll);
    -
    137 }
    -
    138
    -
    139 static Vector4 FromEuler(const ::Vector3& vector3) {
    -
    140 return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
    -
    141 }
    -
    142
    - -
    144 return ::QuaternionToEuler(*this);
    -
    145 }
    -
    146#endif
    -
    147
    -
    148 inline Color ColorFromNormalized() const {
    -
    149 return ::ColorFromNormalized(*this);
    -
    150 }
    -
    151
    -
    152 operator Color() {
    -
    153 return ColorFromNormalized();
    -
    154 }
    -
    155
    -
    156 private:
    -
    157 inline void set(const ::Vector4& vec4) {
    -
    158 x = vec4.x;
    -
    159 y = vec4.y;
    -
    160 z = vec4.z;
    -
    161 w = vec4.w;
    -
    162 }
    -
    163};
    -
    164
    -
    165// Alias the Vector4 as Quaternion.
    - -
    167} // namespace raylib
    -
    168
    -
    169#endif // RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    -
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    -
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    Vector4 type.
    Definition: Vector4.hpp:17
    -
    bool operator==(const ::Vector4 &other)
    Definition: Vector4.hpp:44
    -
    Vector4(float x, float y, float z)
    Definition: Vector4.hpp:24
    -
    Vector4 Lerp(const ::Vector4 &vector4, float amount) const
    Definition: Vector4.hpp:72
    -
    static Vector4 FromEuler(const ::Vector3 &vector3)
    Definition: Vector4.hpp:139
    -
    bool operator!=(const ::Vector4 &other)
    Definition: Vector4.hpp:51
    -
    Vector4(const ::Vector4 &vec)
    Definition: Vector4.hpp:19
    -
    Vector4(::Rectangle rect)
    Definition: Vector4.hpp:28
    -
    Vector3 ToEuler()
    Definition: Vector4.hpp:143
    -
    Color ColorFromNormalized() const
    Definition: Vector4.hpp:148
    -
    Vector4(float x)
    Definition: Vector4.hpp:26
    -
    static Vector4 FromAxisAngle(const ::Vector3 &axis, const float angle)
    Definition: Vector4.hpp:131
    -
    float Length() const
    Definition: Vector4.hpp:88
    -
    Vector4 Normalize() const
    Definition: Vector4.hpp:92
    -
    static Vector4 Identity()
    Definition: Vector4.hpp:119
    -
    Vector4(float x, float y, float z, float w)
    Definition: Vector4.hpp:23
    -
    Vector4 Invert() const
    Definition: Vector4.hpp:96
    -
    Vector4 Nlerp(const ::Vector4 &vector4, float amount) const
    Definition: Vector4.hpp:76
    -
    Vector4(::Color color)
    Definition: Vector4.hpp:30
    -
    static Vector4 FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to)
    Definition: Vector4.hpp:123
    -
    static Vector4 FromMatrix(const ::Matrix &matrix)
    Definition: Vector4.hpp:127
    -
    Vector4 Multiply(const ::Vector4 &vector4) const
    Definition: Vector4.hpp:64
    -
    Vector4(float x, float y)
    Definition: Vector4.hpp:25
    -
    inline ::Rectangle ToRectangle()
    Definition: Vector4.hpp:55
    - -
    Vector4 Transform(const ::Matrix &matrix)
    Definition: Vector4.hpp:115
    -
    Vector4 Slerp(const ::Vector4 &vector4, float amount) const
    Definition: Vector4.hpp:80
    -
    void ToAxisAngle(::Vector3 *outAxis, float *outAngle)
    Definition: Vector4.hpp:100
    -
    Vector4 operator*(const ::Vector4 &vector4) const
    Definition: Vector4.hpp:68
    -
    Matrix ToMatrix() const
    Definition: Vector4.hpp:84
    -
    static Vector4 FromEuler(const float yaw, const float pitch, const float roll)
    Definition: Vector4.hpp:135
    -
    std::pair< Vector3, float > ToAxisAngle()
    Definition: Vector4.hpp:104
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    Vector4 Quaternion
    Definition: Vector4.hpp:166
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    +
    3 
    +
    4 #ifndef RAYLIB_CPP_NO_MATH
    +
    5 #include <cmath>
    +
    6 #include <utility>
    +
    7 #endif
    +
    8 
    +
    9 #include "./raylib.hpp"
    +
    10 #include "./raymath.hpp"
    +
    11 #include "./raylib-cpp-utils.hpp"
    +
    12 
    +
    13 namespace raylib {
    +
    17 class Vector4 : public ::Vector4 {
    +
    18  public:
    +
    19  Vector4(const ::Vector4& vec) {
    +
    20  set(vec);
    +
    21  }
    +
    22 
    +
    23  Vector4(float x, float y, float z, float w) : ::Vector4{x, y, z, w} {}
    +
    24  Vector4(float x, float y, float z) : ::Vector4{x, y, z, 0} {}
    +
    25  Vector4(float x, float y) : ::Vector4{x, y, 0, 0} {}
    +
    26  Vector4(float x) : ::Vector4{x, 0, 0, 0} {}
    +
    27  Vector4() {}
    +
    28  Vector4(::Rectangle rect) : ::Vector4{rect.x, rect.y, rect.width, rect.height} {}
    +
    29 
    +
    30  Vector4(::Color color) {
    +
    31  set(ColorNormalize(color));
    +
    32  }
    +
    33 
    +
    34  GETTERSETTER(float, X, x)
    +
    35  GETTERSETTER(float, Y, y)
    +
    36  GETTERSETTER(float, Z, z)
    +
    37  GETTERSETTER(float, W, w)
    +
    38 
    +
    39  Vector4& operator=(const ::Vector4& vector4) {
    +
    40  set(vector4);
    +
    41  return *this;
    +
    42  }
    +
    43 
    +
    44  bool operator==(const ::Vector4& other) {
    +
    45  return x == other.x
    +
    46  && y == other.y
    +
    47  && z == other.z
    +
    48  && w == other.w;
    +
    49  }
    +
    50 
    +
    51  bool operator!=(const ::Vector4& other) {
    +
    52  return !(*this == other);
    +
    53  }
    +
    54 
    +
    55  inline ::Rectangle ToRectangle() {
    +
    56  return {x, y, z, w};
    +
    57  }
    +
    58 
    +
    59  operator ::Rectangle() const {
    +
    60  return {x, y, z, w};
    +
    61  }
    +
    62 
    +
    63 #ifndef RAYLIB_CPP_NO_MATH
    +
    64  Vector4 Multiply(const ::Vector4& vector4) const {
    +
    65  return QuaternionMultiply(*this, vector4);
    +
    66  }
    +
    67 
    +
    68  Vector4 operator*(const ::Vector4& vector4) const {
    +
    69  return QuaternionMultiply(*this, vector4);
    +
    70  }
    +
    71 
    +
    72  Vector4 Lerp(const ::Vector4& vector4, float amount) const {
    +
    73  return QuaternionLerp(*this, vector4, amount);
    +
    74  }
    +
    75 
    +
    76  Vector4 Nlerp(const ::Vector4& vector4, float amount) const {
    +
    77  return QuaternionNlerp(*this, vector4, amount);
    +
    78  }
    +
    79 
    +
    80  Vector4 Slerp(const ::Vector4& vector4, float amount) const {
    +
    81  return QuaternionSlerp(*this, vector4, amount);
    +
    82  }
    +
    83 
    +
    84  Matrix ToMatrix() const {
    +
    85  return QuaternionToMatrix(*this);
    +
    86  }
    +
    87 
    +
    88  float Length() const {
    +
    89  return QuaternionLength(*this);
    +
    90  }
    +
    91 
    +
    92  Vector4 Normalize() const {
    +
    93  return QuaternionNormalize(*this);
    +
    94  }
    +
    95 
    +
    96  Vector4 Invert() const {
    +
    97  return QuaternionInvert(*this);
    +
    98  }
    +
    99 
    +
    100  void ToAxisAngle(::Vector3 *outAxis, float *outAngle) {
    +
    101  QuaternionToAxisAngle(*this, outAxis, outAngle);
    +
    102  }
    +
    103 
    +
    104  std::pair<Vector3, float> ToAxisAngle() {
    +
    105  Vector3 outAxis;
    +
    106  float outAngle;
    +
    107 
    +
    108  QuaternionToAxisAngle(*this, &outAxis, &outAngle);
    +
    109 
    +
    110  std::pair<Vector3, float> out(outAxis, outAngle);
    +
    111 
    +
    112  return out;
    +
    113  }
    +
    114 
    +
    115  Vector4 Transform(const ::Matrix& matrix) {
    +
    116  return ::QuaternionTransform(*this, matrix);
    +
    117  }
    +
    118 
    +
    119  static Vector4 Identity() {
    +
    120  return ::QuaternionIdentity();
    +
    121  }
    +
    122 
    +
    123  static Vector4 FromVector3ToVector3(const ::Vector3& from , const ::Vector3& to) {
    +
    124  return ::QuaternionFromVector3ToVector3(from , to);
    +
    125  }
    +
    126 
    +
    127  static Vector4 FromMatrix(const ::Matrix& matrix) {
    +
    128  return ::QuaternionFromMatrix(matrix);
    +
    129  }
    +
    130 
    +
    131  static Vector4 FromAxisAngle(const ::Vector3& axis, const float angle) {
    +
    132  return ::QuaternionFromAxisAngle(axis, angle);
    +
    133  }
    +
    134 
    +
    135  static Vector4 FromEuler(const float yaw, const float pitch, const float roll) {
    +
    136  return ::QuaternionFromEuler(yaw, pitch, roll);
    +
    137  }
    +
    138 
    +
    139  static Vector4 FromEuler(const ::Vector3& vector3) {
    +
    140  return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
    +
    141  }
    +
    142 
    +
    143  Vector3 ToEuler() {
    +
    144  return ::QuaternionToEuler(*this);
    +
    145  }
    +
    146 #endif
    +
    147 
    +
    148  inline Color ColorFromNormalized() const {
    +
    149  return ::ColorFromNormalized(*this);
    +
    150  }
    +
    151 
    +
    152  operator Color() {
    +
    153  return ColorFromNormalized();
    +
    154  }
    +
    155 
    +
    156  private:
    +
    157  inline void set(const ::Vector4& vec4) {
    +
    158  x = vec4.x;
    +
    159  y = vec4.y;
    +
    160  z = vec4.z;
    +
    161  w = vec4.w;
    +
    162  }
    +
    163 };
    +
    164 
    +
    165 // Alias the Vector4 as Quaternion.
    +
    166 typedef Vector4 Quaternion;
    +
    167 } // namespace raylib
    +
    168 
    +
    169 #endif // RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    -
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Vector4 type.
    Definition: Vector4.hpp:17
    +
    Rectangle type.
    Definition: Rectangle.hpp:12
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    - + diff --git a/docs/_vr_stereo_config_8hpp_source.html b/docs/_vr_stereo_config_8hpp_source.html index 680e1742..d693303e 100644 --- a/docs/_vr_stereo_config_8hpp_source.html +++ b/docs/_vr_stereo_config_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: VrStereoConfig.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    VrStereoConfig.hpp
    +
    +
    VrStereoConfig.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
    -
    3
    -
    4#include "./raylib.hpp"
    -
    5#include "./raylib-cpp-utils.hpp"
    -
    6
    -
    7namespace raylib {
    -
    11class VrStereoConfig : public ::VrStereoConfig {
    -
    12 public:
    -
    13 VrStereoConfig(const ::VrDeviceInfo& info) {
    -
    14 Init(info);
    -
    15 }
    -
    16
    -
    20 inline void Init(const ::VrDeviceInfo& info) {
    -
    21 set(LoadVrStereoConfig(info));
    -
    22 }
    -
    23
    - -
    28 Unload();
    -
    29 }
    -
    30
    - -
    35 ::BeginVrStereoMode(*this);
    -
    36 return *this;
    -
    37 }
    -
    38
    - -
    43 ::EndVrStereoMode();
    -
    44 return *this;
    -
    45 }
    -
    46
    -
    50 inline void Unload() {
    -
    51 ::UnloadVrStereoConfig(*this);
    -
    52 }
    -
    53
    -
    54 private:
    -
    55 inline void set(const ::VrStereoConfig& config) {
    -
    56 projection[0] = config.projection[0];
    -
    57 viewOffset[1] = config.viewOffset[1];
    -
    58 projection[0] = config.projection[0];
    -
    59 viewOffset[1] = config.viewOffset[1];
    -
    60 leftLensCenter[0] = config.leftLensCenter[0];
    -
    61 leftLensCenter[1] = config.leftLensCenter[1];
    -
    62 rightLensCenter[0] = config.leftLensCenter[0];
    -
    63 rightLensCenter[1] = config.leftLensCenter[1];
    -
    64 leftScreenCenter[0] = config.leftLensCenter[0];
    -
    65 leftScreenCenter[1] = config.leftLensCenter[1];
    -
    66 rightScreenCenter[0] = config.leftLensCenter[0];
    -
    67 rightScreenCenter[1] = config.leftLensCenter[1];
    -
    68 scale[0] = config.leftLensCenter[0];
    -
    69 scale[1] = config.leftLensCenter[1];
    -
    70 scaleIn[0] = config.leftLensCenter[0];
    -
    71 scaleIn[1] = config.leftLensCenter[1];
    -
    72 }
    -
    73};
    -
    74} // namespace raylib
    -
    75
    -
    76#endif // RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
    -
    VR stereo config functions for VR simulator.
    -
    VrStereoConfig & BeginMode()
    Begin stereo rendering.
    -
    VrStereoConfig(const ::VrDeviceInfo &info)
    -
    VrStereoConfig & EndDrawing()
    End stereo rendering.
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
    +
    3 
    +
    4 #include "./raylib.hpp"
    +
    5 #include "./raylib-cpp-utils.hpp"
    +
    6 
    +
    7 namespace raylib {
    + +
    12  public:
    +
    13  VrStereoConfig(const ::VrDeviceInfo& info) {
    +
    14  Init(info);
    +
    15  }
    +
    16 
    +
    20  inline void Init(const ::VrDeviceInfo& info) {
    +
    21  set(LoadVrStereoConfig(info));
    +
    22  }
    +
    23 
    + +
    28  Unload();
    +
    29  }
    +
    30 
    + +
    35  ::BeginVrStereoMode(*this);
    +
    36  return *this;
    +
    37  }
    +
    38 
    + +
    43  ::EndVrStereoMode();
    +
    44  return *this;
    +
    45  }
    +
    46 
    +
    50  inline void Unload() {
    +
    51  ::UnloadVrStereoConfig(*this);
    +
    52  }
    +
    53 
    +
    54  private:
    +
    55  inline void set(const ::VrStereoConfig& config) {
    +
    56  projection[0] = config.projection[0];
    +
    57  viewOffset[1] = config.viewOffset[1];
    +
    58  projection[0] = config.projection[0];
    +
    59  viewOffset[1] = config.viewOffset[1];
    +
    60  leftLensCenter[0] = config.leftLensCenter[0];
    +
    61  leftLensCenter[1] = config.leftLensCenter[1];
    +
    62  rightLensCenter[0] = config.leftLensCenter[0];
    +
    63  rightLensCenter[1] = config.leftLensCenter[1];
    +
    64  leftScreenCenter[0] = config.leftLensCenter[0];
    +
    65  leftScreenCenter[1] = config.leftLensCenter[1];
    +
    66  rightScreenCenter[0] = config.leftLensCenter[0];
    +
    67  rightScreenCenter[1] = config.leftLensCenter[1];
    +
    68  scale[0] = config.leftLensCenter[0];
    +
    69  scale[1] = config.leftLensCenter[1];
    +
    70  scaleIn[0] = config.leftLensCenter[0];
    +
    71  scaleIn[1] = config.leftLensCenter[1];
    +
    72  }
    +
    73 };
    +
    74 } // namespace raylib
    +
    75 
    +
    76 #endif // RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    void Init(const ::VrDeviceInfo &info)
    Load VR stereo config for VR simulator device parameters.
    void Unload()
    Unload VR stereo config.
    +
    VrStereoConfig & BeginMode()
    Begin stereo rendering.
    +
    VR stereo config functions for VR simulator.
    +
    VrStereoConfig & EndDrawing()
    End stereo rendering.
    ~VrStereoConfig()
    Unload VR stereo config.
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - - + diff --git a/docs/_wave_8hpp_source.html b/docs/_wave_8hpp_source.html index ac5f9799..893a7026 100644 --- a/docs/_wave_8hpp_source.html +++ b/docs/_wave_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Wave.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Wave.hpp
    +
    +
    Wave.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_WAVE_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_WAVE_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./raylib-cpp-utils.hpp"
    -
    8#include "./RaylibException.hpp"
    -
    9
    -
    10namespace raylib {
    -
    14class Wave : public ::Wave {
    -
    15 public:
    -
    16 Wave(const ::Wave& wave) {
    -
    17 set(wave);
    -
    18 }
    -
    19
    - -
    21 unsigned int frameCount = 0,
    -
    22 unsigned int sampleRate = 0,
    -
    23 unsigned int sampleSize = 0,
    -
    24 unsigned int channels = 0,
    -
    25 void *data = nullptr) : ::Wave{frameCount, sampleRate, sampleSize, channels, data} {
    -
    26 // Nothing.
    -
    27 }
    -
    28
    -
    32 Wave(const std::string& fileName) {
    -
    33 if (!Load(fileName)) {
    -
    34 throw RaylibException(TextFormat("Failed to load Wave from file: %s", fileName.c_str()));
    -
    35 }
    -
    36 }
    -
    37
    -
    41 Wave(const std::string& fileType, const unsigned char *fileData, int dataSize) {
    -
    42 if (!Load(fileType, fileData, dataSize)) {
    -
    43 throw RaylibException("Failed to load Wave from memory");
    -
    44 }
    -
    45 }
    -
    46
    -
    47 Wave(const Wave& other) {
    -
    48 set(other.Copy());
    -
    49 }
    -
    50
    -
    51 Wave(Wave&& other) {
    -
    52 set(other);
    -
    53
    -
    54 other.frameCount = 0;
    -
    55 other.sampleRate = 0;
    -
    56 other.sampleSize = 0;
    -
    57 other.channels = 0;
    -
    58 other.data = nullptr;
    -
    59 }
    -
    60
    - -
    65 Unload();
    -
    66 }
    -
    67
    -
    68 GETTERSETTER(unsigned int, FrameCount, frameCount)
    -
    69 GETTERSETTER(unsigned int, SampleRate, sampleRate)
    -
    70 GETTERSETTER(unsigned int, SampleSize, sampleSize)
    -
    71 GETTERSETTER(unsigned int, Channels, channels)
    -
    72 GETTERSETTER(void *, Data, data)
    -
    73
    -
    74 Wave& operator=(const ::Wave& wave) {
    -
    75 set(wave);
    -
    76 return *this;
    -
    77 }
    -
    78
    -
    79 Wave& operator=(const Wave& other) {
    -
    80 if (this == &other) {
    -
    81 return *this;
    -
    82 }
    -
    83
    -
    84 Unload();
    -
    85 set(other.Copy());
    -
    86
    -
    87 return *this;
    -
    88 }
    -
    89
    -
    90 Wave& operator=(Wave&& other) noexcept {
    -
    91 if (this != &other) {
    -
    92 return *this;
    -
    93 }
    -
    94
    -
    95 Unload();
    -
    96 set(other);
    -
    97
    -
    98 other.frameCount = 0;
    -
    99 other.sampleRate = 0;
    -
    100 other.sampleSize = 0;
    -
    101 other.channels = 0;
    -
    102 other.data = nullptr;
    -
    103
    -
    104 return *this;
    -
    105 }
    -
    106
    -
    110 inline Wave& Format(int SampleRate, int SampleSize, int Channels = 2) {
    -
    111 ::WaveFormat(this, SampleRate, SampleSize, Channels);
    -
    112 return *this;
    -
    113 }
    -
    114
    -
    118 inline ::Wave Copy() const {
    -
    119 return ::WaveCopy(*this);
    -
    120 }
    -
    121
    -
    125 inline Wave& Crop(int initSample, int finalSample) {
    -
    126 ::WaveCrop(this, initSample, finalSample);
    -
    127 return *this;
    -
    128 }
    -
    129
    -
    133 inline float* LoadSamples() {
    -
    134 return ::LoadWaveSamples(*this);
    -
    135 }
    -
    136
    -
    140 inline void UnloadSamples(float *samples) {
    -
    141 ::UnloadWaveSamples(samples);
    -
    142 }
    -
    143
    -
    147 inline bool Export(const std::string& fileName) {
    -
    148 // TODO(RobLoach): Throw exception on error.
    -
    149 return ::ExportWave(*this, fileName.c_str());
    -
    150 }
    -
    151
    -
    155 inline bool ExportAsCode(const std::string& fileName) {
    -
    156 // TODO(RobLoach): Throw exception on error.
    -
    157 return ::ExportWaveAsCode(*this, fileName.c_str());
    -
    158 }
    -
    159
    -
    163 void Unload() {
    -
    164 if (data != nullptr) {
    -
    165 ::UnloadWave(*this);
    -
    166 data = nullptr;
    -
    167 }
    -
    168 }
    -
    169
    -
    173 inline ::Sound LoadSound() {
    -
    174 return ::LoadSoundFromWave(*this);
    -
    175 }
    -
    176
    -
    180 inline operator ::Sound() {
    -
    181 return LoadSound();
    -
    182 }
    -
    183
    -
    189 bool Load(const std::string& fileName) {
    -
    190 set(::LoadWave(fileName.c_str()));
    -
    191 return IsReady();
    -
    192 }
    -
    193
    -
    199 bool Load(const std::string& fileType, const unsigned char *fileData, int dataSize) {
    -
    200 set(::LoadWaveFromMemory(fileType.c_str(), fileData, dataSize));
    -
    201 return IsReady();
    -
    202 }
    -
    203
    -
    209 inline bool IsReady() const {
    -
    210 return data != nullptr;
    -
    211 }
    -
    212
    -
    213 private:
    -
    214 inline void set(const ::Wave& wave) {
    -
    215 frameCount = wave.frameCount;
    -
    216 sampleRate = wave.sampleRate;
    -
    217 sampleSize = wave.sampleSize;
    -
    218 channels = wave.channels;
    -
    219 data = wave.data;
    -
    220 }
    -
    221};
    -
    222
    -
    223} // namespace raylib
    -
    224
    -
    225#endif // RAYLIB_CPP_INCLUDE_WAVE_HPP_
    -
    Exception used for most raylib-related exceptions.
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_WAVE_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_WAVE_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./raylib-cpp-utils.hpp"
    +
    8 #include "./RaylibException.hpp"
    +
    9 
    +
    10 namespace raylib {
    +
    14 class Wave : public ::Wave {
    +
    15  public:
    +
    16  Wave(const ::Wave& wave) {
    +
    17  set(wave);
    +
    18  }
    +
    19 
    +
    20  Wave(
    +
    21  unsigned int frameCount = 0,
    +
    22  unsigned int sampleRate = 0,
    +
    23  unsigned int sampleSize = 0,
    +
    24  unsigned int channels = 0,
    +
    25  void *data = nullptr) : ::Wave{frameCount, sampleRate, sampleSize, channels, data} {
    +
    26  // Nothing.
    +
    27  }
    +
    28 
    +
    32  Wave(const std::string& fileName) {
    +
    33  if (!Load(fileName)) {
    +
    34  throw RaylibException(TextFormat("Failed to load Wave from file: %s", fileName.c_str()));
    +
    35  }
    +
    36  }
    +
    37 
    +
    41  Wave(const std::string& fileType, const unsigned char *fileData, int dataSize) {
    +
    42  if (!Load(fileType, fileData, dataSize)) {
    +
    43  throw RaylibException("Failed to load Wave from memory");
    +
    44  }
    +
    45  }
    +
    46 
    +
    47  Wave(const Wave& other) {
    +
    48  set(other.Copy());
    +
    49  }
    +
    50 
    +
    51  Wave(Wave&& other) {
    +
    52  set(other);
    +
    53 
    +
    54  other.frameCount = 0;
    +
    55  other.sampleRate = 0;
    +
    56  other.sampleSize = 0;
    +
    57  other.channels = 0;
    +
    58  other.data = nullptr;
    +
    59  }
    +
    60 
    +
    64  ~Wave() {
    +
    65  Unload();
    +
    66  }
    +
    67 
    +
    68  GETTERSETTER(unsigned int, FrameCount, frameCount)
    +
    69  GETTERSETTER(unsigned int, SampleRate, sampleRate)
    +
    70  GETTERSETTER(unsigned int, SampleSize, sampleSize)
    +
    71  GETTERSETTER(unsigned int, Channels, channels)
    +
    72  GETTERSETTER(void *, Data, data)
    +
    73 
    +
    74  Wave& operator=(const ::Wave& wave) {
    +
    75  set(wave);
    +
    76  return *this;
    +
    77  }
    +
    78 
    +
    79  Wave& operator=(const Wave& other) {
    +
    80  if (this == &other) {
    +
    81  return *this;
    +
    82  }
    +
    83 
    +
    84  Unload();
    +
    85  set(other.Copy());
    +
    86 
    +
    87  return *this;
    +
    88  }
    +
    89 
    +
    90  Wave& operator=(Wave&& other) noexcept {
    +
    91  if (this != &other) {
    +
    92  return *this;
    +
    93  }
    +
    94 
    +
    95  Unload();
    +
    96  set(other);
    +
    97 
    +
    98  other.frameCount = 0;
    +
    99  other.sampleRate = 0;
    +
    100  other.sampleSize = 0;
    +
    101  other.channels = 0;
    +
    102  other.data = nullptr;
    +
    103 
    +
    104  return *this;
    +
    105  }
    +
    106 
    +
    110  inline Wave& Format(int SampleRate, int SampleSize, int Channels = 2) {
    +
    111  ::WaveFormat(this, SampleRate, SampleSize, Channels);
    +
    112  return *this;
    +
    113  }
    +
    114 
    +
    118  inline ::Wave Copy() const {
    +
    119  return ::WaveCopy(*this);
    +
    120  }
    +
    121 
    +
    125  inline Wave& Crop(int initSample, int finalSample) {
    +
    126  ::WaveCrop(this, initSample, finalSample);
    +
    127  return *this;
    +
    128  }
    +
    129 
    +
    133  inline float* LoadSamples() {
    +
    134  return ::LoadWaveSamples(*this);
    +
    135  }
    +
    136 
    +
    140  inline void UnloadSamples(float *samples) {
    +
    141  ::UnloadWaveSamples(samples);
    +
    142  }
    +
    143 
    +
    147  inline bool Export(const std::string& fileName) {
    +
    148  // TODO(RobLoach): Throw exception on error.
    +
    149  return ::ExportWave(*this, fileName.c_str());
    +
    150  }
    +
    151 
    +
    155  inline bool ExportAsCode(const std::string& fileName) {
    +
    156  // TODO(RobLoach): Throw exception on error.
    +
    157  return ::ExportWaveAsCode(*this, fileName.c_str());
    +
    158  }
    +
    159 
    +
    163  void Unload() {
    +
    164  if (data != nullptr) {
    +
    165  ::UnloadWave(*this);
    +
    166  data = nullptr;
    +
    167  }
    +
    168  }
    +
    169 
    +
    173  inline ::Sound LoadSound() {
    +
    174  return ::LoadSoundFromWave(*this);
    +
    175  }
    +
    176 
    +
    180  inline operator ::Sound() {
    +
    181  return LoadSound();
    +
    182  }
    +
    183 
    +
    189  bool Load(const std::string& fileName) {
    +
    190  set(::LoadWave(fileName.c_str()));
    +
    191  return IsReady();
    +
    192  }
    +
    193 
    +
    199  bool Load(const std::string& fileType, const unsigned char *fileData, int dataSize) {
    +
    200  set(::LoadWaveFromMemory(fileType.c_str(), fileData, dataSize));
    +
    201  return IsReady();
    +
    202  }
    +
    203 
    +
    209  inline bool IsReady() const {
    +
    210  return data != nullptr;
    +
    211  }
    +
    212 
    +
    213  private:
    +
    214  inline void set(const ::Wave& wave) {
    +
    215  frameCount = wave.frameCount;
    +
    216  sampleRate = wave.sampleRate;
    +
    217  sampleSize = wave.sampleSize;
    +
    218  channels = wave.channels;
    +
    219  data = wave.data;
    +
    220  }
    +
    221 };
    +
    222 
    +
    223 } // namespace raylib
    +
    224 
    +
    225 #endif // RAYLIB_CPP_INCLUDE_WAVE_HPP_
    +
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load wave from memory buffer, fileType refers to extension: i.e.
    Definition: Wave.hpp:199
    Wave type, defines audio wave data.
    Definition: Wave.hpp:14
    -
    float * LoadSamples()
    Load samples data from wave as a floats array.
    Definition: Wave.hpp:133
    -
    bool Load(const std::string &fileName)
    Load wave data from file.
    Definition: Wave.hpp:189
    -
    inline ::Wave Copy() const
    Copy a wave to a new wave.
    Definition: Wave.hpp:118
    -
    Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load wave from memory buffer, fileType refers to extension: i.e.
    Definition: Wave.hpp:41
    -
    Wave(const Wave &other)
    Definition: Wave.hpp:47
    -
    bool ExportAsCode(const std::string &fileName)
    Export wave sample data to code (.h), returns true on success.
    Definition: Wave.hpp:155
    -
    Wave(const ::Wave &wave)
    Definition: Wave.hpp:16
    -
    ~Wave()
    Unload wave data.
    Definition: Wave.hpp:64
    -
    Wave & Crop(int initSample, int finalSample)
    Crop a wave to defined samples range.
    Definition: Wave.hpp:125
    -
    Wave & operator=(Wave &&other) noexcept
    Definition: Wave.hpp:90
    +
    Wave & Crop(int initSample, int finalSample)
    Crop a wave to defined samples range.
    Definition: Wave.hpp:125
    void Unload()
    Unload wave data.
    Definition: Wave.hpp:163
    -
    inline ::Sound LoadSound()
    Load sound from wave data.
    Definition: Wave.hpp:173
    -
    Wave & Format(int SampleRate, int SampleSize, int Channels=2)
    Convert wave data to desired format.
    Definition: Wave.hpp:110
    -
    bool IsReady() const
    Retrieve whether or not the Wave data has been loaded.
    Definition: Wave.hpp:209
    -
    Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)
    Definition: Wave.hpp:20
    +
    float * LoadSamples()
    Load samples data from wave as a floats array.
    Definition: Wave.hpp:133
    +
    bool Load(const std::string &fileName)
    Load wave data from file.
    Definition: Wave.hpp:189
    bool Export(const std::string &fileName)
    Export wave data to file, returns true on success.
    Definition: Wave.hpp:147
    -
    Wave & operator=(const Wave &other)
    Definition: Wave.hpp:79
    +
    ~Wave()
    Unload wave data.
    Definition: Wave.hpp:64
    +
    Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load wave from memory buffer, fileType refers to extension: i.e.
    Definition: Wave.hpp:41
    +
    inline ::Wave Copy() const
    Copy a wave to a new wave.
    Definition: Wave.hpp:118
    Wave(const std::string &fileName)
    Load wave data from file.
    Definition: Wave.hpp:32
    -
    Wave(Wave &&other)
    Definition: Wave.hpp:51
    +
    bool ExportAsCode(const std::string &fileName)
    Export wave sample data to code (.h), returns true on success.
    Definition: Wave.hpp:155
    void UnloadSamples(float *samples)
    Unload samples data loaded with LoadWaveSamples()
    Definition: Wave.hpp:140
    -
    bool Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load wave from memory buffer, fileType refers to extension: i.e.
    Definition: Wave.hpp:199
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    - +
    bool IsReady() const
    Retrieve whether or not the Wave data has been loaded.
    Definition: Wave.hpp:209
    +
    Wave & Format(int SampleRate, int SampleSize, int Channels=2)
    Convert wave data to desired format.
    Definition: Wave.hpp:110
    +
    Exception used for most raylib-related exceptions.
    +
    inline ::Sound LoadSound()
    Load sound from wave data.
    Definition: Wave.hpp:173
    - + diff --git a/docs/_window_8hpp_source.html b/docs/_window_8hpp_source.html index 6ea2b849..40f87d80 100644 --- a/docs/_window_8hpp_source.html +++ b/docs/_window_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Window.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    Window.hpp
    +
    +
    Window.hpp
    -
    1#ifndef RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    -
    2#define RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    -
    3
    -
    4#include <string>
    -
    5
    -
    6#include "./raylib.hpp"
    -
    7#include "./RaylibException.hpp"
    -
    8
    -
    9namespace raylib {
    -
    13class Window {
    -
    14 public:
    -
    20 Window(int width = 800, int height = 450, const std::string& title = "raylib",
    -
    21 bool lateInit = false) {
    -
    22 if (!lateInit) {
    -
    23 if (!Init(width, height, title)) {
    -
    24 throw RaylibException("Failed to create Window");
    -
    25 }
    -
    26 }
    -
    27 }
    -
    28
    - -
    33 Close();
    -
    34 }
    -
    35
    -
    41 bool Init(int width = 800, int height = 450, const std::string& title = "raylib") {
    -
    42 ::InitWindow(width, height, title.c_str());
    -
    43 return IsWindowReady();
    -
    44 }
    -
    45
    -
    49 inline bool ShouldClose() const {
    -
    50 return ::WindowShouldClose();
    -
    51 }
    -
    52
    -
    56 inline void Close() {
    -
    57 ::CloseWindow();
    -
    58 }
    -
    59
    -
    63 inline bool IsCursorOnScreen() const {
    -
    64 return ::IsCursorOnScreen();
    -
    65 }
    -
    66
    -
    70 inline static bool IsReady() {
    -
    71 return ::IsWindowReady();
    -
    72 }
    -
    73
    -
    77 inline bool IsFullscreen() const {
    -
    78 return ::IsWindowFullscreen();
    -
    79 }
    -
    80
    -
    84 inline bool IsHidden() const {
    -
    85 return ::IsWindowHidden();
    -
    86 }
    -
    87
    -
    91 inline bool IsMinimized() const {
    -
    92 return ::IsWindowMinimized();
    -
    93 }
    -
    94
    -
    98 inline bool IsMaximized() const {
    -
    99 return ::IsWindowMaximized();
    -
    100 }
    -
    101
    -
    105 inline bool IsFocused() const {
    -
    106 return ::IsWindowFocused();
    -
    107 }
    -
    108
    -
    112 inline bool IsResized() const {
    -
    113 return ::IsWindowResized();
    -
    114 }
    -
    115
    -
    119 inline bool IsState(unsigned int flag) const {
    -
    120 return ::IsWindowState(flag);
    -
    121 }
    -
    122
    -
    126 inline Window& SetState(unsigned int flag) {
    -
    127 ::SetWindowState(flag);
    -
    128 return *this;
    -
    129 }
    -
    130
    -
    134 inline Window& ClearState(unsigned int flag) {
    -
    135 ::ClearWindowState(flag);
    -
    136 return *this;
    -
    137 }
    -
    138
    -
    142 inline Window& ClearBackground(const ::Color& color = BLACK) {
    -
    143 ::ClearBackground(color);
    -
    144 return *this;
    -
    145 }
    -
    146
    - - -
    152 return *this;
    -
    153 }
    -
    154
    -
    158 inline Window& SetFullscreen(bool fullscreen) {
    -
    159 if (fullscreen) {
    -
    160 if (!IsFullscreen()) {
    - -
    162 }
    -
    163 } else {
    -
    164 if (IsFullscreen()) {
    - -
    166 }
    -
    167 }
    -
    168
    -
    169 return *this;
    -
    170 }
    -
    171
    -
    175 inline Window& Maximize() {
    -
    176 ::MaximizeWindow();
    -
    177 return *this;
    -
    178 }
    -
    179
    -
    183 inline Window& Minimize() {
    -
    184 ::MinimizeWindow();
    -
    185 return *this;
    -
    186 }
    -
    187
    -
    191 inline Window& Restore() {
    -
    192 ::RestoreWindow();
    -
    193 return *this;
    -
    194 }
    -
    195
    -
    199 inline Window& SetIcon(const ::Image& image) {
    -
    200 ::SetWindowIcon(image);
    -
    201 return *this;
    -
    202 }
    -
    203
    -
    207 inline Window& SetTitle(const std::string& title) {
    -
    208 ::SetWindowTitle(title.c_str());
    -
    209 return *this;
    -
    210 }
    -
    211
    -
    215 inline Window& SetPosition(int x, int y) {
    -
    216 ::SetWindowPosition(x, y);
    -
    217 return *this;
    -
    218 }
    -
    219
    -
    223 inline Window& SetPosition(const ::Vector2& position) {
    -
    224 return SetPosition(static_cast<int>(position.x), static_cast<int>(position.y));
    -
    225 }
    -
    226
    -
    230 inline Window& SetMonitor(int monitor) {
    -
    231 ::SetWindowMonitor(monitor);
    -
    232 return *this;
    -
    233 }
    -
    234
    -
    238 inline Window& SetMinSize(int width, int height) {
    -
    239 ::SetWindowMinSize(width, height);
    -
    240 return *this;
    -
    241 }
    -
    242
    -
    246 inline Window& SetMinSize(const ::Vector2& size) {
    -
    247 ::SetWindowMinSize(static_cast<int>(size.x), static_cast<int>(size.y));
    -
    248 return *this;
    -
    249 }
    -
    250
    -
    254 inline Window& SetSize(int width, int height) {
    -
    255 ::SetWindowSize(width, height);
    -
    256 return *this;
    -
    257 }
    -
    258
    -
    262 inline Window& SetSize(const ::Vector2& size) {
    -
    263 return SetSize(static_cast<int>(size.x), static_cast<int>(size.y));
    -
    264 }
    -
    265
    -
    269 inline Vector2 GetSize() const {
    -
    270 return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
    -
    271 }
    -
    272
    -
    276 inline void* GetHandle() const {
    -
    277 return ::GetWindowHandle();
    -
    278 }
    -
    279
    - - -
    285 return *this;
    -
    286 }
    -
    287
    -
    291 inline Window& EndDrawing() {
    -
    292 ::EndDrawing();
    -
    293 return *this;
    -
    294 }
    -
    295
    -
    299 inline int GetWidth() const {
    -
    300 return ::GetScreenWidth();
    -
    301 }
    -
    302
    -
    306 inline int GetHeight() const {
    -
    307 return ::GetScreenHeight();
    -
    308 }
    -
    309
    -
    313 inline ::Vector2 GetPosition() const {
    -
    314 return ::GetWindowPosition();
    -
    315 }
    -
    316
    -
    320 inline ::Vector2 GetScaleDPI() const {
    -
    321 return ::GetWindowScaleDPI();
    -
    322 }
    -
    323
    -
    327 inline Window& SetTargetFPS(int fps) {
    -
    328 ::SetTargetFPS(fps);
    -
    329 return *this;
    -
    330 }
    -
    331
    -
    335 inline int GetFPS() const {
    -
    336 return ::GetFPS();
    -
    337 }
    -
    338
    -
    342 inline Window& DrawFPS(int posX = 10, int posY = 10) {
    -
    343 ::DrawFPS(posX, posY);
    -
    344 return *this;
    -
    345 }
    -
    346
    -
    350 inline float GetFrameTime() const {
    -
    351 return ::GetFrameTime();
    -
    352 }
    -
    353
    -
    357 inline double GetTime() const {
    -
    358 return ::GetTime();
    -
    359 }
    -
    360};
    -
    361} // namespace raylib
    -
    362
    -
    363#endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    -
    Exception used for most raylib-related exceptions.
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    Window and Graphics Device Functions.
    Definition: Window.hpp:13
    -
    int GetHeight() const
    Get current screen height.
    Definition: Window.hpp:306
    -
    bool Init(int width=800, int height=450, const std::string &title="raylib")
    Initializes the window.
    Definition: Window.hpp:41
    -
    Window & ToggleFullscreen()
    Toggle window state: fullscreen/windowed.
    Definition: Window.hpp:150
    -
    Window & SetPosition(int x, int y)
    Set window position on screen.
    Definition: Window.hpp:215
    +
    1 #ifndef RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    +
    2 #define RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    +
    3 
    +
    4 #include <string>
    +
    5 
    +
    6 #include "./raylib.hpp"
    +
    7 #include "./RaylibException.hpp"
    +
    8 
    +
    9 namespace raylib {
    +
    13 class Window {
    +
    14  public:
    +
    20  Window(int width = 800, int height = 450, const std::string& title = "raylib",
    +
    21  bool lateInit = false) {
    +
    22  if (!lateInit) {
    +
    23  if (!Init(width, height, title)) {
    +
    24  throw RaylibException("Failed to create Window");
    +
    25  }
    +
    26  }
    +
    27  }
    +
    28 
    +
    32  ~Window() {
    +
    33  Close();
    +
    34  }
    +
    35 
    +
    41  bool Init(int width = 800, int height = 450, const std::string& title = "raylib") {
    +
    42  ::InitWindow(width, height, title.c_str());
    +
    43  return IsWindowReady();
    +
    44  }
    +
    45 
    +
    49  inline bool ShouldClose() const {
    +
    50  return ::WindowShouldClose();
    +
    51  }
    +
    52 
    +
    56  inline void Close() {
    +
    57  ::CloseWindow();
    +
    58  }
    +
    59 
    +
    63  inline bool IsCursorOnScreen() const {
    +
    64  return ::IsCursorOnScreen();
    +
    65  }
    +
    66 
    +
    70  inline static bool IsReady() {
    +
    71  return ::IsWindowReady();
    +
    72  }
    +
    73 
    +
    77  inline bool IsFullscreen() const {
    +
    78  return ::IsWindowFullscreen();
    +
    79  }
    +
    80 
    +
    84  inline bool IsHidden() const {
    +
    85  return ::IsWindowHidden();
    +
    86  }
    +
    87 
    +
    91  inline bool IsMinimized() const {
    +
    92  return ::IsWindowMinimized();
    +
    93  }
    +
    94 
    +
    98  inline bool IsMaximized() const {
    +
    99  return ::IsWindowMaximized();
    +
    100  }
    +
    101 
    +
    105  inline bool IsFocused() const {
    +
    106  return ::IsWindowFocused();
    +
    107  }
    +
    108 
    +
    112  inline bool IsResized() const {
    +
    113  return ::IsWindowResized();
    +
    114  }
    +
    115 
    +
    119  inline bool IsState(unsigned int flag) const {
    +
    120  return ::IsWindowState(flag);
    +
    121  }
    +
    122 
    +
    126  inline Window& SetState(unsigned int flag) {
    +
    127  ::SetWindowState(flag);
    +
    128  return *this;
    +
    129  }
    +
    130 
    +
    134  inline Window& ClearState(unsigned int flag) {
    +
    135  ::ClearWindowState(flag);
    +
    136  return *this;
    +
    137  }
    +
    138 
    +
    142  inline Window& ClearBackground(const ::Color& color = BLACK) {
    +
    143  ::ClearBackground(color);
    +
    144  return *this;
    +
    145  }
    +
    146 
    + + +
    152  return *this;
    +
    153  }
    +
    154 
    +
    158  inline Window& SetFullscreen(bool fullscreen) {
    +
    159  if (fullscreen) {
    +
    160  if (!IsFullscreen()) {
    + +
    162  }
    +
    163  } else {
    +
    164  if (IsFullscreen()) {
    + +
    166  }
    +
    167  }
    +
    168 
    +
    169  return *this;
    +
    170  }
    +
    171 
    +
    175  inline Window& Maximize() {
    +
    176  ::MaximizeWindow();
    +
    177  return *this;
    +
    178  }
    +
    179 
    +
    183  inline Window& Minimize() {
    +
    184  ::MinimizeWindow();
    +
    185  return *this;
    +
    186  }
    +
    187 
    +
    191  inline Window& Restore() {
    +
    192  ::RestoreWindow();
    +
    193  return *this;
    +
    194  }
    +
    195 
    +
    199  inline Window& SetIcon(const ::Image& image) {
    +
    200  ::SetWindowIcon(image);
    +
    201  return *this;
    +
    202  }
    +
    203 
    +
    207  inline Window& SetTitle(const std::string& title) {
    +
    208  ::SetWindowTitle(title.c_str());
    +
    209  return *this;
    +
    210  }
    +
    211 
    +
    215  inline Window& SetPosition(int x, int y) {
    +
    216  ::SetWindowPosition(x, y);
    +
    217  return *this;
    +
    218  }
    +
    219 
    +
    223  inline Window& SetPosition(const ::Vector2& position) {
    +
    224  return SetPosition(static_cast<int>(position.x), static_cast<int>(position.y));
    +
    225  }
    +
    226 
    +
    230  inline Window& SetMonitor(int monitor) {
    +
    231  ::SetWindowMonitor(monitor);
    +
    232  return *this;
    +
    233  }
    +
    234 
    +
    238  inline Window& SetMinSize(int width, int height) {
    +
    239  ::SetWindowMinSize(width, height);
    +
    240  return *this;
    +
    241  }
    +
    242 
    +
    246  inline Window& SetMinSize(const ::Vector2& size) {
    +
    247  ::SetWindowMinSize(static_cast<int>(size.x), static_cast<int>(size.y));
    +
    248  return *this;
    +
    249  }
    +
    250 
    +
    254  inline Window& SetSize(int width, int height) {
    +
    255  ::SetWindowSize(width, height);
    +
    256  return *this;
    +
    257  }
    +
    258 
    +
    262  inline Window& SetSize(const ::Vector2& size) {
    +
    263  return SetSize(static_cast<int>(size.x), static_cast<int>(size.y));
    +
    264  }
    +
    265 
    +
    269  inline Vector2 GetSize() const {
    +
    270  return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
    +
    271  }
    +
    272 
    +
    276  inline void* GetHandle() const {
    +
    277  return ::GetWindowHandle();
    +
    278  }
    +
    279 
    +
    283  inline Window& BeginDrawing() {
    +
    284  ::BeginDrawing();
    +
    285  return *this;
    +
    286  }
    +
    287 
    +
    291  inline Window& EndDrawing() {
    +
    292  ::EndDrawing();
    +
    293  return *this;
    +
    294  }
    +
    295 
    +
    299  inline int GetWidth() const {
    +
    300  return ::GetScreenWidth();
    +
    301  }
    +
    302 
    +
    306  inline int GetHeight() const {
    +
    307  return ::GetScreenHeight();
    +
    308  }
    +
    309 
    +
    313  inline ::Vector2 GetPosition() const {
    +
    314  return ::GetWindowPosition();
    +
    315  }
    +
    316 
    +
    320  inline ::Vector2 GetScaleDPI() const {
    +
    321  return ::GetWindowScaleDPI();
    +
    322  }
    +
    323 
    +
    327  inline Window& SetTargetFPS(int fps) {
    +
    328  ::SetTargetFPS(fps);
    +
    329  return *this;
    +
    330  }
    +
    331 
    +
    335  inline int GetFPS() const {
    +
    336  return ::GetFPS();
    +
    337  }
    +
    338 
    +
    342  inline Window& DrawFPS(int posX = 10, int posY = 10) {
    +
    343  ::DrawFPS(posX, posY);
    +
    344  return *this;
    +
    345  }
    +
    346 
    +
    350  inline float GetFrameTime() const {
    +
    351  return ::GetFrameTime();
    +
    352  }
    +
    353 
    +
    357  inline double GetTime() const {
    +
    358  return ::GetTime();
    +
    359  }
    +
    360 };
    +
    361 } // namespace raylib
    +
    362 
    +
    363 #endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    +
    int GetWidth() const
    Get current screen width.
    Definition: Window.hpp:299
    -
    Window & ClearState(unsigned int flag)
    Clear window configuration state flags.
    Definition: Window.hpp:134
    -
    Window & Restore()
    Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
    Definition: Window.hpp:191
    -
    Window & SetSize(const ::Vector2 &size)
    Set window dimensions.
    Definition: Window.hpp:262
    -
    inline ::Vector2 GetPosition() const
    Get window position XY on monitor.
    Definition: Window.hpp:313
    -
    Window & SetState(unsigned int flag)
    Set window configuration state using flags.
    Definition: Window.hpp:126
    -
    Window & SetTitle(const std::string &title)
    Set title for window.
    Definition: Window.hpp:207
    -
    Window & SetMonitor(int monitor)
    Set monitor for the current window.
    Definition: Window.hpp:230
    -
    Window & BeginDrawing()
    Setup canvas (framebuffer) to start drawing.
    Definition: Window.hpp:283
    -
    Window & SetMinSize(const ::Vector2 &size)
    Set window minimum dimensions.
    Definition: Window.hpp:246
    -
    Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
    Initialize window and OpenGL context.
    Definition: Window.hpp:20
    -
    bool IsFullscreen() const
    Check if window is currently fullscreen.
    Definition: Window.hpp:77
    -
    Window & Maximize()
    Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:175
    +
    void * GetHandle() const
    Get native window handle.
    Definition: Window.hpp:276
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    Window & SetMonitor(int monitor)
    Set monitor for the current window.
    Definition: Window.hpp:230
    +
    double GetTime() const
    Returns elapsed time in seconds since InitWindow()
    Definition: Window.hpp:357
    +
    ~Window()
    Close window and unload OpenGL context.
    Definition: Window.hpp:32
    +
    bool IsHidden() const
    Check if window is currently hidden.
    Definition: Window.hpp:84
    +
    static void SetWindowTitle(const std::string &title)
    Set title for window.
    Definition: Functions.hpp:31
    void Close()
    Close window and unload OpenGL context.
    Definition: Window.hpp:56
    -
    bool IsState(unsigned int flag) const
    Check if one specific window flag is enabled.
    Definition: Window.hpp:119
    +
    Window & ClearBackground(const ::Color &color=BLACK)
    Clear window with given color.
    Definition: Window.hpp:142
    +
    Window & SetMinSize(int width, int height)
    Set window minimum dimensions.
    Definition: Window.hpp:238
    +
    Window & SetState(unsigned int flag)
    Set window configuration state using flags.
    Definition: Window.hpp:126
    +
    float GetFrameTime() const
    Returns time in seconds for last frame drawn.
    Definition: Window.hpp:350
    bool ShouldClose() const
    Check if KEY_ESCAPE pressed or Close icon pressed.
    Definition: Window.hpp:49
    -
    ~Window()
    Close window and unload OpenGL context.
    Definition: Window.hpp:32
    -
    double GetTime() const
    Returns elapsed time in seconds since InitWindow()
    Definition: Window.hpp:357
    -
    Window & ClearBackground(const ::Color &color=BLACK)
    Clear window with given color.
    Definition: Window.hpp:142
    -
    Window & SetTargetFPS(int fps)
    Set target FPS (maximum)
    Definition: Window.hpp:327
    -
    Window & SetSize(int width, int height)
    Set window dimensions.
    Definition: Window.hpp:254
    +
    static void InitWindow(int width, int height, const std::string &title="raylib")
    Initialize window and OpenGL context.
    Definition: Functions.hpp:24
    +
    Window & SetFullscreen(bool fullscreen)
    Set whether or not the application should be fullscreen.
    Definition: Window.hpp:158
    +
    Window & SetPosition(int x, int y)
    Set window position on screen.
    Definition: Window.hpp:215
    +
    Window & SetSize(const ::Vector2 &size)
    Set window dimensions.
    Definition: Window.hpp:262
    +
    bool IsMaximized() const
    Check if window is currently minimized.
    Definition: Window.hpp:98
    +
    inline ::Vector2 GetScaleDPI() const
    Get window scale DPI factor.
    Definition: Window.hpp:320
    +
    Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
    Initialize window and OpenGL context.
    Definition: Window.hpp:20
    +
    bool IsFocused() const
    Check if window is currently focused.
    Definition: Window.hpp:105
    +
    bool IsResized() const
    Check if window has been resized last frame.
    Definition: Window.hpp:112
    +
    int GetHeight() const
    Get current screen height.
    Definition: Window.hpp:306
    +
    bool Init(int width=800, int height=450, const std::string &title="raylib")
    Initializes the window.
    Definition: Window.hpp:41
    +
    Window & EndDrawing()
    End canvas drawing and swap buffers (double buffering)
    Definition: Window.hpp:291
    +
    Window & SetSize(int width, int height)
    Set window dimensions.
    Definition: Window.hpp:254
    +
    Vector2 type.
    Definition: Vector2.hpp:16
    int GetFPS() const
    Returns current FPS.
    Definition: Window.hpp:335
    -
    Window & SetPosition(const ::Vector2 &position)
    Set window position on screen.
    Definition: Window.hpp:223
    -
    Window & SetFullscreen(bool fullscreen)
    Set whether or not the application should be fullscreen.
    Definition: Window.hpp:158
    -
    static bool IsReady()
    Check if window has been initialized successfully.
    Definition: Window.hpp:70
    -
    float GetFrameTime() const
    Returns time in seconds for last frame drawn.
    Definition: Window.hpp:350
    +
    Window & Minimize()
    Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:183
    +
    Window & ToggleFullscreen()
    Toggle window state: fullscreen/windowed.
    Definition: Window.hpp:150
    +
    Window & Maximize()
    Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:175
    +
    Window & SetMinSize(const ::Vector2 &size)
    Set window minimum dimensions.
    Definition: Window.hpp:246
    +
    Window & SetTitle(const std::string &title)
    Set title for window.
    Definition: Window.hpp:207
    bool IsCursorOnScreen() const
    Check if cursor is on the current screen.
    Definition: Window.hpp:63
    +
    bool IsFullscreen() const
    Check if window is currently fullscreen.
    Definition: Window.hpp:77
    +
    static bool IsReady()
    Check if window has been initialized successfully.
    Definition: Window.hpp:70
    +
    Window & BeginDrawing()
    Setup canvas (framebuffer) to start drawing.
    Definition: Window.hpp:283
    +
    Window & ClearState(unsigned int flag)
    Clear window configuration state flags.
    Definition: Window.hpp:134
    +
    Window & DrawFPS(int posX=10, int posY=10)
    Draw current FPS.
    Definition: Window.hpp:342
    Vector2 GetSize() const
    Get the screen's width and height.
    Definition: Window.hpp:269
    -
    bool IsHidden() const
    Check if window is currently hidden.
    Definition: Window.hpp:84
    -
    inline ::Vector2 GetScaleDPI() const
    Get window scale DPI factor.
    Definition: Window.hpp:320
    -
    Window & DrawFPS(int posX=10, int posY=10)
    Draw current FPS.
    Definition: Window.hpp:342
    -
    Window & EndDrawing()
    End canvas drawing and swap buffers (double buffering)
    Definition: Window.hpp:291
    -
    bool IsResized() const
    Check if window has been resized last frame.
    Definition: Window.hpp:112
    -
    Window & SetIcon(const ::Image &image)
    Set icon for window.
    Definition: Window.hpp:199
    -
    Window & Minimize()
    Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:183
    -
    bool IsFocused() const
    Check if window is currently focused.
    Definition: Window.hpp:105
    -
    bool IsMaximized() const
    Check if window is currently minimized.
    Definition: Window.hpp:98
    +
    bool IsState(unsigned int flag) const
    Check if one specific window flag is enabled.
    Definition: Window.hpp:119
    +
    Window & SetPosition(const ::Vector2 &position)
    Set window position on screen.
    Definition: Window.hpp:223
    +
    Exception used for most raylib-related exceptions.
    +
    Window & SetTargetFPS(int fps)
    Set target FPS (maximum)
    Definition: Window.hpp:327
    +
    inline ::Vector2 GetPosition() const
    Get window position XY on monitor.
    Definition: Window.hpp:313
    bool IsMinimized() const
    Check if window is currently minimized.
    Definition: Window.hpp:91
    -
    Window & SetMinSize(int width, int height)
    Set window minimum dimensions.
    Definition: Window.hpp:238
    -
    void * GetHandle() const
    Get native window handle.
    Definition: Window.hpp:276
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    static void SetWindowTitle(const std::string &title)
    Set title for window.
    Definition: Functions.hpp:31
    -
    static void InitWindow(int width, int height, const std::string &title="raylib")
    Initialize window and OpenGL context.
    Definition: Functions.hpp:24
    -
    - +
    Window & Restore()
    Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
    Definition: Window.hpp:191
    +
    Window & SetIcon(const ::Image &image)
    Set icon for window.
    Definition: Window.hpp:199
    +
    Window and Graphics Device Functions.
    Definition: Window.hpp:13
    - + diff --git a/docs/annotated.html b/docs/annotated.html index 22c2b1c8..8ca7eb04 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Class List
    +
    +
    Class List
    Here are the classes, structs, unions and interfaces with brief descriptions:
    @@ -123,40 +103,14 @@
     CVrStereoConfigVR stereo config functions for VR simulator
     CWaveWave type, defines audio wave data
     CWindowWindow and Graphics Device Functions
     CAudioStream
     CBoundingBox
     CCamera2D
     CCamera3D
     CColor
     CFont
     CImage
     CMaterial
     CMatrix
     CMesh
     CModel
     CModelAnimation
     CMusic
     CRay
     CRayCollision
     CRectangle
     CRenderTexture
     CShader
     CSound
     CTexture
     CVector2
     CVector3
     CVector4
     CVrStereoConfig
     CWave
    -
    - + diff --git a/docs/bc_s.png b/docs/bc_s.png index 5d3c4cb9343562c0086034a837f256071c21e149..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 100644 GIT binary patch delta 652 zcmV;70(1R^1*8R#B!6p3L_t(|0qvd3YZFlv#?PI($;_llCX=QQZJH)AH8v`4#D$aw z+_;cZEHn!%NVOq>1)Qzt{4D1zwZ(S@W4 z67LKq-BiGOX{bs%684A^L3@%PlP z2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~ z3P5N3-)Y{65c;ywYiAh-1*hZcToLHKtpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~f zBz8?J>XHsbZhyQfee(V~r&w>|4TCd^+OGpAufHw@f@Z-m>~)Gc@=X0|fMy>yxFxFr zGe>5W)Fae$Z5#k79V{35!)q$alCw&x1%J2>`HiT_q(4 zZ5D1EbzOQ60I+g3Tg}F>tJ?CF0RUKKwUUNO`8>$z(0|2e06obBnFFXYR zO2-_M&`~J~@wtU`8`|IZ1OO;a`&>3N=|g91A^igFJO8*e*=XYNJ@;DcGC8exlHJm@ zw-kt0JIYKLGlOa-H>tO}z4u`uNrnL_>+2*f_Qw{}`T(<=8;dt|NmjmA;PKS_VrHl~ z5246|LVrB(tF>uuZvULf6o-TjY~Q2#9Ri2jL<^TA$p|%*ttZAbKkTfs_)P*Hk`tMm z6tKHztb%+s#pe>Wy+=-D(-hEheDsvVCWP!FH!CNz9RNTHHHSyyo*I$I7=_}=tX@0y mkTf)kJ z%*YJ6q5s0icR4fX{y6vCGxG;f%^hvAxsjl&{z(eo0dS_kZGZN#DU3}aH~Mv;7XWAS z^|D>614H{`Y*~Mg4Wy{V0q&cc5#Jn)k>4ZZ{6Lxwmjj}F;Ia{yON@4hs<1Kr14*ue z>jpETED-yAq@Ki80*en$(MKCluA4^~>e(8iLs1pugHx>22IOmI1w-p(k);mTk&%cD zXRv4j)MEpN`hWE+Hw2yR!BB?onE(Lt4QqBv#j=< zaAgSq=k^*^?$}&SvoErLnhBSF0^sa~Abs5vbqJDx9fXSo0H|EIqSc;wtrxEd7v=$= zavhW0fv)W}G$#PS3acgTCBMdyk)Ztrz*z-}Evf<(HGkYEbk70cd|LL`w$=rZO?~=u zoNz7&fb;usWP@9g(3YLaza*T=mTxve@js5P4KC$orp-x8VD{HEhvZU&-}JK|S$Vxl zd(;7aKu1*vGnz|Uc|zw03pfkk`owCVCq18^OxXVeI^J2&X(hbPDT_!H@)NJEq}9Vd zIJ_=_=w(+S_txJ0U!i@>hU86TQEk$-3@6lp@Y=H;bM!MmP zoPZjh#O!D*0M5oW+u;f-dh9B@av2~gOCVtZ`4O|3O8o=Y#I{JLod31}0000WKl;*<`rmYDeW16 zZ&Gcy*9!25z1gcyfC#%=GRKFZvrN)a;uinu!sR;jt;NVlEW^kH*gP7*vvk2>00000 LNkvXXu0mjf!#pr) diff --git a/docs/classes.html b/docs/classes.html index 76f15811..ec7a2527 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Index - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Class Index
    +
    +
    Class Index
    -
    A | B | C | F | G | I | M | P | R | S | T | V | W
    - +
    a | b | c | f | g | i | m | p | r | s | t | v | w
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      a  
    +
      f  
    +
    Matrix (raylib)   RayCollision (raylib)   
      v  
    +
    Mesh (raylib)   RaylibException (raylib)   
    AudioDevice (raylib)   Font (raylib)   Model (raylib)   Rectangle (raylib)   Vector2 (raylib)   
    AudioStream (raylib)   
      g  
    +
    ModelAnimation (raylib)   RenderTexture (raylib)   Vector3 (raylib)   
      b  
    +
    Mouse (raylib)   
      s  
    +
    Vector4 (raylib)   
    Gamepad (raylib)   Music (raylib)   VrStereoConfig (raylib)   
    BoundingBox (raylib)   
      i  
    +
      p  
    +
    Shader (raylib)   
      w  
    +
      c  
    +
    Sound (raylib)   
    Image (raylib)   Physics (raylib)   
      t  
    +
    Wave (raylib)   
    Camera2D (raylib)   
      m  
    +
      r  
    +
    Window (raylib)   
    Camera3D (raylib)   Text (raylib)   
    Color (raylib)   Material (raylib)   Ray (raylib)   Texture (raylib)   
    +
    a | b | c | f | g | i | m | p | r | s | t | v | w
    -
    - + diff --git a/docs/classraylib_1_1_audio_device-members.html b/docs/classraylib_1_1_audio_device-members.html index 3c3eeed8..4dd6f540 100644 --- a/docs/classraylib_1_1_audio_device-members.html +++ b/docs/classraylib_1_1_audio_device-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::AudioDevice Member List
    +
    +
    raylib::AudioDevice Member List

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

    - + - - - + + +
    AudioDevice(bool lateInit=false)raylib::AudioDeviceinline
    Close()raylib::AudioDeviceinline
    Close()raylib::AudioDeviceinline
    Init()raylib::AudioDeviceinline
    IsReady() constraylib::AudioDeviceinline
    SetVolume(float volume)raylib::AudioDeviceinline
    ~AudioDevice()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 eba99447..06fadf31 100644 --- a/docs/classraylib_1_1_audio_device.html +++ b/docs/classraylib_1_1_audio_device.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::AudioDevice Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::AudioDevice Class Reference
    +
    +
    raylib::AudioDevice Class Reference

    Audio device management functions. More...

    - -

    #include <AudioDevice.hpp>

    - - - + + - - + + - - + + - - + + - - - + + +

    +

    Public Member Functions

     AudioDevice (bool lateInit=false)
     Initialize audio device and context. More...
     
     ~AudioDevice ()
     Close the audio device and context. More...
    ~AudioDevice ()
     Close the audio device and context.
     
    void Close ()
     Close the audio device and context. More...
    +void Close ()
     Close the audio device and context.
     
    bool Init ()
     Initialize audio device and context. More...
    +bool Init ()
     Initialize audio device and context.
     
    bool IsReady () const
     Check if audio device has been initialized successfully. More...
    +bool IsReady () const
     Check if audio device has been initialized successfully.
     
    AudioDeviceSetVolume (float volume)
     Set master volume (listener). More...
     
    AudioDeviceSetVolume (float volume)
     Set master volume (listener). More...
     

    Detailed Description

    -

    Audio device management functions.

    +

    Audio device management functions.

    Definition at line 12 of file AudioDevice.hpp.

    Constructor & Destructor Documentation

    - +

    ◆ AudioDevice()

    @@ -165,73 +151,11 @@

    References Init().

    -

    -
    - -

    ◆ ~AudioDevice()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::AudioDevice::~AudioDevice ()
    -
    -inline
    -
    - -

    Close the audio device and context.

    - -

    Definition at line 32 of file AudioDevice.hpp.

    - -

    References Close().

    -

    Member Function Documentation

    - -

    ◆ Close()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::AudioDevice::Close ()
    -
    -inline
    -
    - -

    Close the audio device and context.

    - -

    Definition at line 47 of file AudioDevice.hpp.

    - -

    Referenced by ~AudioDevice().

    - -
    -
    - -

    ◆ Init()

    + +

    ◆ SetVolume()

    - -

    ◆ IsReady()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::AudioDevice::IsReady () const
    -
    -inline
    -
    - -

    Check if audio device has been initialized successfully.

    - -

    Definition at line 54 of file AudioDevice.hpp.

    - -

    Referenced by Init().

    - -
    -
    - -

    ◆ SetVolume()

    - -
    -
    - - - - + @@ -552,7 +231,7 @@

    +

    ◆ SetMin()

    - + @@ -589,13 +268,11 @@

    - - + diff --git a/docs/classraylib_1_1_camera2_d-members.html b/docs/classraylib_1_1_camera2_d-members.html index 39003212..5bf39082 100644 --- a/docs/classraylib_1_1_camera2_d-members.html +++ b/docs/classraylib_1_1_camera2_d-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -

    - - - + @@ -331,13 +191,11 @@

    - - + diff --git a/docs/classraylib_1_1_audio_stream-members.html b/docs/classraylib_1_1_audio_stream-members.html index 6cfeb67f..6b2b091b 100644 --- a/docs/classraylib_1_1_audio_stream-members.html +++ b/docs/classraylib_1_1_audio_stream-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -

    AudioDevice & raylib::AudioDevice::SetVolume AudioDevice& raylib::AudioDevice::SetVolume ( float  volume)
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ - -
    - -
    -
    -
    - -
    -
    raylib::AudioStream Member List
    +
    +
    raylib::AudioStream Member List

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

    - - + + - - - + + + - + - + - + - - - - - - - + + + + + + + - - - + + + - - - - - + + + + +
    AudioStream(const ::AudioStream &music)raylib::AudioStreaminline
    AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)raylib::AudioStreaminline
    AudioStream(const ::AudioStream &music) (defined in raylib::AudioStream)raylib::AudioStreaminline
    AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0) (defined in raylib::AudioStream)raylib::AudioStreaminline
    AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)raylib::AudioStreaminline
    AudioStream(const AudioStream &)=deleteraylib::AudioStream
    AudioStream(AudioStream &&other)raylib::AudioStreaminline
    GetBuffer() constraylib::AudioStreaminline
    AudioStream(const AudioStream &)=delete (defined in raylib::AudioStream)raylib::AudioStream
    AudioStream(AudioStream &&other) (defined in raylib::AudioStream)raylib::AudioStreaminline
    GetBuffer() constraylib::AudioStreaminline
    GetChannels() constraylib::AudioStreaminline
    GetSampleRate() constraylib::AudioStreaminline
    GetSampleRate() constraylib::AudioStreaminline
    GetSampleSize() constraylib::AudioStreaminline
    IsPlaying() constraylib::AudioStreaminline
    IsPlaying() constraylib::AudioStreaminline
    IsProcessed() constraylib::AudioStreaminline
    IsReady()raylib::AudioStreaminline
    IsReady()raylib::AudioStreaminline
    Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)raylib::AudioStreaminline
    operator=(const ::AudioStream &stream)raylib::AudioStreaminline
    operator=(const AudioStream &)=deleteraylib::AudioStream
    operator=(AudioStream &&other) noexceptraylib::AudioStreaminline
    Pause()raylib::AudioStreaminline
    Play()raylib::AudioStreaminline
    Resume()raylib::AudioStreaminline
    SetBuffer(rAudioBuffer *value)raylib::AudioStreaminline
    operator=(const ::AudioStream &stream) (defined in raylib::AudioStream)raylib::AudioStreaminline
    operator=(const AudioStream &)=delete (defined in raylib::AudioStream)raylib::AudioStream
    operator=(AudioStream &&other) noexcept (defined in raylib::AudioStream)raylib::AudioStreaminline
    Pause()raylib::AudioStreaminline
    Play()raylib::AudioStreaminline
    Resume()raylib::AudioStreaminline
    SetBuffer(rAudioBuffer *value)raylib::AudioStreaminline
    SetBufferSizeDefault(int size)raylib::AudioStreaminlinestatic
    SetChannels(unsigned int value)raylib::AudioStreaminline
    SetPitch(float pitch)raylib::AudioStreaminline
    SetSampleRate(unsigned int value)raylib::AudioStreaminline
    SetChannels(unsigned int value)raylib::AudioStreaminline
    SetPitch(float pitch)raylib::AudioStreaminline
    SetSampleRate(unsigned int value)raylib::AudioStreaminline
    SetSampleSize(unsigned int value)raylib::AudioStreaminline
    SetVolume(float volume)raylib::AudioStreaminline
    Stop()raylib::AudioStreaminline
    Unload()raylib::AudioStreaminline
    Update(const void *data, int samplesCount)raylib::AudioStreaminline
    ~AudioStream()raylib::AudioStreaminline
    SetVolume(float volume)raylib::AudioStreaminline
    Stop()raylib::AudioStreaminline
    Unload()raylib::AudioStreaminline
    Update(const void *data, int samplesCount)raylib::AudioStreaminline
    ~AudioStream() (defined in raylib::AudioStream)raylib::AudioStreaminline
    - - + diff --git a/docs/classraylib_1_1_audio_stream.html b/docs/classraylib_1_1_audio_stream.html index 1807cb97..be1d5a1f 100644 --- a/docs/classraylib_1_1_audio_stream.html +++ b/docs/classraylib_1_1_audio_stream.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::AudioStream Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::AudioStream Class Reference
    +
    +
    raylib::AudioStream Class Reference

    AudioStream management functions. More...

    - -

    #include <AudioStream.hpp>

    - - + - + - + - + - - - - - + + + @@ -125,152 +109,89 @@ - - + + - - + + - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + - - - - - - - - + + + + + + + + - - - + + +

    +

    Public Member Functions

     AudioStream (AudioStream &&other)
    AudioStream (AudioStream &&other)
     
     AudioStream (const ::AudioStream &music)
    AudioStream (const ::AudioStream &music)
     
     AudioStream (const AudioStream &)=delete
    AudioStream (const AudioStream &)=delete
     
     AudioStream (rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)
    AudioStream (rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)
     
     AudioStream (unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
     Init audio stream (to stream raw audio pcm data) More...
     
     ~AudioStream ()
     
    rAudioBuffer * GetBuffer () const
     Retrieves the buffer value for the object. More...
     
    rAudioBuffer * GetBuffer () const
     Retrieves the buffer value for the object. More...
     
    unsigned int GetChannels () const
     Retrieves the channels value for the object. More...
     
    unsigned int GetSampleSize () const
     Retrieves the sampleSize value for the object. More...
     
    bool IsPlaying () const
     Check if audio stream is playing. More...
    +bool IsPlaying () const
     Check if audio stream is playing.
     
    bool IsProcessed () const
     Check if any audio stream buffers requires refill. More...
    +bool IsProcessed () const
     Check if any audio stream buffers requires refill.
     
    bool IsReady ()
     Retrieve whether or not the audio stream is ready. More...
    +bool IsReady ()
     Retrieve whether or not the audio stream is ready.
     
    bool Load (unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
     Init audio stream (to stream raw audio pcm data) More...
     
    AudioStreamoperator= (AudioStream &&other) noexcept
     
    AudioStreamoperator= (const ::AudioStream &stream)
     
    AudioStreamoperator= (const AudioStream &)=delete
     
    AudioStreamPause ()
     Pause audio stream. More...
     
    AudioStreamPlay ()
     Play audio stream. More...
     
    AudioStreamResume ()
     Resume audio stream. More...
     
    +AudioStreamoperator= (AudioStream &&other) noexcept
     
    +AudioStreamoperator= (const ::AudioStream &stream)
     
    +AudioStreamoperator= (const AudioStream &)=delete
     
    +AudioStreamPause ()
     Pause audio stream.
     
    +AudioStreamPlay ()
     Play audio stream.
     
    +AudioStreamResume ()
     Resume audio stream.
     
    void SetBuffer (rAudioBuffer *value)
     Sets the buffer value for the object. More...
     
    void SetChannels (unsigned int value)
     Sets the channels value for the object. More...
     
    AudioStreamSetPitch (float pitch)
     Set pitch for audio stream (1.0 is base level) More...
     
    +AudioStreamSetPitch (float pitch)
     Set pitch for audio stream (1.0 is base level)
     
    void SetSampleRate (unsigned int value)
     Sets the sampleRate value for the object. More...
     
    void SetSampleSize (unsigned int value)
     Sets the sampleSize value for the object. More...
     
    AudioStreamSetVolume (float volume)
     Set volume for audio stream (1.0 is max level) More...
     
    AudioStreamStop ()
     Stop audio stream. More...
     
    void Unload ()
     Unload audio stream and free memory. More...
    +AudioStreamSetVolume (float volume)
     Set volume for audio stream (1.0 is max level)
     
    +AudioStreamStop ()
     Stop audio stream.
     
    +void Unload ()
     Unload audio stream and free memory.
     
    AudioStreamUpdate (const void *data, int samplesCount)
     Update audio stream buffers with data. More...
     
    +AudioStreamUpdate (const void *data, int samplesCount)
     Update audio stream buffers with data.
     
    - - - + +

    +

    Static Public Member Functions

    static void SetBufferSizeDefault (int size)
     Default size for new audio streams. More...
    +static void SetBufferSizeDefault (int size)
     Default size for new audio streams.
     

    Detailed Description

    -

    AudioStream management functions.

    +

    AudioStream management functions.

    Definition at line 12 of file AudioStream.hpp.

    Constructor & Destructor Documentation

    - -

    ◆ AudioStream() [1/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::AudioStream::AudioStream (const ::AudioStream & music)
    -
    -inline
    -
    - -

    Definition at line 14 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ AudioStream() [2/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::AudioStream::AudioStream (rAudioBuffer * buffer = nullptr,
    unsigned int sampleRate = 0,
    unsigned int sampleSize = 0,
    unsigned int channels = 0 
    )
    -
    -inline
    -
    - -

    Definition at line 18 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ AudioStream() [3/5]

    + +

    ◆ AudioStream()

    @@ -321,94 +242,11 @@

    References Load().

    -

    -
    - -

    ◆ AudioStream() [4/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::AudioStream::AudioStream (const AudioStream)
    -
    -delete
    -
    - -
    -
    - -

    ◆ AudioStream() [5/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::AudioStream::AudioStream (AudioStream && other)
    -
    -inline
    -
    - -

    Definition at line 38 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ ~AudioStream()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::AudioStream::~AudioStream ()
    -
    -inline
    -
    - -

    Definition at line 47 of file AudioStream.hpp.

    - -

    References Unload().

    -

    Member Function Documentation

    - -

    ◆ GetBuffer()

    + +

    ◆ GetBuffer()

    - -

    ◆ IsProcessed()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::AudioStream::IsProcessed () const
    -
    -inline
    -
    - -

    Check if any audio stream buffers requires refill.

    - -

    Definition at line 97 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ IsReady()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::AudioStream::IsReady ()
    -
    -inline
    -
    - -

    Retrieve whether or not the audio stream is ready.

    - -

    Definition at line 166 of file AudioStream.hpp.

    - -

    Referenced by Load().

    - -
    -
    - +

    ◆ Load()

    @@ -667,178 +416,7 @@

    -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    AudioStream & raylib::AudioStream::operator= (AudioStream && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 63 of file AudioStream.hpp.

    - -

    References Unload().

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    AudioStream & raylib::AudioStream::operator= (const ::AudioStreamstream)
    -
    -inline
    -
    - -

    Definition at line 56 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    AudioStream & raylib::AudioStream::operator= (const AudioStream)
    -
    -delete
    -
    - -
    -
    - -

    ◆ Pause()

    - -
    -
    - - - - - -
    - - - - - - - -
    AudioStream & raylib::AudioStream::Pause ()
    -
    -inline
    -
    - -

    Pause audio stream.

    - -

    Definition at line 112 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ Play()

    - -
    -
    - - - - - -
    - - - - - - - -
    AudioStream & raylib::AudioStream::Play ()
    -
    -inline
    -
    - -

    Play audio stream.

    - -

    Definition at line 104 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ Resume()

    - -
    -
    - - - - - -
    - - - - - - - -
    AudioStream & raylib::AudioStream::Resume ()
    -
    -inline
    -
    - -

    Resume audio stream.

    - -

    Definition at line 120 of file AudioStream.hpp.

    - -
    -
    - +

    ◆ SetBuffer()

    @@ -874,37 +452,7 @@

    -

    ◆ SetBufferSizeDefault()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::AudioStream::SetBufferSizeDefault (int size)
    -
    -inlinestatic
    -
    - -

    Default size for new audio streams.

    - -

    Definition at line 159 of file AudioStream.hpp.

    - -
    -
    - +

    ◆ SetChannels()

    @@ -940,37 +488,7 @@

    -

    ◆ SetPitch()

    - -
    -
    - - - - - -
    - - - - - - - - -
    AudioStream & raylib::AudioStream::SetPitch (float pitch)
    -
    -inline
    -
    - -

    Set pitch for audio stream (1.0 is base level)

    - -

    Definition at line 151 of file AudioStream.hpp.

    - -
    -
    - +

    ◆ SetSampleRate()

    @@ -1006,7 +524,7 @@

    +

    ◆ SetSampleSize()

    @@ -1040,146 +558,14 @@

    Definition at line 53 of file AudioStream.hpp.

    -

    -

    - -

    ◆ SetVolume()

    - -
    -
    - - - - - -
    - - - - - - - - -
    AudioStream & raylib::AudioStream::SetVolume (float volume)
    -
    -inline
    -
    - -

    Set volume for audio stream (1.0 is max level)

    - -

    Definition at line 143 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ Stop()

    - -
    -
    - - - - - -
    - - - - - - - -
    AudioStream & raylib::AudioStream::Stop ()
    -
    -inline
    -
    - -

    Stop audio stream.

    - -

    Definition at line 135 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::AudioStream::Unload ()
    -
    -inline
    -
    - -

    Unload audio stream and free memory.

    - -

    Definition at line 90 of file AudioStream.hpp.

    - -

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

    - -
    -
    - -

    ◆ Update()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    AudioStream & raylib::AudioStream::Update (const void * data,
    int samplesCount 
    )
    -
    -inline
    -
    - -

    Update audio stream buffers with data.

    - -

    Definition at line 82 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 3a66d502..91933475 100644 --- a/docs/classraylib_1_1_bounding_box-members.html +++ b/docs/classraylib_1_1_bounding_box-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::BoundingBox Member List
    +
    +
    raylib::BoundingBox Member List

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

    - - - - + + + + - + - + - + - + - +
    BoundingBox(const ::BoundingBox &box)raylib::BoundingBoxinline
    BoundingBox(const ::Mesh &mesh)raylib::BoundingBoxinline
    BoundingBox(::Vector3 minMax)raylib::BoundingBoxinline
    BoundingBox(::Vector3 min, ::Vector3 max)raylib::BoundingBoxinline
    BoundingBox(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
    BoundingBox(const ::Mesh &mesh)raylib::BoundingBoxinline
    BoundingBox(::Vector3 minMax) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
    BoundingBox(::Vector3 min, ::Vector3 max) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
    CheckCollision(const ::BoundingBox &box2) constraylib::BoundingBoxinline
    CheckCollision(::Vector3 center, float radius) constraylib::BoundingBoxinline
    CheckCollision(::Vector3 center, float radius) constraylib::BoundingBoxinline
    CheckCollision(const ::Ray &ray) constraylib::BoundingBoxinline
    Draw(::Color color={255, 255, 255, 255})raylib::BoundingBoxinline
    Draw(::Color color={255, 255, 255, 255})raylib::BoundingBoxinline
    GetCollision(const ::Ray &ray) constraylib::BoundingBoxinline
    GetMax() constraylib::BoundingBoxinline
    GetMax() constraylib::BoundingBoxinline
    GetMin() constraylib::BoundingBoxinline
    operator=(const ::BoundingBox &box)raylib::BoundingBoxinline
    operator=(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
    SetMax(::Vector3 value)raylib::BoundingBoxinline
    SetMin(::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 e6a55d4f..0694ad76 100644 --- a/docs/classraylib_1_1_bounding_box.html +++ b/docs/classraylib_1_1_bounding_box.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::BoundingBox Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::BoundingBox Class Reference
    +
    +
    raylib::BoundingBox Class Reference

    Bounding box type. More...

    - -

    #include <BoundingBox.hpp>

    - - + - + - + - - + + - - + + - - + + - - + + - - - - - + + + + + - + - + - - - + + + - +

    +

    Public Member Functions

     BoundingBox (::Vector3 min, ::Vector3 max)
    BoundingBox (::Vector3 min, ::Vector3 max)
     
     BoundingBox (::Vector3 minMax)
    BoundingBox (::Vector3 minMax)
     
     BoundingBox (const ::BoundingBox &box)
    BoundingBox (const ::BoundingBox &box)
     
     BoundingBox (const ::Mesh &mesh)
     Compute mesh bounding box limits. More...
    BoundingBox (const ::Mesh &mesh)
     Compute mesh bounding box limits.
     
    bool CheckCollision (::Vector3 center, float radius) const
     Detect collision between box and sphere. More...
    +bool CheckCollision (::Vector3 center, float radius) const
     Detect collision between box and sphere.
     
    bool CheckCollision (const ::BoundingBox &box2) const
     Detect collision between two boxes. More...
    +bool CheckCollision (const ::BoundingBox &box2) const
     Detect collision between two boxes.
     
    bool CheckCollision (const ::Ray &ray) const
     Detect collision between ray and bounding box. More...
    +bool CheckCollision (const ::Ray &ray) const
     Detect collision between ray and bounding box.
     
    BoundingBoxDraw (::Color color={255, 255, 255, 255})
     Draw a bounding box with wires. More...
     
    RayCollision GetCollision (const ::Ray &ray) const
     Get collision information between ray and bounding box. More...
    +BoundingBoxDraw (::Color color={255, 255, 255, 255})
     Draw a bounding box with wires.
     
    +RayCollision GetCollision (const ::Ray &ray) const
     Get collision information between ray and bounding box.
     
    ::Vector3 GetMax () const
    ::Vector3 GetMax () const
     Retrieves the max value for the object. More...
     
    ::Vector3 GetMin () const
    ::Vector3 GetMin () const
     Retrieves the min value for the object. More...
     
    BoundingBoxoperator= (const ::BoundingBox &box)
     
    void SetMax (::Vector3 value)
    +BoundingBoxoperator= (const ::BoundingBox &box)
     
    void SetMax (::Vector3 value)
     Sets the max value for the object. More...
     
    void SetMin (::Vector3 value)
    void SetMin (::Vector3 value)
     Sets the min value for the object. More...
     

    Detailed Description

    -

    Bounding box type.

    +

    Bounding box type.

    Definition at line 11 of file BoundingBox.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ BoundingBox() [1/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::BoundingBox::BoundingBox (const ::BoundingBox & box)
    -
    -inline
    -
    - -

    Definition at line 13 of file BoundingBox.hpp.

    - -
    -
    - -

    ◆ BoundingBox() [2/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::BoundingBox::BoundingBox (const ::Mesh & mesh)
    -
    -inline
    -
    - -

    Compute mesh bounding box limits.

    - -

    Definition at line 20 of file BoundingBox.hpp.

    - -
    -
    - -

    ◆ BoundingBox() [3/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::BoundingBox::BoundingBox (::Vector3 minMax)
    -
    -inline
    -
    - -

    Definition at line 24 of file BoundingBox.hpp.

    - -
    -
    - -

    ◆ BoundingBox() [4/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::BoundingBox::BoundingBox (::Vector3 min,
    ::Vector3 max 
    )
    -
    -inline
    -
    - -

    Definition at line 25 of file BoundingBox.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ CheckCollision() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool raylib::BoundingBox::CheckCollision (::Vector3 center,
    float radius 
    ) const
    -
    -inline
    -
    - -

    Detect collision between box and sphere.

    - -

    Definition at line 53 of file BoundingBox.hpp.

    - -
    -
    - -

    ◆ CheckCollision() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::BoundingBox::CheckCollision (const ::BoundingBoxbox2) const
    -
    -inline
    -
    - -

    Detect collision between two boxes.

    - -

    Definition at line 46 of file BoundingBox.hpp.

    - -
    -
    - -

    ◆ CheckCollision() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::BoundingBox::CheckCollision (const ::Ray & ray) const
    -
    -inline
    -
    - -

    Detect collision between ray and bounding box.

    - -

    Definition at line 60 of file BoundingBox.hpp.

    - -
    -
    - -

    ◆ Draw()

    - -
    -
    - - - - - -
    - - - - - - - - -
    BoundingBox & raylib::BoundingBox::Draw (::Color color = {255, 255, 255, 255})
    -
    -inline
    -
    - -

    Draw a bounding box with wires.

    - -

    Definition at line 38 of file BoundingBox.hpp.

    - -
    -
    - -

    ◆ GetCollision()

    - -
    -
    - - - - - -
    - - - - - - - - -
    RayCollision raylib::BoundingBox::GetCollision (const ::Ray & ray) const
    -
    -inline
    -
    - -

    Get collision information between ray and bounding box.

    - -

    Definition at line 67 of file BoundingBox.hpp.

    - -
    -
    - +

    Member Function Documentation

    +

    ◆ GetMax()

    @@ -438,7 +145,7 @@

    - + @@ -458,7 +165,7 @@

    +

    ◆ GetMin()

    @@ -468,7 +175,7 @@

    ::Vector3 raylib::BoundingBox::GetMax ::Vector3 raylib::BoundingBox::GetMax ( ) const
    - + @@ -488,35 +195,7 @@

    -

    ◆ operator=()

    - -
    -
    -
    ::Vector3 raylib::BoundingBox::GetMin ::Vector3 raylib::BoundingBox::GetMin ( ) const
    - - - - -
    - - - - - - - - -
    BoundingBox & raylib::BoundingBox::operator= (const ::BoundingBoxbox)
    -
    -inline
    -

    - -

    Definition at line 30 of file BoundingBox.hpp.

    - -
    -
    - +

    ◆ SetMax()

    (::Vector3 ::Vector3  value)
    (::Vector3 ::Vector3  value)
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Camera2D Member List
    +
    +
    raylib::Camera2D Member List

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

    - - - - - - + + + + + + - + - + - - - + + + - +
    BeginMode()raylib::Camera2Dinline
    Camera2D(const ::Camera2D &camera)raylib::Camera2Dinline
    Camera2D()raylib::Camera2Dinline
    Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)raylib::Camera2Dinline
    EndMode()raylib::Camera2Dinline
    GetMatrix() constraylib::Camera2Dinline
    BeginMode() (defined in raylib::Camera2D)raylib::Camera2Dinline
    Camera2D(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinline
    Camera2D() (defined in raylib::Camera2D)raylib::Camera2Dinline
    Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f) (defined in raylib::Camera2D)raylib::Camera2Dinline
    EndMode() (defined in raylib::Camera2D)raylib::Camera2Dinline
    GetMatrix() constraylib::Camera2Dinline
    GetOffset() constraylib::Camera2Dinline
    GetRotation() constraylib::Camera2Dinline
    GetRotation() constraylib::Camera2Dinline
    GetScreenToWorld(::Vector2 position) constraylib::Camera2Dinline
    GetTarget() constraylib::Camera2Dinline
    GetTarget() constraylib::Camera2Dinline
    GetWorldToScreen(::Vector2 position) constraylib::Camera2Dinline
    GetZoom() constraylib::Camera2Dinline
    operator=(const ::Camera2D &camera)raylib::Camera2Dinline
    SetOffset(::Vector2 value)raylib::Camera2Dinline
    GetZoom() constraylib::Camera2Dinline
    operator=(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinline
    SetOffset(::Vector2 value)raylib::Camera2Dinline
    SetRotation(float value)raylib::Camera2Dinline
    SetTarget(::Vector2 value)raylib::Camera2Dinline
    SetTarget(::Vector2 value)raylib::Camera2Dinline
    SetZoom(float value)raylib::Camera2Dinline
    -
    - + diff --git a/docs/classraylib_1_1_camera2_d.html b/docs/classraylib_1_1_camera2_d.html index 3515c8ae..21618e2e 100644 --- a/docs/classraylib_1_1_camera2_d.html +++ b/docs/classraylib_1_1_camera2_d.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Camera2D Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Camera2D Class Reference
    +
    +
    raylib::Camera2D Class Reference

    Camera2D type, defines a 2d camera. More...

    - -

    #include <Camera2D.hpp>

    - - - - + - + - - - - - - + + + + + + - + - - + + - + - - + + - - - + + + - + @@ -146,200 +134,11 @@

    +

    Public Member Functions

     Camera2D ()
     
     Camera2D (::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)
    Camera2D (::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)
     
     Camera2D (const ::Camera2D &camera)
    Camera2D (const ::Camera2D &camera)
     
    Camera2DBeginMode ()
     
    Camera2DEndMode ()
     
    Matrix GetMatrix () const
     Returns camera 2d transform matrix. More...
    +Camera2DBeginMode ()
     
    +Camera2DEndMode ()
     
    +Matrix GetMatrix () const
     Returns camera 2d transform matrix.
     
    ::Vector2 GetOffset () const
    ::Vector2 GetOffset () const
     Retrieves the offset value for the object. More...
     
    float GetRotation () const
     Retrieves the rotation value for the object. More...
     
    Vector2 GetScreenToWorld (::Vector2 position) const
     Returns the world space position for a 2d camera screen space position. More...
    +Vector2 GetScreenToWorld (::Vector2 position) const
     Returns the world space position for a 2d camera screen space position.
     
    ::Vector2 GetTarget () const
    ::Vector2 GetTarget () const
     Retrieves the target value for the object. More...
     
    Vector2 GetWorldToScreen (::Vector2 position) const
     Returns the screen space position for a 3d world space position. More...
    +Vector2 GetWorldToScreen (::Vector2 position) const
     Returns the screen space position for a 3d world space position.
     
    float GetZoom () const
     Retrieves the zoom value for the object. More...
     
    Camera2Doperator= (const ::Camera2D &camera)
     
    void SetOffset (::Vector2 value)
    +Camera2Doperator= (const ::Camera2D &camera)
     
    void SetOffset (::Vector2 value)
     Sets the offset value for the object. More...
     
    void SetRotation (float value)
     Sets the rotation value for the object. More...
     
    void SetTarget (::Vector2 value)
    void SetTarget (::Vector2 value)
     Sets the target value for the object. More...
     
    void SetZoom (float value)
     

    Detailed Description

    -

    Camera2D type, defines a 2d camera.

    +

    Camera2D type, defines a 2d camera.

    Definition at line 12 of file Camera2D.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Camera2D() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Camera2D::Camera2D (const ::Camera2D & camera)
    -
    -inline
    -
    - -

    Definition at line 14 of file Camera2D.hpp.

    - -
    -
    - -

    ◆ Camera2D() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Camera2D::Camera2D ()
    -
    -inline
    -
    - -

    Definition at line 18 of file Camera2D.hpp.

    - -
    -
    - -

    ◆ Camera2D() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Camera2D::Camera2D (::Vector2 offset,
    ::Vector2 target,
    float rotation = 0.0f,
    float zoom = 1.0f 
    )
    -
    -inline
    -
    - -

    Definition at line 19 of file Camera2D.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ BeginMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    Camera2D & raylib::Camera2D::BeginMode ()
    -
    -inline
    -
    - -

    Definition at line 22 of file Camera2D.hpp.

    - -
    -
    - -

    ◆ EndMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    Camera2D & raylib::Camera2D::EndMode ()
    -
    -inline
    -
    - -

    Definition at line 27 of file Camera2D.hpp.

    - -
    -
    - -

    ◆ GetMatrix()

    - -
    -
    - - - - - -
    - - - - - - - -
    Matrix raylib::Camera2D::GetMatrix () const
    -
    -inline
    -
    - -

    Returns camera 2d transform matrix.

    - -

    Definition at line 45 of file Camera2D.hpp.

    - -
    -
    - +

    Member Function Documentation

    +

    ◆ GetOffset()

    - -

    Returns the world space position for a 2d camera screen space position.

    - -

    Definition at line 59 of file Camera2D.hpp.

    - -
    -
    - +

    ◆ GetTarget()

    @@ -439,7 +208,7 @@

    - + @@ -459,37 +228,7 @@

    -

    ◆ GetWorldToScreen()

    - -
    -
    -

    ::Vector2 raylib::Camera2D::GetTarget ::Vector2 raylib::Camera2D::GetTarget ( ) const
    - - - - -
    - - - - - - - - -
    Vector2 raylib::Camera2D::GetWorldToScreen (::Vector2 position) const
    -
    -inline
    -

    - -

    Returns the screen space position for a 3d world space position.

    - -

    Definition at line 52 of file Camera2D.hpp.

    - -
    -

    - +

    ◆ GetZoom()

    @@ -519,35 +258,7 @@

    -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Camera2D & raylib::Camera2D::operator= (const ::Camera2Dcamera)
    -
    -inline
    -
    - -

    Definition at line 37 of file Camera2D.hpp.

    - -
    -
    - +

    ◆ SetOffset()

    @@ -559,7 +270,7 @@

    void raylib::Camera2D::SetOffset ( - ::Vector2  + ::Vector2  value) @@ -583,7 +294,7 @@

    +

    ◆ SetRotation()

    @@ -619,7 +330,7 @@

    +

    ◆ SetTarget()

    @@ -631,7 +342,7 @@

    void raylib::Camera2D::SetTarget ( - ::Vector2  + ::Vector2  value) @@ -655,7 +366,7 @@

    +

    ◆ SetZoom()

    @@ -692,13 +403,11 @@

    - -

    + diff --git a/docs/classraylib_1_1_camera3_d-members.html b/docs/classraylib_1_1_camera3_d-members.html index 6440f6e0..ebe016da 100644 --- a/docs/classraylib_1_1_camera3_d-members.html +++ b/docs/classraylib_1_1_camera3_d-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Camera3D Member List
    +
    +
    raylib::Camera3D Member List

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

    - - + + - - - - - + + + + + - + - + - + - - - - - + + + + + - - - + + + - +
    BeginMode()raylib::Camera3Dinline
    Camera3D(const ::Camera3D &camera)raylib::Camera3Dinline
    BeginMode()raylib::Camera3Dinline
    Camera3D(const ::Camera3D &camera) (defined in raylib::Camera3D)raylib::Camera3Dinline
    Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)raylib::Camera3Dinline
    Camera3D()raylib::Camera3Dinline
    DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
    DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
    EndMode()raylib::Camera3Dinline
    GetFovy() constraylib::Camera3Dinline
    Camera3D() (defined in raylib::Camera3D)raylib::Camera3Dinline
    DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
    DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})raylib::Camera3Dinline
    EndMode()raylib::Camera3Dinline
    GetFovy() constraylib::Camera3Dinline
    GetMatrix() constraylib::Camera3Dinline
    GetMouseRay(::Vector2 mousePosition) constraylib::Camera3Dinline
    GetMouseRay(::Vector2 mousePosition) constraylib::Camera3Dinline
    GetPosition() constraylib::Camera3Dinline
    GetProjection() constraylib::Camera3Dinline
    GetProjection() constraylib::Camera3Dinline
    GetTarget() constraylib::Camera3Dinline
    GetUp() constraylib::Camera3Dinline
    GetUp() constraylib::Camera3Dinline
    GetWorldToScreen(::Vector3 position) constraylib::Camera3Dinline
    operator=(const ::Camera3D &camera)raylib::Camera3Dinline
    SetAltControl(int altKey)raylib::Camera3Dinline
    SetFovy(float value)raylib::Camera3Dinline
    SetMode(int mode)raylib::Camera3Dinline
    SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)raylib::Camera3Dinline
    operator=(const ::Camera3D &camera) (defined in raylib::Camera3D)raylib::Camera3Dinline
    SetAltControl(int altKey)raylib::Camera3Dinline
    SetFovy(float value)raylib::Camera3Dinline
    SetMode(int mode)raylib::Camera3Dinline
    SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)raylib::Camera3Dinline
    SetPosition(::Vector3 value)raylib::Camera3Dinline
    SetProjection(int value)raylib::Camera3Dinline
    SetSmoothZoomControl(int szKey)raylib::Camera3Dinline
    SetTarget(::Vector3 value)raylib::Camera3Dinline
    SetProjection(int value)raylib::Camera3Dinline
    SetSmoothZoomControl(int szKey)raylib::Camera3Dinline
    SetTarget(::Vector3 value)raylib::Camera3Dinline
    SetUp(::Vector3 value)raylib::Camera3Dinline
    Update()raylib::Camera3Dinline
    Update()raylib::Camera3Dinline
    -

    - + diff --git a/docs/classraylib_1_1_camera3_d.html b/docs/classraylib_1_1_camera3_d.html index f365d679..ac61c3ae 100644 --- a/docs/classraylib_1_1_camera3_d.html +++ b/docs/classraylib_1_1_camera3_d.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Camera3D Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Camera3D Class Reference
    +
    +
    raylib::Camera3D Class Reference

    Camera type, defines a camera position/orientation in 3d space. More...

    - -

    #include <Camera3D.hpp>

    - - - - + - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - + + - + - + - + - - + + - - - - - + + + + + - - - - - - - + + + + + + + - - - - + + + + - + - - - + + +

    +

    Public Member Functions

     Camera3D ()
     
     Camera3D (::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
     Camera3D (::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
     Create a new Camera3D. More...
     
     Camera3D (const ::Camera3D &camera)
    Camera3D (const ::Camera3D &camera)
     
    Camera3DBeginMode ()
     Initializes 3D mode with custom camera (3D) More...
     
    Camera3DDrawBillboard (const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
     Draw a billboard texture defined by source. More...
     
    Camera3DDrawBillboard (const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
     Draw a billboard texture. More...
     
    Camera3DEndMode ()
     Ends 3D mode and returns to default 2D orthographic mode. More...
     
    +Camera3DBeginMode ()
     Initializes 3D mode with custom camera (3D)
     
    +Camera3DDrawBillboard (const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})
     Draw a billboard texture defined by source.
     
    +Camera3DDrawBillboard (const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})
     Draw a billboard texture.
     
    +Camera3DEndMode ()
     Ends 3D mode and returns to default 2D orthographic mode.
     
    float GetFovy () const
     Retrieves the fovy value for the object. More...
     
    Matrix GetMatrix () const
     Get transform matrix for camera. More...
    +Matrix GetMatrix () const
     Get transform matrix for camera.
     
    Ray GetMouseRay (::Vector2 mousePosition) const
     Returns a ray trace from mouse position. More...
    +Ray GetMouseRay (::Vector2 mousePosition) const
     Returns a ray trace from mouse position.
     
    ::Vector3 GetPosition () const
    ::Vector3 GetPosition () const
     Retrieves the position value for the object. More...
     
    int GetProjection () const
     Retrieves the projection value for the object. More...
     
    ::Vector3 GetTarget () const
    ::Vector3 GetTarget () const
     Retrieves the target value for the object. More...
     
    ::Vector3 GetUp () const
    ::Vector3 GetUp () const
     Retrieves the up value for the object. More...
     
    Vector2 GetWorldToScreen (::Vector3 position) const
     Returns the screen space position for a 3d world space position. More...
    +Vector2 GetWorldToScreen (::Vector3 position) const
     Returns the screen space position for a 3d world space position.
     
    Camera3Doperator= (const ::Camera3D &camera)
     
    Camera3DSetAltControl (int altKey)
     Set camera alt key to combine with mouse movement (free camera) More...
     
    +Camera3Doperator= (const ::Camera3D &camera)
     
    +Camera3DSetAltControl (int altKey)
     Set camera alt key to combine with mouse movement (free camera)
     
    void SetFovy (float value)
     Sets the fovy value for the object. More...
     
    Camera3DSetMode (int mode)
     Set camera mode (multiple camera modes available) More...
     
    Camera3DSetMoveControls (int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
     Set camera move controls (1st person and 3rd person cameras) More...
     
    void SetPosition (::Vector3 value)
    +Camera3DSetMode (int mode)
     Set camera mode (multiple camera modes available)
     
    +Camera3DSetMoveControls (int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
     Set camera move controls (1st person and 3rd person cameras)
     
    void SetPosition (::Vector3 value)
     Sets the position value for the object. More...
     
    void SetProjection (int value)
     Sets the projection value for the object. More...
     
    Camera3DSetSmoothZoomControl (int szKey)
     Set camera smooth zoom key to combine with mouse (free camera) More...
     
    void SetTarget (::Vector3 value)
    +Camera3DSetSmoothZoomControl (int szKey)
     Set camera smooth zoom key to combine with mouse (free camera)
     
    void SetTarget (::Vector3 value)
     Sets the target value for the object. More...
     
    void SetUp (::Vector3 value)
    void SetUp (::Vector3 value)
     Sets the up value for the object. More...
     
    Camera3DUpdate ()
     Update camera position for selected mode. More...
     
    +Camera3DUpdate ()
     Update camera position for selected mode.
     

    Detailed Description

    -

    Camera type, defines a camera position/orientation in 3d space.

    +

    Camera type, defines a camera position/orientation in 3d space.

    Definition at line 12 of file Camera3D.hpp.

    Constructor & Destructor Documentation

    - -

    ◆ Camera3D() [1/3]

    + +

    ◆ Camera3D()

    - -

    ◆ Camera3D() [2/3]

    - -
    -
    - - - - + @@ -935,7 +465,7 @@

    +

    ◆ SetProjection()

    @@ -971,37 +501,7 @@

    -

    ◆ SetSmoothZoomControl()

    - -
    -
    -

    - - - - - + - - + + - - + + @@ -274,205 +240,10 @@

    Definition at line 27 of file Camera3D.hpp.

    - - - -

    ◆ Camera3D() [3/3]

    - -
    -
    -

    raylib::Camera3D::Camera3D (::Vector3 ::Vector3  position,
    ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
    ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f}, ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
    - - - - -
    - - - - - - - -
    raylib::Camera3D::Camera3D ()
    -
    -inline
    -
    - -

    Definition at line 33 of file Camera3D.hpp.

    -

    Member Function Documentation

    - -

    ◆ BeginMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    Camera3D & raylib::Camera3D::BeginMode ()
    -
    -inline
    -
    - -

    Initializes 3D mode with custom camera (3D)

    - -

    Definition at line 49 of file Camera3D.hpp.

    - -
    -
    - -

    ◆ DrawBillboard() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Camera3D & raylib::Camera3D::DrawBillboard (const ::Texture2Dtexture,
    ::Rectangle sourceRec,
    ::Vector3 center,
    ::Vector2 size,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw a billboard texture defined by source.

    - -

    Definition at line 141 of file Camera3D.hpp.

    - -
    -
    - -

    ◆ DrawBillboard() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Camera3D & raylib::Camera3D::DrawBillboard (const ::Texture2Dtexture,
    ::Vector3 center,
    float size,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw a billboard texture.

    - -

    Definition at line 129 of file Camera3D.hpp.

    - -
    -
    - -

    ◆ EndMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    Camera3D & raylib::Camera3D::EndMode ()
    -
    -inline
    -
    - -

    Ends 3D mode and returns to default 2D orthographic mode.

    - -

    Definition at line 57 of file Camera3D.hpp.

    - -
    -
    - +

    ◆ GetFovy()

    @@ -502,66 +273,7 @@

    -

    ◆ GetMatrix()

    - -
    -
    - - - - - -
    - - - - - - - -
    Matrix raylib::Camera3D::GetMatrix () const
    -
    -inline
    -
    - -

    Get transform matrix for camera.

    - -

    Definition at line 65 of file Camera3D.hpp.

    - -
    -
    - -

    ◆ GetMouseRay()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Ray raylib::Camera3D::GetMouseRay (::Vector2 mousePosition) const
    -
    -inline
    -
    - -

    Returns a ray trace from mouse position.

    - -

    Definition at line 115 of file Camera3D.hpp.

    - -
    -
    - +

    ◆ GetPosition()

    @@ -571,7 +283,7 @@

    - + @@ -591,7 +303,7 @@

    +

    ◆ GetProjection()

    @@ -621,7 +333,7 @@

    +

    ◆ GetTarget()

    @@ -631,7 +343,7 @@

    ::Vector3 raylib::Camera3D::GetPosition ::Vector3 raylib::Camera3D::GetPosition ( ) const
    - + @@ -651,7 +363,7 @@

    +

    ◆ GetUp()

    @@ -661,7 +373,7 @@

    ::Vector3 raylib::Camera3D::GetTarget ::Vector3 raylib::Camera3D::GetTarget ( ) const
    - + @@ -681,95 +393,7 @@

    -

    ◆ GetWorldToScreen()

    - -
    -
    -
    ::Vector3 raylib::Camera3D::GetUp ::Vector3 raylib::Camera3D::GetUp ( ) const
    - - - - -
    - - - - - - - - -
    Vector2 raylib::Camera3D::GetWorldToScreen (::Vector3 position) const
    -
    -inline
    -

    - -

    Returns the screen space position for a 3d world space position.

    - -

    Definition at line 122 of file Camera3D.hpp.

    - -
    -

    - -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Camera3D & raylib::Camera3D::operator= (const ::Camera3Dcamera)
    -
    -inline
    -
    - -

    Definition at line 41 of file Camera3D.hpp.

    - -
    -
    - -

    ◆ SetAltControl()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Camera3D & raylib::Camera3D::SetAltControl (int altKey)
    -
    -inline
    -
    - -

    Set camera alt key to combine with mouse movement (free camera)

    - -

    Definition at line 80 of file Camera3D.hpp.

    - -
    -
    - +

    ◆ SetFovy()

    @@ -805,101 +429,7 @@

    -

    ◆ SetMode()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Camera3D & raylib::Camera3D::SetMode (int mode)
    -
    -inline
    -
    - -

    Set camera mode (multiple camera modes available)

    - -

    Definition at line 72 of file Camera3D.hpp.

    - -
    -
    - -

    ◆ SetMoveControls()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Camera3D & raylib::Camera3D::SetMoveControls (int frontKey,
    int backKey,
    int rightKey,
    int leftKey,
    int upKey,
    int downKey 
    )
    -
    -inline
    -
    - -

    Set camera move controls (1st person and 3rd person cameras)

    - -

    Definition at line 96 of file Camera3D.hpp.

    - -
    -
    - +

    ◆ SetPosition()

    (::Vector3 ::Vector3  value)
    - - - - -
    - - - - - - - - -
    Camera3D & raylib::Camera3D::SetSmoothZoomControl (int szKey)
    -
    -inline
    -
    - -

    Set camera smooth zoom key to combine with mouse (free camera)

    - -

    Definition at line 88 of file Camera3D.hpp.

    - -
    -
    - +

    ◆ SetTarget()

    @@ -1013,7 +513,7 @@

    void raylib::Camera3D::SetTarget ( - ::Vector3  + ::Vector3  value) @@ -1037,7 +537,7 @@

    +

    ◆ SetUp()

    @@ -1049,7 +549,7 @@

    void raylib::Camera3D::SetUp ( - ::Vector3  + ::Vector3  value) @@ -1071,47 +571,14 @@

    Definition at line 37 of file Camera3D.hpp.

    -

    -

    - -

    ◆ Update()

    - -
    -
    - - - - - -
    - - - - - - - -
    Camera3D & raylib::Camera3D::Update ()
    -
    -inline
    -
    - -

    Update camera position for selected mode.

    - -

    Definition at line 107 of file Camera3D.hpp.

    - -

    References raylib::UpdateCamera().

    -
    -
    - + diff --git a/docs/classraylib_1_1_color-members.html b/docs/classraylib_1_1_color-members.html index d5c16380..73a8ac7b 100644 --- a/docs/classraylib_1_1_color-members.html +++ b/docs/classraylib_1_1_color-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Color Member List
    +
    +
    raylib::Color Member List

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

    - - - - - - - - - + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - + - - - + + + - - - + + +
    Alpha(float alpha) constraylib::Colorinline
    AlphaBlend(::Color dst, ::Color tint) constraylib::Colorinline
    Beige()raylib::Colorinlinestatic
    Black()raylib::Colorinlinestatic
    Blank()raylib::Colorinlinestatic
    Blue()raylib::Colorinlinestatic
    Brown()raylib::Colorinlinestatic
    ClearBackground()raylib::Colorinline
    Color(const ::Color &color)raylib::Colorinline
    Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)raylib::Colorinline
    AlphaBlend(::Color dst, ::Color tint) constraylib::Colorinline
    Beige() (defined in raylib::Color)raylib::Colorinlinestatic
    Black() (defined in raylib::Color)raylib::Colorinlinestatic
    Blank() (defined in raylib::Color)raylib::Colorinlinestatic
    Blue() (defined in raylib::Color)raylib::Colorinlinestatic
    Brown() (defined in raylib::Color)raylib::Colorinlinestatic
    ClearBackground()raylib::Colorinline
    Color(const ::Color &color) (defined in raylib::Color)raylib::Colorinline
    Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255) (defined in raylib::Color)raylib::Colorinline
    Color()raylib::Colorinline
    Color(::Vector3 hsv)raylib::Colorinline
    Color(::Vector3 hsv)raylib::Colorinline
    Color(unsigned int hexValue)raylib::Colorinline
    Color(::Vector4 normalized)raylib::Colorinline
    DarkBlue()raylib::Colorinlinestatic
    DarkBrown()raylib::Colorinlinestatic
    DarkGray()raylib::Colorinlinestatic
    DarkGreen()raylib::Colorinlinestatic
    DarkPurple()raylib::Colorinlinestatic
    DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)raylib::Colorinline
    DrawLine(::Vector2 startPos, ::Vector2 endPos)raylib::Colorinline
    DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)raylib::Colorinline
    DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick)raylib::Colorinline
    DrawLineStrip(::Vector2 *points, int numPoints)raylib::Colorinline
    DrawPixel(int x, int y)raylib::Colorinline
    DrawPixel(::Vector2 pos)raylib::Colorinline
    DrawRectangle(int posX, int posY, int width, int height)raylib::Colorinline
    DrawRectangle(::Vector2 position, ::Vector2 size)raylib::Colorinline
    DrawRectangle(::Rectangle rec)raylib::Colorinline
    DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)raylib::Colorinline
    DrawRectangleLines(int posX, int posY, int width, int height)raylib::Colorinline
    DrawRectangleLines(::Rectangle rec, float lineThick)raylib::Colorinline
    DrawText(const std::string &text, int posX, int posY, int fontSize)raylib::Colorinline
    DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)raylib::Colorinline
    DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)raylib::Colorinline
    Fade(float alpha) constraylib::Colorinline
    Color(::Vector4 normalized)raylib::Colorinline
    DarkBlue() (defined in raylib::Color)raylib::Colorinlinestatic
    DarkBrown() (defined in raylib::Color)raylib::Colorinlinestatic
    DarkGray() (defined in raylib::Color)raylib::Colorinlinestatic
    DarkGreen() (defined in raylib::Color)raylib::Colorinlinestatic
    DarkPurple() (defined in raylib::Color)raylib::Colorinlinestatic
    DrawLine(int startPosX, int startPosY, int endPosX, int endPosY)raylib::Colorinline
    DrawLine(::Vector2 startPos, ::Vector2 endPos) (defined in raylib::Color)raylib::Colorinline
    DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) (defined in raylib::Color)raylib::Colorinline
    DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick) (defined in raylib::Color)raylib::Colorinline
    DrawLineStrip(::Vector2 *points, int numPoints) (defined in raylib::Color)raylib::Colorinline
    DrawPixel(int x, int y) (defined in raylib::Color)raylib::Colorinline
    DrawPixel(::Vector2 pos)raylib::Colorinline
    DrawRectangle(int posX, int posY, int width, int height) (defined in raylib::Color)raylib::Colorinline
    DrawRectangle(::Vector2 position, ::Vector2 size) (defined in raylib::Color)raylib::Colorinline
    DrawRectangle(::Rectangle rec) (defined in raylib::Color)raylib::Colorinline
    DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) (defined in raylib::Color)raylib::Colorinline
    DrawRectangleLines(int posX, int posY, int width, int height) (defined in raylib::Color)raylib::Colorinline
    DrawRectangleLines(::Rectangle rec, float lineThick) (defined in raylib::Color)raylib::Colorinline
    DrawText(const std::string &text, int posX, int posY, int fontSize) (defined in raylib::Color)raylib::Colorinline
    DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing) (defined in raylib::Color)raylib::Colorinline
    DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing) (defined in raylib::Color)raylib::Colorinline
    Fade(float alpha) constraylib::Colorinline
    FromHSV(float hue, float saturation, float value)raylib::Colorinlinestatic
    GetA() constraylib::Colorinline
    GetA() constraylib::Colorinline
    GetB() constraylib::Colorinline
    GetG() constraylib::Colorinline
    GetG() constraylib::Colorinline
    GetR() constraylib::Colorinline
    Gold()raylib::Colorinlinestatic
    Gray()raylib::Colorinlinestatic
    Green()raylib::Colorinlinestatic
    LightGray()raylib::Colorinlinestatic
    Lime()raylib::Colorinlinestatic
    Magenta()raylib::Colorinlinestatic
    Maroon()raylib::Colorinlinestatic
    Gold() (defined in raylib::Color)raylib::Colorinlinestatic
    Gray() (defined in raylib::Color)raylib::Colorinlinestatic
    Green() (defined in raylib::Color)raylib::Colorinlinestatic
    LightGray() (defined in raylib::Color)raylib::Colorinlinestatic
    Lime() (defined in raylib::Color)raylib::Colorinlinestatic
    Magenta() (defined in raylib::Color)raylib::Colorinlinestatic
    Maroon() (defined in raylib::Color)raylib::Colorinlinestatic
    Normalize() constraylib::Colorinline
    operator int() constraylib::Colorinline
    operator=(const ::Color &color)raylib::Colorinline
    Orange()raylib::Colorinlinestatic
    Pink()raylib::Colorinlinestatic
    Purple()raylib::Colorinlinestatic
    RayWhite()raylib::Colorinlinestatic
    Red()raylib::Colorinlinestatic
    operator int() constraylib::Colorinline
    operator=(const ::Color &color) (defined in raylib::Color)raylib::Colorinline
    Orange() (defined in raylib::Color)raylib::Colorinlinestatic
    Pink() (defined in raylib::Color)raylib::Colorinlinestatic
    Purple() (defined in raylib::Color)raylib::Colorinlinestatic
    RayWhite() (defined in raylib::Color)raylib::Colorinlinestatic
    Red() (defined in raylib::Color)raylib::Colorinlinestatic
    SetA(unsigned char value)raylib::Colorinline
    SetB(unsigned char value)raylib::Colorinline
    SetB(unsigned char value)raylib::Colorinline
    SetG(unsigned char value)raylib::Colorinline
    SetR(unsigned char value)raylib::Colorinline
    SkyBlue()raylib::Colorinlinestatic
    ToHSV() constraylib::Colorinline
    SetR(unsigned char value)raylib::Colorinline
    SkyBlue() (defined in raylib::Color)raylib::Colorinlinestatic
    ToHSV() constraylib::Colorinline
    ToInt() constraylib::Colorinline
    Violet()raylib::Colorinlinestatic
    White()raylib::Colorinlinestatic
    Yellow()raylib::Colorinlinestatic
    Violet() (defined in raylib::Color)raylib::Colorinlinestatic
    White() (defined in raylib::Color)raylib::Colorinlinestatic
    Yellow() (defined in raylib::Color)raylib::Colorinlinestatic
    -

    - + diff --git a/docs/classraylib_1_1_color.html b/docs/classraylib_1_1_color.html index 440dcf58..6c056018 100644 --- a/docs/classraylib_1_1_color.html +++ b/docs/classraylib_1_1_color.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Color Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Color Class Reference
    +
    +
    raylib::Color Class Reference

    Color type, RGBA (32bit) More...

    - -

    #include <Color.hpp>

    - - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -174,14 +182,17 @@ - - + + - - + + - - + + @@ -194,156 +205,107 @@ - - + + - - + +

    +

    Public Member Functions

     Color ()
     Black. More...
    Color ()
     Black.
     
     Color (::Vector3 hsv)
     Returns a Color from HSV values. More...
    Color (::Vector3 hsv)
     Returns a Color from HSV values.
     
     Color (::Vector4 normalized)
     Returns Color from normalized values [0..1]. More...
    Color (::Vector4 normalized)
     Returns Color from normalized values [0..1].
     
     Color (const ::Color &color)
    Color (const ::Color &color)
     
     Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
    Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
     
     Color (unsigned int hexValue)
     Get Color structure from hexadecimal value. More...
    Color (unsigned int hexValue)
     Get Color structure from hexadecimal value.
     
    Color Alpha (float alpha) const
     Returns color with alpha applied, alpha goes from 0.0f to 1.0f. More...
    +Color Alpha (float alpha) const
     Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
     
    Color AlphaBlend (::Color dst, ::Color tint) const
     Returns src alpha-blended into dst color with tint. More...
    +Color AlphaBlend (::Color dst, ::Color tint) const
     Returns src alpha-blended into dst color with tint.
     
    ColorClearBackground ()
     Set background color (framebuffer clear color) More...
     
    ColorDrawLine (::Vector2 startPos, ::Vector2 endPos)
     
    ColorDrawLine (::Vector2 startPos, ::Vector2 endPos, float thick)
     
    ColorDrawLine (int startPosX, int startPosY, int endPosX, int endPosY)
     Draw a line. More...
     
    ColorDrawLineBezier (::Vector2 startPos, ::Vector2 endPos, float thick)
     
    ColorDrawLineStrip (::Vector2 *points, int numPoints)
     
    ColorDrawPixel (::Vector2 pos)
     Draw a pixel. More...
     
    ColorDrawPixel (int x, int y)
     
    ColorDrawRectangle (::Rectangle rec)
     
    ColorDrawRectangle (::Rectangle rec, ::Vector2 origin, float rotation)
     
    ColorDrawRectangle (::Vector2 position, ::Vector2 size)
     
    ColorDrawRectangle (int posX, int posY, int width, int height)
     
    ColorDrawRectangleLines (::Rectangle rec, float lineThick)
     
    ColorDrawRectangleLines (int posX, int posY, int width, int height)
     
    ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)
     
    ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
     
    ColorDrawText (const std::string &text, int posX, int posY, int fontSize)
     
    Color Fade (float alpha) const
     Returns color with alpha applied, alpha goes from 0.0f to 1.0f. More...
    +ColorClearBackground ()
     Set background color (framebuffer clear color)
     
    +ColorDrawLine (::Vector2 startPos, ::Vector2 endPos)
     
    +ColorDrawLine (::Vector2 startPos, ::Vector2 endPos, float thick)
     
    +ColorDrawLine (int startPosX, int startPosY, int endPosX, int endPosY)
     Draw a line.
     
    +ColorDrawLineBezier (::Vector2 startPos, ::Vector2 endPos, float thick)
     
    +ColorDrawLineStrip (::Vector2 *points, int numPoints)
     
    +ColorDrawPixel (::Vector2 pos)
     Draw a pixel.
     
    +ColorDrawPixel (int x, int y)
     
    +ColorDrawRectangle (::Rectangle rec)
     
    +ColorDrawRectangle (::Rectangle rec, ::Vector2 origin, float rotation)
     
    +ColorDrawRectangle (::Vector2 position, ::Vector2 size)
     
    +ColorDrawRectangle (int posX, int posY, int width, int height)
     
    +ColorDrawRectangleLines (::Rectangle rec, float lineThick)
     
    +ColorDrawRectangleLines (int posX, int posY, int width, int height)
     
    +ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing)
     
    +ColorDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)
     
    +ColorDrawText (const std::string &text, int posX, int posY, int fontSize)
     
    +Color Fade (float alpha) const
     Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
     
    unsigned char GetA () const
     Retrieves the a value for the object. More...
    unsigned char GetR () const
     Retrieves the r value for the object. More...
     
    Vector4 Normalize () const
     Returns Color normalized as float [0..1]. More...
    +Vector4 Normalize () const
     Returns Color normalized as float [0..1].
     
     operator int () const
     Returns hexadecimal value for a Color. More...
    operator int () const
     Returns hexadecimal value for a Color.
     
    Coloroperator= (const ::Color &color)
     
    +Coloroperator= (const ::Color &color)
     
    void SetA (unsigned char value)
     Sets the a value for the object. More...
     
    void SetR (unsigned char value)
     Sets the r value for the object. More...
     
    Vector3 ToHSV () const
     Returns HSV values for a Color. More...
    +Vector3 ToHSV () const
     Returns HSV values for a Color.
     
    int ToInt () const
     Returns hexadecimal value for a Color. More...
    +int ToInt () const
     Returns hexadecimal value for a Color.
     
    - - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    +

    Static Public Member Functions

    static Color Beige ()
    +static Color Beige ()
     
    static Color Black ()
    +static Color Black ()
     
    static Color Blank ()
    +static Color Blank ()
     
    static Color Blue ()
    +static Color Blue ()
     
    static Color Brown ()
    +static Color Brown ()
     
    static Color DarkBlue ()
    +static Color DarkBlue ()
     
    static Color DarkBrown ()
    +static Color DarkBrown ()
     
    static Color DarkGray ()
    +static Color DarkGray ()
     
    static Color DarkGreen ()
    +static Color DarkGreen ()
     
    static Color DarkPurple ()
    +static Color DarkPurple ()
     
    ::Color FromHSV (float hue, float saturation, float value)
     Returns a Color from HSV values. More...
    +::Color FromHSV (float hue, float saturation, float value)
     Returns a Color from HSV values.
     
    static Color Gold ()
    +static Color Gold ()
     
    static Color Gray ()
    +static Color Gray ()
     
    static Color Green ()
    +static Color Green ()
     
    static Color LightGray ()
    +static Color LightGray ()
     
    static Color Lime ()
    +static Color Lime ()
     
    static Color Magenta ()
    +static Color Magenta ()
     
    static Color Maroon ()
    +static Color Maroon ()
     
    static Color Orange ()
    +static Color Orange ()
     
    static Color Pink ()
    +static Color Pink ()
     
    static Color Purple ()
    +static Color Purple ()
     
    static Color RayWhite ()
    +static Color RayWhite ()
     
    static Color Red ()
    +static Color Red ()
     
    static Color SkyBlue ()
    +static Color SkyBlue ()
     
    static Color Violet ()
    +static Color Violet ()
     
    static Color White ()
    +static Color White ()
     
    static Color Yellow ()
    +static Color Yellow ()
     

    Detailed Description

    -

    Color type, RGBA (32bit)

    +

    Color type, RGBA (32bit)

    Definition at line 14 of file Color.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Color() [1/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Color::Color (const ::Color & color)
    -
    -inline
    -
    - -

    Definition at line 16 of file Color.hpp.

    - -
    -
    - -

    ◆ Color() [2/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Color::Color (unsigned char red,
    unsigned char green,
    unsigned char blue,
    unsigned char alpha = 255 
    )
    -
    -inline
    -
    - -

    Definition at line 20 of file Color.hpp.

    - -
    -
    - -

    ◆ Color() [3/6]

    +

    Member Function Documentation

    + +

    ◆ GetA()

    - -

    ◆ Color() [4/6]

    - -
    -
    - - - @@ -395,14 +327,15 @@

    -

    Returns a Color from HSV values.

    +

    Retrieves the a value for the object.

    +
    Returns
    The a value of the object.
    -

    Definition at line 34 of file Color.hpp.

    +

    Definition at line 97 of file Color.hpp.

    - -

    ◆ Color() [5/6]

    + +

    ◆ GetB()

    @@ -411,11 +344,10 @@

    - - - - - - - +
    raylib::Color::Color (::Vector3 hsv) const
    - + - - - + +
    raylib::Color::Color unsigned char raylib::Color::GetB (unsigned int hexValue)) const
    @@ -425,14 +357,15 @@

    -

    Get Color structure from hexadecimal value.

    +

    Retrieves the b value for the object.

    +
    Returns
    The b value of the object.
    -

    Definition at line 48 of file Color.hpp.

    +

    Definition at line 96 of file Color.hpp.

    - -

    ◆ Color() [6/6]

    + +

    ◆ GetG()

    @@ -441,11 +374,10 @@

    - + - - - + +
    raylib::Color::Color unsigned char raylib::Color::GetG (::Vector4 normalized)) const
    @@ -455,15 +387,15 @@

    -

    Returns Color from normalized values [0..1].

    +

    Retrieves the g value for the object.

    +
    Returns
    The g value of the object.
    -

    Definition at line 55 of file Color.hpp.

    +

    Definition at line 95 of file Color.hpp.

    -

    Member Function Documentation

    - -

    ◆ Alpha()

    + +

    ◆ GetR()

    - -

    ◆ AlphaBlend()

    + +

    ◆ SetA()

    - -

    ◆ Beige()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Beige ()
    -
    -inlinestatic
    -
    +

    Sets the a value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set a to.
    +
    +
    -

    Definition at line 238 of file Color.hpp.

    +

    Definition at line 97 of file Color.hpp.

    - -

    ◆ Black()

    + +

    ◆ SetB()

    - -

    ◆ Blank()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Blank ()
    -
    -inlinestatic
    -
    +

    Sets the b value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set b to.
    +
    +
    -

    Definition at line 243 of file Color.hpp.

    +

    Definition at line 96 of file Color.hpp.

    - -

    ◆ Blue()

    + +

    ◆ SetG()

    - -

    ◆ Brown()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Brown ()
    -
    -inlinestatic
    -
    +

    Sets the g value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set g to.
    +
    +
    -

    Definition at line 239 of file Color.hpp.

    +

    Definition at line 95 of file Color.hpp.

    - -

    ◆ ClearBackground()

    + +

    ◆ SetR()

    - -

    ◆ DarkBlue()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::DarkBlue ()
    -
    -inlinestatic
    -
    - -

    Definition at line 234 of file Color.hpp.

    - -
    -
    - -

    ◆ DarkBrown()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::DarkBrown ()
    -
    -inlinestatic
    -
    - -

    Definition at line 240 of file Color.hpp.

    - -
    -
    - -

    ◆ DarkGray()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::DarkGray ()
    -
    -inlinestatic
    -
    - -

    Definition at line 222 of file Color.hpp.

    - -
    -
    - -

    ◆ DarkGreen()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::DarkGreen ()
    -
    -inlinestatic
    -
    - -

    Definition at line 231 of file Color.hpp.

    - -
    -
    - -

    ◆ DarkPurple()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::DarkPurple ()
    -
    -inlinestatic
    -
    - -

    Definition at line 237 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawLine() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawLine (::Vector2 startPos,
    ::Vector2 endPos 
    )
    -
    -inline
    -
    - -

    Definition at line 133 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawLine() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawLine (::Vector2 startPos,
    ::Vector2 endPos,
    float thick 
    )
    -
    -inline
    -
    - -

    Definition at line 138 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawLine() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawLine (int startPosX,
    int startPosY,
    int endPosX,
    int endPosY 
    )
    -
    -inline
    -
    - -

    Draw a line.

    - -

    Definition at line 128 of file Color.hpp.

    - -

    References DrawLine().

    - -

    Referenced by DrawLine().

    - -
    -
    - -

    ◆ DrawLineBezier()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawLineBezier (::Vector2 startPos,
    ::Vector2 endPos,
    float thick 
    )
    -
    -inline
    -
    - -

    Definition at line 143 of file Color.hpp.

    - -

    References DrawLineBezier().

    - -

    Referenced by DrawLineBezier().

    - -
    -
    - -

    ◆ DrawLineStrip()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawLineStrip (::Vector2 * points,
    int numPoints 
    )
    -
    -inline
    -
    - -

    Definition at line 148 of file Color.hpp.

    - -

    References DrawLineStrip().

    - -

    Referenced by DrawLineStrip().

    - -
    -
    - -

    ◆ DrawPixel() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Color & raylib::Color::DrawPixel (::Vector2 pos)
    -
    -inline
    -
    - -

    Draw a pixel.

    - -

    Definition at line 120 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawPixel() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawPixel (int x,
    int y 
    )
    -
    -inline
    -
    - -

    Definition at line 112 of file Color.hpp.

    - -

    References DrawPixel().

    - -

    Referenced by DrawPixel().

    - -
    -
    - -

    ◆ DrawRectangle() [1/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Color & raylib::Color::DrawRectangle (::Rectangle rec)
    -
    -inline
    -
    - -

    Definition at line 186 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawRectangle() [2/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawRectangle (::Rectangle rec,
    ::Vector2 origin,
    float rotation 
    )
    -
    -inline
    -
    - -

    Definition at line 191 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawRectangle() [3/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawRectangle (::Vector2 position,
    ::Vector2 size 
    )
    -
    -inline
    -
    - -

    Definition at line 181 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawRectangle() [4/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawRectangle (int posX,
    int posY,
    int width,
    int height 
    )
    -
    -inline
    -
    - -

    Definition at line 176 of file Color.hpp.

    - -

    References DrawRectangle().

    - -

    Referenced by DrawRectangle().

    - -
    -
    - -

    ◆ DrawRectangleLines() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawRectangleLines (::Rectangle rec,
    float lineThick 
    )
    -
    -inline
    -
    - -

    Definition at line 201 of file Color.hpp.

    - -
    -
    - -

    ◆ DrawRectangleLines() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawRectangleLines (int posX,
    int posY,
    int width,
    int height 
    )
    -
    -inline
    -
    - -

    Definition at line 196 of file Color.hpp.

    - -

    References DrawRectangleLines().

    - -

    Referenced by DrawRectangleLines().

    - -
    -
    - -

    ◆ DrawText() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawText (const ::Font & font,
    const std::string & text,
    ::Vector2 position,
    ::Vector2 origin,
    float rotation,
    float fontSize,
    float spacing 
    )
    -
    -inline
    -
    - -

    Definition at line 164 of file Color.hpp.

    - -

    References raylib::DrawTextPro().

    - -
    -
    - -

    ◆ DrawText() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawText (const ::Font & font,
    const std::string & text,
    ::Vector2 position,
    float fontSize,
    float spacing 
    )
    -
    -inline
    -
    - -

    Definition at line 158 of file Color.hpp.

    - -

    References raylib::DrawTextEx().

    - -
    -
    - -

    ◆ DrawText() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Color & raylib::Color::DrawText (const std::string & text,
    int posX,
    int posY,
    int fontSize 
    )
    -
    -inline
    -
    - -

    Definition at line 153 of file Color.hpp.

    - -

    References DrawText().

    - -

    Referenced by DrawText().

    - -
    -
    - -

    ◆ Fade()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Color raylib::Color::Fade (float alpha) const
    -
    -inline
    -
    - -

    Returns color with alpha applied, alpha goes from 0.0f to 1.0f.

    - -

    Definition at line 76 of file Color.hpp.

    - -
    -
    - -

    ◆ FromHSV()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Color raylib::Color::FromHSV (float hue,
    float saturation,
    float value 
    )
    -
    -inlinestatic
    -
    - -

    Returns a Color from HSV values.

    - -

    Definition at line 41 of file Color.hpp.

    - -
    -
    - -

    ◆ GetA()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned char raylib::Color::GetA () const
    -
    -inline
    -
    - -

    Retrieves the a value for the object.

    -
    Returns
    The a value of the object.
    - -

    Definition at line 97 of file Color.hpp.

    - -
    -
    - -

    ◆ GetB()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned char raylib::Color::GetB () const
    -
    -inline
    -
    - -

    Retrieves the b value for the object.

    -
    Returns
    The b value of the object.
    - -

    Definition at line 96 of file Color.hpp.

    - -
    -
    - -

    ◆ GetG()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned char raylib::Color::GetG () const
    -
    -inline
    -
    - -

    Retrieves the g value for the object.

    -
    Returns
    The g value of the object.
    - -

    Definition at line 95 of file Color.hpp.

    - -
    -
    - -

    ◆ GetR()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned char raylib::Color::GetR () const
    -
    -inline
    -
    - -

    Retrieves the r value for the object.

    -
    Returns
    The r value of the object.
    - -

    Definition at line 94 of file Color.hpp.

    - -
    -
    - -

    ◆ Gold()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Gold ()
    -
    -inlinestatic
    -
    - -

    Definition at line 224 of file Color.hpp.

    - -
    -
    - -

    ◆ Gray()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Gray ()
    -
    -inlinestatic
    -
    - -

    Definition at line 221 of file Color.hpp.

    - -
    -
    - -

    ◆ Green()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Green ()
    -
    -inlinestatic
    -
    - -

    Definition at line 229 of file Color.hpp.

    - -
    -
    - -

    ◆ LightGray()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::LightGray ()
    -
    -inlinestatic
    -
    - -

    Definition at line 220 of file Color.hpp.

    - -
    -
    - -

    ◆ Lime()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Lime ()
    -
    -inlinestatic
    -
    - -

    Definition at line 230 of file Color.hpp.

    - -
    -
    - -

    ◆ Magenta()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Magenta ()
    -
    -inlinestatic
    -
    - -

    Definition at line 244 of file Color.hpp.

    - -
    -
    - -

    ◆ Maroon()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Maroon ()
    -
    -inlinestatic
    -
    - -

    Definition at line 228 of file Color.hpp.

    - -
    -
    - -

    ◆ Normalize()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector4 raylib::Color::Normalize () const
    -
    -inline
    -
    - -

    Returns Color normalized as float [0..1].

    - -

    Definition at line 83 of file Color.hpp.

    - -
    -
    - -

    ◆ operator int()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Color::operator int () const
    -
    -inline
    -
    - -

    Returns hexadecimal value for a Color.

    - -

    Definition at line 69 of file Color.hpp.

    - -
    -
    - -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Color & raylib::Color::operator= (const ::Colorcolor)
    -
    -inline
    -
    - -

    Definition at line 99 of file Color.hpp.

    - -
    -
    - -

    ◆ Orange()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Orange ()
    -
    -inlinestatic
    -
    - -

    Definition at line 225 of file Color.hpp.

    - -
    -
    - -

    ◆ Pink()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Pink ()
    -
    -inlinestatic
    -
    - -

    Definition at line 226 of file Color.hpp.

    - -
    -
    - -

    ◆ Purple()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Purple ()
    -
    -inlinestatic
    -
    - -

    Definition at line 235 of file Color.hpp.

    - -
    -
    - -

    ◆ RayWhite()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::RayWhite ()
    -
    -inlinestatic
    -
    - -

    Definition at line 245 of file Color.hpp.

    - -
    -
    - -

    ◆ Red()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Red ()
    -
    -inlinestatic
    -
    - -

    Definition at line 227 of file Color.hpp.

    - -
    -
    - -

    ◆ SetA()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Color::SetA (unsigned char value)
    -
    -inline
    -
    - -

    Sets the a value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set a to.
    -
    -
    - -

    Definition at line 97 of file Color.hpp.

    - -
    -
    - -

    ◆ SetB()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Color::SetB (unsigned char value)
    -
    -inline
    -
    - -

    Sets the b value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set b to.
    -
    -
    - -

    Definition at line 96 of file Color.hpp.

    - -
    -
    - -

    ◆ SetG()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Color::SetG (unsigned char value)
    -
    -inline
    -
    - -

    Sets the g value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set g to.
    -
    -
    - -

    Definition at line 95 of file Color.hpp.

    - -
    -
    - -

    ◆ SetR()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Color::SetR (unsigned char value)
    -
    -inline
    -
    - -

    Sets the r value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set r to.
    -
    -
    - -

    Definition at line 94 of file Color.hpp.

    - -
    -
    - -

    ◆ SkyBlue()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::SkyBlue ()
    -
    -inlinestatic
    -
    - -

    Definition at line 232 of file Color.hpp.

    - -
    -
    - -

    ◆ ToHSV()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector3 raylib::Color::ToHSV () const
    -
    -inline
    -
    - -

    Returns HSV values for a Color.

    - -

    Definition at line 90 of file Color.hpp.

    - -
    -
    - -

    ◆ ToInt()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Color::ToInt () const
    -
    -inline
    -
    - -

    Returns hexadecimal value for a Color.

    - -

    Definition at line 62 of file Color.hpp.

    - -
    -
    - -

    ◆ Violet()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Violet ()
    -
    -inlinestatic
    -
    - -

    Definition at line 236 of file Color.hpp.

    - -
    -
    - -

    ◆ White()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::White ()
    -
    -inlinestatic
    -
    - -

    Definition at line 241 of file Color.hpp.

    - -
    -
    - -

    ◆ Yellow()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Color raylib::Color::Yellow ()
    -
    -inlinestatic
    -
    - -

    Definition at line 223 of file Color.hpp.

    +

    Definition at line 94 of file Color.hpp.

    -

    - + diff --git a/docs/classraylib_1_1_font-members.html b/docs/classraylib_1_1_font-members.html index 192868e3..4bb75f0f 100644 --- a/docs/classraylib_1_1_font-members.html +++ b/docs/classraylib_1_1_font-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Font Member List
    +
    +
    raylib::Font Member List

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

    - - - - - - + + + + + + - + - - - + + + - + - - - + + + - + - - - + + + - - - + + + - + - + - - - + + +
    DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)raylib::Fontinline
    DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)raylib::Fontinline
    DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })raylib::Fontinline
    Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)raylib::Fontinline
    Font()raylib::Fontinline
    Font(const ::Font &font)raylib::Fontinline
    DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)raylib::Fontinline
    DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) (defined in raylib::Font)raylib::Fontinline
    DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })raylib::Fontinline
    Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr) (defined in raylib::Font)raylib::Fontinline
    Font() (defined in raylib::Font)raylib::Fontinline
    Font(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
    Font(const std::string &fileName)raylib::Fontinline
    Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)raylib::Fontinline
    Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)raylib::Fontinline
    Font(const ::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
    Font(const Font &)=deleteraylib::Font
    Font(Font &&other)raylib::Fontinline
    Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline
    Font(const Font &)=delete (defined in raylib::Font)raylib::Font
    Font(Font &&other) (defined in raylib::Font)raylib::Fontinline
    GetBaseSize() constraylib::Fontinline
    GetGlyphCount() constraylib::Fontinline
    GetGlyphCount() constraylib::Fontinline
    GetGlyphIndex(int character) constraylib::Fontinline
    GetGlyphPadding() constraylib::Fontinline
    GetGlyphs() constraylib::Fontinline
    GetRecs() constraylib::Fontinline
    GetGlyphPadding() constraylib::Fontinline
    GetGlyphs() constraylib::Fontinline
    GetRecs() constraylib::Fontinline
    GetTexture() constraylib::Fontinline
    ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
    ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
    Load(const std::string &fileName)raylib::Fontinline
    Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)raylib::Fontinline
    Load(const ::Image &image, ::Color key, int firstChar)raylib::Fontinline
    Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline
    Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)raylib::Fontinline
    Load(const ::Image &image, ::Color key, int firstChar) (defined in raylib::Font)raylib::Fontinline
    Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) (defined in raylib::Font)raylib::Fontinline
    MeasureText(const std::string &text, float fontSize, float spacing) constraylib::Fontinline
    operator=(const ::Font &font)raylib::Fontinline
    operator=(const Font &)=deleteraylib::Font
    operator=(Font &&other) noexceptraylib::Fontinline
    operator=(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
    operator=(const Font &)=delete (defined in raylib::Font)raylib::Font
    operator=(Font &&other) noexcept (defined in raylib::Font)raylib::Fontinline
    SetBaseSize(int value)raylib::Fontinline
    SetGlyphCount(int value)raylib::Fontinline
    SetGlyphCount(int value)raylib::Fontinline
    SetGlyphPadding(int value)raylib::Fontinline
    SetGlyphs(::GlyphInfo *value)raylib::Fontinline
    SetGlyphs(::GlyphInfo *value)raylib::Fontinline
    SetRecs(::Rectangle *value)raylib::Fontinline
    SetTexture(::Texture2D value)raylib::Fontinline
    Unload()raylib::Fontinline
    ~Font()raylib::Fontinline
    SetTexture(::Texture2D value)raylib::Fontinline
    Unload() (defined in raylib::Font)raylib::Fontinline
    ~Font() (defined in raylib::Font)raylib::Fontinline
    -

    - + diff --git a/docs/classraylib_1_1_font.html b/docs/classraylib_1_1_font.html index 571b76c2..423a8312 100644 --- a/docs/classraylib_1_1_font.html +++ b/docs/classraylib_1_1_font.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Font Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Font Class Reference
    +
    +
    raylib::Font Class Reference

    Font type, includes texture and charSet array data. More...

    - -

    #include <Font.hpp>

    - - - - + - + - + @@ -117,45 +99,51 @@ - + - + - - - - - - - - - - + + + + + + + + - - + + - - - - - - - + + + + + + + - - + + - + @@ -163,17 +151,22 @@ - + - - + + - - - - - - + + + + + + @@ -186,139 +179,23 @@ - + - + - +

    +

    Public Member Functions

     Font ()
     
     Font (const ::Font &font)
    Font (const ::Font &font)
     
     Font (const ::Image &image, ::Color key, int firstChar)
     Font (const ::Image &image, ::Color key, int firstChar)
     Loads a Font from the given image with a color key. More...
     
     Font (const Font &)=delete
    Font (const Font &)=delete
     
     Font (const std::string &fileName)
     Loads a Font from the given file. More...
     Font (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
     Loads a font from memory, based on the given file type and file data. More...
     
     Font (Font &&other)
    Font (Font &&other)
     
     Font (int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)
    Font (int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)
     
     ~Font ()
     
    FontDrawText (const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)
     
    FontDrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
     Draw text using font and additional parameters. More...
     
    FontDrawText (int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
     Draw one character (codepoint) More...
     
    +FontDrawText (const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)
     
    +FontDrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)
     Draw text using font and additional parameters.
     
    +FontDrawText (int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })
     Draw one character (codepoint)
     
    int GetBaseSize () const
     Retrieves the baseSize value for the object. More...
     
    int GetGlyphCount () const
     Retrieves the glyphCount value for the object. More...
     
    int GetGlyphIndex (int character) const
     Get index position for a unicode character on font. More...
    +int GetGlyphIndex (int character) const
     Get index position for a unicode character on font.
     
    int GetGlyphPadding () const
     Retrieves the glyphPadding value for the object. More...
     
    ::GlyphInfo * GetGlyphs () const
     Retrieves the glyphs value for the object. More...
     
    ::Rectangle * GetRecs () const
     Retrieves the recs value for the object. More...
     
    ::Texture2D GetTexture () const
    ::GlyphInfo * GetGlyphs () const
     Retrieves the glyphs value for the object. More...
     
    ::RectangleGetRecs () const
     Retrieves the recs value for the object. More...
     
    ::Texture2D GetTexture () const
     Retrieves the texture value for the object. More...
     
    inline ::Image ImageText (const std::string &text, float fontSize, float spacing, ::Color tint) const
     Create an image from text (custom sprite font) More...
    +inline ::Image ImageText (const std::string &text, float fontSize, float spacing, ::Color tint) const
     Create an image from text (custom sprite font)
     
    bool Load (const ::Image &image, ::Color key, int firstChar)
    +bool Load (const ::Image &image, ::Color key, int firstChar)
     
    bool Load (const std::string &fileName)
     Loads a font from a given file. More...
    bool Load (const std::string &fileName, int fontSize, int *fontChars, int charCount)
     Loads a font from a given file with generation parameters. More...
     
    bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
    +bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
     
    Vector2 MeasureText (const std::string &text, float fontSize, float spacing) const
     Measure string size for Font. More...
    +Vector2 MeasureText (const std::string &text, float fontSize, float spacing) const
     Measure string size for Font.
     
    Fontoperator= (const ::Font &font)
     
    Fontoperator= (const Font &)=delete
     
    Fontoperator= (Font &&other) noexcept
     
    +Fontoperator= (const ::Font &font)
     
    +Fontoperator= (const Font &)=delete
     
    +Fontoperator= (Font &&other) noexcept
     
    void SetBaseSize (int value)
     Sets the baseSize value for the object. More...
     
    void SetGlyphs (::GlyphInfo *value)
     Sets the glyphs value for the object. More...
     
    void SetRecs (::Rectangle *value)
    void SetRecs (::Rectangle *value)
     Sets the recs value for the object. More...
     
    void SetTexture (::Texture2D value)
    void SetTexture (::Texture2D value)
     Sets the texture value for the object. More...
     
    void Unload ()
    +void Unload ()
     

    Detailed Description

    -

    Font type, includes texture and charSet array data.

    +

    Font type, includes texture and charSet array data.

    Definition at line 14 of file Font.hpp.

    Constructor & Destructor Documentation

    - -

    ◆ Font() [1/9]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Font::Font (int baseSize,
    int glyphCount,
    int glyphPadding,
    ::Texture2D texture,
    ::Rectangle * recs = nullptr,
    ::GlyphInfo * glyphs = nullptr 
    )
    -
    -inline
    -
    - -

    Definition at line 16 of file Font.hpp.

    - -
    -
    - -

    ◆ Font() [2/9]

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Font::Font ()
    -
    -inline
    -
    - -

    Definition at line 25 of file Font.hpp.

    - -
    -
    - -

    ◆ Font() [3/9]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Font::Font (const ::Font & font)
    -
    -inline
    -
    - -

    Definition at line 29 of file Font.hpp.

    - -
    -
    - -

    ◆ Font() [4/9]

    + +

    ◆ Font() [1/4]

    @@ -361,8 +238,8 @@

    -

    ◆ Font() [5/9]

    + +

    ◆ Font() [2/4]

    @@ -428,8 +305,8 @@

    -

    ◆ Font() [6/9]

    + +

    ◆ Font() [3/4]

    @@ -440,13 +317,13 @@

    raylib::Font::Font ( - const ::Image &  + const ::Imageimage, - ::Color  + ::Color  key, @@ -489,8 +366,8 @@

    -

    ◆ Font() [7/9]

    + +

    ◆ Font() [4/4]

    @@ -562,8 +439,9 @@

    -

    ◆ Font() [8/9]

    +

    Member Function Documentation

    + +

    ◆ GetBaseSize()

    - -

    ◆ Font() [9/9]

    + +

    ◆ GetGlyphCount()

    @@ -598,11 +480,10 @@

    - + - - - + +
    raylib::Font::Font int raylib::Font::GetGlyphCount (Font && other)) const
    @@ -612,12 +493,15 @@

    -

    Definition at line 92 of file Font.hpp.

    +

    Retrieves the glyphCount value for the object.

    +
    Returns
    The glyphCount value of the object.
    + +

    Definition at line 112 of file Font.hpp.

    - -

    ◆ ~Font()

    + +

    ◆ GetGlyphPadding()

    @@ -626,10 +510,10 @@

    - + - +
    raylib::Font::~Font int raylib::Font::GetGlyphPadding ( ) const
    @@ -639,15 +523,15 @@

    -

    Definition at line 103 of file Font.hpp.

    +

    Retrieves the glyphPadding value for the object.

    +
    Returns
    The glyphPadding value of the object.
    -

    References Unload().

    +

    Definition at line 113 of file Font.hpp.

    -

    Member Function Documentation

    - -

    ◆ DrawText() [1/3]

    + +

    ◆ GetGlyphs()

    - -

    ◆ DrawText() [2/3]

    + +

    ◆ GetRecs()

    - -

    ◆ DrawText() [3/3]

    + +

    ◆ GetTexture()

    - -

    ◆ GetBaseSize()

    + +

    ◆ Load() [1/2]

    - -

    ◆ GetGlyphCount()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Font::GetGlyphCount () const
    -
    -inline
    -
    - -

    Retrieves the glyphCount value for the object.

    -
    Returns
    The glyphCount value of the object.
    - -

    Definition at line 112 of file Font.hpp.

    - -
    -
    - -

    ◆ GetGlyphIndex()

    - -
    -
    - - - - - -
    - - - - - - - - -
    int raylib::Font::GetGlyphIndex (int character) const
    -
    -inline
    -
    - -

    Get index position for a unicode character on font.

    - -

    Definition at line 227 of file Font.hpp.

    - -
    -
    - -

    ◆ GetGlyphPadding()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Font::GetGlyphPadding () const
    -
    -inline
    -
    - -

    Retrieves the glyphPadding value for the object.

    -
    Returns
    The glyphPadding value of the object.
    - -

    Definition at line 113 of file Font.hpp.

    - -
    -
    - -

    ◆ GetGlyphs()

    - -
    -
    - - - - - -
    - - - - - - - -
    ::GlyphInfo * raylib::Font::GetGlyphs () const
    -
    -inline
    -
    - -

    Retrieves the glyphs value for the object.

    -
    Returns
    The glyphs value of the object.
    - -

    Definition at line 116 of file Font.hpp.

    - -
    -
    - -

    ◆ GetRecs()

    - -
    -
    - - - - - -
    - - - - - - - -
    ::Rectangle * raylib::Font::GetRecs () const
    -
    -inline
    -
    - -

    Retrieves the recs value for the object.

    -
    Returns
    The recs value of the object.
    - -

    Definition at line 115 of file Font.hpp.

    - -
    -
    - -

    ◆ GetTexture()

    - -
    -
    - - - - - -
    - - - - - - - -
    ::Texture2D raylib::Font::GetTexture () const
    -
    -inline
    -
    - -

    Retrieves the texture value for the object.

    -
    Returns
    The texture value of the object.
    - -

    Definition at line 114 of file Font.hpp.

    - -
    -
    - -

    ◆ ImageText()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    inline ::Image raylib::Font::ImageText (const std::string & text,
    float fontSize,
    float spacing,
    ::Color tint 
    ) const
    -
    -inline
    -
    - -

    Create an image from text (custom sprite font)

    - -

    Definition at line 234 of file Font.hpp.

    - -
    -
    - -

    ◆ Load() [1/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    bool raylib::Font::Load (const ::Image & image,
    ::Color key,
    int firstChar 
    )
    -
    -inline
    -
    - -

    Definition at line 173 of file Font.hpp.

    - -
    -
    - -

    ◆ Load() [2/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Font::Load (const std::string & fileName)
    -
    -inline
    -
    - -

    Loads a font from a given file.

    -
    Parameters
    - - -
    fileNameThe filename of the font to load.
    -
    -
    -
    Returns
    True of false depending on if the font loaded successfully.
    -
    See also
    LoadFont()
    - -

    Definition at line 153 of file Font.hpp.

    - -

    References raylib::LoadFont().

    - -

    Referenced by Font().

    - -
    -
    - -

    ◆ Load() [3/4]

    + +

    ◆ Load() [2/2]

    @@ -1239,201 +725,7 @@

    -

    ◆ Load() [4/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    bool raylib::Font::Load (const std::string & fileType,
    const unsigned char * fileData,
    int dataSize,
    int fontSize,
    int * fontChars,
    int charsCount 
    )
    -
    -inline
    -
    - -

    Definition at line 178 of file Font.hpp.

    - -
    -
    - -

    ◆ MeasureText()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector2 raylib::Font::MeasureText (const std::string & text,
    float fontSize,
    float spacing 
    ) const
    -
    -inline
    -
    - -

    Measure string size for Font.

    - -

    Definition at line 220 of file Font.hpp.

    - -
    -
    - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Font & raylib::Font::operator= (const ::Fontfont)
    -
    -inline
    -
    - -

    Definition at line 118 of file Font.hpp.

    - -

    References Unload().

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Font & raylib::Font::operator= (const Font)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Font & raylib::Font::operator= (Font && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 126 of file Font.hpp.

    - -

    References Unload().

    - -
    -
    - +

    ◆ SetBaseSize()

    @@ -1469,7 +761,7 @@

    +

    ◆ SetGlyphCount()

    @@ -1505,7 +797,7 @@

    +

    ◆ SetGlyphPadding()

    @@ -1541,7 +833,7 @@

    +

    ◆ SetGlyphs()

    @@ -1577,7 +869,7 @@

    +

    ◆ SetRecs()

    @@ -1589,7 +881,7 @@

    void raylib::Font::SetRecs ( - ::Rectangle *  + ::Rectanglevalue) @@ -1613,7 +905,7 @@

    +

    ◆ SetTexture()

    @@ -1625,7 +917,7 @@

    void raylib::Font::SetTexture ( - ::Texture2D  + ::Texture2D  value) @@ -1647,45 +939,14 @@

    Definition at line 114 of file Font.hpp.

    -

    -

    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::Font::Unload ()
    -
    -inline
    -
    - -

    Definition at line 107 of file Font.hpp.

    - -

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

    -

    -

    - + diff --git a/docs/classraylib_1_1_gamepad-members.html b/docs/classraylib_1_1_gamepad-members.html index 20ad6d33..bd533217 100644 --- a/docs/classraylib_1_1_gamepad-members.html +++ b/docs/classraylib_1_1_gamepad-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Gamepad Member List
    +
    +
    raylib::Gamepad Member List

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

    - - + + - + - + - + - + - - - + + + - - - + + +
    Gamepad(int gamepadNumber=0)raylib::Gamepadinline
    GetAxisCount() constraylib::Gamepadinline
    Gamepad(int gamepadNumber=0) (defined in raylib::Gamepad)raylib::Gamepadinline
    GetAxisCount() constraylib::Gamepadinline
    GetAxisMovement(int axis) constraylib::Gamepadinline
    GetButtonPressed() constraylib::Gamepadinline
    GetButtonPressed() constraylib::Gamepadinline
    GetName() constraylib::Gamepadinline
    GetNumber() constraylib::Gamepadinline
    GetNumber() constraylib::Gamepadinline
    IsAvailable() constraylib::Gamepadinline
    IsAvailable(int number)raylib::Gamepadinlinestatic
    IsAvailable(int number)raylib::Gamepadinlinestatic
    IsButtonDown(int button) constraylib::Gamepadinline
    IsButtonPressed(int button) constraylib::Gamepadinline
    IsButtonPressed(int button) constraylib::Gamepadinline
    IsButtonReleased(int button) constraylib::Gamepadinline
    IsButtonUp(int button) constraylib::Gamepadinline
    numberraylib::Gamepad
    operator int() constraylib::Gamepadinline
    IsButtonUp(int button) constraylib::Gamepadinline
    number (defined in raylib::Gamepad)raylib::Gamepad
    operator int() const (defined in raylib::Gamepad)raylib::Gamepadinline
    operator std::string() constraylib::Gamepadinline
    operator=(const Gamepad &gamepad)raylib::Gamepadinline
    operator=(int gamepadNumber)raylib::Gamepadinline
    SetNumber(int value)raylib::Gamepadinline
    operator=(const Gamepad &gamepad) (defined in raylib::Gamepad)raylib::Gamepadinline
    operator=(int gamepadNumber) (defined in raylib::Gamepad)raylib::Gamepadinline
    SetNumber(int value)raylib::Gamepadinline
    -

    - + diff --git a/docs/classraylib_1_1_gamepad.html b/docs/classraylib_1_1_gamepad.html index 62138fb6..9283bf61 100644 --- a/docs/classraylib_1_1_gamepad.html +++ b/docs/classraylib_1_1_gamepad.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Gamepad Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Gamepad Class Reference
    +
    +
    raylib::Gamepad Class Reference

    Input-related functions: gamepads. More...

    - -

    #include <Gamepad.hpp>

    - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - - - + + + +

    +

    Public Member Functions

     Gamepad (int gamepadNumber=0)
    Gamepad (int gamepadNumber=0)
     
    int GetAxisCount () const
     Return gamepad axis count for a gamepad. More...
    +int GetAxisCount () const
     Return gamepad axis count for a gamepad.
     
    float GetAxisMovement (int axis) const
     Return axis movement value for a gamepad axis. More...
    +float GetAxisMovement (int axis) const
     Return axis movement value for a gamepad axis.
     
    int GetButtonPressed () const
     Get the last gamepad button pressed. More...
    +int GetButtonPressed () const
     Get the last gamepad button pressed.
     
    std::string GetName () const
     Return gamepad internal name id. More...
    +std::string GetName () const
     Return gamepad internal name id.
     
    int GetNumber () const
     Retrieves the number value for the object. More...
     
    bool IsAvailable () const
     Detect if a gamepad is available. More...
    +bool IsAvailable () const
     Detect if a gamepad is available.
     
    bool IsButtonDown (int button) const
     Detect if a gamepad button is being pressed. More...
    +bool IsButtonDown (int button) const
     Detect if a gamepad button is being pressed.
     
    bool IsButtonPressed (int button) const
     Detect if a gamepad button has been pressed once. More...
    +bool IsButtonPressed (int button) const
     Detect if a gamepad button has been pressed once.
     
    bool IsButtonReleased (int button) const
     Detect if a gamepad button has been released once. More...
    +bool IsButtonReleased (int button) const
     Detect if a gamepad button has been released once.
     
    bool IsButtonUp (int button) const
     Detect if a gamepad button is NOT being pressed. More...
    +bool IsButtonUp (int button) const
     Detect if a gamepad button is NOT being pressed.
     
     operator int () const
    operator int () const
     
     operator std::string () const
     Return gamepad internal name id. More...
    operator std::string () const
     Return gamepad internal name id.
     
    Gamepadoperator= (const Gamepad &gamepad)
     
    Gamepadoperator= (int gamepadNumber)
     
    +Gamepadoperator= (const Gamepad &gamepad)
     
    +Gamepadoperator= (int gamepadNumber)
     
    void SetNumber (int value)
     Sets the number value for the object. More...
     
    - - - + +

    +

    Static Public Member Functions

    static bool IsAvailable (int number)
     Detect if a gamepad is available. More...
    +static bool IsAvailable (int number)
     Detect if a gamepad is available.
     
    - - +

    +

    Public Attributes

    int number
    +int number
     

    Detailed Description

    -

    Input-related functions: gamepads.

    +

    Input-related functions: gamepads.

    Definition at line 13 of file Gamepad.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Gamepad()

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Gamepad::Gamepad (int gamepadNumber = 0)
    -
    -inline
    -
    - -

    Definition at line 15 of file Gamepad.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ GetAxisCount()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Gamepad::GetAxisCount () const
    -
    -inline
    -
    - -

    Return gamepad axis count for a gamepad.

    - -

    Definition at line 100 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ GetAxisMovement()

    - -
    -
    - - - - - -
    - - - - - - - - -
    float raylib::Gamepad::GetAxisMovement (int axis) const
    -
    -inline
    -
    - -

    Return axis movement value for a gamepad axis.

    - -

    Definition at line 107 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ GetButtonPressed()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Gamepad::GetButtonPressed () const
    -
    -inline
    -
    - -

    Get the last gamepad button pressed.

    - -

    Definition at line 93 of file Gamepad.hpp.

    - -
    -
    - -

    ◆ GetName()

    - -
    -
    - - - - - -
    - - - - - - - -
    std::string raylib::Gamepad::GetName () const
    -
    -inline
    -
    - -

    Return gamepad internal name id.

    - -

    Definition at line 51 of file Gamepad.hpp.

    - -

    References number.

    - -

    Referenced by operator std::string().

    - -
    -
    - +

    Member Function Documentation

    +

    ◆ GetNumber()

    @@ -346,314 +190,7 @@

    -

    ◆ IsAvailable() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Gamepad::IsAvailable () const
    -
    -inline
    -
    - -

    Detect if a gamepad is available.

    - -

    Definition at line 37 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ IsAvailable() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::Gamepad::IsAvailable (int number)
    -
    -inlinestatic
    -
    - -

    Detect if a gamepad is available.

    - -

    Definition at line 44 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ IsButtonDown()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Gamepad::IsButtonDown (int button) const
    -
    -inline
    -
    - -

    Detect if a gamepad button is being pressed.

    - -

    Definition at line 72 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ IsButtonPressed()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Gamepad::IsButtonPressed (int button) const
    -
    -inline
    -
    - -

    Detect if a gamepad button has been pressed once.

    - -

    Definition at line 65 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ IsButtonReleased()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Gamepad::IsButtonReleased (int button) const
    -
    -inline
    -
    - -

    Detect if a gamepad button has been released once.

    - -

    Definition at line 79 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ IsButtonUp()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Gamepad::IsButtonUp (int button) const
    -
    -inline
    -
    - -

    Detect if a gamepad button is NOT being pressed.

    - -

    Definition at line 86 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ operator int()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Gamepad::operator int () const
    -
    -inline
    -
    - -

    Definition at line 32 of file Gamepad.hpp.

    - -

    References number.

    - -
    -
    - -

    ◆ operator std::string()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Gamepad::operator std::string () const
    -
    -inline
    -
    - -

    Return gamepad internal name id.

    - -

    Definition at line 58 of file Gamepad.hpp.

    - -

    References GetName().

    - -
    -
    - -

    ◆ operator=() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Gamepad & raylib::Gamepad::operator= (const Gamepadgamepad)
    -
    -inline
    -
    - -

    Definition at line 22 of file Gamepad.hpp.

    - -
    -
    - -

    ◆ operator=() [2/2]

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

    Definition at line 27 of file Gamepad.hpp.

    - -
    -
    - +

    ◆ SetNumber()

    @@ -687,35 +224,14 @@

    Definition at line 20 of file Gamepad.hpp.

    -

    -

    -

    Member Data Documentation

    - -

    ◆ number

    - -
    -
    - - - - -
    int raylib::Gamepad::number
    -
    -

    - + diff --git a/docs/classraylib_1_1_image-members.html b/docs/classraylib_1_1_image-members.html index ea194073..af95b9fe 100644 --- a/docs/classraylib_1_1_image-members.html +++ b/docs/classraylib_1_1_image-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Image Member List
    +
    +
    raylib::Image Member List

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

    - - - - + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - + - + - + - + - + - - - + + + - + - + - - - - - + + + + + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - - - + + + - + - - + +
    AlphaClear(::Color color, float threshold)raylib::Imageinline
    AlphaCrop(float threshold)raylib::Imageinline
    AlphaMask(const ::Image &alphaMask)raylib::Imageinline
    AlphaPremultiply()raylib::Imageinline
    AlphaClear(::Color color, float threshold)raylib::Imageinline
    AlphaCrop(float threshold)raylib::Imageinline
    AlphaMask(const ::Image &alphaMask)raylib::Imageinline
    AlphaPremultiply()raylib::Imageinline
    Cellular(int width, int height, int tileSize)raylib::Imageinlinestatic
    Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})raylib::Imageinlinestatic
    ClearBackground(::Color color={0, 0, 0, 255})raylib::Imageinline
    Color(int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinlinestatic
    ColorBrightness(int brightness)raylib::Imageinline
    ColorContrast(float contrast)raylib::Imageinline
    ColorGrayscale()raylib::Imageinline
    ColorInvert()raylib::Imageinline
    ColorReplace(::Color color, ::Color replace)raylib::Imageinline
    ColorTint(::Color color={255, 255, 255, 255})raylib::Imageinline
    Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})raylib::Imageinlinestatic
    ClearBackground(::Color color={0, 0, 0, 255})raylib::Imageinline
    Color(int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinlinestatic
    ColorBrightness(int brightness)raylib::Imageinline
    ColorContrast(float contrast)raylib::Imageinline
    ColorGrayscale()raylib::Imageinline
    ColorInvert()raylib::Imageinline
    ColorReplace(::Color color, ::Color replace)raylib::Imageinline
    ColorTint(::Color color={255, 255, 255, 255})raylib::Imageinline
    Copy() constraylib::Imageinline
    Crop(::Rectangle crop)raylib::Imageinline
    Crop(int newWidth, int newHeight)raylib::Imageinline
    Crop(::Vector2 size)raylib::Imageinline
    Crop(int offsetX, int offsetY, int newWidth, int newHeight)raylib::Imageinline
    Dither(int rBpp, int gBpp, int bBpp, int aBpp)raylib::Imageinline
    Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})raylib::Imageinline
    DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})raylib::Imageinline
    Crop(::Rectangle crop)raylib::Imageinline
    Crop(int newWidth, int newHeight)raylib::Imageinline
    Crop(::Vector2 size)raylib::Imageinline
    Crop(int offsetX, int offsetY, int newWidth, int newHeight)raylib::Imageinline
    Dither(int rBpp, int gBpp, int bBpp, int aBpp)raylib::Imageinline
    Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})raylib::Imageinline
    DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    Export(const std::string &fileName) constraylib::Imageinline
    ExportAsCode(const std::string &fileName) constraylib::Imageinline
    FlipHorizontal()raylib::Imageinline
    FlipVertical()raylib::Imageinline
    Format(int newFormat)raylib::Imageinline
    FromImage(::Rectangle rec) constraylib::Imageinline
    ExportAsCode(const std::string &fileName) constraylib::Imageinline
    FlipHorizontal()raylib::Imageinline
    FlipVertical()raylib::Imageinline
    Format(int newFormat)raylib::Imageinline
    FromImage(::Rectangle rec) constraylib::Imageinline
    GetAlphaBorder(float threshold) constraylib::Imageinline
    GetData() constraylib::Imageinline
    GetData() constraylib::Imageinline
    GetFormat() constraylib::Imageinline
    GetHeight() constraylib::Imageinline
    GetHeight() constraylib::Imageinline
    GetMipmaps() constraylib::Imageinline
    GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)raylib::Imageinlinestatic
    GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)raylib::Imageinlinestatic
    GetPixelDataSize() constraylib::Imageinline
    GetSize() constraylib::Imageinline
    GetSize() constraylib::Imageinline
    GetWidth() constraylib::Imageinline
    GradientH(int width, int height, ::Color left, ::Color right)raylib::Imageinlinestatic
    GradientH(int width, int height, ::Color left, ::Color right)raylib::Imageinlinestatic
    GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)raylib::Imageinlinestatic
    GradientV(int width, int height, ::Color top, ::Color bottom)raylib::Imageinlinestatic
    Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)raylib::Imageinline
    Image(const ::Image &image)raylib::Imageinline
    GradientV(int width, int height, ::Color top, ::Color bottom)raylib::Imageinlinestatic
    Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0) (defined in raylib::Image)raylib::Imageinline
    Image(const ::Image &image) (defined in raylib::Image)raylib::Imageinline
    Image(const std::string &fileName)raylib::Imageinline
    Image(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline
    Image(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline
    Image(const std::string &fileName, int *frames)raylib::Imageinline
    Image(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
    Image(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
    Image(const ::Texture2D &texture)raylib::Imageinline
    Image(int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinline
    Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinline
    Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})raylib::Imageinline
    Image(const Image &other)raylib::Imageinline
    Image(Image &&other)raylib::Imageinline
    Image(int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
    Image(const Image &other) (defined in raylib::Image)raylib::Imageinline
    Image(Image &&other) (defined in raylib::Image)raylib::Imageinline
    IsReady() constraylib::Imageinline
    Load(const std::string &fileName)raylib::Imageinline
    Load(const std::string &fileName)raylib::Imageinline
    Load(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline
    Load(const std::string &fileName, int *frames)raylib::Imageinline
    Load(const std::string &fileName, int *frames)raylib::Imageinline
    Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
    Load(const ::Texture2D &texture)raylib::Imageinline
    LoadColors() constraylib::Imageinline
    LoadFromScreen()raylib::Imageinlinestatic
    LoadPalette(int maxPaletteSize, int *colorsCount) constraylib::Imageinline
    LoadTexture() constraylib::Imageinline
    Mipmaps()raylib::Imageinline
    operator::Texture2D()raylib::Imageinline
    operator=(const ::Image &image)raylib::Imageinline
    operator=(const Image &other)raylib::Imageinline
    operator=(Image &&other) noexceptraylib::Imageinline
    Resize(int newWidth, int newHeight)raylib::Imageinline
    ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})raylib::Imageinline
    ResizeNN(int newWidth, int newHeight)raylib::Imageinline
    RotateCCW()raylib::Imageinline
    RotateCW()raylib::Imageinline
    Load(const ::Texture2D &texture)raylib::Imageinline
    LoadColors() constraylib::Imageinline
    LoadFromScreen()raylib::Imageinlinestatic
    LoadPalette(int maxPaletteSize, int *colorsCount) constraylib::Imageinline
    LoadTexture() constraylib::Imageinline
    Mipmaps()raylib::Imageinline
    operator::Texture2D()raylib::Imageinline
    operator=(const ::Image &image) (defined in raylib::Image)raylib::Imageinline
    operator=(const Image &other) (defined in raylib::Image)raylib::Imageinline
    operator=(Image &&other) noexcept (defined in raylib::Image)raylib::Imageinline
    Resize(int newWidth, int newHeight)raylib::Imageinline
    ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})raylib::Imageinline
    ResizeNN(int newWidth, int newHeight)raylib::Imageinline
    RotateCCW()raylib::Imageinline
    RotateCW()raylib::Imageinline
    SetData(void *value)raylib::Imageinline
    SetFormat(int value)raylib::Imageinline
    SetFormat(int value)raylib::Imageinline
    SetHeight(int value)raylib::Imageinline
    SetMipmaps(int value)raylib::Imageinline
    SetMipmaps(int value)raylib::Imageinline
    SetWidth(int value)raylib::Imageinline
    Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})raylib::Imageinlinestatic
    Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})raylib::Imageinlinestatic
    ToPOT(::Color fillColor)raylib::Imageinline
    Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic
    Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic
    ToPOT(::Color fillColor)raylib::Imageinline
    Unload()raylib::Imageinline
    UnloadColors(::Color *colors) constraylib::Imageinline
    UnloadColors(::Color *colors) constraylib::Imageinline
    UnloadPalette(::Color *colors) constraylib::Imageinline
    WhiteNoise(int width, int height, float factor)raylib::Imageinlinestatic
    ~Image()raylib::Imageinline
    WhiteNoise(int width, int height, float factor)raylib::Imageinlinestatic
    ~Image() (defined in raylib::Image)raylib::Imageinline
    -

    - + diff --git a/docs/classraylib_1_1_image.html b/docs/classraylib_1_1_image.html index 9394d529..c921bdd8 100644 --- a/docs/classraylib_1_1_image.html +++ b/docs/classraylib_1_1_image.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Image Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Image Class Reference
    +
    +
    raylib::Image Class Reference

    Image type, bpp always RGBA (32bit) More...

    - -

    #include <Image.hpp>

    - - + - + - + - + @@ -121,120 +106,157 @@ - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - + + + + + + + + + + + - - - + + + @@ -247,8 +269,9 @@ - - + + @@ -256,7 +279,7 @@ - + @@ -271,42 +294,54 @@ - - - - - - - - + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -322,145 +357,75 @@ - - - - - + + + + + - - + + - - + +

    +

    Public Member Functions

     Image (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
    Image (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
     
     Image (const ::Image &image)
    Image (const ::Image &image)
     
     Image (const ::Texture2D &texture)
     Image (const ::Texture2D &texture)
     Load an image from the given file. More...
     
     Image (const Image &other)
    Image (const Image &other)
     
     Image (const std::string &fileName)
     Load an image from the given file. More...
     Image (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load an image from the given file. More...
     
     Image (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
    Image (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
     
     Image (Image &&other)
    Image (Image &&other)
     
     Image (int width, int height, ::Color color={255, 255, 255, 255})
    Image (int width, int height, ::Color color={255, 255, 255, 255})
     
     Image (void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)
    Image (void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)
     
     ~Image ()
     
    ImageAlphaClear (::Color color, float threshold)
     Clear alpha channel to desired color. More...
     
    ImageAlphaCrop (float threshold)
     Crop image depending on alpha value. More...
     
    ImageAlphaMask (const ::Image &alphaMask)
     Apply alpha mask to image. More...
     
    ImageAlphaPremultiply ()
     Premultiply alpha channel. More...
     
    ImageClearBackground (::Color color={0, 0, 0, 255})
     Clear image background with given color. More...
     
    ImageColorBrightness (int brightness)
     Modify image color: brightness. More...
     
    ImageColorContrast (float contrast)
     Modify image color: contrast. More...
     
    ImageColorGrayscale ()
     Modify image color: grayscale. More...
     
    ImageColorInvert ()
     Modify image color: invert. More...
     
    ImageColorReplace (::Color color, ::Color replace)
     Modify image color: replace color. More...
     
    ImageColorTint (::Color color={255, 255, 255, 255})
     Modify image color: tint. More...
     
    inline ::Image Copy () const
     Create an image duplicate (useful for transformations) More...
    +ImageAlphaClear (::Color color, float threshold)
     Clear alpha channel to desired color.
     
    +ImageAlphaCrop (float threshold)
     Crop image depending on alpha value.
     
    +ImageAlphaMask (const ::Image &alphaMask)
     Apply alpha mask to image.
     
    +ImageAlphaPremultiply ()
     Premultiply alpha channel.
     
    +ImageClearBackground (::Color color={0, 0, 0, 255})
     Clear image background with given color.
     
    ImageColorBrightness (int brightness)
     Modify image color: brightness. More...
     
    ImageColorContrast (float contrast)
     Modify image color: contrast. More...
     
    +ImageColorGrayscale ()
     Modify image color: grayscale.
     
    +ImageColorInvert ()
     Modify image color: invert.
     
    +ImageColorReplace (::Color color, ::Color replace)
     Modify image color: replace color.
     
    +ImageColorTint (::Color color={255, 255, 255, 255})
     Modify image color: tint.
     
    +inline ::Image Copy () const
     Create an image duplicate (useful for transformations)
     
    ImageCrop (::Rectangle crop)
     Crop an image to area defined by a rectangle. More...
     
    ImageCrop (::Vector2 size)
     Crop an image to a new given width and height based on a vector. More...
     
    ImageCrop (int newWidth, int newHeight)
     Crop an image to a new given width and height. More...
     
    ImageCrop (int offsetX, int offsetY, int newWidth, int newHeight)
     Crop an image to area defined by a rectangle. More...
     
    ImageDither (int rBpp, int gBpp, int bBpp, int aBpp)
     Dither image data to 16bpp or lower (Floyd-Steinberg dithering) More...
     
    ImageDraw (const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})
     
    ImageDrawCircle (::Vector2 center, int radius, ::Color color={255, 255, 255, 255})
     
    ImageDrawCircle (int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})
     
    ImageDrawLine (::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})
     
    ImageDrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})
     
    ImageDrawPixel (::Vector2 position, ::Color color={255, 255, 255, 255})
     
    ImageDrawPixel (int posX, int posY, ::Color color={255, 255, 255, 255})
     Draw pixel within an image. More...
     
    ImageDrawRectangle (::Rectangle rec, ::Color color={255, 255, 255, 255})
     
    ImageDrawRectangle (int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})
     
    ImageDrawRectangle (Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})
     
    ImageDrawRectangleLines (::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})
     
    ImageDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
     
    ImageDrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})
     
    ImageDrawText (const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})
     
    bool Export (const std::string &fileName) const
     Export image data to file, returns true on success. More...
    +ImageCrop (::Rectangle crop)
     Crop an image to area defined by a rectangle.
     
    +ImageCrop (::Vector2 size)
     Crop an image to a new given width and height based on a vector.
     
    +ImageCrop (int newWidth, int newHeight)
     Crop an image to a new given width and height.
     
    +ImageCrop (int offsetX, int offsetY, int newWidth, int newHeight)
     Crop an image to area defined by a rectangle.
     
    +ImageDither (int rBpp, int gBpp, int bBpp, int aBpp)
     Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
     
    +ImageDraw (const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})
     
    +ImageDrawCircle (::Vector2 center, int radius, ::Color color={255, 255, 255, 255})
     
    +ImageDrawCircle (int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})
     
    +ImageDrawLine (::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})
     
    +ImageDrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})
     
    +ImageDrawPixel (::Vector2 position, ::Color color={255, 255, 255, 255})
     
    +ImageDrawPixel (int posX, int posY, ::Color color={255, 255, 255, 255})
     Draw pixel within an image.
     
    +ImageDrawRectangle (::Rectangle rec, ::Color color={255, 255, 255, 255})
     
    +ImageDrawRectangle (int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})
     
    +ImageDrawRectangle (Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})
     
    +ImageDrawRectangleLines (::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})
     
    +ImageDrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
     
    +ImageDrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})
     
    +ImageDrawText (const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})
     
    +bool Export (const std::string &fileName) const
     Export image data to file, returns true on success.
     
    bool ExportAsCode (const std::string &fileName) const
     Export image as code file defining an array of bytes, returns true on success. More...
    +bool ExportAsCode (const std::string &fileName) const
     Export image as code file defining an array of bytes, returns true on success.
     
    ImageFlipHorizontal ()
     Flip image horizontally. More...
     
    ImageFlipVertical ()
     Flip image vertically. More...
     
    ImageFormat (int newFormat)
     Convert image data to desired format. More...
     
    inline ::Image FromImage (::Rectangle rec) const
     Create an image from another image piece. More...
    +ImageFlipHorizontal ()
     Flip image horizontally.
     
    +ImageFlipVertical ()
     Flip image vertically.
     
    +ImageFormat (int newFormat)
     Convert image data to desired format.
     
    +inline ::Image FromImage (::Rectangle rec) const
     Create an image from another image piece.
     
    Rectangle GetAlphaBorder (float threshold) const
     Get image alpha border rectangle. More...
     
    void * GetData () const
     Retrieves the data value for the object. More...
     
    void * GetData () const
     Retrieves the data value for the object. More...
     
    int GetFormat () const
     Retrieves the format value for the object. More...
     
    int GetPixelDataSize () const
     Returns the pixel data size based on the current image. More...
     
    inline ::Vector2 GetSize () const
     Retrieve the width and height of the image. More...
    +inline ::Vector2 GetSize () const
     Retrieve the width and height of the image.
     
    int GetWidth () const
     Retrieves the width value for the object. More...
    bool IsReady () const
     Retrieve whether or not the Image has been loaded. More...
     
    bool Load (const ::Texture2D &texture)
    bool Load (const ::Texture2D &texture)
     Load an image from the given file. More...
     
    bool Load (const std::string &fileName)
    bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load image from memory buffer, fileType refers to extension: i.e. More...
     
    inline ::ColorLoadColors () const
     Load color data from image as a Color array (RGBA - 32bit) More...
     
    inline ::ColorLoadPalette (int maxPaletteSize, int *colorsCount) const
     Load colors palette from image as a Color array (RGBA - 32bit) More...
     
    inline ::Texture2D LoadTexture () const
     Load texture from image data. More...
    +inline ::ColorLoadColors () const
     Load color data from image as a Color array (RGBA - 32bit)
     
    +inline ::ColorLoadPalette (int maxPaletteSize, int *colorsCount) const
     Load colors palette from image as a Color array (RGBA - 32bit)
     
    +inline ::Texture2D LoadTexture () const
     Load texture from image data.
     
    ImageMipmaps ()
     Generate all mipmap levels for a provided image. More...
     
    +ImageMipmaps ()
     Generate all mipmap levels for a provided image.
     
     operator::Texture2D ()
     Loads a texture from the image data. More...
     
    Imageoperator= (const ::Image &image)
     
    Imageoperator= (const Image &other)
     
    Imageoperator= (Image &&other) noexcept
     
    ImageResize (int newWidth, int newHeight)
     Resize and image to new size. More...
     
    ImageResizeCanvas (int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
     Resize canvas and fill with color. More...
     
    ImageResizeNN (int newWidth, int newHeight)
     Resize and image to new size using Nearest-Neighbor scaling algorithm. More...
     
    ImageRotateCCW ()
     Rotate image counter-clockwise 90deg. More...
     
    ImageRotateCW ()
     Rotate image clockwise 90deg. More...
     
    +Imageoperator= (const ::Image &image)
     
    +Imageoperator= (const Image &other)
     
    +Imageoperator= (Image &&other) noexcept
     
    +ImageResize (int newWidth, int newHeight)
     Resize and image to new size.
     
    +ImageResizeCanvas (int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
     Resize canvas and fill with color.
     
    +ImageResizeNN (int newWidth, int newHeight)
     Resize and image to new size using Nearest-Neighbor scaling algorithm.
     
    +ImageRotateCCW ()
     Rotate image counter-clockwise 90deg.
     
    +ImageRotateCW ()
     Rotate image clockwise 90deg.
     
    void SetData (void *value)
     Sets the data value for the object. More...
     
    void SetWidth (int value)
     Sets the width value for the object. More...
     
    ImageToPOT (::Color fillColor)
     Convert image to POT (power-of-two) More...
     
    void Unload ()
     Unload image from CPU memory (RAM) More...
    +ImageToPOT (::Color fillColor)
     Convert image to POT (power-of-two)
     
    +void Unload ()
     Unload image from CPU memory (RAM)
     
    void UnloadColors (::Color *colors) const
     Unload color data loaded with LoadImageColors() More...
    +void UnloadColors (::Color *colors) const
     Unload color data loaded with LoadImageColors()
     
    void UnloadPalette (::Color *colors) const
     Unload colors palette loaded with LoadImagePalette() More...
    +void UnloadPalette (::Color *colors) const
     Unload colors palette loaded with LoadImagePalette()
     
    - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + +

    +

    Static Public Member Functions

    ::Image Cellular (int width, int height, int tileSize)
    ::Image Cellular (int width, int height, int tileSize)
     Generate image: cellular algorithm. More...
     
    ::Image Checked (int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
     Generate image: checked. More...
    +::Image Checked (int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
     Generate image: checked.
     
    ::Image Color (int width, int height, ::Color color={255, 255, 255, 255})
     Generate image: plain color. More...
    +::Image Color (int width, int height, ::Color color={255, 255, 255, 255})
     Generate image: plain color.
     
    static int GetPixelDataSize (int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
     Get pixel data size in bytes for certain format. More...
    +static int GetPixelDataSize (int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
     Get pixel data size in bytes for certain format.
     
    ::Image GradientH (int width, int height, ::Color left, ::Color right)
     Generate image: horizontal gradient. More...
    +::Image GradientH (int width, int height, ::Color left, ::Color right)
     Generate image: horizontal gradient.
     
    ::Image GradientRadial (int width, int height, float density, ::Color inner, ::Color outer)
     Generate image: radial gradient. More...
    +::Image GradientRadial (int width, int height, float density, ::Color inner, ::Color outer)
     Generate image: radial gradient.
     
    ::Image GradientV (int width, int height, ::Color top, ::Color bottom)
     Generate image: vertical gradient. More...
    +::Image GradientV (int width, int height, ::Color top, ::Color bottom)
     Generate image: vertical gradient.
     
    ::Image LoadFromScreen ()
     Get pixel data from screen buffer and return an Image (screenshot) More...
    +::Image LoadFromScreen ()
     Get pixel data from screen buffer and return an Image (screenshot)
     
    ::Image Text (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
    +::Image Text (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
     
    ::Image Text (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
    +::Image Text (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
     
    ::Image WhiteNoise (int width, int height, float factor)
     Generate image: white noise. More...
    +::Image WhiteNoise (int width, int height, float factor)
     Generate image: white noise.
     

    Detailed Description

    -

    Image type, bpp always RGBA (32bit)

    -

    Data stored in CPU memory (RAM)

    +

    Image type, bpp always RGBA (32bit)

    +

    Data stored in CPU memory (RAM)

    Definition at line 16 of file Image.hpp.

    Constructor & Destructor Documentation

    - -

    ◆ Image() [1/12]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Image::Image (void * data = nullptr,
    int width = 0,
    int height = 0,
    int mipmaps = 0,
    int format = 0 
    )
    -
    -inline
    -
    - -

    Definition at line 18 of file Image.hpp.

    - -
    -
    - -

    ◆ Image() [2/12]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Image::Image (const ::Image & image)
    -
    -inline
    -
    - -

    Definition at line 26 of file Image.hpp.

    - -
    -
    - -

    ◆ Image() [3/12]

    + +

    ◆ Image() [1/5]

    @@ -498,8 +463,8 @@

    -

    ◆ Image() [4/12]

    + +

    ◆ Image() [2/5]

    @@ -565,8 +530,8 @@

    -

    ◆ Image() [5/12]

    + +

    ◆ Image() [3/5]

    @@ -614,8 +579,8 @@

    -

    ◆ Image() [6/12]

    + +

    ◆ Image() [4/5]

    @@ -668,8 +633,8 @@

    -

    ◆ Image() [7/12]

    + +

    ◆ Image() [5/5]

    @@ -680,7 +645,7 @@

    raylib::Image::Image ( - const ::Texture2D &  + const ::Texture2Dtexture) @@ -706,8 +671,9 @@

    -

    ◆ Image() [8/12]

    +

    Member Function Documentation

    + +

    ◆ Cellular()

    - -

    ◆ Image() [9/12]

    + +

    ◆ ColorBrightness()

    - -

    ◆ Image() [10/12]

    + +

    ◆ ColorContrast()

    - -

    ◆ Image() [11/12]

    + +

    ◆ GetAlphaBorder()

    @@ -860,11 +801,11 @@

    - + - - - + + +
    raylib::Image::Image Rectangle raylib::Image::GetAlphaBorder (const Imageother)float threshold) const
    @@ -874,14 +815,20 @@

    -

    Definition at line 104 of file Image.hpp.

    +

    Get image alpha border rectangle.

    +
    Parameters
    + + +
    thresholdThreshold is defined as a percentatge: 0.0f -> 1.0f
    +
    +
    -

    References Copy().

    +

    Definition at line 552 of file Image.hpp.

    - -

    ◆ Image() [12/12]

    + +

    ◆ GetData()

    @@ -890,11 +837,10 @@

    - + - - - + +
    raylib::Image::Image void* raylib::Image::GetData (Image && other)) const
    @@ -904,12 +850,15 @@

    -

    Definition at line 108 of file Image.hpp.

    +

    Retrieves the data value for the object.

    +
    Returns
    The data value of the object.
    + +

    Definition at line 311 of file Image.hpp.

    - -

    ◆ ~Image()

    + +

    ◆ GetFormat()

    @@ -918,10 +867,10 @@

    - + - +
    raylib::Image::~Image int raylib::Image::GetFormat ( ) const
    @@ -931,15 +880,15 @@

    -

    Definition at line 186 of file Image.hpp.

    +

    Retrieves the format value for the object.

    +
    Returns
    The format value of the object.
    -

    References Unload().

    +

    Definition at line 315 of file Image.hpp.

    -

    Member Function Documentation

    - -

    ◆ AlphaClear()

    + +

    ◆ GetHeight()

    - -

    ◆ AlphaCrop()

    + +

    ◆ GetMipmaps()

    - -

    ◆ AlphaMask()

    + +

    ◆ GetPixelDataSize()

    - -

    ◆ AlphaPremultiply()

    + +

    ◆ GetWidth()

    - -

    ◆ Cellular()

    + +

    ◆ IsReady()

    - -

    ◆ Checked()

    + +

    ◆ Load() [1/5]

    - -

    ◆ ClearBackground()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::ClearBackground (::Color color = {0, 0, 0, 255})
    -
    -inline
    -
    - -

    Clear image background with given color.

    - -

    Definition at line 559 of file Image.hpp.

    - -
    -
    - -

    ◆ Color()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Image raylib::Image::Color (int width,
    int height,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inlinestatic
    -
    - -

    Generate image: plain color.

    - -

    Definition at line 138 of file Image.hpp.

    - -
    -
    - -

    ◆ ColorBrightness()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::ColorBrightness (int brightness)
    -
    -inline
    -
    - -

    Modify image color: brightness.

    -
    Parameters
    - - -
    brightnessBrightness values between -255 and 255
    -
    -
    - -

    Definition at line 534 of file Image.hpp.

    - -
    -
    - -

    ◆ ColorContrast()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::ColorContrast (float contrast)
    -
    -inline
    -
    - -

    Modify image color: contrast.

    -
    Parameters
    - - -
    contrastContrast values between -100 and 100
    -
    -
    - -

    Definition at line 524 of file Image.hpp.

    - -
    -
    - -

    ◆ ColorGrayscale()

    - -
    -
    - - - - - -
    - - - - - - - -
    Image & raylib::Image::ColorGrayscale ()
    -
    -inline
    -
    - -

    Modify image color: grayscale.

    - -

    Definition at line 514 of file Image.hpp.

    - -
    -
    - -

    ◆ ColorInvert()

    - -
    -
    - - - - - -
    - - - - - - - -
    Image & raylib::Image::ColorInvert ()
    -
    -inline
    -
    - -

    Modify image color: invert.

    - -

    Definition at line 506 of file Image.hpp.

    - -
    -
    - -

    ◆ ColorReplace()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::ColorReplace (::Color color,
    ::Color replace 
    )
    -
    -inline
    -
    - -

    Modify image color: replace color.

    - -

    Definition at line 542 of file Image.hpp.

    - -
    -
    - -

    ◆ ColorTint()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::ColorTint (::Color color = {255, 255, 255, 255})
    -
    -inline
    -
    - -

    Modify image color: tint.

    - -

    Definition at line 498 of file Image.hpp.

    - -
    -
    - -

    ◆ Copy()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Image raylib::Image::Copy () const
    -
    -inline
    -
    - -

    Create an image duplicate (useful for transformations)

    - -

    Definition at line 327 of file Image.hpp.

    - -

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

    - -
    -
    - -

    ◆ Crop() [1/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::Crop (::Rectangle crop)
    -
    -inline
    -
    - -

    Crop an image to area defined by a rectangle.

    - -

    Definition at line 389 of file Image.hpp.

    - -

    Referenced by Crop().

    - -
    -
    - -

    ◆ Crop() [2/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::Crop (::Vector2 size)
    -
    -inline
    -
    - -

    Crop an image to a new given width and height based on a vector.

    - -

    Definition at line 404 of file Image.hpp.

    - -

    References Crop().

    - -
    -
    - -

    ◆ Crop() [3/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::Crop (int newWidth,
    int newHeight 
    )
    -
    -inline
    -
    - -

    Crop an image to a new given width and height.

    - -

    Definition at line 397 of file Image.hpp.

    - -

    References Crop().

    - -
    -
    - -

    ◆ Crop() [4/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::Crop (int offsetX,
    int offsetY,
    int newWidth,
    int newHeight 
    )
    -
    -inline
    -
    - -

    Crop an image to area defined by a rectangle.

    - -

    Definition at line 411 of file Image.hpp.

    - -
    -
    - -

    ◆ Dither()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::Dither (int rBpp,
    int gBpp,
    int bBpp,
    int aBpp 
    )
    -
    -inline
    -
    - -

    Dither image data to 16bpp or lower (Floyd-Steinberg dithering)

    - -

    Definition at line 458 of file Image.hpp.

    - -
    -
    - -

    ◆ Draw()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::Draw (const ::Imagesrc,
    ::Rectangle srcRec,
    ::Rectangle dstRec,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 623 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawCircle() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawCircle (::Vector2 center,
    int radius,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 594 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawCircle() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawCircle (int centerX,
    int centerY,
    int radius,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 588 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawLine() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawLine (::Vector2 start,
    ::Vector2 end,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 583 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawLine() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawLine (int startPosX,
    int startPosY,
    int endPosX,
    int endPosY,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 577 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawPixel() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawPixel (::Vector2 position,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 572 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawPixel() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawPixel (int posX,
    int posY,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw pixel within an image.

    - -

    Definition at line 567 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawRectangle() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawRectangle (::Rectangle rec,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 612 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawRectangle() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawRectangle (int posX,
    int posY,
    int width,
    int height,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 600 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawRectangle() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawRectangle (Vector2 position,
    Vector2 size,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 606 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawRectangleLines()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawRectangleLines (::Rectangle rec,
    int thick = 1,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 617 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawText() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawText (const ::Font & font,
    const std::string & text,
    ::Vector2 position,
    float fontSize,
    float spacing,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 646 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawText() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawText (const std::string & text,
    ::Vector2 position,
    int fontSize,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 629 of file Image.hpp.

    - -
    -
    - -

    ◆ DrawText() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::DrawText (const std::string & text,
    int x,
    int y,
    int fontSize,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 640 of file Image.hpp.

    - -
    -
    - -

    ◆ Export()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Image::Export (const std::string & fileName) const
    -
    -inline
    -
    - -

    Export image data to file, returns true on success.

    - -

    Definition at line 299 of file Image.hpp.

    - -
    -
    - -

    ◆ ExportAsCode()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Image::ExportAsCode (const std::string & fileName) const
    -
    -inline
    -
    - -

    Export image as code file defining an array of bytes, returns true on success.

    - -

    Definition at line 307 of file Image.hpp.

    - -
    -
    - -

    ◆ FlipHorizontal()

    - -
    -
    - - - - - -
    - - - - - - - -
    Image & raylib::Image::FlipHorizontal ()
    -
    -inline
    -
    - -

    Flip image horizontally.

    - -

    Definition at line 474 of file Image.hpp.

    - -
    -
    - -

    ◆ FlipVertical()

    - -
    -
    - - - - - -
    - - - - - - - -
    Image & raylib::Image::FlipVertical ()
    -
    -inline
    -
    - -

    Flip image vertically.

    - -

    Definition at line 466 of file Image.hpp.

    - -
    -
    - -

    ◆ Format()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::Format (int newFormat)
    -
    -inline
    -
    - -

    Convert image data to desired format.

    - -

    Definition at line 349 of file Image.hpp.

    - -
    -
    - -

    ◆ FromImage()

    - -
    -
    - - - - - -
    - - - - - - - - -
    inline ::Image raylib::Image::FromImage (::Rectangle rec) const
    -
    -inline
    -
    - -

    Create an image from another image piece.

    - -

    Definition at line 334 of file Image.hpp.

    - -
    -
    - -

    ◆ GetAlphaBorder()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Rectangle raylib::Image::GetAlphaBorder (float threshold) const
    -
    -inline
    -
    - -

    Get image alpha border rectangle.

    -
    Parameters
    - - -
    thresholdThreshold is defined as a percentatge: 0.0f -> 1.0f
    -
    -
    - -

    Definition at line 552 of file Image.hpp.

    - -
    -
    - -

    ◆ GetData()

    - -
    -
    - - - - - -
    - - - - - - - -
    void * raylib::Image::GetData () const
    -
    -inline
    -
    - -

    Retrieves the data value for the object.

    -
    Returns
    The data value of the object.
    - -

    Definition at line 311 of file Image.hpp.

    - -
    -
    - -

    ◆ GetFormat()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Image::GetFormat () const
    -
    -inline
    -
    - -

    Retrieves the format value for the object.

    -
    Returns
    The format value of the object.
    - -

    Definition at line 315 of file Image.hpp.

    - -
    -
    - -

    ◆ GetHeight()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Image::GetHeight () const
    -
    -inline
    -
    - -

    Retrieves the height value for the object.

    -
    Returns
    The height value of the object.
    - -

    Definition at line 313 of file Image.hpp.

    - -
    -
    - -

    ◆ GetMipmaps()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Image::GetMipmaps () const
    -
    -inline
    -
    - -

    Retrieves the mipmaps value for the object.

    -
    Returns
    The mipmaps value of the object.
    - -

    Definition at line 314 of file Image.hpp.

    - -
    -
    - -

    ◆ GetPixelDataSize() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Image::GetPixelDataSize () const
    -
    -inline
    -
    - -

    Returns the pixel data size based on the current image.

    -
    Returns
    The pixel data size of the image.
    - -

    Definition at line 708 of file Image.hpp.

    - -
    -
    - -

    ◆ GetPixelDataSize() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    static int raylib::Image::GetPixelDataSize (int width,
    int height,
    int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 
    )
    -
    -inlinestatic
    -
    - -

    Get pixel data size in bytes for certain format.

    - -

    Definition at line 699 of file Image.hpp.

    - -
    -
    - -

    ◆ GetSize()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Vector2 raylib::Image::GetSize () const
    -
    -inline
    -
    - -

    Retrieve the width and height of the image.

    - -

    Definition at line 320 of file Image.hpp.

    - -
    -
    - -

    ◆ GetWidth()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Image::GetWidth () const
    -
    -inline
    -
    - -

    Retrieves the width value for the object.

    -
    Returns
    The width value of the object.
    - -

    Definition at line 312 of file Image.hpp.

    - -
    -
    - -

    ◆ GradientH()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Image raylib::Image::GradientH (int width,
    int height,
    ::Color left,
    ::Color right 
    )
    -
    -inlinestatic
    -
    - -

    Generate image: horizontal gradient.

    - -

    Definition at line 152 of file Image.hpp.

    - -
    -
    - -

    ◆ GradientRadial()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Image raylib::Image::GradientRadial (int width,
    int height,
    float density,
    ::Color inner,
    ::Color outer 
    )
    -
    -inlinestatic
    -
    - -

    Generate image: radial gradient.

    - -

    Definition at line 159 of file Image.hpp.

    - -
    -
    - -

    ◆ GradientV()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Image raylib::Image::GradientV (int width,
    int height,
    ::Color top,
    ::Color bottom 
    )
    -
    -inlinestatic
    -
    - -

    Generate image: vertical gradient.

    - -

    Definition at line 145 of file Image.hpp.

    - -
    -
    - -

    ◆ IsReady()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Image::IsReady () const
    -
    -inline
    -
    - -

    Retrieve whether or not the Image has been loaded.

    -
    Returns
    True or false depending on whether the Image has been loaded.
    - -

    Definition at line 717 of file Image.hpp.

    - -

    Referenced by Load().

    - -
    -
    - -

    ◆ Load() [1/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Image::Load (const ::Texture2Dtexture)
    -
    -inline
    -
    - -

    Load an image from the given file.

    -
    Returns
    True or false depending on whether or not the image was loaded from the texture.
    -
    See also
    ::LoadImageFromTexture()
    - -

    Definition at line 281 of file Image.hpp.

    - -

    References IsReady().

    - -
    -
    - -

    ◆ Load() [2/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Image::Load (const std::string & fileName)
    -
    -inline
    -
    - -

    Load image from file into CPU memory (RAM)

    -
    Returns
    Whether or not the image was loaded successfully.
    -
    See also
    LoadImage()
    - -

    Definition at line 230 of file Image.hpp.

    - -

    References IsReady(), and raylib::LoadImage().

    - -

    Referenced by Image().

    - -
    -
    - -

    ◆ Load() [3/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool raylib::Image::Load (const std::string & fileName,
    int * frames 
    )
    -
    -inline
    -
    - -

    Load image sequence from file (frames appended to image.data).

    -
    Returns
    Whether or not the image animation was loaded successfully.
    -
    See also
    LoadImageAnim()
    - -

    Definition at line 254 of file Image.hpp.

    - -

    References IsReady(), and raylib::LoadImageAnim().

    - -
    -
    - -

    ◆ Load() [4/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    bool raylib::Image::Load (const std::string & fileName,
    int width,
    int height,
    int format,
    int headerSize 
    )
    -
    -inline
    -
    - -

    Load image from RAW file data.

    -
    Returns
    Whether or not the raw image data was loaded successfully.
    -
    See also
    LoadImageRaw()
    - -

    Definition at line 242 of file Image.hpp.

    - -

    References IsReady(), and raylib::LoadImageRaw().

    - -
    -
    - -

    ◆ Load() [5/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    bool raylib::Image::Load (const std::string & fileType,
    const unsigned char * fileData,
    int dataSize 
    )
    -
    -inline
    -
    - -

    Load image from memory buffer, fileType refers to extension: i.e.

    -

    "png".

    -
    Returns
    Whether or not the image data was loaded successfully.
    -
    See also
    LoadImageFromMemory()
    - -

    Definition at line 266 of file Image.hpp.

    - -

    References IsReady(), and raylib::LoadImageFromMemory().

    - -
    -
    - -

    ◆ LoadColors()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Color * raylib::Image::LoadColors () const
    -
    -inline
    -
    - -

    Load color data from image as a Color array (RGBA - 32bit)

    - -

    Definition at line 655 of file Image.hpp.

    - -
    -
    - -

    ◆ LoadFromScreen()

    - -
    -
    - - - - - -
    - - - - - - - -
    ::Image raylib::Image::LoadFromScreen ()
    -
    -inlinestatic
    -
    - -

    Get pixel data from screen buffer and return an Image (screenshot)

    - -

    Definition at line 131 of file Image.hpp.

    - -
    -
    - -

    ◆ LoadPalette()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    inline ::Color * raylib::Image::LoadPalette (int maxPaletteSize,
    int * colorsCount 
    ) const
    -
    -inline
    -
    - -

    Load colors palette from image as a Color array (RGBA - 32bit)

    - -

    Definition at line 662 of file Image.hpp.

    - -
    -
    - -

    ◆ LoadTexture()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Texture2D raylib::Image::LoadTexture () const
    -
    -inline
    -
    - -

    Load texture from image data.

    - -

    Definition at line 683 of file Image.hpp.

    - -

    Referenced by operator::Texture2D().

    - -
    -
    - -

    ◆ Mipmaps()

    - -
    -
    - - - - - -
    - - - - - - - -
    Image & raylib::Image::Mipmaps ()
    -
    -inline
    -
    - -

    Generate all mipmap levels for a provided image.

    - -

    Definition at line 450 of file Image.hpp.

    - -
    -
    - -

    ◆ operator::Texture2D()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Image::operator::Texture2D ()
    -
    -inline
    -
    - -

    Loads a texture from the image data.

    -
    See also
    LoadTexture()
    - -

    Definition at line 692 of file Image.hpp.

    - -

    References LoadTexture().

    - -
    -
    - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::operator= (const ::Imageimage)
    -
    -inline
    -
    - -

    Definition at line 190 of file Image.hpp.

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::operator= (const Imageother)
    -
    -inline
    -
    - -

    Definition at line 195 of file Image.hpp.

    - -

    References Copy(), and Unload().

    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Image & raylib::Image::operator= (Image && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 206 of file Image.hpp.

    - -

    References Unload().

    - -
    -
    - -

    ◆ Resize()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::Resize (int newWidth,
    int newHeight 
    )
    -
    -inline
    -
    - -

    Resize and image to new size.

    - -

    Definition at line 425 of file Image.hpp.

    - -
    -
    - -

    ◆ ResizeCanvas()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::ResizeCanvas (int newWidth,
    int newHeight,
    int offsetX = 0,
    int offsetY = 0,
    ::Color color = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Resize canvas and fill with color.

    - -

    Definition at line 441 of file Image.hpp.

    - -
    -
    - -

    ◆ ResizeNN()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Image & raylib::Image::ResizeNN (int newWidth,
    int newHeight 
    )
    -
    -inline
    -
    - -

    Resize and image to new size using Nearest-Neighbor scaling algorithm.

    - -

    Definition at line 433 of file Image.hpp.

    - -
    -
    - -

    ◆ RotateCCW()

    - -
    -
    - - - - - -
    - - - - - - - -
    Image & raylib::Image::RotateCCW ()
    -
    -inline
    -
    - -

    Rotate image counter-clockwise 90deg.

    - -

    Definition at line 490 of file Image.hpp.

    - -
    -
    - -

    ◆ RotateCW()

    - -
    -
    - - - - - -
    - - - - - - - -
    Image & raylib::Image::RotateCW ()
    -
    -inline
    -
    - -

    Rotate image clockwise 90deg.

    - -

    Definition at line 482 of file Image.hpp.

    - -
    -
    - -

    ◆ SetData()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Image::SetData (void * value)
    -
    -inline
    -
    - -

    Sets the data value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set data to.
    -
    -
    - -

    Definition at line 311 of file Image.hpp.

    - -
    -
    - -

    ◆ SetFormat()

    - - - -

    ◆ SetWidth()

    - -
    -
    - - - @@ -3905,20 +1143,18 @@

    -

    Sets the width value for the object.

    -
    Parameters
    -

    - - - - - + +
    void raylib::Image::SetWidth (int value) )
    - -
    valueThe value of which to set width to.
    - - +

    Load image sequence from file (frames appended to image.data).

    +
    Returns
    Whether or not the image animation was loaded successfully.
    +
    See also
    LoadImageAnim()
    -

    Definition at line 312 of file Image.hpp.

    +

    Definition at line 254 of file Image.hpp.

    + +

    References IsReady(), and raylib::LoadImageAnim().

    - -

    ◆ Text() [1/2]

    + +

    ◆ Load() [4/5]

    - -

    ◆ Text() [2/2]

    + +

    ◆ Load() [5/5]

    - -

    ◆ ToPOT()

    + +

    ◆ operator::Texture2D()

    - -

    ◆ Unload()

    + +

    ◆ SetData()

    @@ -4057,9 +1308,10 @@

    - + - + +
    void raylib::Image::Unload void raylib::Image::SetData ()void * value)
    @@ -4070,16 +1322,20 @@

    -

    Unload image from CPU memory (RAM)

    - -

    Definition at line 289 of file Image.hpp.

    +

    Sets the data value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set data to.
    +
    +
    -

    Referenced by ~Image(), and operator=().

    +

    Definition at line 311 of file Image.hpp.

    - -

    ◆ UnloadColors()

    + +

    ◆ SetFormat()

    - -

    ◆ UnloadPalette()

    + +

    ◆ SetHeight()

    - -

    ◆ WhiteNoise()

    + +

    ◆ SetMipmaps()

    + +

    ◆ SetWidth()

    + +
    +
    + + + +inline
    + + + + + - -
    void raylib::Image::SetWidth (int value) )
    -inlinestatic
    -

    Generate image: white noise.

    +

    Sets the width value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set width to.
    +
    +
    -

    Definition at line 175 of file Image.hpp.

    +

    Definition at line 312 of file Image.hpp.

    -
    - + diff --git a/docs/classraylib_1_1_material-members.html b/docs/classraylib_1_1_material-members.html index 34e2696a..69bc5db9 100644 --- a/docs/classraylib_1_1_material-members.html +++ b/docs/classraylib_1_1_material-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Material Member List
    +
    +
    raylib::Material Member List

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

    - - - - - - + + + + + + - - - - - + + + + + - - - - + + + +
    DrawMesh(const ::Mesh &mesh, ::Matrix transform) constraylib::Materialinline
    DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) constraylib::Materialinline
    GetMaps() constraylib::Materialinline
    GetShader() constraylib::Materialinline
    Load(const std::string &fileName)raylib::Materialinlinestatic
    Material(const ::Material &material)raylib::Materialinline
    DrawMesh(const ::Mesh &mesh, ::Matrix transform) constraylib::Materialinline
    DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) constraylib::Materialinline
    GetMaps() constraylib::Materialinline
    GetShader() constraylib::Materialinline
    Load(const std::string &fileName)raylib::Materialinlinestatic
    Material(const ::Material &material) (defined in raylib::Material)raylib::Materialinline
    Material()raylib::Materialinline
    Material(const Material &)=deleteraylib::Material
    Material(Material &&other)raylib::Materialinline
    operator=(const ::Material &material)raylib::Materialinline
    operator=(const Material &)=deleteraylib::Material
    operator=(Material &&other) noexceptraylib::Materialinline
    Material(const Material &)=delete (defined in raylib::Material)raylib::Material
    Material(Material &&other) (defined in raylib::Material)raylib::Materialinline
    operator=(const ::Material &material) (defined in raylib::Material)raylib::Materialinline
    operator=(const Material &)=delete (defined in raylib::Material)raylib::Material
    operator=(Material &&other) noexcept (defined in raylib::Material)raylib::Materialinline
    SetMaps(::MaterialMap *value)raylib::Materialinline
    SetShader(::Shader value)raylib::Materialinline
    SetTexture(int mapType, const ::Texture2D &texture)raylib::Materialinline
    Unload()raylib::Materialinline
    ~Material()raylib::Materialinline
    SetShader(::Shader value)raylib::Materialinline
    SetTexture(int mapType, const ::Texture2D &texture)raylib::Materialinline
    Unload()raylib::Materialinline
    ~Material() (defined in raylib::Material)raylib::Materialinline
    -

    - + diff --git a/docs/classraylib_1_1_material.html b/docs/classraylib_1_1_material.html index 6dbc907f..7e8a1760 100644 --- a/docs/classraylib_1_1_material.html +++ b/docs/classraylib_1_1_material.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Material Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Material Class Reference
    +
    +
    raylib::Material Class Reference

    Material type (generic) More...

    - -

    #include <Material.hpp>

    - - - + + - + - + - + - - - - - - - - - - - - + + + + + + + + + + - - - - - - + + + + + + - + - - - - - + + + + +

    +

    Public Member Functions

     Material ()
     Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) More...
    Material ()
     Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
     
     Material (const ::Material &material)
    Material (const ::Material &material)
     
     Material (const Material &)=delete
    Material (const Material &)=delete
     
     Material (Material &&other)
    Material (Material &&other)
     
     ~Material ()
     
    const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix *transforms, int instances) const
     Draw multiple mesh instances with material and different transforms. More...
     
    const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix transform) const
     Draw a 3d mesh with material and transform. More...
     
    ::MaterialMap * GetMaps () const
     Retrieves the maps value for the object. More...
     
    ::Shader GetShader () const
    +const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix *transforms, int instances) const
     Draw multiple mesh instances with material and different transforms.
     
    +const MaterialDrawMesh (const ::Mesh &mesh, ::Matrix transform) const
     Draw a 3d mesh with material and transform.
     
    ::MaterialMap * GetMaps () const
     Retrieves the maps value for the object. More...
     
    ::Shader GetShader () const
     Retrieves the shader value for the object. More...
     
    Materialoperator= (const ::Material &material)
     
    Materialoperator= (const Material &)=delete
     
    Materialoperator= (Material &&other) noexcept
     
    +Materialoperator= (const ::Material &material)
     
    +Materialoperator= (const Material &)=delete
     
    +Materialoperator= (Material &&other) noexcept
     
    void SetMaps (::MaterialMap *value)
     Sets the maps value for the object. More...
     
    void SetShader (::Shader value)
    void SetShader (::Shader value)
     Sets the shader value for the object. More...
     
    MaterialSetTexture (int mapType, const ::Texture2D &texture)
     Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) More...
     
    void Unload ()
     Unload material from memory. More...
    +MaterialSetTexture (int mapType, const ::Texture2D &texture)
     Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
     
    +void Unload ()
     Unload material from memory.
     
    - - - - + + +

    +

    Static Public Member Functions

    static std::vector< MaterialLoad (const std::string &fileName)
     Load materials from model file. More...
     
    +static std::vector< MaterialLoad (const std::string &fileName)
     Load materials from model file.
     

    Detailed Description

    -

    Material type (generic)

    +

    Material type (generic)

    Definition at line 14 of file Material.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Material() [1/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Material::Material (const ::Material & material)
    -
    -inline
    -
    - -

    Definition at line 16 of file Material.hpp.

    - -
    -
    - -

    ◆ Material() [2/4]

    +

    Member Function Documentation

    + +

    ◆ GetMaps()

    - -

    ◆ Material() [3/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Material::Material (const Material)
    -
    -delete
    -
    - -
    -
    - -

    ◆ Material() [4/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Material::Material (Material && other)
    -
    -inline
    -
    - -

    Definition at line 29 of file Material.hpp.

    - -
    -
    - -

    ◆ ~Material()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Material::~Material ()
    -
    -inline
    -
    - -

    Definition at line 36 of file Material.hpp.

    - -

    References Unload().

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ DrawMesh() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    const Material & raylib::Material::DrawMesh (const ::Mesh & mesh,
    ::Matrix * transforms,
    int instances 
    ) const
    -
    -inline
    -
    - -

    Draw multiple mesh instances with material and different transforms.

    - -

    Definition at line 105 of file Material.hpp.

    - -
    -
    - -

    ◆ DrawMesh() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    const Material & raylib::Material::DrawMesh (const ::Mesh & mesh,
    ::Matrix transform 
    ) const
    -
    -inline
    -
    - -

    Draw a 3d mesh with material and transform.

    - -

    Definition at line 97 of file Material.hpp.

    - -

    References DrawMesh().

    - -

    Referenced by DrawMesh().

    - -
    -
    - -

    ◆ GetMaps()

    - -
    -
    - - - - + @@ -632,87 +275,14 @@

    Definition at line 50 of file Material.hpp.

    - - - -

    ◆ SetTexture()

    - -
    -
    -

    - - - + @@ -416,7 +175,7 @@

    +

    ◆ GetShader()

    @@ -426,7 +185,7 @@

    ::MaterialMap * raylib::Material::GetMaps ::MaterialMap* raylib::Material::GetMaps ( ) const
    - + @@ -446,123 +205,7 @@

    -

    ◆ Load()

    - -
    -
    -
    ::Shader raylib::Material::GetShader ::Shader raylib::Material::GetShader ( ) const
    - - - - -
    - - - - - - - - -
    static std::vector< Material > raylib::Material::Load (const std::string & fileName)
    -
    -inlinestatic
    -
    - -

    Load materials from model file.

    - -

    Definition at line 43 of file Material.hpp.

    - -

    References Material().

    - -
    - - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Material & raylib::Material::operator= (const ::Materialmaterial)
    -
    -inline
    -
    - -

    Definition at line 55 of file Material.hpp.

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Material & raylib::Material::operator= (const Material)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Material & raylib::Material::operator= (Material && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 62 of file Material.hpp.

    - -

    References Unload().

    - -
    -
    - +

    ◆ SetMaps()

    @@ -598,7 +241,7 @@

    +

    ◆ SetShader()

    (::Shader ::Shader  value)
    - - - - -
    - - - - - - - - - - - - - - - - - - -
    Material & raylib::Material::SetTexture (int mapType,
    const ::Texture2Dtexture 
    )
    -
    -inline
    -
    - -

    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)

    - -

    Definition at line 89 of file Material.hpp.

    - -
    -
    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::Material::Unload ()
    -
    -inline
    -
    - -

    Unload material from memory.

    - -

    Definition at line 79 of file Material.hpp.

    - -

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

    -
    -
    - + diff --git a/docs/classraylib_1_1_matrix-members.html b/docs/classraylib_1_1_matrix-members.html index b851bf9c..0917d1c2 100644 --- a/docs/classraylib_1_1_matrix-members.html +++ b/docs/classraylib_1_1_matrix-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Matrix Member List
    +
    +
    raylib::Matrix Member List

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

    - - + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - - - + + + - +
    Add(const ::Matrix &right)raylib::Matrixinline
    Frustum(double left, double right, double bottom, double top, double near, double far)raylib::Matrixinlinestatic
    Add(const ::Matrix &right) (defined in raylib::Matrix)raylib::Matrixinline
    Frustum(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    GetM0() constraylib::Matrixinline
    GetM1() constraylib::Matrixinline
    GetM1() constraylib::Matrixinline
    GetM10() constraylib::Matrixinline
    GetM11() constraylib::Matrixinline
    GetM11() constraylib::Matrixinline
    GetM12() constraylib::Matrixinline
    GetM13() constraylib::Matrixinline
    GetM13() constraylib::Matrixinline
    GetM14() constraylib::Matrixinline
    GetM15() constraylib::Matrixinline
    GetM15() constraylib::Matrixinline
    GetM2() constraylib::Matrixinline
    GetM3() constraylib::Matrixinline
    GetM3() constraylib::Matrixinline
    GetM4() constraylib::Matrixinline
    GetM5() constraylib::Matrixinline
    GetM5() constraylib::Matrixinline
    GetM6() constraylib::Matrixinline
    GetM7() constraylib::Matrixinline
    GetM7() constraylib::Matrixinline
    GetM8() constraylib::Matrixinline
    GetM9() constraylib::Matrixinline
    Identity()raylib::Matrixinlinestatic
    Invert() constraylib::Matrixinline
    LookAt(Vector3 eye, Vector3 target, Vector3 up)raylib::Matrixinlinestatic
    Matrix(const ::Matrix &mat)raylib::Matrixinline
    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)raylib::Matrixinline
    Multiply(const ::Matrix &right) constraylib::Matrixinline
    Normalize() constraylib::Matrixinline
    operator float16()raylib::Matrixinline
    operator!=(const ::Matrix &other)raylib::Matrixinline
    operator*(const ::Matrix &matrix)raylib::Matrixinline
    operator+(const ::Matrix &matrix)raylib::Matrixinline
    operator-(const ::Matrix &matrix)raylib::Matrixinline
    operator=(const ::Matrix &matrix)raylib::Matrixinline
    operator=(const Matrix &matrix)raylib::Matrixinline
    operator==(const ::Matrix &other)raylib::Matrixinline
    Ortho(double left, double right, double bottom, double top, double near, double far)raylib::Matrixinlinestatic
    Perspective(double fovy, double aspect, double near, double far)raylib::Matrixinlinestatic
    Rotate(Vector3 axis, float angle)raylib::Matrixinlinestatic
    RotateX(float angle)raylib::Matrixinlinestatic
    RotateXYZ(Vector3 angle)raylib::Matrixinlinestatic
    RotateY(float angle)raylib::Matrixinlinestatic
    RotateZ(float angle)raylib::Matrixinlinestatic
    Scale(float x, float y, float z)raylib::Matrixinlinestatic
    SetM0(float value)raylib::Matrixinline
    GetM9() constraylib::Matrixinline
    Identity() (defined in raylib::Matrix)raylib::Matrixinlinestatic
    Invert() const (defined in raylib::Matrix)raylib::Matrixinline
    LookAt(Vector3 eye, Vector3 target, Vector3 up) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    Matrix(const ::Matrix &mat) (defined in raylib::Matrix)raylib::Matrixinline
    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) (defined in raylib::Matrix)raylib::Matrixinline
    Multiply(const ::Matrix &right) const (defined in raylib::Matrix)raylib::Matrixinline
    Normalize() const (defined in raylib::Matrix)raylib::Matrixinline
    operator float16() (defined in raylib::Matrix)raylib::Matrixinline
    operator!=(const ::Matrix &other) (defined in raylib::Matrix)raylib::Matrixinline
    operator*(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
    operator+(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
    operator-(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
    operator=(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
    operator=(const Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
    operator==(const ::Matrix &other) (defined in raylib::Matrix)raylib::Matrixinline
    Ortho(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    Perspective(double fovy, double aspect, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    Rotate(Vector3 axis, float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    RotateX(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    RotateXYZ(Vector3 angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    RotateY(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    RotateZ(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    Scale(float x, float y, float z) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    SetM0(float value)raylib::Matrixinline
    SetM1(float value)raylib::Matrixinline
    SetM10(float value)raylib::Matrixinline
    SetM10(float value)raylib::Matrixinline
    SetM11(float value)raylib::Matrixinline
    SetM12(float value)raylib::Matrixinline
    SetM12(float value)raylib::Matrixinline
    SetM13(float value)raylib::Matrixinline
    SetM14(float value)raylib::Matrixinline
    SetM14(float value)raylib::Matrixinline
    SetM15(float value)raylib::Matrixinline
    SetM2(float value)raylib::Matrixinline
    SetM2(float value)raylib::Matrixinline
    SetM3(float value)raylib::Matrixinline
    SetM4(float value)raylib::Matrixinline
    SetM4(float value)raylib::Matrixinline
    SetM5(float value)raylib::Matrixinline
    SetM6(float value)raylib::Matrixinline
    SetM6(float value)raylib::Matrixinline
    SetM7(float value)raylib::Matrixinline
    SetM8(float value)raylib::Matrixinline
    SetM8(float value)raylib::Matrixinline
    SetM9(float value)raylib::Matrixinline
    SetShaderValue(::Shader shader, int uniformLoc)raylib::Matrixinline
    Subtract(const ::Matrix &right)raylib::Matrixinline
    ToFloatV() constraylib::Matrixinline
    SetShaderValue(::Shader shader, int uniformLoc)raylib::Matrixinline
    Subtract(const ::Matrix &right) (defined in raylib::Matrix)raylib::Matrixinline
    ToFloatV() const (defined in raylib::Matrix)raylib::Matrixinline
    Trace() constraylib::Matrixinline
    Translate(float x, float y, float z)raylib::Matrixinlinestatic
    Translate(float x, float y, float z) (defined in raylib::Matrix)raylib::Matrixinlinestatic
    Transpose() constraylib::Matrixinline
    -

    - + diff --git a/docs/classraylib_1_1_matrix.html b/docs/classraylib_1_1_matrix.html index d68d904e..85201ccd 100644 --- a/docs/classraylib_1_1_matrix.html +++ b/docs/classraylib_1_1_matrix.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Matrix Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Matrix Class Reference
    +
    +
    raylib::Matrix Class Reference

    Matrix type (OpenGL style 4x4 - right handed, column major) More...

    - -

    #include <Matrix.hpp>

    - - + - + - + @@ -154,27 +139,38 @@ - + - + - + - + - + - + - + - + - - - - - + + + + + @@ -224,294 +220,70 @@ - - - - + + + + - + - - + + - - + +

    +

    Public Member Functions

     Matrix (const ::Matrix &mat)
    Matrix (const ::Matrix &mat)
     
     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)
    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)
     
    Matrix Add (const ::Matrix &right)
    +Matrix Add (const ::Matrix &right)
     
    float GetM0 () const
     Retrieves the m0 value for the object. More...
    float GetM9 () const
     Retrieves the m9 value for the object. More...
     
    Matrix Invert () const
    +Matrix Invert () const
     
    Matrix Multiply (const ::Matrix &right) const
    +Matrix Multiply (const ::Matrix &right) const
     
    Matrix Normalize () const
    +Matrix Normalize () const
     
     operator float16 ()
    operator float16 ()
     
    bool operator!= (const ::Matrix &other)
    +bool operator!= (const ::Matrix &other)
     
    Matrix operator* (const ::Matrix &matrix)
    +Matrix operator* (const ::Matrix &matrix)
     
    Matrix operator+ (const ::Matrix &matrix)
    +Matrix operator+ (const ::Matrix &matrix)
     
    Matrix operator- (const ::Matrix &matrix)
    +Matrix operator- (const ::Matrix &matrix)
     
    Matrixoperator= (const ::Matrix &matrix)
     
    Matrixoperator= (const Matrix &matrix)
     
    bool operator== (const ::Matrix &other)
    +Matrixoperator= (const ::Matrix &matrix)
     
    +Matrixoperator= (const Matrix &matrix)
     
    +bool operator== (const ::Matrix &other)
     
    void SetM0 (float value)
     Sets the m0 value for the object. More...
    void SetM9 (float value)
     Sets the m9 value for the object. More...
     
    MatrixSetShaderValue (::Shader shader, int uniformLoc)
     Set shader uniform value (matrix 4x4) More...
     
    Matrix Subtract (const ::Matrix &right)
    +MatrixSetShaderValue (::Shader shader, int uniformLoc)
     Set shader uniform value (matrix 4x4)
     
    +Matrix Subtract (const ::Matrix &right)
     
    float16 ToFloatV () const
    +float16 ToFloatV () const
     
    float Trace () const
     Returns the trace of the matrix (sum of the values along the diagonal) More...
    +float Trace () const
     Returns the trace of the matrix (sum of the values along the diagonal)
     
    Matrix Transpose () const
     Transposes provided matrix. More...
    +Matrix Transpose () const
     Transposes provided matrix.
     
    - - + - + - + - + - + - + - + - + - + - + - + - +

    +

    Static Public Member Functions

    static Matrix Frustum (double left, double right, double bottom, double top, double near, double far)
    +static Matrix Frustum (double left, double right, double bottom, double top, double near, double far)
     
    static Matrix Identity ()
    +static Matrix Identity ()
     
    static Matrix LookAt (Vector3 eye, Vector3 target, Vector3 up)
    +static Matrix LookAt (Vector3 eye, Vector3 target, Vector3 up)
     
    static Matrix Ortho (double left, double right, double bottom, double top, double near, double far)
    +static Matrix Ortho (double left, double right, double bottom, double top, double near, double far)
     
    static Matrix Perspective (double fovy, double aspect, double near, double far)
    +static Matrix Perspective (double fovy, double aspect, double near, double far)
     
    static Matrix Rotate (Vector3 axis, float angle)
    +static Matrix Rotate (Vector3 axis, float angle)
     
    static Matrix RotateX (float angle)
    +static Matrix RotateX (float angle)
     
    static Matrix RotateXYZ (Vector3 angle)
    +static Matrix RotateXYZ (Vector3 angle)
     
    static Matrix RotateY (float angle)
    +static Matrix RotateY (float angle)
     
    static Matrix RotateZ (float angle)
    +static Matrix RotateZ (float angle)
     
    static Matrix Scale (float x, float y, float z)
    +static Matrix Scale (float x, float y, float z)
     
    static Matrix Translate (float x, float y, float z)
    +static Matrix Translate (float x, float y, float z)
     

    Detailed Description

    -

    Matrix type (OpenGL style 4x4 - right handed, column major)

    +

    Matrix type (OpenGL style 4x4 - right handed, column major)

    Definition at line 16 of file Matrix.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Matrix() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Matrix::Matrix (const ::Matrix & mat)
    -
    -inline
    -
    - -

    Definition at line 18 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Matrix() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Matrix::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 
    )
    -
    -inline
    -
    - -

    Definition at line 22 of file Matrix.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ Add()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Matrix raylib::Matrix::Add (const ::Matrixright)
    -
    -inline
    -
    - -

    Definition at line 105 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Frustum()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static Matrix raylib::Matrix::Frustum (double left,
    double right,
    double bottom,
    double top,
    double near,
    double far 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 157 of file Matrix.hpp.

    - -
    -
    - +

    Member Function Documentation

    +

    ◆ GetM0()

    @@ -541,7 +313,7 @@

    +

    ◆ GetM1()

    @@ -571,7 +343,7 @@

    +

    ◆ GetM10()

    @@ -601,7 +373,7 @@

    +

    ◆ GetM11()

    @@ -631,7 +403,7 @@

    +

    ◆ GetM12()

    @@ -661,7 +433,7 @@

    +

    ◆ GetM13()

    @@ -691,7 +463,7 @@

    +

    ◆ GetM14()

    @@ -721,7 +493,7 @@

    +

    ◆ GetM15()

    @@ -751,7 +523,7 @@

    +

    ◆ GetM2()

    @@ -781,7 +553,7 @@

    +

    ◆ GetM3()

    @@ -811,7 +583,7 @@

    +

    ◆ GetM4()

    @@ -841,7 +613,7 @@

    +

    ◆ GetM5()

    @@ -871,7 +643,7 @@

    +

    ◆ GetM6()

    @@ -901,7 +673,7 @@

    +

    ◆ GetM7()

    @@ -931,7 +703,7 @@

    +

    ◆ GetM8()

    @@ -961,7 +733,7 @@

    +

    ◆ GetM9()

    @@ -991,8 +763,8 @@

    -

    ◆ Identity()

    + +

    ◆ SetM0()

    -

    Definition at line 101 of file Matrix.hpp.

    +

    Sets the m0 value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set m0 to.
    +
    +
    + +

    Definition at line 28 of file Matrix.hpp.

    - -

    ◆ Invert()

    + +

    ◆ SetM1()

    @@ -1028,10 +809,11 @@

    - + - - + + +
    Matrix raylib::Matrix::Invert void raylib::Matrix::SetM1 () constfloat value)
    @@ -1041,12 +823,20 @@

    -

    Definition at line 93 of file Matrix.hpp.

    +

    Sets the m1 value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set m1 to.
    +
    +
    + +

    Definition at line 29 of file Matrix.hpp.

    - -

    ◆ LookAt()

    + +

    ◆ SetM10()

    - -

    ◆ Multiply()

    + +

    ◆ SetM11()

    @@ -1099,11 +881,11 @@

    - + - - - + + +
    Matrix raylib::Matrix::Multiply void raylib::Matrix::SetM11 (const ::Matrixright) constfloat value)
    @@ -1113,12 +895,20 @@

    -

    Definition at line 149 of file Matrix.hpp.

    +

    Sets the m11 value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set m11 to.
    +
    +
    + +

    Definition at line 39 of file Matrix.hpp.

    - -

    ◆ Normalize()

    + +

    ◆ SetM12()

    - -

    ◆ operator float16()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Matrix::operator float16 ()
    -
    -inline
    -
    - -

    Definition at line 179 of file Matrix.hpp.

    - -

    References ToFloatV().

    - -
    -
    - -

    ◆ operator!=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Matrix::operator!= (const ::Matrixother)
    -
    -inline
    -
    - -

    Definition at line 74 of file Matrix.hpp.

    - -
    -
    - -

    ◆ operator*()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Matrix raylib::Matrix::operator* (const ::Matrixmatrix)
    -
    -inline
    -
    - -

    Definition at line 153 of file Matrix.hpp.

    - -
    -
    - -

    ◆ operator+()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Matrix raylib::Matrix::operator+ (const ::Matrixmatrix)
    -
    -inline
    -
    - -

    Definition at line 109 of file Matrix.hpp.

    - -
    -
    - -

    ◆ operator-()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Matrix raylib::Matrix::operator- (const ::Matrixmatrix)
    -
    -inline
    -
    - -

    Definition at line 117 of file Matrix.hpp.

    - -
    -
    - -

    ◆ operator=() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Matrix & raylib::Matrix::operator= (const ::Matrixmatrix)
    -
    -inline
    -
    - -

    Definition at line 45 of file Matrix.hpp.

    - -
    -
    - -

    ◆ operator=() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Matrix & raylib::Matrix::operator= (const Matrixmatrix)
    -
    -inline
    -
    - -

    Definition at line 50 of file Matrix.hpp.

    - -
    -
    - -

    ◆ operator==()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Matrix::operator== (const ::Matrixother)
    -
    -inline
    -
    - -

    Definition at line 55 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Ortho()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static Matrix raylib::Matrix::Ortho (double left,
    double right,
    double bottom,
    double top,
    double near,
    double far 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 166 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Perspective()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static Matrix raylib::Matrix::Perspective (double fovy,
    double aspect,
    double near,
    double far 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 162 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Rotate()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static Matrix raylib::Matrix::Rotate (Vector3 axis,
    float angle 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 125 of file Matrix.hpp.

    - -
    -
    - -

    ◆ RotateX()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static Matrix raylib::Matrix::RotateX (float angle)
    -
    -inlinestatic
    -
    - -

    Definition at line 133 of file Matrix.hpp.

    - -
    -
    - -

    ◆ RotateXYZ()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static Matrix raylib::Matrix::RotateXYZ (Vector3 angle)
    -
    -inlinestatic
    -
    - -

    Definition at line 129 of file Matrix.hpp.

    - -
    -
    - -

    ◆ RotateY()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static Matrix raylib::Matrix::RotateY (float angle)
    -
    -inlinestatic
    -
    - -

    Definition at line 137 of file Matrix.hpp.

    - -
    -
    - -

    ◆ RotateZ()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static Matrix raylib::Matrix::RotateZ (float angle)
    -
    -inlinestatic
    -
    - -

    Definition at line 141 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Scale()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    static Matrix raylib::Matrix::Scale (float x,
    float y,
    float z 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 145 of file Matrix.hpp.

    - -
    -
    - -

    ◆ SetM0()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Matrix::SetM0 (float value)
    -
    -inline
    -
    - -

    Sets the m0 value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set m0 to.
    -
    -
    - -

    Definition at line 28 of file Matrix.hpp.

    - -
    -
    - -

    ◆ SetM1()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Matrix::SetM1 (float value)
    -
    -inline
    -
    - -

    Sets the m1 value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set m1 to.
    -
    -
    - -

    Definition at line 29 of file Matrix.hpp.

    - -
    -
    - -

    ◆ SetM10()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Matrix::SetM10 (float value)
    -
    -inline
    -
    - -

    Sets the m10 value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set m10 to.
    -
    -
    - -

    Definition at line 38 of file Matrix.hpp.

    - -
    -
    - -

    ◆ SetM11()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Matrix::SetM11 (float value)
    -
    -inline
    -
    - -

    Sets the m11 value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set m11 to.
    -
    -
    - -

    Definition at line 39 of file Matrix.hpp.

    - -
    -
    - -

    ◆ SetM12()

    - -
    -
    - - - @@ -1855,7 +943,7 @@

    +

    ◆ SetM13()

    @@ -1891,7 +979,7 @@

    +

    ◆ SetM14()

    @@ -1927,7 +1015,7 @@

    +

    ◆ SetM15()

    @@ -1963,7 +1051,7 @@

    +

    ◆ SetM2()

    @@ -1999,7 +1087,7 @@

    +

    ◆ SetM3()

    @@ -2035,7 +1123,7 @@

    +

    ◆ SetM4()

    @@ -2071,7 +1159,7 @@

    +

    ◆ SetM5()

    @@ -2107,7 +1195,7 @@

    +

    ◆ SetM6()

    @@ -2143,7 +1231,7 @@

    +

    ◆ SetM7()

    @@ -2179,7 +1267,7 @@

    +

    ◆ SetM8()

    @@ -2215,7 +1303,7 @@

    +

    ◆ SetM9()

    @@ -2249,215 +1337,14 @@

    Definition at line 37 of file Matrix.hpp.

    -

    -

    - -

    ◆ SetShaderValue()

    - -
    -
    -

    - - - - - - - + + +
    void raylib::Matrix::SetM12 (float value)float value)
    - - - - -
    - - - - - - - - - - - - - - - - - - -
    Matrix & raylib::Matrix::SetShaderValue (::Shader shader,
    int uniformLoc 
    )
    -
    -inline
    -
    - -

    Set shader uniform value (matrix 4x4)

    - -

    Definition at line 186 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Subtract()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Matrix raylib::Matrix::Subtract (const ::Matrixright)
    -
    -inline
    -
    - -

    Definition at line 113 of file Matrix.hpp.

    - -
    -
    - -

    ◆ ToFloatV()

    - -
    -
    - - - - - -
    - - - - - - - -
    float16 raylib::Matrix::ToFloatV () const
    -
    -inline
    -
    - -

    Definition at line 175 of file Matrix.hpp.

    - -

    Referenced by operator float16().

    - -
    -
    - -

    ◆ Trace()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Matrix::Trace () const
    -
    -inline
    -
    - -

    Returns the trace of the matrix (sum of the values along the diagonal)

    - -

    Definition at line 82 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Translate()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    static Matrix raylib::Matrix::Translate (float x,
    float y,
    float z 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 121 of file Matrix.hpp.

    - -
    -
    - -

    ◆ Transpose()

    - -
    -
    - - - - - -
    - - - - - - - -
    Matrix raylib::Matrix::Transpose () const
    -
    -inline
    -
    - -

    Transposes provided matrix.

    - -

    Definition at line 89 of file Matrix.hpp.

    -

    -

    - + diff --git a/docs/classraylib_1_1_mesh-members.html b/docs/classraylib_1_1_mesh-members.html index d70258ed..75d16628 100644 --- a/docs/classraylib_1_1_mesh-members.html +++ b/docs/classraylib_1_1_mesh-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Mesh Member List
    +
    +
    raylib::Mesh Member List

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

    - + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - + - + - + - - - + + + - + - - - - - + + + + + - + - + - + - + - + - + - + - + - + - + - +
    BoundingBox() constraylib::Meshinline
    Cube(float width, float height, float length)raylib::Meshinlinestatic
    Cube(float width, float height, float length)raylib::Meshinlinestatic
    Cubicmap(const ::Image &cubicmap, ::Vector3 cubeSize)raylib::Meshinlinestatic
    Cylinder(float radius, float height, int slices)raylib::Meshinlinestatic
    Cylinder(float radius, float height, int slices)raylib::Meshinlinestatic
    Draw(const ::Material &material, const ::Matrix &transform)raylib::Meshinline
    Draw(const ::Material &material, ::Matrix *transforms, int instances)raylib::Meshinline
    Draw(const ::Material &material, ::Matrix *transforms, int instances)raylib::Meshinline
    Export(const std::string &fileName)raylib::Meshinline
    GenBinormals()raylib::Meshinline
    GenTangents()raylib::Meshinline
    GetAnimNormals() constraylib::Meshinline
    GetAnimVertices() constraylib::Meshinline
    GetBoneIds() constraylib::Meshinline
    GetBoneWeights() constraylib::Meshinline
    GetColors() constraylib::Meshinline
    GetIndices() constraylib::Meshinline
    GetNormals() constraylib::Meshinline
    GetTangents() constraylib::Meshinline
    GetTexCoords() constraylib::Meshinline
    GetTexCoords2() constraylib::Meshinline
    GetTriangleCount() constraylib::Meshinline
    GenBinormals()raylib::Meshinline
    GenTangents()raylib::Meshinline
    GetAnimNormals() constraylib::Meshinline
    GetAnimVertices() constraylib::Meshinline
    GetBoneIds() constraylib::Meshinline
    GetBoneWeights() constraylib::Meshinline
    GetColors() constraylib::Meshinline
    GetIndices() constraylib::Meshinline
    GetNormals() constraylib::Meshinline
    GetTangents() constraylib::Meshinline
    GetTexCoords() constraylib::Meshinline
    GetTexCoords2() constraylib::Meshinline
    GetTriangleCount() constraylib::Meshinline
    GetVaoId() constraylib::Meshinline
    GetVboId() constraylib::Meshinline
    GetVboId() constraylib::Meshinline
    GetVertexCount() constraylib::Meshinline
    GetVertices() constraylib::Meshinline
    GetVertices() constraylib::Meshinline
    Heightmap(const ::Image &heightmap, ::Vector3 size)raylib::Meshinlinestatic
    HemiSphere(float radius, int rings, int slices)raylib::Meshinlinestatic
    HemiSphere(float radius, int rings, int slices)raylib::Meshinlinestatic
    Knot(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
    LoadModelFrom() constraylib::Meshinline
    Mesh(const ::Mesh &mesh)raylib::Meshinline
    Mesh(int vertexCount, int triangleCount)raylib::Meshinline
    LoadModelFrom() constraylib::Meshinline
    Mesh(const ::Mesh &mesh) (defined in raylib::Mesh)raylib::Meshinline
    Mesh(int vertexCount, int triangleCount) (defined in raylib::Mesh)raylib::Meshinline
    Mesh(const Mesh &)=deleteraylib::Mesh
    Mesh(Mesh &&other)raylib::Meshinline
    Mesh(Mesh &&other) (defined in raylib::Mesh)raylib::Meshinline
    operator raylib::BoundingBox()raylib::Meshinline
    operator raylib::Model()raylib::Meshinline
    operator=(const ::Mesh &mesh)raylib::Meshinline
    operator=(const Mesh &)=deleteraylib::Mesh
    operator=(Mesh &&other) noexceptraylib::Meshinline
    Plane(float width, float length, int resX, int resZ)raylib::Meshinlinestatic
    operator raylib::Model()raylib::Meshinline
    operator=(const ::Mesh &mesh) (defined in raylib::Mesh)raylib::Meshinline
    operator=(const Mesh &)=delete (defined in raylib::Mesh)raylib::Mesh
    operator=(Mesh &&other) noexcept (defined in raylib::Mesh)raylib::Meshinline
    Plane(float width, float length, int resX, int resZ)raylib::Meshinlinestatic
    Poly(int sides, float radius)raylib::Meshinlinestatic
    SetAnimNormals(float *value)raylib::Meshinline
    SetAnimNormals(float *value)raylib::Meshinline
    SetAnimVertices(float *value)raylib::Meshinline
    SetBoneIds(unsigned char *value)raylib::Meshinline
    SetBoneIds(unsigned char *value)raylib::Meshinline
    SetBoneWeights(float *value)raylib::Meshinline
    SetColors(unsigned char *value)raylib::Meshinline
    SetColors(unsigned char *value)raylib::Meshinline
    SetIndices(unsigned short *value)raylib::Meshinline
    SetNormals(float *value)raylib::Meshinline
    SetNormals(float *value)raylib::Meshinline
    SetTangents(float *value)raylib::Meshinline
    SetTexCoords(float *value)raylib::Meshinline
    SetTexCoords(float *value)raylib::Meshinline
    SetTexCoords2(float *value)raylib::Meshinline
    SetTriangleCount(int value)raylib::Meshinline
    SetTriangleCount(int value)raylib::Meshinline
    SetVaoId(unsigned int value)raylib::Meshinline
    SetVboId(unsigned int *value)raylib::Meshinline
    SetVboId(unsigned int *value)raylib::Meshinline
    SetVertexCount(int value)raylib::Meshinline
    SetVertices(float *value)raylib::Meshinline
    SetVertices(float *value)raylib::Meshinline
    Sphere(float radius, int rings, int slices)raylib::Meshinlinestatic
    Torus(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
    Torus(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
    Unload()raylib::Meshinline
    UpdateBuffer(int index, void *data, int dataSize, int offset=0)raylib::Meshinline
    UpdateBuffer(int index, void *data, int dataSize, int offset=0)raylib::Meshinline
    Upload(bool dynamic=false)raylib::Meshinline
    ~Mesh()raylib::Meshinline
    ~Mesh() (defined in raylib::Mesh)raylib::Meshinline
    -

    - + diff --git a/docs/classraylib_1_1_mesh.html b/docs/classraylib_1_1_mesh.html index dff3ebcf..b3d3cdba 100644 --- a/docs/classraylib_1_1_mesh.html +++ b/docs/classraylib_1_1_mesh.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Mesh Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Mesh Class Reference
    +
    +
    raylib::Mesh Class Reference

    Vertex data definning a mesh. More...

    - -

    #include <Mesh.hpp>

    - - + - - + + - + - + - - - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - + + + + + - - + + - - + + - - - - - - + + + + + + @@ -234,178 +230,69 @@ - - + + - - + + - - + +

    +

    Public Member Functions

     Mesh (const ::Mesh &mesh)
    Mesh (const ::Mesh &mesh)
     
     Mesh (const Mesh &)=delete
     Load meshes from model file. More...
    Mesh (const Mesh &)=delete
     Load meshes from model file.
     
     Mesh (int vertexCount, int triangleCount)
    Mesh (int vertexCount, int triangleCount)
     
     Mesh (Mesh &&other)
    Mesh (Mesh &&other)
     
     ~Mesh ()
     
    raylib::BoundingBox BoundingBox () const
     Compute mesh bounding box limits. More...
    +raylib::BoundingBox BoundingBox () const
     Compute mesh bounding box limits.
     
    void Draw (const ::Material &material, ::Matrix *transforms, int instances)
     Draw multiple mesh instances with material and different transforms. More...
    +void Draw (const ::Material &material, ::Matrix *transforms, int instances)
     Draw multiple mesh instances with material and different transforms.
     
    void Draw (const ::Material &material, const ::Matrix &transform)
     Draw a 3d mesh with material and transform. More...
    +void Draw (const ::Material &material, const ::Matrix &transform)
     Draw a 3d mesh with material and transform.
     
    bool Export (const std::string &fileName)
     Export mesh data to file. More...
    +bool Export (const std::string &fileName)
     Export mesh data to file.
     
    MeshGenBinormals ()
     Compute mesh binormals (aka bitangent) More...
     
    MeshGenTangents ()
     Compute mesh tangents. More...
     
    float * GetAnimNormals () const
     Retrieves the animNormals value for the object. More...
     
    float * GetAnimVertices () const
     Retrieves the animVertices value for the object. More...
     
    unsigned char * GetBoneIds () const
     Retrieves the boneIds value for the object. More...
     
    float * GetBoneWeights () const
     Retrieves the boneWeights value for the object. More...
     
    unsigned char * GetColors () const
     Retrieves the colors value for the object. More...
     
    unsigned short * GetIndices () const
     Retrieves the indices value for the object. More...
     
    float * GetNormals () const
     Retrieves the normals value for the object. More...
     
    float * GetTangents () const
     Retrieves the tangents value for the object. More...
     
    float * GetTexCoords () const
     Retrieves the texcoords value for the object. More...
     
    float * GetTexCoords2 () const
     Retrieves the texcoords2 value for the object. More...
     
    +MeshGenBinormals ()
     Compute mesh binormals (aka bitangent)
     
    +MeshGenTangents ()
     Compute mesh tangents.
     
    float * GetAnimNormals () const
     Retrieves the animNormals value for the object. More...
     
    float * GetAnimVertices () const
     Retrieves the animVertices value for the object. More...
     
    unsigned char * GetBoneIds () const
     Retrieves the boneIds value for the object. More...
     
    float * GetBoneWeights () const
     Retrieves the boneWeights value for the object. More...
     
    unsigned char * GetColors () const
     Retrieves the colors value for the object. More...
     
    unsigned short * GetIndices () const
     Retrieves the indices value for the object. More...
     
    float * GetNormals () const
     Retrieves the normals value for the object. More...
     
    float * GetTangents () const
     Retrieves the tangents value for the object. More...
     
    float * GetTexCoords () const
     Retrieves the texcoords value for the object. More...
     
    float * GetTexCoords2 () const
     Retrieves the texcoords2 value for the object. More...
     
    int GetTriangleCount () const
     Retrieves the triangleCount value for the object. More...
     
    unsigned int GetVaoId () const
     Retrieves the vaoId value for the object. More...
     
    unsigned int * GetVboId () const
     Retrieves the vboId value for the object. More...
     
    unsigned int * GetVboId () const
     Retrieves the vboId value for the object. More...
     
    int GetVertexCount () const
     Retrieves the vertexCount value for the object. More...
     
    float * GetVertices () const
     Retrieves the vertices value for the object. More...
     
    raylib::Model LoadModelFrom () const
     Load model from generated mesh. More...
    float * GetVertices () const
     Retrieves the vertices value for the object. More...
     
    +raylib::Model LoadModelFrom () const
     Load model from generated mesh.
     
     operator raylib::BoundingBox ()
     Compute mesh bounding box limits. More...
    operator raylib::BoundingBox ()
     Compute mesh bounding box limits.
     
     operator raylib::Model ()
     Load model from generated mesh. More...
    operator raylib::Model ()
     Load model from generated mesh.
     
    Meshoperator= (const ::Mesh &mesh)
     
    Meshoperator= (const Mesh &)=delete
     
    Meshoperator= (Mesh &&other) noexcept
     
    +Meshoperator= (const ::Mesh &mesh)
     
    +Meshoperator= (const Mesh &)=delete
     
    +Meshoperator= (Mesh &&other) noexcept
     
    void SetAnimNormals (float *value)
     Sets the animNormals value for the object. More...
     
    void SetVertices (float *value)
     Sets the vertices value for the object. More...
     
    void Unload ()
     Unload mesh from memory (RAM and/or VRAM) More...
    +void Unload ()
     Unload mesh from memory (RAM and/or VRAM)
     
    void UpdateBuffer (int index, void *data, int dataSize, int offset=0)
     Upload mesh vertex data to GPU (VRAM) More...
    +void UpdateBuffer (int index, void *data, int dataSize, int offset=0)
     Upload mesh vertex data to GPU (VRAM)
     
    void Upload (bool dynamic=false)
     Upload mesh vertex data to GPU (VRAM) More...
    +void Upload (bool dynamic=false)
     Upload mesh vertex data to GPU (VRAM)
     
    - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

    +

    Static Public Member Functions

    ::Mesh Cube (float width, float height, float length)
     Generate cuboid mesh. More...
    +::Mesh Cube (float width, float height, float length)
     Generate cuboid mesh.
     
    ::Mesh Cubicmap (const ::Image &cubicmap, ::Vector3 cubeSize)
     Generate cubes-based map mesh from image data. More...
    +::Mesh Cubicmap (const ::Image &cubicmap, ::Vector3 cubeSize)
     Generate cubes-based map mesh from image data.
     
    ::Mesh Cylinder (float radius, float height, int slices)
     Generate cylinder mesh. More...
    +::Mesh Cylinder (float radius, float height, int slices)
     Generate cylinder mesh.
     
    ::Mesh Heightmap (const ::Image &heightmap, ::Vector3 size)
     Generate heightmap mesh from image data. More...
    +::Mesh Heightmap (const ::Image &heightmap, ::Vector3 size)
     Generate heightmap mesh from image data.
     
    ::Mesh HemiSphere (float radius, int rings, int slices)
     Generate half-sphere mesh (no bottom cap) More...
    +::Mesh HemiSphere (float radius, int rings, int slices)
     Generate half-sphere mesh (no bottom cap)
     
    ::Mesh Knot (float radius, float size, int radSeg, int sides)
     Generate trefoil knot mesh. More...
    +::Mesh Knot (float radius, float size, int radSeg, int sides)
     Generate trefoil knot mesh.
     
    ::Mesh Plane (float width, float length, int resX, int resZ)
     Generate plane mesh (with subdivisions) More...
    +::Mesh Plane (float width, float length, int resX, int resZ)
     Generate plane mesh (with subdivisions)
     
    ::Mesh Poly (int sides, float radius)
     Generate polygonal mesh. More...
    +::Mesh Poly (int sides, float radius)
     Generate polygonal mesh.
     
    ::Mesh Sphere (float radius, int rings, int slices)
     Generate sphere mesh (standard sphere) More...
    +::Mesh Sphere (float radius, int rings, int slices)
     Generate sphere mesh (standard sphere)
     
    ::Mesh Torus (float radius, float size, int radSeg, int sides)
     Generate torus mesh. More...
    +::Mesh Torus (float radius, float size, int radSeg, int sides)
     Generate torus mesh.
     

    Detailed Description

    -

    Vertex data definning a mesh.

    +

    Vertex data definning a mesh.

    Definition at line 16 of file Mesh.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Mesh() [1/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Mesh::Mesh (const ::Mesh & mesh)
    -
    -inline
    -
    - -

    Definition at line 18 of file Mesh.hpp.

    - -
    -
    - -

    ◆ Mesh() [2/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Mesh::Mesh (int vertexCount,
    int triangleCount 
    )
    -
    -inline
    -
    - -

    Definition at line 22 of file Mesh.hpp.

    - -
    -
    - -

    ◆ Mesh() [3/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Mesh::Mesh (const Mesh)
    -
    -delete
    -
    - -

    Load meshes from model file.

    - -
    -
    - -

    ◆ Mesh() [4/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Mesh::Mesh (Mesh && other)
    -
    -inline
    -
    - -

    Definition at line 51 of file Mesh.hpp.

    - -
    -
    - -

    ◆ ~Mesh()

    +

    Member Function Documentation

    + +

    ◆ GetAnimNormals()

    @@ -414,10 +301,10 @@

    - + - +
    raylib::Mesh::~Mesh float* raylib::Mesh::GetAnimNormals ( ) const
    @@ -427,15 +314,15 @@

    -

    Definition at line 191 of file Mesh.hpp.

    +

    Retrieves the animNormals value for the object.

    +
    Returns
    The animNormals value of the object.
    -

    References Unload().

    +

    Definition at line 151 of file Mesh.hpp.

    -

    Member Function Documentation

    - -

    ◆ BoundingBox()

    + +

    ◆ GetAnimVertices()

    - -

    ◆ Cubicmap()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    ::Mesh raylib::Mesh::Cubicmap (const ::Image & cubicmap,
    ::Vector3 cubeSize 
    )
    -
    -inlinestatic
    -
    - -

    Generate cubes-based map mesh from image data.

    - -

    Definition at line 137 of file Mesh.hpp.

    - -
    -
    - -

    ◆ Cylinder()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Mesh raylib::Mesh::Cylinder (float radius,
    float height,
    int slices 
    )
    -
    -inlinestatic
    -
    - -

    Generate cylinder mesh.

    +

    Retrieves the animVertices value for the object.

    +
    Returns
    The animVertices value of the object.
    -

    Definition at line 109 of file Mesh.hpp.

    +

    Definition at line 150 of file Mesh.hpp.

    - -

    ◆ Draw() [1/2]

    + +

    ◆ GetBoneIds()

    - -

    ◆ Draw() [2/2]

    + +

    ◆ GetBoneWeights()

    - -

    ◆ Export()

    + +

    ◆ GetColors()

    - -

    ◆ GenBinormals()

    + +

    ◆ GetIndices()

    - -

    ◆ GenTangents()

    - -
    -
    - - - - - -
    - - - - - - - -
    Mesh & raylib::Mesh::GenTangents ()
    -
    -inline
    -
    - -

    Compute mesh tangents.

    - -

    Definition at line 258 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetAnimNormals()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetAnimNormals () const
    -
    -inline
    -
    - -

    Retrieves the animNormals value for the object.

    -
    Returns
    The animNormals value of the object.
    - -

    Definition at line 151 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetAnimVertices()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetAnimVertices () const
    -
    -inline
    -
    - -

    Retrieves the animVertices value for the object.

    -
    Returns
    The animVertices value of the object.
    - -

    Definition at line 150 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetBoneIds()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned char * raylib::Mesh::GetBoneIds () const
    -
    -inline
    -
    - -

    Retrieves the boneIds value for the object.

    -
    Returns
    The boneIds value of the object.
    - -

    Definition at line 152 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetBoneWeights()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetBoneWeights () const
    -
    -inline
    -
    - -

    Retrieves the boneWeights value for the object.

    -
    Returns
    The boneWeights value of the object.
    - -

    Definition at line 153 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetColors()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned char * raylib::Mesh::GetColors () const
    -
    -inline
    -
    - -

    Retrieves the colors value for the object.

    -
    Returns
    The colors value of the object.
    - -

    Definition at line 148 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetIndices()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned short * raylib::Mesh::GetIndices () const
    -
    -inline
    -
    - -

    Retrieves the indices value for the object.

    -
    Returns
    The indices value of the object.
    - -

    Definition at line 149 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetNormals()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetNormals () const
    -
    -inline
    -
    - -

    Retrieves the normals value for the object.

    -
    Returns
    The normals value of the object.
    - -

    Definition at line 146 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetTangents()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetTangents () const
    -
    -inline
    -
    - -

    Retrieves the tangents value for the object.

    -
    Returns
    The tangents value of the object.
    - -

    Definition at line 147 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetTexCoords()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetTexCoords () const
    -
    -inline
    -
    - -

    Retrieves the texcoords value for the object.

    -
    Returns
    The texcoords value of the object.
    - -

    Definition at line 144 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetTexCoords2()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetTexCoords2 () const
    -
    -inline
    -
    - -

    Retrieves the texcoords2 value for the object.

    -
    Returns
    The texcoords2 value of the object.
    - -

    Definition at line 145 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetTriangleCount()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Mesh::GetTriangleCount () const
    -
    -inline
    -
    - -

    Retrieves the triangleCount value for the object.

    -
    Returns
    The triangleCount value of the object.
    - -

    Definition at line 142 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetVaoId()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned int raylib::Mesh::GetVaoId () const
    -
    -inline
    -
    - -

    Retrieves the vaoId value for the object.

    -
    Returns
    The vaoId value of the object.
    - -

    Definition at line 154 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetVboId()

    - -
    -
    - - - - - -
    - - - - - - - -
    unsigned int * raylib::Mesh::GetVboId () const
    -
    -inline
    -
    - -

    Retrieves the vboId value for the object.

    -
    Returns
    The vboId value of the object.
    - -

    Definition at line 155 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetVertexCount()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Mesh::GetVertexCount () const
    -
    -inline
    -
    - -

    Retrieves the vertexCount value for the object.

    -
    Returns
    The vertexCount value of the object.
    - -

    Definition at line 141 of file Mesh.hpp.

    - -
    -
    - -

    ◆ GetVertices()

    - -
    -
    - - - - - -
    - - - - - - - -
    float * raylib::Mesh::GetVertices () const
    -
    -inline
    -
    - -

    Retrieves the vertices value for the object.

    -
    Returns
    The vertices value of the object.
    - -

    Definition at line 143 of file Mesh.hpp.

    - -
    -
    - -

    ◆ Heightmap()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    ::Mesh raylib::Mesh::Heightmap (const ::Image & heightmap,
    ::Vector3 size 
    )
    -
    -inlinestatic
    -
    - -

    Generate heightmap mesh from image data.

    - -

    Definition at line 130 of file Mesh.hpp.

    - -
    -
    - -

    ◆ HemiSphere()

    - -
    -
    - - - +inline
    - - - - - - - - - - - - - - - - - - - - - - - + + + +
    ::Mesh raylib::Mesh::HemiSphere (float radius,
    int rings,
    int slices 
    )unsigned short* raylib::Mesh::GetIndices () const
    -inlinestatic
    -

    Generate half-sphere mesh (no bottom cap)

    +

    Retrieves the indices value for the object.

    +
    Returns
    The indices value of the object.
    -

    Definition at line 102 of file Mesh.hpp.

    +

    Definition at line 149 of file Mesh.hpp.

    - -

    ◆ Knot()

    + +

    ◆ GetNormals()

    - -

    ◆ LoadModelFrom()

    + +

    ◆ GetTangents()

    - -

    ◆ operator raylib::Model()

    + +

    ◆ GetTexCoords2()

    - -

    ◆ operator=() [1/3]

    + +

    ◆ GetTriangleCount()

    @@ -1458,11 +601,10 @@

    - + - - - + +
    Mesh & raylib::Mesh::operator= int raylib::Mesh::GetTriangleCount (const ::Meshmesh)) const
    @@ -1472,12 +614,15 @@

    -

    Definition at line 157 of file Mesh.hpp.

    +

    Retrieves the triangleCount value for the object.

    +
    Returns
    The triangleCount value of the object.
    + +

    Definition at line 142 of file Mesh.hpp.

    - -

    ◆ operator=() [2/3]

    + +

    ◆ GetVaoId()

    - -

    ◆ operator=() [3/3]

    + +

    ◆ GetVboId()

    -

    Definition at line 164 of file Mesh.hpp.

    +

    Retrieves the vboId value for the object.

    +
    Returns
    The vboId value of the object.
    -

    References Unload().

    +

    Definition at line 155 of file Mesh.hpp.

    - -

    ◆ Plane()

    + +

    ◆ GetVertexCount()

    - -

    ◆ Poly()

    + +

    ◆ GetVertices()

    - +

    ◆ SetAnimNormals()

    @@ -1660,7 +777,7 @@

    +

    ◆ SetAnimVertices()

    @@ -1696,7 +813,7 @@

    +

    ◆ SetBoneIds()

    @@ -1732,7 +849,7 @@

    +

    ◆ SetBoneWeights()

    @@ -1768,7 +885,7 @@

    +

    ◆ SetColors()

    @@ -1804,7 +921,7 @@

    +

    ◆ SetIndices()

    @@ -1840,7 +957,7 @@

    +

    ◆ SetNormals()

    @@ -1876,7 +993,7 @@

    +

    ◆ SetTangents()

    @@ -1912,7 +1029,7 @@

    +

    ◆ SetTexCoords()

    @@ -1948,7 +1065,7 @@

    +

    ◆ SetTexCoords2()

    @@ -1984,7 +1101,7 @@

    +

    ◆ SetTriangleCount()

    @@ -2020,7 +1137,7 @@

    +

    ◆ SetVaoId()

    @@ -2056,7 +1173,7 @@

    +

    ◆ SetVboId()

    @@ -2092,7 +1209,7 @@

    +

    ◆ SetVertexCount()

    @@ -2128,7 +1245,7 @@

    +

    ◆ SetVertices()

    @@ -2162,227 +1279,14 @@

    Definition at line 143 of file Mesh.hpp.

    -

    -

    - -

    ◆ Sphere()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Mesh raylib::Mesh::Sphere (float radius,
    int rings,
    int slices 
    )
    -
    -inlinestatic
    -
    - -

    Generate sphere mesh (standard sphere)

    - -

    Definition at line 95 of file Mesh.hpp.

    - -
    -
    - -

    ◆ Torus()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ::Mesh raylib::Mesh::Torus (float radius,
    float size,
    int radSeg,
    int sides 
    )
    -
    -inlinestatic
    -
    - -

    Generate torus mesh.

    - -

    Definition at line 116 of file Mesh.hpp.

    - -
    -
    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::Mesh::Unload ()
    -
    -inline
    -
    - -

    Unload mesh from memory (RAM and/or VRAM)

    - -

    Definition at line 234 of file Mesh.hpp.

    - -

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

    - -
    -
    - -

    ◆ UpdateBuffer()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    void raylib::Mesh::UpdateBuffer (int index,
    void * data,
    int dataSize,
    int offset = 0 
    )
    -
    -inline
    -
    - -

    Upload mesh vertex data to GPU (VRAM)

    - -

    Definition at line 205 of file Mesh.hpp.

    - -
    -
    - -

    ◆ Upload()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Mesh::Upload (bool dynamic = false)
    -
    -inline
    -
    - -

    Upload mesh vertex data to GPU (VRAM)

    - -

    Definition at line 198 of file Mesh.hpp.

    -

    -

    - + diff --git a/docs/classraylib_1_1_model-members.html b/docs/classraylib_1_1_model-members.html index 1b087103..0d20eae5 100644 --- a/docs/classraylib_1_1_model-members.html +++ b/docs/classraylib_1_1_model-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Model Member List
    +
    +
    raylib::Model Member List

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

    - - - - - - - - + + + + + + + + - - - - - + + + + + - + - + - - - - - + + + + + - - - + + + - + - + - + - - - + + + - - - + + +
    Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    GetBindPoe() constraylib::Modelinline
    GetBoneCount() constraylib::Modelinline
    GetBones() constraylib::Modelinline
    GetBoundingBox() constraylib::Modelinline
    Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})raylib::Modelinline
    GetBindPoe() constraylib::Modelinline
    GetBoneCount() constraylib::Modelinline
    GetBones() constraylib::Modelinline
    GetBoundingBox() constraylib::Modelinline
    GetCollision(const ::Ray &ray) constraylib::Modelinline
    GetMaterialCount() constraylib::Modelinline
    GetMaterials() constraylib::Modelinline
    GetMeshCount() constraylib::Modelinline
    GetMeshes() constraylib::Modelinline
    GetMeshMaterial() constraylib::Modelinline
    GetMaterialCount() constraylib::Modelinline
    GetMaterials() constraylib::Modelinline
    GetMeshCount() constraylib::Modelinline
    GetMeshes() constraylib::Modelinline
    GetMeshMaterial() constraylib::Modelinline
    GetTransform() constraylib::Modelinline
    IsModelAnimationValid(const ::ModelAnimation &anim) constraylib::Modelinline
    IsModelAnimationValid(const ::ModelAnimation &anim) constraylib::Modelinline
    IsReady() constraylib::Modelinline
    Load(const std::string &fileName)raylib::Modelinline
    Load(const std::string &fileName)raylib::Modelinline
    Load(const ::Mesh &mesh)raylib::Modelinline
    Model(const ::Model &model)raylib::Modelinline
    Model(const std::string &fileName)raylib::Modelinline
    Model(const ::Mesh &mesh)raylib::Modelinline
    Model(const Model &)=deleteraylib::Model
    Model(Model &&other)raylib::Modelinline
    Model(const ::Model &model) (defined in raylib::Model)raylib::Modelinline
    Model(const std::string &fileName) (defined in raylib::Model)raylib::Modelinline
    Model(const ::Mesh &mesh) (defined in raylib::Model)raylib::Modelinline
    Model(const Model &)=delete (defined in raylib::Model)raylib::Model
    Model(Model &&other) (defined in raylib::Model)raylib::Modelinline
    operator BoundingBox() constraylib::Modelinline
    operator=(const ::Model &model)raylib::Modelinline
    operator=(const Model &)=deleteraylib::Model
    operator=(Model &&other) noexceptraylib::Modelinline
    operator=(const ::Model &model) (defined in raylib::Model)raylib::Modelinline
    operator=(const Model &)=delete (defined in raylib::Model)raylib::Model
    operator=(Model &&other) noexcept (defined in raylib::Model)raylib::Modelinline
    SetBindPoe(::Transform *value)raylib::Modelinline
    SetBoneCount(int value)raylib::Modelinline
    SetBoneCount(int value)raylib::Modelinline
    SetBones(::BoneInfo *value)raylib::Modelinline
    SetMaterialCount(int value)raylib::Modelinline
    SetMaterialCount(int value)raylib::Modelinline
    SetMaterials(::Material *value)raylib::Modelinline
    SetMeshCount(int value)raylib::Modelinline
    SetMeshCount(int value)raylib::Modelinline
    SetMeshes(::Mesh *value)raylib::Modelinline
    SetMeshMaterial(int *value)raylib::Modelinline
    SetMeshMaterial(int meshId, int materialId)raylib::Modelinline
    SetTransform(::Matrix value)raylib::Modelinline
    SetMeshMaterial(int *value)raylib::Modelinline
    SetMeshMaterial(int meshId, int materialId)raylib::Modelinline
    SetTransform(::Matrix value)raylib::Modelinline
    Unload()raylib::Modelinline
    UnloadKeepMeshes()raylib::Modelinline
    UpdateAnimation(const ::ModelAnimation &anim, int frame)raylib::Modelinline
    ~Model()raylib::Modelinline
    UnloadKeepMeshes()raylib::Modelinline
    UpdateAnimation(const ::ModelAnimation &anim, int frame)raylib::Modelinline
    ~Model() (defined in raylib::Model)raylib::Modelinline
    -

    - + diff --git a/docs/classraylib_1_1_model.html b/docs/classraylib_1_1_model.html index 50980aa9..c371990f 100644 --- a/docs/classraylib_1_1_model.html +++ b/docs/classraylib_1_1_model.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Model Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Model Class Reference
    +
    +
    raylib::Model Class Reference

    Model type. More...

    - -

    #include <Model.hpp>

    - - + - + - + - + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - + + + + + - - + + - - - + + + - - - - - - - + + + + + + + - - + + - - + + - + - - + + - - - - - - + + + + + + @@ -189,421 +186,45 @@ - + - + - - - - + + + + - - + + - - - - - - + + + + + +

    +

    Public Member Functions

     Model (const ::Mesh &mesh)
    Model (const ::Mesh &mesh)
     
     Model (const ::Model &model)
    Model (const ::Model &model)
     
     Model (const Model &)=delete
    Model (const Model &)=delete
     
     Model (const std::string &fileName)
    Model (const std::string &fileName)
     
     Model (Model &&other)
    Model (Model &&other)
     
     ~Model ()
     
    ModelDraw (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
     Draw a model with extended parameters. More...
     
    ModelDraw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
     Draw a model (with texture if set) More...
     
    ModelDrawWires (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
     Draw a model wires (with texture if set) with extended parameters. More...
     
    ModelDrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
     Draw a model wires (with texture if set) More...
     
    ::Transform * GetBindPoe () const
     Retrieves the bindPose value for the object. More...
     
    +ModelDraw (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
     Draw a model with extended parameters.
     
    +ModelDraw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
     Draw a model (with texture if set)
     
    +ModelDrawWires (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})
     Draw a model wires (with texture if set) with extended parameters.
     
    +ModelDrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})
     Draw a model wires (with texture if set)
     
    ::Transform * GetBindPoe () const
     Retrieves the bindPose value for the object. More...
     
    int GetBoneCount () const
     Retrieves the boneCount value for the object. More...
     
    ::BoneInfo * GetBones () const
     Retrieves the bones value for the object. More...
     
    BoundingBox GetBoundingBox () const
     Compute model bounding box limits (considers all meshes) More...
    ::BoneInfo * GetBones () const
     Retrieves the bones value for the object. More...
     
    +BoundingBox GetBoundingBox () const
     Compute model bounding box limits (considers all meshes)
     
    RayCollision GetCollision (const ::Ray &ray) const
     Get collision info between ray and model. More...
    +RayCollision GetCollision (const ::Ray &ray) const
     Get collision info between ray and model.
     
    int GetMaterialCount () const
     Retrieves the materialCount value for the object. More...
     
    ::Material * GetMaterials () const
     Retrieves the materials value for the object. More...
     
    ::MaterialGetMaterials () const
     Retrieves the materials value for the object. More...
     
    int GetMeshCount () const
     Retrieves the meshCount value for the object. More...
     
    ::Mesh * GetMeshes () const
     Retrieves the meshes value for the object. More...
     
    int * GetMeshMaterial () const
     Retrieves the meshMaterial value for the object. More...
     
    ::Matrix GetTransform () const
    ::MeshGetMeshes () const
     Retrieves the meshes value for the object. More...
     
    int * GetMeshMaterial () const
     Retrieves the meshMaterial value for the object. More...
     
    ::Matrix GetTransform () const
     Retrieves the transform value for the object. More...
     
    bool IsModelAnimationValid (const ::ModelAnimation &anim) const
     Check model animation skeleton match. More...
    +bool IsModelAnimationValid (const ::ModelAnimation &anim) const
     Check model animation skeleton match.
     
    bool IsReady () const
     Determines whether or not the Model has data in it. More...
    +bool IsReady () const
     Determines whether or not the Model has data in it.
     
    bool Load (const ::Mesh &mesh)
    bool Load (const ::Mesh &mesh)
     Loads a Model from the given Mesh. More...
     
    bool Load (const std::string &fileName)
     Loads a Model from the given file. More...
     
     operator BoundingBox () const
     Compute model bounding box limits (considers all meshes) More...
    operator BoundingBox () const
     Compute model bounding box limits (considers all meshes)
     
    Modeloperator= (const ::Model &model)
     
    Modeloperator= (const Model &)=delete
     
    Modeloperator= (Model &&other) noexcept
     
    +Modeloperator= (const ::Model &model)
     
    +Modeloperator= (const Model &)=delete
     
    +Modeloperator= (Model &&other) noexcept
     
    void SetBindPoe (::Transform *value)
     Sets the bindPose value for the object. More...
     
    void SetMaterialCount (int value)
     Sets the materialCount value for the object. More...
     
    void SetMaterials (::Material *value)
    void SetMaterials (::Material *value)
     Sets the materials value for the object. More...
     
    void SetMeshCount (int value)
     Sets the meshCount value for the object. More...
     
    void SetMeshes (::Mesh *value)
    void SetMeshes (::Mesh *value)
     Sets the meshes value for the object. More...
     
    void SetMeshMaterial (int *value)
     Sets the meshMaterial value for the object. More...
     
    ModelSetMeshMaterial (int meshId, int materialId)
     Set material for a mesh. More...
     
    void SetTransform (::Matrix value)
    +ModelSetMeshMaterial (int meshId, int materialId)
     Set material for a mesh.
     
    void SetTransform (::Matrix value)
     Sets the transform value for the object. More...
     
    void Unload ()
     Unload model (including meshes) from memory (RAM and/or VRAM) More...
    +void Unload ()
     Unload model (including meshes) from memory (RAM and/or VRAM)
     
    ModelUnloadKeepMeshes ()
     Unload model (but not meshes) from memory (RAM and/or VRAM) More...
     
    ModelUpdateAnimation (const ::ModelAnimation &anim, int frame)
     Update model animation pose. More...
     
    +ModelUnloadKeepMeshes ()
     Unload model (but not meshes) from memory (RAM and/or VRAM)
     
    +ModelUpdateAnimation (const ::ModelAnimation &anim, int frame)
     Update model animation pose.
     

    Detailed Description

    -

    Model type.

    +

    Model type.

    Definition at line 15 of file Model.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Model() [1/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Model::Model (const ::Model & model)
    -
    -inline
    -
    - -

    Definition at line 17 of file Model.hpp.

    - -
    -
    - -

    ◆ Model() [2/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Model::Model (const std::string & fileName)
    -
    -inline
    -
    - -

    Definition at line 21 of file Model.hpp.

    - -

    References Load().

    - -
    -
    - -

    ◆ Model() [3/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Model::Model (const ::Mesh & mesh)
    -
    -inline
    -
    - -

    Definition at line 27 of file Model.hpp.

    - -

    References Load().

    - -
    -
    - -

    ◆ ~Model()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Model::~Model ()
    -
    -inline
    -
    - -

    Definition at line 33 of file Model.hpp.

    - -

    References Unload().

    - -
    -
    - -

    ◆ Model() [4/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Model::Model (const Model)
    -
    -delete
    -
    - -
    -
    - -

    ◆ Model() [5/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Model::Model (Model && other)
    -
    -inline
    -
    - -

    Definition at line 39 of file Model.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ Draw() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Model & raylib::Model::Draw (::Vector3 position,
    ::Vector3 rotationAxis,
    float rotationAngle = 0.0f,
    ::Vector3 scale = {1.0f, 1.0f, 1.0f},
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw a model with extended parameters.

    - -

    Definition at line 149 of file Model.hpp.

    - -
    -
    - -

    ◆ Draw() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Model & raylib::Model::Draw (::Vector3 position,
    float scale = 1.0f,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw a model (with texture if set)

    - -

    Definition at line 139 of file Model.hpp.

    - -
    -
    - -

    ◆ DrawWires() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Model & raylib::Model::DrawWires (::Vector3 position,
    ::Vector3 rotationAxis,
    float rotationAngle = 0.0f,
    ::Vector3 scale = {1.0f, 1.0f, 1.0f},
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw a model wires (with texture if set) with extended parameters.

    - -

    Definition at line 172 of file Model.hpp.

    - -
    -
    - -

    ◆ DrawWires() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Model & raylib::Model::DrawWires (::Vector3 position,
    float scale = 1.0f,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw a model wires (with texture if set)

    - -

    Definition at line 162 of file Model.hpp.

    - -
    -
    - -

    ◆ GetBindPoe()

    +

    Member Function Documentation

    + +

    ◆ GetBindPoe()

    - -

    ◆ GetBones()

    - -
    -
    - - - - - -
    - - - - - - - -
    ::BoneInfo * raylib::Model::GetBones () const
    -
    -inline
    -
    - -

    Retrieves the bones value for the object.

    -
    Returns
    The bones value of the object.
    - -

    Definition at line 58 of file Model.hpp.

    - -
    -
    - -

    ◆ GetBoundingBox()

    - -
    -
    - - - - + @@ -1025,7 +526,7 @@

    +

    ◆ Load() [2/2]

    @@ -1056,124 +557,9 @@

    References IsReady().

    -

    Referenced by Model().

    - -

    - - -

    ◆ operator BoundingBox()

    - -
    -
    -

    - - - + @@ -715,14 +276,15 @@

    -

    Compute model bounding box limits (considers all meshes)

    +

    Retrieves the boneCount value for the object.

    +
    Returns
    The boneCount value of the object.
    -

    Definition at line 185 of file Model.hpp.

    +

    Definition at line 57 of file Model.hpp.

    - -

    ◆ GetCollision()

    + +

    ◆ GetBones()

    @@ -731,10 +293,9 @@

    BoundingBox raylib::Model::GetBoundingBox int raylib::Model::GetBoneCount ( ) const
    - + - - +
    RayCollision raylib::Model::GetCollision ::BoneInfo* raylib::Model::GetBones (const ::Ray & ray)) const
    @@ -745,13 +306,14 @@

    -

    Get collision info between ray and model.

    +

    Retrieves the bones value for the object.

    +
    Returns
    The bones value of the object.
    -

    Definition at line 117 of file Model.hpp.

    +

    Definition at line 58 of file Model.hpp.

    - +

    ◆ GetMaterialCount()

    @@ -781,8 +343,8 @@

    -

    ◆ GetMaterials()

    + +

    ◆ GetMaterials()

    @@ -791,7 +353,7 @@

    - + @@ -811,7 +373,7 @@

    +

    ◆ GetMeshCount()

    @@ -841,8 +403,8 @@

    -

    ◆ GetMeshes()

    + +

    ◆ GetMeshes()

    @@ -851,7 +413,7 @@

    ::Material * raylib::Model::GetMaterials ::Material* raylib::Model::GetMaterials ( ) const
    - + @@ -871,8 +433,8 @@

    -

    ◆ GetMeshMaterial()

    + +

    ◆ GetMeshMaterial()

    @@ -881,7 +443,7 @@

    ::Mesh * raylib::Model::GetMeshes ::Mesh* raylib::Model::GetMeshes ( ) const
    - + @@ -901,7 +463,7 @@

    +

    ◆ GetTransform()

    @@ -911,7 +473,7 @@

    int * raylib::Model::GetMeshMaterial int* raylib::Model::GetMeshMaterial ( ) const
    - + @@ -931,68 +493,7 @@

    -

    ◆ IsModelAnimationValid()

    - -
    -
    -
    ::Matrix raylib::Model::GetTransform ::Matrix raylib::Model::GetTransform ( ) const
    - - - - -
    - - - - - - - - -
    bool raylib::Model::IsModelAnimationValid (const ::ModelAnimation & anim) const
    -
    -inline
    -

    - -

    Check model animation skeleton match.

    - -

    Definition at line 132 of file Model.hpp.

    - -
    -
    - -

    ◆ IsReady()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Model::IsReady () const
    -
    -inline
    -
    - -

    Determines whether or not the Model has data in it.

    - -

    Definition at line 199 of file Model.hpp.

    - -

    Referenced by Load().

    - -
    -
    - +

    ◆ Load() [1/2]

    @@ -1004,7 +505,7 @@

    bool raylib::Model::Load

    (const ::Mesh & const ::Mesh mesh)
    - - - - -
    - - - - - - - -
    raylib::Model::operator BoundingBox () const
    -
    -inline
    -
    - -

    Compute model bounding box limits (considers all meshes)

    - -

    Definition at line 192 of file Model.hpp.

    - -
    -
    - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Model & raylib::Model::operator= (const ::Modelmodel)
    -
    -inline
    -
    - -

    Definition at line 61 of file Model.hpp.

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Model & raylib::Model::operator= (const Model)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Model & raylib::Model::operator= (Model && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 68 of file Model.hpp.

    - -

    References Unload().

    -
    - +

    ◆ SetBindPoe()

    @@ -1209,7 +595,7 @@

    +

    ◆ SetBoneCount()

    @@ -1245,7 +631,7 @@

    +

    ◆ SetBones()

    @@ -1281,7 +667,7 @@

    +

    ◆ SetMaterialCount()

    @@ -1317,7 +703,7 @@

    +

    ◆ SetMaterials()

    @@ -1329,7 +715,7 @@

    void raylib::Model::SetMaterials ( - ::Material *  + ::Materialvalue) @@ -1353,7 +739,7 @@

    +

    ◆ SetMeshCount()

    @@ -1389,7 +775,7 @@

    +

    ◆ SetMeshes()

    @@ -1401,7 +787,7 @@

    void raylib::Model::SetMeshes ( - ::Mesh *  + ::Meshvalue) @@ -1425,8 +811,8 @@

    -

    ◆ SetMeshMaterial() [1/2]

    + +

    ◆ SetMeshMaterial()

    @@ -1461,47 +847,7 @@

    -

    ◆ SetMeshMaterial() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Model & raylib::Model::SetMeshMaterial (int meshId,
    int materialId 
    )
    -
    -inline
    -
    - -

    Set material for a mesh.

    - -

    Definition at line 109 of file Model.hpp.

    - -
    -
    - +

    ◆ SetTransform()

    @@ -1513,7 +859,7 @@

    void raylib::Model::SetTransform ( - ::Matrix  + ::Matrix  value) @@ -1535,116 +881,14 @@

    Definition at line 51 of file Model.hpp.

    -

    -

    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::Model::Unload ()
    -
    -inline
    -
    - -

    Unload model (including meshes) from memory (RAM and/or VRAM)

    - -

    Definition at line 90 of file Model.hpp.

    - -

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

    - -
    -
    - -

    ◆ UnloadKeepMeshes()

    - -
    -
    - - - - - -
    - - - - - - - -
    Model & raylib::Model::UnloadKeepMeshes ()
    -
    -inline
    -
    - -

    Unload model (but not meshes) from memory (RAM and/or VRAM)

    - -

    Definition at line 101 of file Model.hpp.

    - -
    -
    - -

    ◆ UpdateAnimation()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Model & raylib::Model::UpdateAnimation (const ::ModelAnimation & anim,
    int frame 
    )
    -
    -inline
    -
    - -

    Update model animation pose.

    - -

    Definition at line 124 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 bbf8cc49..fafbdff6 100644 --- a/docs/classraylib_1_1_model_animation-members.html +++ b/docs/classraylib_1_1_model_animation-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::ModelAnimation Member List
    +
    +
    raylib::ModelAnimation Member List

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

    - + - + - - - - - - - + + + + + + + - + - + - - + +
    GetBoneCount() constraylib::ModelAnimationinline
    GetBones() constraylib::ModelAnimationinline
    GetBones() constraylib::ModelAnimationinline
    GetFrameCount() constraylib::ModelAnimationinline
    GetFramePoses() constraylib::ModelAnimationinline
    GetFramePoses() constraylib::ModelAnimationinline
    IsValid(const ::Model &model) constraylib::ModelAnimationinline
    Load(const std::string &fileName)raylib::ModelAnimationinlinestatic
    ModelAnimation(const ::ModelAnimation &model)raylib::ModelAnimationinline
    ModelAnimation(const ModelAnimation &)=deleteraylib::ModelAnimation
    ModelAnimation(ModelAnimation &&other)raylib::ModelAnimationinline
    operator=(const ::ModelAnimation &model)raylib::ModelAnimationinline
    operator=(const ModelAnimation &)=deleteraylib::ModelAnimation
    operator=(ModelAnimation &&other) noexceptraylib::ModelAnimationinline
    Load(const std::string &fileName)raylib::ModelAnimationinlinestatic
    ModelAnimation(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    ModelAnimation(const ModelAnimation &)=delete (defined in raylib::ModelAnimation)raylib::ModelAnimation
    ModelAnimation(ModelAnimation &&other) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    operator=(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    operator=(const ModelAnimation &)=delete (defined in raylib::ModelAnimation)raylib::ModelAnimation
    operator=(ModelAnimation &&other) noexcept (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    SetBoneCount(int value)raylib::ModelAnimationinline
    SetBones(::BoneInfo *value)raylib::ModelAnimationinline
    SetBones(::BoneInfo *value)raylib::ModelAnimationinline
    SetFrameCount(int value)raylib::ModelAnimationinline
    SetFramePoses(::Transform **value)raylib::ModelAnimationinline
    SetFramePoses(::Transform **value)raylib::ModelAnimationinline
    Unload()raylib::ModelAnimationinline
    Update(const ::Model &model, int frame)raylib::ModelAnimationinline
    ~ModelAnimation()raylib::ModelAnimationinline
    Update(const ::Model &model, int frame)raylib::ModelAnimationinline
    ~ModelAnimation() (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    -

    - + diff --git a/docs/classraylib_1_1_model_animation.html b/docs/classraylib_1_1_model_animation.html index 79e773d6..ff31a6ad 100644 --- a/docs/classraylib_1_1_model_animation.html +++ b/docs/classraylib_1_1_model_animation.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::ModelAnimation Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::ModelAnimation Class Reference
    +
    +
    raylib::ModelAnimation Class Reference

    Model animation. More...

    - -

    #include <ModelAnimation.hpp>

    - - + - + - + - - - - - + + + - - - - - + + + + + - - - - - - + + + + + + @@ -141,139 +128,28 @@ - - + + - - - + + +

    +

    Public Member Functions

     ModelAnimation (const ::ModelAnimation &model)
    ModelAnimation (const ::ModelAnimation &model)
     
     ModelAnimation (const ModelAnimation &)=delete
    ModelAnimation (const ModelAnimation &)=delete
     
     ModelAnimation (ModelAnimation &&other)
    ModelAnimation (ModelAnimation &&other)
     
     ~ModelAnimation ()
     
    int GetBoneCount () const
     Retrieves the boneCount value for the object. More...
     
    ::BoneInfo * GetBones () const
     Retrieves the bones value for the object. More...
     
    ::BoneInfo * GetBones () const
     Retrieves the bones value for the object. More...
     
    int GetFrameCount () const
     Retrieves the frameCount value for the object. More...
     
    ::Transform ** GetFramePoses () const
     Retrieves the framePoses value for the object. More...
     
    bool IsValid (const ::Model &model) const
     Check model animation skeleton match. More...
    ::Transform ** GetFramePoses () const
     Retrieves the framePoses value for the object. More...
     
    +bool IsValid (const ::Model &model) const
     Check model animation skeleton match.
     
    ModelAnimationoperator= (const ::ModelAnimation &model)
     
    ModelAnimationoperator= (const ModelAnimation &)=delete
     
    ModelAnimationoperator= (ModelAnimation &&other) noexcept
     
    +ModelAnimationoperator= (const ::ModelAnimation &model)
     
    +ModelAnimationoperator= (const ModelAnimation &)=delete
     
    +ModelAnimationoperator= (ModelAnimation &&other) noexcept
     
    void SetBoneCount (int value)
     Sets the boneCount value for the object. More...
     
    void SetFramePoses (::Transform **value)
     Sets the framePoses value for the object. More...
     
    void Unload ()
     Unload animation data. More...
    +void Unload ()
     Unload animation data.
     
    ModelAnimationUpdate (const ::Model &model, int frame)
     Update model animation pose. More...
     
    +ModelAnimationUpdate (const ::Model &model, int frame)
     Update model animation pose.
     
    - - - - + + +

    +

    Static Public Member Functions

    static std::vector< ModelAnimationLoad (const std::string &fileName)
     Load model animations from file. More...
     
    +static std::vector< ModelAnimationLoad (const std::string &fileName)
     Load model animations from file.
     

    Detailed Description

    -

    Model animation.

    +

    Model animation.

    Definition at line 15 of file ModelAnimation.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ ModelAnimation() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::ModelAnimation::ModelAnimation (const ::ModelAnimation & model)
    -
    -inline
    -
    - -

    Definition at line 17 of file ModelAnimation.hpp.

    - -

    Referenced by Load().

    - -
    -
    - -

    ◆ ModelAnimation() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::ModelAnimation::ModelAnimation (const ModelAnimation)
    -
    -delete
    -
    - -
    -
    - -

    ◆ ModelAnimation() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::ModelAnimation::ModelAnimation (ModelAnimation && other)
    -
    -inline
    -
    - -

    Definition at line 23 of file ModelAnimation.hpp.

    - -
    -
    - -

    ◆ ~ModelAnimation()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::ModelAnimation::~ModelAnimation ()
    -
    -inline
    -
    - -

    Definition at line 32 of file ModelAnimation.hpp.

    - -

    References Unload().

    - -
    -
    -

    Member Function Documentation

    - +

    Member Function Documentation

    +

    ◆ GetBoneCount()

    @@ -303,8 +179,8 @@

    -

    ◆ GetBones()

    + +

    ◆ GetBones()

    @@ -313,7 +189,7 @@

    - + @@ -333,7 +209,7 @@

    +

    ◆ GetFrameCount()

    @@ -363,8 +239,8 @@

    -

    ◆ GetFramePoses()

    + +

    ◆ GetFramePoses()

    @@ -373,7 +249,7 @@

    ::BoneInfo * raylib::ModelAnimation::GetBones ::BoneInfo* raylib::ModelAnimation::GetBones ( ) const
    - + @@ -393,153 +269,7 @@

    -

    ◆ IsValid()

    - -
    -
    -
    ::Transform ** raylib::ModelAnimation::GetFramePoses ::Transform** raylib::ModelAnimation::GetFramePoses ( ) const
    - - - - -
    - - - - - - - - -
    bool raylib::ModelAnimation::IsValid (const ::Model & model) const
    -
    -inline
    -

    - -

    Check model animation skeleton match.

    - -

    Definition at line 95 of file ModelAnimation.hpp.

    - -
    -
    - -

    ◆ Load()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::vector< ModelAnimation > raylib::ModelAnimation::Load (const std::string & fileName)
    -
    -inlinestatic
    -
    - -

    Load model animations from file.

    - -

    Definition at line 39 of file ModelAnimation.hpp.

    - -

    References ModelAnimation().

    - -
    -
    - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    ModelAnimation & raylib::ModelAnimation::operator= (const ::ModelAnimationmodel)
    -
    -inline
    -
    - -

    Definition at line 54 of file ModelAnimation.hpp.

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    ModelAnimation & raylib::ModelAnimation::operator= (const ModelAnimation)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    ModelAnimation & raylib::ModelAnimation::operator= (ModelAnimation && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 61 of file ModelAnimation.hpp.

    - -

    References Unload().

    - -
    -
    - +

    ◆ SetBoneCount()

    @@ -575,7 +305,7 @@

    +

    ◆ SetBones()

    @@ -611,7 +341,7 @@

    +

    ◆ SetFrameCount()

    @@ -647,7 +377,7 @@

    +

    ◆ SetFramePoses()

    @@ -681,87 +411,14 @@

    Definition at line 52 of file ModelAnimation.hpp.

    -

    -

    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::ModelAnimation::Unload ()
    -
    -inline
    -
    - -

    Unload animation data.

    - -

    Definition at line 80 of file ModelAnimation.hpp.

    - -

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

    - -
    -
    - -

    ◆ Update()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    ModelAnimation & raylib::ModelAnimation::Update (const ::Model & model,
    int frame 
    )
    -
    -inline
    -
    - -

    Update model animation pose.

    - -

    Definition at line 87 of file ModelAnimation.hpp.

    -

    -

    - + diff --git a/docs/classraylib_1_1_mouse-members.html b/docs/classraylib_1_1_mouse-members.html index fb4f4ad2..9f60b726 100644 --- a/docs/classraylib_1_1_mouse-members.html +++ b/docs/classraylib_1_1_mouse-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Mouse Member List
    +
    +
    raylib::Mouse Member List

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

    - - + + - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + +
    GetPosition()raylib::Mouseinlinestatic
    GetTouchPosition(int index)raylib::Mouseinlinestatic
    GetPosition() (defined in raylib::Mouse)raylib::Mouseinlinestatic
    GetTouchPosition(int index)raylib::Mouseinlinestatic
    GetTouchX()raylib::Mouseinlinestatic
    GetTouchY()raylib::Mouseinlinestatic
    GetWheelMove()raylib::Mouseinlinestatic
    GetX()raylib::Mouseinlinestatic
    GetY()raylib::Mouseinlinestatic
    IsButtonDown(int button)raylib::Mouseinlinestatic
    GetTouchY()raylib::Mouseinlinestatic
    GetWheelMove() (defined in raylib::Mouse)raylib::Mouseinlinestatic
    GetX() (defined in raylib::Mouse)raylib::Mouseinlinestatic
    GetY() (defined in raylib::Mouse)raylib::Mouseinlinestatic
    IsButtonDown(int button)raylib::Mouseinlinestatic
    IsButtonPressed(int button)raylib::Mouseinlinestatic
    IsButtonReleased(int button)raylib::Mouseinlinestatic
    IsButtonUp(int button)raylib::Mouseinlinestatic
    SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)raylib::Mouseinlinestatic
    SetOffset(int offsetX=0, int offsetY=0)raylib::Mouseinlinestatic
    SetOffset(::Vector2 offset)raylib::Mouseinlinestatic
    SetPosition(int x, int y)raylib::Mouseinlinestatic
    SetPosition(::Vector2 position)raylib::Mouseinlinestatic
    SetScale(float scaleX=1.0f, float scaleY=1.0f)raylib::Mouseinlinestatic
    SetScale(::Vector2 scale)raylib::Mouseinlinestatic
    SetX(int x)raylib::Mouseinlinestatic
    SetY(int y)raylib::Mouseinlinestatic
    IsButtonReleased(int button)raylib::Mouseinlinestatic
    IsButtonUp(int button) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)raylib::Mouseinlinestatic
    SetOffset(int offsetX=0, int offsetY=0) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetOffset(::Vector2 offset) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetPosition(int x, int y) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetPosition(::Vector2 position) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetScale(float scaleX=1.0f, float scaleY=1.0f) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetScale(::Vector2 scale) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetX(int x) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    SetY(int y) (defined in raylib::Mouse)raylib::Mouseinlinestatic
    -

    - + diff --git a/docs/classraylib_1_1_mouse.html b/docs/classraylib_1_1_mouse.html index b75044b8..5df753e5 100644 --- a/docs/classraylib_1_1_mouse.html +++ b/docs/classraylib_1_1_mouse.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Mouse Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Mouse Class Reference
    +
    +
    raylib::Mouse Class Reference

    Input-related functions: mouse. More...

    - -

    #include <Mouse.hpp>

    - - + - - + + - - + + - - + + - + - + - + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - +

    +

    Static Public Member Functions

    static Vector2 GetPosition ()
    +static Vector2 GetPosition ()
     
    static Vector2 GetTouchPosition (int index)
     Get touch position XY for a touch point index (relative to screen size) More...
    +static Vector2 GetTouchPosition (int index)
     Get touch position XY for a touch point index (relative to screen size)
     
    static int GetTouchX ()
     Get touch position X for touch point 0 (relative to screen size) More...
    +static int GetTouchX ()
     Get touch position X for touch point 0 (relative to screen size)
     
    static int GetTouchY ()
     Get touch position Y for touch point 0 (relative to screen size) More...
    +static int GetTouchY ()
     Get touch position Y for touch point 0 (relative to screen size)
     
    static float GetWheelMove ()
    +static float GetWheelMove ()
     
    static int GetX ()
    +static int GetX ()
     
    static int GetY ()
    +static int GetY ()
     
    static bool IsButtonDown (int button)
     Detect if a mouse button is being pressed. More...
    +static bool IsButtonDown (int button)
     Detect if a mouse button is being pressed.
     
    static bool IsButtonPressed (int button)
     Detect if a mouse button has been pressed once. More...
    +static bool IsButtonPressed (int button)
     Detect if a mouse button has been pressed once.
     
    static bool IsButtonReleased (int button)
     Detect if a mouse button has been released once. More...
    +static bool IsButtonReleased (int button)
     Detect if a mouse button has been released once.
     
    static bool IsButtonUp (int button)
    +static bool IsButtonUp (int button)
     
    static void SetCursor (int cursor=MOUSE_CURSOR_DEFAULT)
     Sets the current mouse cursor icon. More...
     
    static void SetOffset (::Vector2 offset)
    +static void SetOffset (::Vector2 offset)
     
    static void SetOffset (int offsetX=0, int offsetY=0)
    +static void SetOffset (int offsetX=0, int offsetY=0)
     
    static void SetPosition (::Vector2 position)
    +static void SetPosition (::Vector2 position)
     
    static void SetPosition (int x, int y)
    +static void SetPosition (int x, int y)
     
    static void SetScale (::Vector2 scale)
    +static void SetScale (::Vector2 scale)
     
    static void SetScale (float scaleX=1.0f, float scaleY=1.0f)
    +static void SetScale (float scaleX=1.0f, float scaleY=1.0f)
     
    static void SetX (int x)
    +static void SetX (int x)
     
    static void SetY (int y)
    +static void SetY (int y)
     

    Detailed Description

    -

    Input-related functions: mouse.

    +

    Input-related functions: mouse.

    Definition at line 11 of file Mouse.hpp.

    Member Function Documentation

    - -

    ◆ GetPosition()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Vector2 raylib::Mouse::GetPosition ()
    -
    -inlinestatic
    -
    - -

    Definition at line 54 of file Mouse.hpp.

    - -
    -
    - -

    ◆ GetTouchPosition()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static Vector2 raylib::Mouse::GetTouchPosition (int index)
    -
    -inlinestatic
    -
    - -

    Get touch position XY for a touch point index (relative to screen size)

    - -

    Definition at line 112 of file Mouse.hpp.

    - -
    -
    - -

    ◆ GetTouchX()

    - -
    -
    - - - - - -
    - - - - - - - -
    static int raylib::Mouse::GetTouchX ()
    -
    -inlinestatic
    -
    - -

    Get touch position X for touch point 0 (relative to screen size)

    - -

    Definition at line 98 of file Mouse.hpp.

    - -
    -
    - -

    ◆ GetTouchY()

    - -
    -
    - - - - - -
    - - - - - - - -
    static int raylib::Mouse::GetTouchY ()
    -
    -inlinestatic
    -
    - -

    Get touch position Y for touch point 0 (relative to screen size)

    - -

    Definition at line 105 of file Mouse.hpp.

    - -
    -
    - -

    ◆ GetWheelMove()

    - -
    -
    - - - - - -
    - - - - - - - -
    static float raylib::Mouse::GetWheelMove ()
    -
    -inlinestatic
    -
    - -

    Definition at line 82 of file Mouse.hpp.

    - -
    -
    - -

    ◆ GetX()

    - -
    -
    - - - - - -
    - - - - - - - -
    static int raylib::Mouse::GetX ()
    -
    -inlinestatic
    -
    - -

    Definition at line 38 of file Mouse.hpp.

    - -

    Referenced by SetY().

    - -
    -
    - -

    ◆ GetY()

    - -
    -
    - - - - - -
    - - - - - - - -
    static int raylib::Mouse::GetY ()
    -
    -inlinestatic
    -
    - -

    Definition at line 42 of file Mouse.hpp.

    - -

    Referenced by SetX().

    - -
    -
    - -

    ◆ IsButtonDown()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::Mouse::IsButtonDown (int button)
    -
    -inlinestatic
    -
    - -

    Detect if a mouse button is being pressed.

    - -

    Definition at line 23 of file Mouse.hpp.

    - -
    -
    - -

    ◆ IsButtonPressed()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::Mouse::IsButtonPressed (int button)
    -
    -inlinestatic
    -
    - -

    Detect if a mouse button has been pressed once.

    - -

    Definition at line 16 of file Mouse.hpp.

    - -
    -
    - -

    ◆ IsButtonReleased()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::Mouse::IsButtonReleased (int button)
    -
    -inlinestatic
    -
    - -

    Detect if a mouse button has been released once.

    - -

    Definition at line 30 of file Mouse.hpp.

    - -
    -
    - -

    ◆ IsButtonUp()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::Mouse::IsButtonUp (int button)
    -
    -inlinestatic
    -
    - -

    Definition at line 34 of file Mouse.hpp.

    - -
    -
    - +

    ◆ SetCursor()

    @@ -499,274 +182,14 @@

    Definition at line 91 of file Mouse.hpp.

    -

    -
    - -

    ◆ SetOffset() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::Mouse::SetOffset (::Vector2 offset)
    -
    -inlinestatic
    -
    - -

    Definition at line 70 of file Mouse.hpp.

    - -
    -
    - -

    ◆ SetOffset() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static void raylib::Mouse::SetOffset (int offsetX = 0,
    int offsetY = 0 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 66 of file Mouse.hpp.

    - -
    -
    - -

    ◆ SetPosition() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::Mouse::SetPosition (::Vector2 position)
    -
    -inlinestatic
    -
    - -

    Definition at line 62 of file Mouse.hpp.

    - -
    -
    - -

    ◆ SetPosition() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static void raylib::Mouse::SetPosition (int x,
    int y 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 58 of file Mouse.hpp.

    - -
    -
    - -

    ◆ SetScale() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::Mouse::SetScale (::Vector2 scale)
    -
    -inlinestatic
    -
    - -

    Definition at line 78 of file Mouse.hpp.

    - -
    -
    - -

    ◆ SetScale() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static void raylib::Mouse::SetScale (float scaleX = 1.0f,
    float scaleY = 1.0f 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 74 of file Mouse.hpp.

    - -
    -
    - -

    ◆ SetX()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::Mouse::SetX (int x)
    -
    -inlinestatic
    -
    - -

    Definition at line 46 of file Mouse.hpp.

    - -

    References GetY().

    - -
    -
    - -

    ◆ SetY()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::Mouse::SetY (int y)
    -
    -inlinestatic
    -
    - -

    Definition at line 50 of file Mouse.hpp.

    - -

    References GetX().

    -
    -
    - + diff --git a/docs/classraylib_1_1_music-members.html b/docs/classraylib_1_1_music-members.html index 47d090e0..a08b729d 100644 --- a/docs/classraylib_1_1_music-members.html +++ b/docs/classraylib_1_1_music-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Music Member List
    +
    +
    raylib::Music Member List

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

    - - + + - + - + - + - + - - - + + + - - - - - - - - - + + + + + + + + + - + - - - - - + + + + + - +
    GetCtxData() constraylib::Musicinline
    GetCtxType() constraylib::Musicinline
    GetCtxData() constraylib::Musicinline
    GetCtxType() constraylib::Musicinline
    GetFrameCount() constraylib::Musicinline
    GetLooping() constraylib::Musicinline
    GetLooping() constraylib::Musicinline
    GetStream() constraylib::Musicinline
    GetTimeLength() constraylib::Musicinline
    GetTimeLength() constraylib::Musicinline
    GetTimePlayed() constraylib::Musicinline
    IsPlaying() constraylib::Musicinline
    IsPlaying() constraylib::Musicinline
    IsReady() constraylib::Musicinline
    Load(const std::string &fileName)raylib::Musicinline
    Load(const std::string &fileName)raylib::Musicinline
    Load(const std::string &fileType, unsigned char *data, int dataSize)raylib::Musicinline
    Music()raylib::Musicinline
    Music(const ::Music &music)raylib::Musicinline
    Music(const std::string &fileName)raylib::Musicinline
    Music()raylib::Musicinline
    Music(const ::Music &music) (defined in raylib::Music)raylib::Musicinline
    Music(const std::string &fileName)raylib::Musicinline
    Music(const std::string &fileType, unsigned char *data, int dataSize)raylib::Musicinline
    Music(const Music &)=deleteraylib::Music
    Music(Music &&other)raylib::Musicinline
    operator=(const ::Music &music)raylib::Musicinline
    operator=(const Music &)=deleteraylib::Music
    operator=(Music &&other) noexceptraylib::Musicinline
    Pause()raylib::Musicinline
    Play()raylib::Musicinline
    Resume()raylib::Musicinline
    Seek(float position)raylib::Musicinline
    Music(const Music &)=delete (defined in raylib::Music)raylib::Music
    Music(Music &&other) (defined in raylib::Music)raylib::Musicinline
    operator=(const ::Music &music) (defined in raylib::Music)raylib::Musicinline
    operator=(const Music &)=delete (defined in raylib::Music)raylib::Music
    operator=(Music &&other) noexcept (defined in raylib::Music)raylib::Musicinline
    Pause()raylib::Musicinline
    Play()raylib::Musicinline
    Resume()raylib::Musicinline
    Seek(float position)raylib::Musicinline
    SetCtxData(void *value)raylib::Musicinline
    SetCtxType(int value)raylib::Musicinline
    SetCtxType(int value)raylib::Musicinline
    SetFrameCount(unsigned int value)raylib::Musicinline
    SetLooping(bool value)raylib::Musicinline
    SetPitch(float pitch)raylib::Musicinline
    SetStream(::AudioStream value)raylib::Musicinline
    SetVolume(float volume)raylib::Musicinline
    Stop()raylib::Musicinline
    SetLooping(bool value)raylib::Musicinline
    SetPitch(float pitch)raylib::Musicinline
    SetStream(::AudioStream value)raylib::Musicinline
    SetVolume(float volume)raylib::Musicinline
    Stop()raylib::Musicinline
    Unload()raylib::Musicinline
    Update()raylib::Musicinline
    Update()raylib::Musicinline
    ~Music()raylib::Musicinline
    -

    - + diff --git a/docs/classraylib_1_1_music.html b/docs/classraylib_1_1_music.html index ee649d47..a7e4dd79 100644 --- a/docs/classraylib_1_1_music.html +++ b/docs/classraylib_1_1_music.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Music Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Music Class Reference
    +
    +
    raylib::Music Class Reference

    Music stream type (audio file streaming from memory) More...

    - -

    #include <Music.hpp>

    - - - + + - + - + @@ -112,14 +97,16 @@ - + - - + + - - - + + + @@ -129,45 +116,57 @@ - + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -180,89 +179,37 @@ - - - - + + + + - - - - - - - - + + + + + + + + - - - + + +

    +

    Public Member Functions

     Music ()
     Default Music constructor to build an empty Music object. More...
    Music ()
     Default Music constructor to build an empty Music object.
     
     Music (const ::Music &music)
    Music (const ::Music &music)
     
     Music (const Music &)=delete
    Music (const Music &)=delete
     
     Music (const std::string &fileName)
     Load music stream from file. More...
     Music (const std::string &fileType, unsigned char *data, int dataSize)
     Load music stream from memory. More...
     
     Music (Music &&other)
    Music (Music &&other)
     
     ~Music ()
     Unload music stream. More...
    ~Music ()
     Unload music stream.
     
    void * GetCtxData () const
     Retrieves the ctxData value for the object. More...
     
    void * GetCtxData () const
     Retrieves the ctxData value for the object. More...
     
    int GetCtxType () const
     Retrieves the ctxType value for the object. More...
     
    bool GetLooping () const
     Retrieves the looping value for the object. More...
     
    ::AudioStream GetStream () const
    ::AudioStream GetStream () const
     Retrieves the stream value for the object. More...
     
    float GetTimeLength () const
     Get music time length (in seconds) More...
    +float GetTimeLength () const
     Get music time length (in seconds)
     
    float GetTimePlayed () const
     Get current music time played (in seconds) More...
    +float GetTimePlayed () const
     Get current music time played (in seconds)
     
    bool IsPlaying () const
     Check if music is playing. More...
    +bool IsPlaying () const
     Check if music is playing.
     
    bool IsReady () const
     Retrieve whether or not the Music has been loaded. More...
     
    bool Load (const std::string &fileName)
     Load music stream from file. More...
    +bool Load (const std::string &fileName)
     Load music stream from file.
     
    bool Load (const std::string &fileType, unsigned char *data, int dataSize)
     Load music stream from memory. More...
    +bool Load (const std::string &fileType, unsigned char *data, int dataSize)
     Load music stream from memory.
     
    Musicoperator= (const ::Music &music)
     
    Musicoperator= (const Music &)=delete
     
    Musicoperator= (Music &&other) noexcept
     
    MusicPause ()
     Pause music playing. More...
     
    MusicPlay ()
     Start music playing. More...
     
    MusicResume ()
     Resume music playing. More...
     
    MusicSeek (float position)
     Seek music to a position (in seconds) More...
     
    +Musicoperator= (const ::Music &music)
     
    +Musicoperator= (const Music &)=delete
     
    +Musicoperator= (Music &&other) noexcept
     
    +MusicPause ()
     Pause music playing.
     
    +MusicPlay ()
     Start music playing.
     
    +MusicResume ()
     Resume music playing.
     
    +MusicSeek (float position)
     Seek music to a position (in seconds)
     
    void SetCtxData (void *value)
     Sets the ctxData value for the object. More...
     
    void SetLooping (bool value)
     Sets the looping value for the object. More...
     
    MusicSetPitch (float pitch)
     Set pitch for music. More...
     
    void SetStream (::AudioStream value)
    +MusicSetPitch (float pitch)
     Set pitch for music.
     
    void SetStream (::AudioStream value)
     Sets the stream value for the object. More...
     
    MusicSetVolume (float volume)
     Set volume for music. More...
     
    MusicStop ()
     Stop music playing. More...
     
    void Unload ()
     Unload music stream. More...
    +MusicSetVolume (float volume)
     Set volume for music.
     
    +MusicStop ()
     Stop music playing.
     
    +void Unload ()
     Unload music stream.
     
    MusicUpdate ()
     Updates buffers for music streaming. More...
     
    +MusicUpdate ()
     Updates buffers for music streaming.
     

    Detailed Description

    -

    Music stream type (audio file streaming from memory)

    +

    Music stream type (audio file streaming from memory)

    Definition at line 14 of file Music.hpp.

    Constructor & Destructor Documentation

    - -

    ◆ Music() [1/6]

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Music::Music ()
    -
    -inline
    -
    - -

    Default Music constructor to build an empty Music object.

    - -

    Definition at line 19 of file Music.hpp.

    - -
    -
    - -

    ◆ Music() [2/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Music::Music (const ::Music & music)
    -
    -inline
    -
    - -

    Definition at line 27 of file Music.hpp.

    - -
    -
    - -

    ◆ Music() [3/6]

    + +

    ◆ Music() [1/2]

    @@ -299,8 +246,8 @@

    -

    ◆ Music() [4/6]

    + +

    ◆ Music() [2/2]

    @@ -351,96 +298,11 @@

    References Load().

    -

    -
    - -

    ◆ Music() [5/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Music::Music (const Music)
    -
    -delete
    -
    - -
    -
    - -

    ◆ Music() [6/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Music::Music (Music && other)
    -
    -inline
    -
    - -

    Definition at line 55 of file Music.hpp.

    - -
    -
    - -

    ◆ ~Music()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Music::~Music ()
    -
    -inline
    -
    - -

    Unload music stream.

    - -

    Definition at line 68 of file Music.hpp.

    - -

    References Unload().

    -

    Member Function Documentation

    - -

    ◆ GetCtxData()

    + +

    ◆ GetCtxData()

    @@ -449,7 +311,7 @@

    - + @@ -469,7 +331,7 @@

    +

    ◆ GetCtxType()

    @@ -499,7 +361,7 @@

    +

    ◆ GetFrameCount()

    @@ -529,7 +391,7 @@

    +

    ◆ GetLooping()

    @@ -559,7 +421,7 @@

    +

    ◆ GetStream()

    @@ -569,7 +431,7 @@

    void * raylib::Music::GetCtxData void* raylib::Music::GetCtxData ( ) const
    - + @@ -589,8 +451,8 @@

    -

    ◆ GetTimeLength()

    + +

    ◆ IsReady()

    @@ -599,7 +461,7 @@

    ::AudioStream raylib::Music::GetStream ::AudioStream raylib::Music::GetStream ( ) const
    - + @@ -612,43 +474,17 @@

    -

    Get music time length (in seconds)

    - -

    Definition at line 183 of file Music.hpp.

    - - - - -

    ◆ GetTimePlayed()

    - -
    -
    -
    float raylib::Music::GetTimeLength bool raylib::Music::IsReady ( ) const
    - - - - -
    - - - - - - - -
    float raylib::Music::GetTimePlayed () const
    -
    -inline
    -

    +

    Retrieve whether or not the Music has been loaded.

    +
    Returns
    True or false depending on whether the Music has been loaded.
    -

    Get current music time played (in seconds)

    +

    Definition at line 215 of file Music.hpp.

    -

    Definition at line 190 of file Music.hpp.

    +

    Referenced by Load().

    - -

    ◆ IsPlaying()

    + +

    ◆ SetCtxData()

    - -

    ◆ IsReady()

    + +

    ◆ SetCtxType()

    @@ -686,10 +529,11 @@

    - + - - + + +
    bool raylib::Music::IsReady void raylib::Music::SetCtxType () constint value)
    @@ -699,17 +543,20 @@

    -

    Retrieve whether or not the Music has been loaded.

    -
    Returns
    True or false depending on whether the Music has been loaded.
    - -

    Definition at line 215 of file Music.hpp.

    +

    Sets the ctxType value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set ctxType to.
    +
    +
    -

    Referenced by Load().

    +

    Definition at line 75 of file Music.hpp.

    - -

    ◆ Load() [1/2]

    + +

    ◆ SetFrameCount()

    @@ -718,10 +565,10 @@

    - + - - + +
    bool raylib::Music::Load void raylib::Music::SetFrameCount (const std::string & fileName)unsigned int value)
    @@ -732,18 +579,20 @@

    -

    Load music stream from file.

    - -

    Definition at line 197 of file Music.hpp.

    - -

    References IsReady().

    +

    Sets the frameCount value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set frameCount to.
    +
    +
    -

    Referenced by Music().

    +

    Definition at line 73 of file Music.hpp.

    - -

    ◆ Load() [2/2]

    + +

    ◆ SetLooping()

    - -

    ◆ operator=() [1/3]

    + +

    ◆ SetStream()

    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Music & raylib::Music::operator= (const Music)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Music & raylib::Music::operator= (Music && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 85 of file Music.hpp.

    - -

    References Unload().

    - -
    -
    - -

    ◆ Pause()

    - -
    -
    - - - - - -
    - - - - - - - -
    Music & raylib::Music::Pause ()
    -
    -inline
    -
    - -

    Pause music playing.

    - -

    Definition at line 136 of file Music.hpp.

    - -
    -
    - -

    ◆ Play()

    - -
    -
    - - - - - -
    - - - - - - - -
    Music & raylib::Music::Play ()
    -
    -inline
    -
    - -

    Start music playing.

    - -

    Definition at line 112 of file Music.hpp.

    - -
    -
    - -

    ◆ Resume()

    - -
    -
    - - - - - -
    - - - - - - - -
    Music & raylib::Music::Resume ()
    -
    -inline
    -
    - -

    Resume music playing.

    - -

    Definition at line 144 of file Music.hpp.

    - -
    -
    - -

    ◆ Seek()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Music & raylib::Music::Seek (float position)
    -
    -inline
    -
    - -

    Seek music to a position (in seconds)

    - -

    Definition at line 152 of file Music.hpp.

    - -
    -
    - -

    ◆ SetCtxData()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Music::SetCtxData (void * value)
    -
    -inline
    -
    - -

    Sets the ctxData value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set ctxData to.
    -
    -
    - -

    Definition at line 76 of file Music.hpp.

    - -
    -
    - -

    ◆ SetCtxType()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Music::SetCtxType (int value)
    -
    -inline
    -
    - -

    Sets the ctxType value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set ctxType to.
    -
    -
    - -

    Definition at line 75 of file Music.hpp.

    - -
    -
    - -

    ◆ SetFrameCount()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Music::SetFrameCount (unsigned int value)
    -
    -inline
    -
    - -

    Sets the frameCount value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set frameCount to.
    -
    -
    - -

    Definition at line 73 of file Music.hpp.

    - -
    -
    - -

    ◆ SetLooping()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Music::SetLooping (bool value)
    -
    -inline
    -
    - -

    Sets the looping value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set looping to.
    -
    -
    - -

    Definition at line 74 of file Music.hpp.

    - -
    -
    - -

    ◆ SetPitch()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Music & raylib::Music::SetPitch (float pitch)
    -
    -inline
    -
    - -

    Set pitch for music.

    - -

    Definition at line 175 of file Music.hpp.

    - -
    -
    - -

    ◆ SetStream()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Music::SetStream (::AudioStream value)
    -
    -inline
    -
    - -

    Sets the stream value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set stream to.
    -
    -
    - -

    Definition at line 72 of file Music.hpp.

    - -
    -
    - -

    ◆ SetVolume()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Music & raylib::Music::SetVolume (float volume)
    -
    -inline
    -
    - -

    Set volume for music.

    - -

    Definition at line 167 of file Music.hpp.

    - -
    -
    - -

    ◆ Stop()

    - -
    -
    - - - - - -
    - - - - - - - -
    Music & raylib::Music::Stop ()
    -
    -inline
    -
    - -

    Stop music playing.

    - -

    Definition at line 128 of file Music.hpp.

    - -
    -
    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::Music::Unload ()
    -
    -inline
    -
    - -

    Unload music stream.

    - -

    Definition at line 105 of file Music.hpp.

    - -

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

    - -
    -
    - -

    ◆ Update()

    - -
    -
    - - - - - -
    - - - - - - - -
    Music & raylib::Music::Update ()
    -
    -inline
    -
    - -

    Updates buffers for music streaming.

    - -

    Definition at line 120 of file Music.hpp.

    +

    Sets the stream value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set stream to.
    +
    +
    + +

    Definition at line 72 of file Music.hpp.

    -
    - + diff --git a/docs/classraylib_1_1_physics-members.html b/docs/classraylib_1_1_physics-members.html index 21d0f804..4bd7b273 100644 --- a/docs/classraylib_1_1_physics-members.html +++ b/docs/classraylib_1_1_physics-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Physics Member List
    +
    +
    raylib::Physics Member List

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

    - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    AddForce(PhysicsBody body, Vector2 force)raylib::Physicsinline
    AddTorque(PhysicsBody body, float amount)raylib::Physicsinline
    Close()raylib::Physicsinline
    CreateBodyCircle(Vector2 pos, float radius, float density)raylib::Physicsinline
    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() 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
    Physics()raylib::Physicsinline
    Physics(float gravityY)raylib::Physicsinline
    Physics(float gravityX, float gravityY)raylib::Physicsinline
    Reset()raylib::Physicsinline
    SetBodyRotation(PhysicsBody body, float radians)raylib::Physicsinline
    SetGravity(float x, float y)raylib::Physicsinline
    SetTimeStep(double delta)raylib::Physicsinline
    Shatter(PhysicsBody body, Vector2 position, float force)raylib::Physicsinline
    Update()raylib::Physicsinline
    ~Physics()raylib::Physicsinline
    AddForce(PhysicsBody body, Vector2 force) (defined in raylib::Physics)raylib::Physicsinline
    AddTorque(PhysicsBody body, float amount) (defined in raylib::Physics)raylib::Physicsinline
    Close() (defined in raylib::Physics)raylib::Physicsinline
    CreateBodyCircle(Vector2 pos, float radius, float density) (defined in raylib::Physics)raylib::Physicsinline
    CreateBodyPolygon(Vector2 pos, float radius, int sides, float density) (defined in raylib::Physics)raylib::Physicsinline
    CreateBodyRectangle(Vector2 pos, float width, float height, float density) (defined in raylib::Physics)raylib::Physicsinline
    DestroyBody(PhysicsBody body) (defined in raylib::Physics)raylib::Physicsinline
    GetBodiesCount() const (defined in raylib::Physics)raylib::Physicsinline
    GetBody(int index) const (defined in raylib::Physics)raylib::Physicsinline
    GetShapeType(int index) const (defined in raylib::Physics)raylib::Physicsinline
    GetShapeVertex(PhysicsBody body, int vertex) const (defined in raylib::Physics)raylib::Physicsinline
    GetShapeVerticesCount(int index) const (defined in raylib::Physics)raylib::Physicsinline
    Init() (defined in raylib::Physics)raylib::Physicsinline
    Physics() (defined in raylib::Physics)raylib::Physicsinline
    Physics(float gravityY) (defined in raylib::Physics)raylib::Physicsinline
    Physics(float gravityX, float gravityY) (defined in raylib::Physics)raylib::Physicsinline
    Reset() (defined in raylib::Physics)raylib::Physicsinline
    SetBodyRotation(PhysicsBody body, float radians) (defined in raylib::Physics)raylib::Physicsinline
    SetGravity(float x, float y) (defined in raylib::Physics)raylib::Physicsinline
    SetTimeStep(double delta) (defined in raylib::Physics)raylib::Physicsinline
    Shatter(PhysicsBody body, Vector2 position, float force) (defined in raylib::Physics)raylib::Physicsinline
    Update() (defined in raylib::Physics)raylib::Physicsinline
    ~Physics() (defined in raylib::Physics)raylib::Physicsinline
    -
    - + diff --git a/docs/classraylib_1_1_physics.html b/docs/classraylib_1_1_physics.html index 7612f666..b0fcc393 100644 --- a/docs/classraylib_1_1_physics.html +++ b/docs/classraylib_1_1_physics.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Physics Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Physics Class Reference
    +
    +
    raylib::Physics Class Reference

    2D Physics library for videogames More...

    - -

    #include <Physics.hpp>

    - - - - + - + - - - - - - - - - + + + + + + + - + - + - - - + + + - + - + - + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + +

    +

    Public Member Functions

     Physics ()
     
     Physics (float gravityX, float gravityY)
    Physics (float gravityX, float gravityY)
     
     Physics (float gravityY)
    Physics (float gravityY)
     
     ~Physics ()
     
    PhysicsAddForce (PhysicsBody body, Vector2 force)
     
    PhysicsAddTorque (PhysicsBody body, float amount)
     
    PhysicsClose ()
     
    PhysicsBody CreateBodyCircle (Vector2 pos, float radius, float density)
    +PhysicsAddForce (PhysicsBody body, Vector2 force)
     
    +PhysicsAddTorque (PhysicsBody body, float amount)
     
    +PhysicsClose ()
     
    +PhysicsBody CreateBodyCircle (Vector2 pos, float radius, float density)
     
    PhysicsBody CreateBodyPolygon (Vector2 pos, float radius, int sides, float density)
    +PhysicsBody CreateBodyPolygon (Vector2 pos, float radius, int sides, float density)
     
    PhysicsBody CreateBodyRectangle (Vector2 pos, float width, float height, float density)
    +PhysicsBody CreateBodyRectangle (Vector2 pos, float width, float height, float density)
     
    PhysicsDestroyBody (PhysicsBody body)
     
    int GetBodiesCount () const
    +PhysicsDestroyBody (PhysicsBody body)
     
    +int GetBodiesCount () const
     
    PhysicsBody GetBody (int index) const
    +PhysicsBody GetBody (int index) const
     
    int GetShapeType (int index) const
    +int GetShapeType (int index) const
     
    Vector2 GetShapeVertex (PhysicsBody body, int vertex) const
    +Vector2 GetShapeVertex (PhysicsBody body, int vertex) const
     
    int GetShapeVerticesCount (int index) const
    +int GetShapeVerticesCount (int index) const
     
    PhysicsInit ()
     
    PhysicsReset ()
     
    PhysicsSetBodyRotation (PhysicsBody body, float radians)
     
    PhysicsSetGravity (float x, float y)
     
    PhysicsSetTimeStep (double delta)
     
    PhysicsShatter (PhysicsBody body, Vector2 position, float force)
     
    PhysicsUpdate ()
     
    +PhysicsInit ()
     
    +PhysicsReset ()
     
    +PhysicsSetBodyRotation (PhysicsBody body, float radians)
     
    +PhysicsSetGravity (float x, float y)
     
    +PhysicsSetTimeStep (double delta)
     
    +PhysicsShatter (PhysicsBody body, Vector2 position, float force)
     
    +PhysicsUpdate ()
     

    Detailed Description

    -

    2D Physics library for videogames

    +

    2D Physics library for videogames

    Definition at line 12 of file Physics.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Physics() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Physics::Physics ()
    -
    -inline
    -
    - -

    Definition at line 14 of file Physics.hpp.

    - -

    References Init().

    - -
    -
    - -

    ◆ Physics() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Physics::Physics (float gravityY)
    -
    -inline
    -
    - -

    Definition at line 18 of file Physics.hpp.

    - -

    References Init(), and SetGravity().

    - -
    -
    - -

    ◆ Physics() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Physics::Physics (float gravityX,
    float gravityY 
    )
    -
    -inline
    -
    - -

    Definition at line 23 of file Physics.hpp.

    - -

    References Init(), and SetGravity().

    - -
    -
    - -

    ◆ ~Physics()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Physics::~Physics ()
    -
    -inline
    -
    - -

    Definition at line 28 of file Physics.hpp.

    - -

    References Close().

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ AddForce()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Physics & raylib::Physics::AddForce (PhysicsBody body,
    Vector2 force 
    )
    -
    -inline
    -
    - -

    Definition at line 79 of file Physics.hpp.

    - -
    -
    - -

    ◆ AddTorque()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Physics & raylib::Physics::AddTorque (PhysicsBody body,
    float amount 
    )
    -
    -inline
    -
    - -

    Definition at line 84 of file Physics.hpp.

    - -
    -
    - -

    ◆ Close()

    - -
    -
    - - - - - -
    - - - - - - - -
    Physics & raylib::Physics::Close ()
    -
    -inline
    -
    - -

    Definition at line 47 of file Physics.hpp.

    - -

    Referenced by ~Physics().

    - -
    -
    - -

    ◆ CreateBodyCircle()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    PhysicsBody raylib::Physics::CreateBodyCircle (Vector2 pos,
    float radius,
    float density 
    )
    -
    -inline
    -
    - -

    Definition at line 62 of file Physics.hpp.

    - -
    -
    - -

    ◆ CreateBodyPolygon()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    PhysicsBody raylib::Physics::CreateBodyPolygon (Vector2 pos,
    float radius,
    int sides,
    float density 
    )
    -
    -inline
    -
    - -

    Definition at line 70 of file Physics.hpp.

    - -
    -
    - -

    ◆ CreateBodyRectangle()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    PhysicsBody raylib::Physics::CreateBodyRectangle (Vector2 pos,
    float width,
    float height,
    float density 
    )
    -
    -inline
    -
    - -

    Definition at line 66 of file Physics.hpp.

    - -
    -
    - -

    ◆ DestroyBody()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Physics & raylib::Physics::DestroyBody (PhysicsBody body)
    -
    -inline
    -
    - -

    Definition at line 74 of file Physics.hpp.

    - -
    -
    - -

    ◆ GetBodiesCount()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Physics::GetBodiesCount () const
    -
    -inline
    -
    - -

    Definition at line 99 of file Physics.hpp.

    - -
    -
    - -

    ◆ GetBody()

    - -
    -
    - - - - - -
    - - - - - - - - -
    PhysicsBody raylib::Physics::GetBody (int index) const
    -
    -inline
    -
    - -

    Definition at line 103 of file Physics.hpp.

    - -
    -
    - -

    ◆ GetShapeType()

    - -
    -
    - - - - - -
    - - - - - - - - -
    int raylib::Physics::GetShapeType (int index) const
    -
    -inline
    -
    - -

    Definition at line 107 of file Physics.hpp.

    - -
    -
    - -

    ◆ GetShapeVertex()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector2 raylib::Physics::GetShapeVertex (PhysicsBody body,
    int vertex 
    ) const
    -
    -inline
    -
    - -

    Definition at line 115 of file Physics.hpp.

    - -
    -
    - -

    ◆ GetShapeVerticesCount()

    - -
    -
    - - - - - -
    - - - - - - - - -
    int raylib::Physics::GetShapeVerticesCount (int index) const
    -
    -inline
    -
    - -

    Definition at line 111 of file Physics.hpp.

    - -
    -
    - -

    ◆ Init()

    - -
    -
    - - - - - -
    - - - - - - - -
    Physics & raylib::Physics::Init ()
    -
    -inline
    -
    - -

    Definition at line 32 of file Physics.hpp.

    - -

    Referenced by Physics().

    - -
    -
    - -

    ◆ Reset()

    - -
    -
    - - - - - -
    - - - - - - - -
    Physics & raylib::Physics::Reset ()
    -
    -inline
    -
    - -

    Definition at line 42 of file Physics.hpp.

    - -
    -
    - -

    ◆ SetBodyRotation()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Physics & raylib::Physics::SetBodyRotation (PhysicsBody body,
    float radians 
    )
    -
    -inline
    -
    - -

    Definition at line 94 of file Physics.hpp.

    - -
    -
    - -

    ◆ SetGravity()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Physics & raylib::Physics::SetGravity (float x,
    float y 
    )
    -
    -inline
    -
    - -

    Definition at line 57 of file Physics.hpp.

    - -

    Referenced by Physics().

    - -
    -
    - -

    ◆ SetTimeStep()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Physics & raylib::Physics::SetTimeStep (double delta)
    -
    -inline
    -
    - -

    Definition at line 52 of file Physics.hpp.

    - -
    -
    - -

    ◆ Shatter()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Physics & raylib::Physics::Shatter (PhysicsBody body,
    Vector2 position,
    float force 
    )
    -
    -inline
    -
    - -

    Definition at line 89 of file Physics.hpp.

    - -
    -
    - -

    ◆ Update()

    - -
    -
    - - - - - -
    - - - - - - - -
    Physics & raylib::Physics::Update ()
    -
    -inline
    -
    - -

    Definition at line 37 of file Physics.hpp.

    - -
    -
    -
    -
    +

    - + diff --git a/docs/classraylib_1_1_ray-members.html b/docs/classraylib_1_1_ray-members.html index 1116cacf..3a6c8d3d 100644 --- a/docs/classraylib_1_1_ray-members.html +++ b/docs/classraylib_1_1_ray-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Ray Member List
    +
    +
    raylib::Ray Member List

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

    - - - + + + - + - + - - - - - + + + + + - +
    CheckCollision(const ::BoundingBox &box) constraylib::Rayinline
    CheckCollisionSphere(::Vector3 center, float radius) constraylib::Rayinline
    Draw(::Color color)raylib::Rayinline
    GetCollision(::Vector3 center, float radius) constraylib::Rayinline
    CheckCollisionSphere(::Vector3 center, float radius) constraylib::Rayinline
    Draw(::Color color)raylib::Rayinline
    GetCollision(::Vector3 center, float radius) constraylib::Rayinline
    GetCollision(const ::Model &model) constraylib::Rayinline
    GetCollision(const ::Mesh &mesh, const ::Matrix &transform) constraylib::Rayinline
    GetCollision(const ::Mesh &mesh, const ::Matrix &transform) constraylib::Rayinline
    GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) constraylib::Rayinline
    GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) constraylib::Rayinline
    GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) constraylib::Rayinline
    GetDirection() constraylib::Rayinline
    GetPosition() constraylib::Rayinline
    operator=(const ::Ray &ray)raylib::Rayinline
    Ray(const ::Ray &ray)raylib::Rayinline
    Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})raylib::Rayinline
    Ray(::Vector2 mousePosition, ::Camera camera)raylib::Rayinline
    GetPosition() constraylib::Rayinline
    operator=(const ::Ray &ray) (defined in raylib::Ray)raylib::Rayinline
    Ray(const ::Ray &ray) (defined in raylib::Ray)raylib::Rayinline
    Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f}) (defined in raylib::Ray)raylib::Rayinline
    Ray(::Vector2 mousePosition, ::Camera camera) (defined in raylib::Ray)raylib::Rayinline
    SetDirection(::Vector3 value)raylib::Rayinline
    SetPosition(::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 1f32ef8f..1b6f29aa 100644 --- a/docs/classraylib_1_1_ray.html +++ b/docs/classraylib_1_1_ray.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Ray Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Ray Class Reference
    +
    +
    raylib::Ray Class Reference

    Ray type (useful for raycast) More...

    - -

    #include <Ray.hpp>

    - - + - + - + - - + + - - + + - - - - - + + + + + - - + + - - + + - - + + - - + + - + - + - - - + + + - +

    +

    Public Member Functions

     Ray (::Vector2 mousePosition, ::Camera camera)
    Ray (::Vector2 mousePosition, ::Camera camera)
     
     Ray (::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})
    Ray (::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})
     
     Ray (const ::Ray &ray)
    Ray (const ::Ray &ray)
     
    bool CheckCollision (const ::BoundingBox &box) const
     Detect collision between ray and box. More...
    +bool CheckCollision (const ::BoundingBox &box) const
     Detect collision between ray and box.
     
    bool CheckCollisionSphere (::Vector3 center, float radius) const
     Detect collision between ray and sphere. More...
    +bool CheckCollisionSphere (::Vector3 center, float radius) const
     Detect collision between ray and sphere.
     
    RayDraw (::Color color)
     Draw a ray line. More...
     
    RayCollision GetCollision (::Vector3 center, float radius) const
     Get collision information between ray and sphere. More...
    +RayDraw (::Color color)
     Draw a ray line.
     
    +RayCollision GetCollision (::Vector3 center, float radius) const
     Get collision information between ray and sphere.
     
    RayCollision GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
     Get collision info between ray and triangle. More...
    +RayCollision GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
     Get collision info between ray and triangle.
     
    RayCollision GetCollision (const ::Mesh &mesh, const ::Matrix &transform) const
     Get collision information between ray and mesh. More...
    +RayCollision GetCollision (const ::Mesh &mesh, const ::Matrix &transform) const
     Get collision information between ray and mesh.
     
    RayCollision GetCollision (const ::Model &model) const
     Get collision info between ray and model. More...
    +RayCollision GetCollision (const ::Model &model) const
     Get collision info between ray and model.
     
    RayCollision GetCollision (Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
     Get collision info between ray and quad. More...
    +RayCollision GetCollision (Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const
     Get collision info between ray and quad.
     
    ::Vector3 GetDirection () const
    ::Vector3 GetDirection () const
     Retrieves the direction value for the object. More...
     
    ::Vector3 GetPosition () const
    ::Vector3 GetPosition () const
     Retrieves the position value for the object. More...
     
    Rayoperator= (const ::Ray &ray)
     
    void SetDirection (::Vector3 value)
    +Rayoperator= (const ::Ray &ray)
     
    void SetDirection (::Vector3 value)
     Sets the direction value for the object. More...
     
    void SetPosition (::Vector3 value)
    void SetPosition (::Vector3 value)
     Sets the position value for the object. More...
     

    Detailed Description

    -

    Ray type (useful for raycast)

    +

    Ray type (useful for raycast)

    Definition at line 12 of file Ray.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Ray() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Ray::Ray (const ::Ray & ray)
    -
    -inline
    -
    - -

    Definition at line 14 of file Ray.hpp.

    - -
    -
    - -

    ◆ Ray() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Ray::Ray (::Vector3 position,
    ::Vector3 direction = {0.0f, 0.0f, 0.0f} 
    )
    -
    -inline
    -
    - -

    Definition at line 18 of file Ray.hpp.

    - -
    -
    - -

    ◆ Ray() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Ray::Ray (::Vector2 mousePosition,
    ::Camera camera 
    )
    -
    -inline
    -
    - -

    Definition at line 22 of file Ray.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ CheckCollision()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Ray::CheckCollision (const ::BoundingBox & box) const
    -
    -inline
    -
    - -

    Detect collision between ray and box.

    - -

    Definition at line 59 of file Ray.hpp.

    - -
    -
    - -

    ◆ CheckCollisionSphere()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool raylib::Ray::CheckCollisionSphere (::Vector3 center,
    float radius 
    ) const
    -
    -inline
    -
    - -

    Detect collision between ray and sphere.

    - -

    Definition at line 45 of file Ray.hpp.

    - -
    -
    - -

    ◆ Draw()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Ray & raylib::Ray::Draw (::Color color)
    -
    -inline
    -
    - -

    Draw a ray line.

    - -

    Definition at line 37 of file Ray.hpp.

    - -
    -
    - -

    ◆ GetCollision() [1/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    RayCollision raylib::Ray::GetCollision (::Vector3 center,
    float radius 
    ) const
    -
    -inline
    -
    - -

    Get collision information between ray and sphere.

    - -

    Definition at line 52 of file Ray.hpp.

    - -
    -
    - -

    ◆ GetCollision() [2/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    RayCollision raylib::Ray::GetCollision (::Vector3 p1,
    ::Vector3 p2,
    ::Vector3 p3 
    ) const
    -
    -inline
    -
    - -

    Get collision info between ray and triangle.

    - -

    Definition at line 80 of file Ray.hpp.

    - -
    -
    - -

    ◆ GetCollision() [3/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    RayCollision raylib::Ray::GetCollision (const ::Mesh & mesh,
    const ::Matrix & transform 
    ) const
    -
    -inline
    -
    - -

    Get collision information between ray and mesh.

    - -

    Definition at line 73 of file Ray.hpp.

    - -
    -
    - -

    ◆ GetCollision() [4/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    RayCollision raylib::Ray::GetCollision (const ::Model & model) const
    -
    -inline
    -
    - -

    Get collision info between ray and model.

    - -

    Definition at line 66 of file Ray.hpp.

    - -
    -
    - -

    ◆ GetCollision() [5/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    RayCollision raylib::Ray::GetCollision (Vector3 p1,
    Vector3 p2,
    Vector3 p3,
    Vector3 p4 
    ) const
    -
    -inline
    -
    - -

    Get collision info between ray and quad.

    - -

    Definition at line 87 of file Ray.hpp.

    - -
    -
    - +

    Member Function Documentation

    +

    ◆ GetDirection()

    @@ -572,7 +153,7 @@

    - + @@ -592,7 +173,7 @@

    +

    ◆ GetPosition()

    @@ -602,7 +183,7 @@

    ::Vector3 raylib::Ray::GetDirection ::Vector3 raylib::Ray::GetDirection ( ) const
    - + @@ -622,35 +203,7 @@

    -

    ◆ operator=()

    - -
    -
    -
    ::Vector3 raylib::Ray::GetPosition ::Vector3 raylib::Ray::GetPosition ( ) const
    - - - - -
    - - - - - - - - -
    Ray & raylib::Ray::operator= (const ::Rayray)
    -
    -inline
    -

    - -

    Definition at line 26 of file Ray.hpp.

    - -
    -
    - +

    ◆ SetDirection()

    @@ -662,7 +215,7 @@

    void raylib::Ray::SetDirection ( - ::Vector3  + ::Vector3  value) @@ -686,7 +239,7 @@

    +

    ◆ SetPosition()

    @@ -698,7 +251,7 @@

    void raylib::Ray::SetPosition ( - ::Vector3  + ::Vector3  value) @@ -723,13 +276,11 @@

    - -

    + diff --git a/docs/classraylib_1_1_ray_collision-members.html b/docs/classraylib_1_1_ray_collision-members.html index d8b8a0d7..cfb87f9b 100644 --- a/docs/classraylib_1_1_ray_collision-members.html +++ b/docs/classraylib_1_1_ray_collision-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::RayCollision Member List
    +
    +
    raylib::RayCollision Member List

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

    - + - - - - - + + + + + - + - + - +
    GetDistance() constraylib::RayCollisioninline
    GetHit() constraylib::RayCollisioninline
    GetHit() constraylib::RayCollisioninline
    GetNormal() constraylib::RayCollisioninline
    GetPosition() constraylib::RayCollisioninline
    operator=(const ::RayCollision &ray)raylib::RayCollisioninline
    RayCollision(const ::RayCollision &ray)raylib::RayCollisioninline
    RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)raylib::RayCollisioninline
    RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)raylib::RayCollisioninline
    GetPosition() constraylib::RayCollisioninline
    operator=(const ::RayCollision &ray) (defined in raylib::RayCollision)raylib::RayCollisioninline
    RayCollision(const ::RayCollision &ray) (defined in raylib::RayCollision)raylib::RayCollisioninline
    RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal) (defined in raylib::RayCollision)raylib::RayCollisioninline
    RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)raylib::RayCollisioninline
    RayCollision(const ::Ray &ray, const ::Model &model)raylib::RayCollisioninline
    RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)raylib::RayCollisioninline
    RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)raylib::RayCollisioninline
    SetDistance(float value)raylib::RayCollisioninline
    SetHit(bool value)raylib::RayCollisioninline
    SetHit(bool value)raylib::RayCollisioninline
    SetNormal(::Vector3 value)raylib::RayCollisioninline
    SetPosition(::Vector3 value)raylib::RayCollisioninline
    SetPosition(::Vector3 value)raylib::RayCollisioninline
    -

    - + diff --git a/docs/classraylib_1_1_ray_collision.html b/docs/classraylib_1_1_ray_collision.html index 83affcfd..31c19b77 100644 --- a/docs/classraylib_1_1_ray_collision.html +++ b/docs/classraylib_1_1_ray_collision.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::RayCollision Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::RayCollision Class Reference
    +
    +
    raylib::RayCollision Class Reference

    Raycast hit information. More...

    - -

    #include <RayCollision.hpp>

    - - + - - + + - - + + - - + + - + @@ -118,250 +105,34 @@ - + - + - - + + - + - +

    +

    Public Member Functions

     RayCollision (bool hit, float distance, ::Vector3 point, ::Vector3 normal)
    RayCollision (bool hit, float distance, ::Vector3 point, ::Vector3 normal)
     
     RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
     Get collision info between ray and triangle. More...
    RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
     Get collision info between ray and triangle.
     
     RayCollision (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
     Get collision info between ray and mesh. More...
    RayCollision (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
     Get collision info between ray and mesh.
     
     RayCollision (const ::Ray &ray, const ::Model &model)
     Get collision info between ray and model. More...
    RayCollision (const ::Ray &ray, const ::Model &model)
     Get collision info between ray and model.
     
     RayCollision (const ::RayCollision &ray)
    RayCollision (const ::RayCollision &ray)
     
    float GetDistance () const
     Retrieves the distance value for the object. More...
    bool GetHit () const
     Retrieves the hit value for the object. More...
     
    ::Vector3 GetNormal () const
    ::Vector3 GetNormal () const
     Retrieves the normal value for the object. More...
     
    ::Vector3 GetPosition () const
    ::Vector3 GetPosition () const
     Retrieves the point value for the object. More...
     
    RayCollisionoperator= (const ::RayCollision &ray)
     
    +RayCollisionoperator= (const ::RayCollision &ray)
     
    void SetDistance (float value)
     Sets the distance value for the object. More...
     
    void SetHit (bool value)
     Sets the hit value for the object. More...
     
    void SetNormal (::Vector3 value)
    void SetNormal (::Vector3 value)
     Sets the normal value for the object. More...
     
    void SetPosition (::Vector3 value)
    void SetPosition (::Vector3 value)
     Sets the point value for the object. More...
     

    Detailed Description

    -

    Raycast hit information.

    +

    Raycast hit information.

    Definition at line 11 of file RayCollision.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ RayCollision() [1/5]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::RayCollision::RayCollision (const ::RayCollision & ray)
    -
    -inline
    -
    - -

    Definition at line 13 of file RayCollision.hpp.

    - -
    -
    - -

    ◆ RayCollision() [2/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::RayCollision::RayCollision (bool hit,
    float distance,
    ::Vector3 point,
    ::Vector3 normal 
    )
    -
    -inline
    -
    - -

    Definition at line 17 of file RayCollision.hpp.

    - -
    -
    - -

    ◆ RayCollision() [3/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::RayCollision::RayCollision (const ::Ray & ray,
    const ::Mesh & mesh,
    const ::Matrix & transform 
    )
    -
    -inline
    -
    - -

    Get collision info between ray and mesh.

    - -

    Definition at line 25 of file RayCollision.hpp.

    - -
    -
    - -

    ◆ RayCollision() [4/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::RayCollision::RayCollision (const ::Ray & ray,
    const ::Model & model 
    )
    -
    -inline
    -
    - -

    Get collision info between ray and model.

    - -

    Definition at line 32 of file RayCollision.hpp.

    - -
    -
    - -

    ◆ RayCollision() [5/5]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::RayCollision::RayCollision (const ::Ray & ray,
    ::Vector3 p1,
    ::Vector3 p2,
    ::Vector3 p3 
    )
    -
    -inline
    -
    - -

    Get collision info between ray and triangle.

    - -

    Definition at line 39 of file RayCollision.hpp.

    - -
    -
    -

    Member Function Documentation

    - +

    Member Function Documentation

    +

    ◆ GetDistance()

    @@ -391,7 +162,7 @@

    +

    ◆ GetHit()

    @@ -421,7 +192,7 @@

    +

    ◆ GetNormal()

    @@ -431,7 +202,7 @@

    - + @@ -451,7 +222,7 @@

    +

    ◆ GetPosition()

    @@ -461,7 +232,7 @@

    ::Vector3 raylib::RayCollision::GetNormal ::Vector3 raylib::RayCollision::GetNormal ( ) const
    - + @@ -481,35 +252,7 @@

    -

    ◆ operator=()

    - -
    -
    -
    ::Vector3 raylib::RayCollision::GetPosition ::Vector3 raylib::RayCollision::GetPosition ( ) const
    - - - - -
    - - - - - - - - -
    RayCollision & raylib::RayCollision::operator= (const ::RayCollisionray)
    -
    -inline
    -

    - -

    Definition at line 43 of file RayCollision.hpp.

    - -
    -

    - +

    ◆ SetDistance()

    @@ -545,7 +288,7 @@

    +

    ◆ SetHit()

    @@ -581,7 +324,7 @@

    +

    ◆ SetNormal()

    @@ -593,7 +336,7 @@

    void raylib::RayCollision::SetNormal ( - ::Vector3  + ::Vector3  value) @@ -617,7 +360,7 @@

    +

    ◆ SetPosition()

    @@ -629,7 +372,7 @@

    void raylib::RayCollision::SetPosition ( - ::Vector3  + ::Vector3  value) @@ -654,13 +397,11 @@

    - -

    + diff --git a/docs/classraylib_1_1_raylib_exception-members.html b/docs/classraylib_1_1_raylib_exception-members.html index d687d9a5..389845ae 100644 --- a/docs/classraylib_1_1_raylib_exception-members.html +++ b/docs/classraylib_1_1_raylib_exception-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::RaylibException Member List
    +
    +
    raylib::RaylibException Member List

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

    - +
    RaylibException(std::string message)raylib::RaylibExceptioninline
    TraceLog(int logLevel=LOG_ERROR)raylib::RaylibExceptioninline
    TraceLog(int logLevel=LOG_ERROR)raylib::RaylibExceptioninline
    -

    - + diff --git a/docs/classraylib_1_1_raylib_exception.html b/docs/classraylib_1_1_raylib_exception.html index 0166d5da..e9ece749 100644 --- a/docs/classraylib_1_1_raylib_exception.html +++ b/docs/classraylib_1_1_raylib_exception.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::RaylibException Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::RaylibException Class Reference
    +
    +
    raylib::RaylibException Class Reference

    Exception used for most raylib-related exceptions. More...

    - -

    #include <RaylibException.hpp>

    - @@ -107,11 +89,11 @@

    +

    Public Member Functions

     RaylibException (std::string message) throw ()
     Construct a runtime exception with the given message. More...
     

    Detailed Description

    -

    Exception used for most raylib-related exceptions.

    +

    Exception used for most raylib-related exceptions.

    Definition at line 13 of file RaylibException.hpp.

    Constructor & Destructor Documentation

    - +

    ◆ RaylibException()

    @@ -154,7 +136,7 @@

    Member Function Documentation

    - +

    ◆ TraceLog()

    @@ -188,20 +170,14 @@

    Definition at line 29 of file RaylibException.hpp.

    -

    References TraceLog().

    - -

    Referenced by TraceLog().

    -

    -
    - + diff --git a/docs/classraylib_1_1_rectangle-members.html b/docs/classraylib_1_1_rectangle-members.html index fd0cb48c..fdf59ce0 100644 --- a/docs/classraylib_1_1_rectangle-members.html +++ b/docs/classraylib_1_1_rectangle-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Rectangle Member List
    +
    +
    raylib::Rectangle Member List

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

    - + - - - - - - - - - + + + + + + + + + - - - + + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - + + + + + - + - +
    CheckCollision(::Rectangle rec2) constraylib::Rectangleinline
    CheckCollision(::Vector2 point) constraylib::Rectangleinline
    CheckCollision(::Vector2 point) constraylib::Rectangleinline
    CheckCollision(::Vector2 center, float radius)raylib::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
    DrawGradientH(::Color color1, ::Color color2)raylib::Rectangleinline
    DrawGradientV(::Color color1, ::Color color2)raylib::Rectangleinline
    DrawLines(::Color color)raylib::Rectangleinline
    DrawLines(::Color color, float lineThick)raylib::Rectangleinline
    DrawRounded(float roundness, int segments, ::Color color)raylib::Rectangleinline
    DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color)raylib::Rectangleinline
    Draw(::Color color)raylib::Rectangleinline
    Draw(::Vector2 origin, float rotation, ::Color color) (defined in raylib::Rectangle)raylib::Rectangleinline
    DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) (defined in raylib::Rectangle)raylib::Rectangleinline
    DrawGradientH(::Color color1, ::Color color2) (defined in raylib::Rectangle)raylib::Rectangleinline
    DrawGradientV(::Color color1, ::Color color2) (defined in raylib::Rectangle)raylib::Rectangleinline
    DrawLines(::Color color) (defined in raylib::Rectangle)raylib::Rectangleinline
    DrawLines(::Color color, float lineThick) (defined in raylib::Rectangle)raylib::Rectangleinline
    DrawRounded(float roundness, int segments, ::Color color) (defined in raylib::Rectangle)raylib::Rectangleinline
    DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color) (defined in raylib::Rectangle)raylib::Rectangleinline
    GetCollision(::Rectangle rec2) constraylib::Rectangleinline
    GetHeight() constraylib::Rectangleinline
    GetPosition()raylib::Rectangleinline
    GetSize()raylib::Rectangleinline
    GetHeight() constraylib::Rectangleinline
    GetPosition() (defined in raylib::Rectangle)raylib::Rectangleinline
    GetSize() (defined in raylib::Rectangle)raylib::Rectangleinline
    GetWidth() constraylib::Rectangleinline
    GetX() constraylib::Rectangleinline
    GetX() constraylib::Rectangleinline
    GetY() constraylib::Rectangleinline
    operator::Vector4() constraylib::Rectangleinline
    operator=(const ::Rectangle &rect)raylib::Rectangleinline
    Rectangle(const ::Rectangle &vec)raylib::Rectangleinline
    Rectangle(float x, float y, float width, float height)raylib::Rectangleinline
    Rectangle(float x, float y, float width)raylib::Rectangleinline
    Rectangle(float x, float y)raylib::Rectangleinline
    Rectangle(float x)raylib::Rectangleinline
    Rectangle()raylib::Rectangleinline
    Rectangle(::Vector2 position, ::Vector2 size)raylib::Rectangleinline
    Rectangle(::Vector2 size)raylib::Rectangleinline
    Rectangle(::Vector4 rect)raylib::Rectangleinline
    operator::Vector4() const (defined in raylib::Rectangle)raylib::Rectangleinline
    operator=(const ::Rectangle &rect) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(const ::Rectangle &vec) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(float x, float y, float width, float height) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(float x, float y, float width) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(float x, float y) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(float x) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle() (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(::Vector2 position, ::Vector2 size) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(::Vector2 size) (defined in raylib::Rectangle)raylib::Rectangleinline
    Rectangle(::Vector4 rect) (defined in raylib::Rectangle)raylib::Rectangleinline
    SetHeight(float value)raylib::Rectangleinline
    SetPosition(float newX, float newY)raylib::Rectangleinline
    SetPosition(const ::Vector2 &position)raylib::Rectangleinline
    SetShapesTexture(const ::Texture2D &texture)raylib::Rectangleinline
    SetSize(float newWidth, float newHeight)raylib::Rectangleinline
    SetSize(const ::Vector2 &size)raylib::Rectangleinline
    SetPosition(float newX, float newY) (defined in raylib::Rectangle)raylib::Rectangleinline
    SetPosition(const ::Vector2 &position) (defined in raylib::Rectangle)raylib::Rectangleinline
    SetShapesTexture(const ::Texture2D &texture) (defined in raylib::Rectangle)raylib::Rectangleinline
    SetSize(float newWidth, float newHeight) (defined in raylib::Rectangle)raylib::Rectangleinline
    SetSize(const ::Vector2 &size) (defined in raylib::Rectangle)raylib::Rectangleinline
    SetWidth(float value)raylib::Rectangleinline
    SetX(float value)raylib::Rectangleinline
    SetX(float value)raylib::Rectangleinline
    SetY(float value)raylib::Rectangleinline
    ToVector4()raylib::Rectangleinline
    ToVector4() (defined in raylib::Rectangle)raylib::Rectangleinline
    -

    - + diff --git a/docs/classraylib_1_1_rectangle.html b/docs/classraylib_1_1_rectangle.html index c3f44e35..4304a81b 100644 --- a/docs/classraylib_1_1_rectangle.html +++ b/docs/classraylib_1_1_rectangle.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Rectangle Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Rectangle Class Reference
    +
    +
    raylib::Rectangle Class Reference

    Rectangle type. More...

    - -

    #include <Rectangle.hpp>

    - - - - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - + @@ -164,23 +167,30 @@ - + - - + + - - - - - - - - - - + + + + + + + + + + @@ -188,817 +198,18 @@ - - - - -

    +

    Public Member Functions

     Rectangle ()
     
     Rectangle (::Vector2 position, ::Vector2 size)
    Rectangle (::Vector2 position, ::Vector2 size)
     
     Rectangle (::Vector2 size)
    Rectangle (::Vector2 size)
     
     Rectangle (::Vector4 rect)
    Rectangle (::Vector4 rect)
     
     Rectangle (const ::Rectangle &vec)
    Rectangle (const ::Rectangle &vec)
     
     Rectangle (float x)
    Rectangle (float x)
     
     Rectangle (float x, float y)
    Rectangle (float x, float y)
     
     Rectangle (float x, float y, float width)
    Rectangle (float x, float y, float width)
     
     Rectangle (float x, float y, float width, float height)
    Rectangle (float x, float y, float width, float height)
     
    bool CheckCollision (::Rectangle rec2) const
     Check collision between two rectangles. More...
    +bool CheckCollision (::Rectangle rec2) const
     Check collision between two rectangles.
     
    bool CheckCollision (::Vector2 center, float radius)
     Check collision between circle and rectangle. More...
    +bool CheckCollision (::Vector2 center, float radius)
     Check collision between circle and rectangle.
     
    bool CheckCollision (::Vector2 point) const
     Check if point is inside rectangle. More...
    +bool CheckCollision (::Vector2 point) const
     Check if point is inside rectangle.
     
    RectangleDraw (::Color color)
     Draw a color-filled rectangle. More...
     
    RectangleDraw (::Vector2 origin, float rotation, ::Color color)
     
    RectangleDrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4)
     
    RectangleDrawGradientH (::Color color1, ::Color color2)
     
    RectangleDrawGradientV (::Color color1, ::Color color2)
     
    RectangleDrawLines (::Color color)
     
    RectangleDrawLines (::Color color, float lineThick)
     
    RectangleDrawRounded (float roundness, int segments, ::Color color)
     
    RectangleDrawRoundedLines (float roundness, int segments, float lineThick, ::Color color)
     
    inline ::Rectangle GetCollision (::Rectangle rec2) const
     Get collision rectangle for two rectangles collision. More...
    +RectangleDraw (::Color color)
     Draw a color-filled rectangle.
     
    +RectangleDraw (::Vector2 origin, float rotation, ::Color color)
     
    +RectangleDrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4)
     
    +RectangleDrawGradientH (::Color color1, ::Color color2)
     
    +RectangleDrawGradientV (::Color color1, ::Color color2)
     
    +RectangleDrawLines (::Color color)
     
    +RectangleDrawLines (::Color color, float lineThick)
     
    +RectangleDrawRounded (float roundness, int segments, ::Color color)
     
    +RectangleDrawRoundedLines (float roundness, int segments, float lineThick, ::Color color)
     
    +inline ::Rectangle GetCollision (::Rectangle rec2) const
     Get collision rectangle for two rectangles collision.
     
    float GetHeight () const
     Retrieves the height value for the object. More...
     
    inline ::Vector2 GetPosition ()
    +inline ::Vector2 GetPosition ()
     
    inline ::Vector2 GetSize ()
    +inline ::Vector2 GetSize ()
     
    float GetWidth () const
     Retrieves the width value for the object. More...
    float GetY () const
     Retrieves the y value for the object. More...
     
     operator::Vector4 () const
    operator::Vector4 () const
     
    Rectangleoperator= (const ::Rectangle &rect)
     
    +Rectangleoperator= (const ::Rectangle &rect)
     
    void SetHeight (float value)
     Sets the height value for the object. More...
     
    RectangleSetPosition (const ::Vector2 &position)
     
    RectangleSetPosition (float newX, float newY)
     
    RectangleSetShapesTexture (const ::Texture2D &texture)
     
    RectangleSetSize (const ::Vector2 &size)
     
    RectangleSetSize (float newWidth, float newHeight)
     
    +RectangleSetPosition (const ::Vector2 &position)
     
    +RectangleSetPosition (float newX, float newY)
     
    +RectangleSetShapesTexture (const ::Texture2D &texture)
     
    +RectangleSetSize (const ::Vector2 &size)
     
    +RectangleSetSize (float newWidth, float newHeight)
     
    void SetWidth (float value)
     Sets the width value for the object. More...
     
     Sets the x value for the object. More...
     
    void SetY (float value)
     Sets the y value for the object. More...
     
    inline ::Vector4 ToVector4 ()
     
    -

    Detailed Description

    -

    Rectangle type.

    - -

    Definition at line 12 of file Rectangle.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Rectangle() [1/9]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Rectangle::Rectangle (const ::Rectangle & vec)
    -
    -inline
    -
    - -

    Definition at line 14 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [2/9]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Rectangle::Rectangle (float x,
    float y,
    float width,
    float height 
    )
    -
    -inline
    -
    - -

    Definition at line 18 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [3/9]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Rectangle::Rectangle (float x,
    float y,
    float width 
    )
    -
    -inline
    -
    - -

    Definition at line 19 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [4/9]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Rectangle::Rectangle (float x,
    float y 
    )
    -
    -inline
    -
    - -

    Definition at line 20 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [5/9]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Rectangle::Rectangle (float x)
    -
    -inline
    -
    - -

    Definition at line 21 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [6/9]

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Rectangle::Rectangle ()
    -
    -inline
    -
    - -

    Definition at line 22 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [7/9]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Rectangle::Rectangle (::Vector2 position,
    ::Vector2 size 
    )
    -
    -inline
    -
    - -

    Definition at line 24 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [8/9]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Rectangle::Rectangle (::Vector2 size)
    -
    -inline
    -
    - -

    Definition at line 26 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Rectangle() [9/9]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Rectangle::Rectangle (::Vector4 rect)
    -
    -inline
    -
    - -

    Definition at line 27 of file Rectangle.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ CheckCollision() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Rectangle::CheckCollision (::Rectangle rec2) const
    -
    -inline
    -
    - -

    Check collision between two rectangles.

    - -

    Definition at line 103 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ CheckCollision() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool raylib::Rectangle::CheckCollision (::Vector2 center,
    float radius 
    )
    -
    -inline
    -
    - -

    Check collision between circle and rectangle.

    - -

    Definition at line 124 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ CheckCollision() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Rectangle::CheckCollision (::Vector2 point) const
    -
    -inline
    -
    - -

    Check if point is inside rectangle.

    - -

    Definition at line 117 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Draw() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Rectangle & raylib::Rectangle::Draw (::Color color)
    -
    -inline
    -
    - -

    Draw a color-filled rectangle.

    - -

    Definition at line 50 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ Draw() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::Draw (::Vector2 origin,
    float rotation,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 56 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ DrawGradient()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::DrawGradient (::Color col1,
    ::Color col2,
    ::Color col3,
    ::Color col4 
    )
    -
    -inline
    -
    - -

    Definition at line 73 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ DrawGradientH()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::DrawGradientH (::Color color1,
    ::Color color2 
    )
    -
    -inline
    -
    - -

    Definition at line 67 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ DrawGradientV()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::DrawGradientV (::Color color1,
    ::Color color2 
    )
    -
    -inline
    -
    - -

    Definition at line 61 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ DrawLines() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Rectangle & raylib::Rectangle::DrawLines (::Color color)
    -
    -inline
    -
    - -

    Definition at line 78 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ DrawLines() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::DrawLines (::Color color,
    float lineThick 
    )
    -
    -inline
    -
    - -

    Definition at line 84 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ DrawRounded()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::DrawRounded (float roundness,
    int segments,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 89 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ DrawRoundedLines()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::DrawRoundedLines (float roundness,
    int segments,
    float lineThick,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 94 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ GetCollision()

    - -
    -
    - - - - - + + + +
    - - - - - - - - -
    inline ::Rectangle raylib::Rectangle::GetCollision (::Rectangle rec2) const
    -
    -inline
     Sets the y value for the object. More...
     
    +inline ::Vector4 ToVector4 ()
     
    -
    - -

    Get collision rectangle for two rectangles collision.

    - -

    Definition at line 110 of file Rectangle.hpp.

    +

    Detailed Description

    +

    Rectangle type.

    -
    -
    - +

    Definition at line 12 of file Rectangle.hpp.

    +

    Member Function Documentation

    +

    ◆ GetHeight()

    @@ -1028,61 +239,7 @@

    -

    ◆ GetPosition()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Vector2 raylib::Rectangle::GetPosition ()
    -
    -inline
    -
    - -

    Definition at line 147 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ GetSize()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Vector2 raylib::Rectangle::GetSize ()
    -
    -inline
    -
    - -

    Definition at line 128 of file Rectangle.hpp.

    - -
    -
    - +

    ◆ GetWidth()

    @@ -1112,7 +269,7 @@

    +

    ◆ GetX()

    @@ -1142,7 +299,7 @@

    +

    ◆ GetY()

    @@ -1172,62 +329,7 @@

    -

    ◆ operator::Vector4()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Rectangle::operator::Vector4 () const
    -
    -inline
    -
    - -

    Definition at line 43 of file Rectangle.hpp.

    - -
    -
    - -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Rectangle & raylib::Rectangle::operator= (const ::Rectanglerect)
    -
    -inline
    -
    - -

    Definition at line 34 of file Rectangle.hpp.

    - -
    -
    - +

    ◆ SetHeight()

    @@ -1263,179 +365,7 @@

    -

    ◆ SetPosition() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Rectangle & raylib::Rectangle::SetPosition (const ::Vector2 & position)
    -
    -inline
    -
    - -

    Definition at line 157 of file Rectangle.hpp.

    - -

    References SetPosition().

    - -
    -
    - -

    ◆ SetPosition() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::SetPosition (float newX,
    float newY 
    )
    -
    -inline
    -
    - -

    Definition at line 151 of file Rectangle.hpp.

    - -

    Referenced by SetPosition().

    - -
    -
    - -

    ◆ SetShapesTexture()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Rectangle & raylib::Rectangle::SetShapesTexture (const ::Texture2Dtexture)
    -
    -inline
    -
    - -

    Definition at line 142 of file Rectangle.hpp.

    - -

    References SetShapesTexture().

    - -

    Referenced by SetShapesTexture().

    - -
    -
    - -

    ◆ SetSize() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Rectangle & raylib::Rectangle::SetSize (const ::Vector2 & size)
    -
    -inline
    -
    - -

    Definition at line 138 of file Rectangle.hpp.

    - -

    References SetSize().

    - -
    -
    - -

    ◆ SetSize() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Rectangle & raylib::Rectangle::SetSize (float newWidth,
    float newHeight 
    )
    -
    -inline
    -
    - -

    Definition at line 132 of file Rectangle.hpp.

    - -

    Referenced by SetSize().

    - -
    -
    - +

    ◆ SetWidth()

    @@ -1471,7 +401,7 @@

    +

    ◆ SetX()

    @@ -1507,7 +437,7 @@

    +

    ◆ SetY()

    @@ -1541,43 +471,14 @@

    Definition at line 30 of file Rectangle.hpp.

    -

    -

    - -

    ◆ ToVector4()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Vector4 raylib::Rectangle::ToVector4 ()
    -
    -inline
    -
    - -

    Definition at line 39 of file Rectangle.hpp.

    -

    -

    - + diff --git a/docs/classraylib_1_1_render_texture-members.html b/docs/classraylib_1_1_render_texture-members.html index a9c22cff..6286103c 100644 --- a/docs/classraylib_1_1_render_texture-members.html +++ b/docs/classraylib_1_1_render_texture-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::RenderTexture Member List
    +
    +
    raylib::RenderTexture Member List

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

    - - + + - + - + - - - + + + - - - - - + + + + + - + - - + +
    BeginMode()raylib::RenderTextureinline
    EndMode()raylib::RenderTextureinline
    BeginMode()raylib::RenderTextureinline
    EndMode()raylib::RenderTextureinline
    GetDepth() constraylib::RenderTextureinline
    GetId() constraylib::RenderTextureinline
    GetId() constraylib::RenderTextureinline
    GetTexture() constraylib::RenderTextureinline
    IsReady() constraylib::RenderTextureinline
    IsReady() constraylib::RenderTextureinline
    Load(int width, int height)raylib::RenderTextureinline
    operator=(const ::RenderTexture &texture)raylib::RenderTextureinline
    operator=(const RenderTexture &)=deleteraylib::RenderTexture
    operator=(RenderTexture &&other) noexceptraylib::RenderTextureinline
    operator=(const ::RenderTexture &texture) (defined in raylib::RenderTexture)raylib::RenderTextureinline
    operator=(const RenderTexture &)=delete (defined in raylib::RenderTexture)raylib::RenderTexture
    operator=(RenderTexture &&other) noexcept (defined in raylib::RenderTexture)raylib::RenderTextureinline
    RenderTexture()raylib::RenderTextureinline
    RenderTexture(const ::RenderTexture &renderTexture)raylib::RenderTextureinline
    RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)raylib::RenderTextureinline
    RenderTexture(int width, int height)raylib::RenderTextureinline
    RenderTexture(const RenderTexture &)=deleteraylib::RenderTexture
    RenderTexture(RenderTexture &&other)raylib::RenderTextureinline
    RenderTexture(const ::RenderTexture &renderTexture) (defined in raylib::RenderTexture)raylib::RenderTextureinline
    RenderTexture(unsigned int id, ::Texture texture, ::Texture depth) (defined in raylib::RenderTexture)raylib::RenderTextureinline
    RenderTexture(int width, int height) (defined in raylib::RenderTexture)raylib::RenderTextureinline
    RenderTexture(const RenderTexture &)=delete (defined in raylib::RenderTexture)raylib::RenderTexture
    RenderTexture(RenderTexture &&other) (defined in raylib::RenderTexture)raylib::RenderTextureinline
    SetDepth(::Texture2D value)raylib::RenderTextureinline
    SetId(unsigned int value)raylib::RenderTextureinline
    SetId(unsigned int value)raylib::RenderTextureinline
    SetTexture(::Texture2D value)raylib::RenderTextureinline
    Unload()raylib::RenderTextureinline
    ~RenderTexture()raylib::RenderTextureinline
    Unload() (defined in raylib::RenderTexture)raylib::RenderTextureinline
    ~RenderTexture() (defined in raylib::RenderTexture)raylib::RenderTextureinline
    -

    - + diff --git a/docs/classraylib_1_1_render_texture.html b/docs/classraylib_1_1_render_texture.html index 361ba4e9..c8b8610d 100644 --- a/docs/classraylib_1_1_render_texture.html +++ b/docs/classraylib_1_1_render_texture.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::RenderTexture Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::RenderTexture Class Reference
    +
    +
    raylib::RenderTexture Class Reference

    RenderTexture type, for texture rendering. More...

    - -

    #include <RenderTexture.hpp>

    - - - + + - + - + - + - + - + - - - - - - - - - + + + + + + + - + - - + + - - + + - - - - - - - + + + + + + + - + - +

    +

    Public Member Functions

     RenderTexture ()
     Default constructor to build an empty RenderTexture. More...
    RenderTexture ()
     Default constructor to build an empty RenderTexture.
     
     RenderTexture (const ::RenderTexture &renderTexture)
    RenderTexture (const ::RenderTexture &renderTexture)
     
     RenderTexture (const RenderTexture &)=delete
    RenderTexture (const RenderTexture &)=delete
     
     RenderTexture (int width, int height)
    RenderTexture (int width, int height)
     
     RenderTexture (RenderTexture &&other)
    RenderTexture (RenderTexture &&other)
     
     RenderTexture (unsigned int id, ::Texture texture, ::Texture depth)
    RenderTexture (unsigned int id, ::Texture texture, ::Texture depth)
     
     ~RenderTexture ()
     
    RenderTextureBeginMode ()
     Initializes render texture for drawing. More...
     
    RenderTextureEndMode ()
     Ends drawing to render texture. More...
     
    ::Texture2D GetDepth () const
    +RenderTextureBeginMode ()
     Initializes render texture for drawing.
     
    +RenderTextureEndMode ()
     Ends drawing to render texture.
     
    ::Texture2D GetDepth () const
     Retrieves the depth value for the object. More...
     
    unsigned int GetId () const
     Retrieves the id value for the object. More...
     
    ::Texture2D GetTexture () const
    ::Texture2D GetTexture () const
     Retrieves the texture value for the object. More...
     
    bool IsReady () const
     Retrieves whether or not the render texture is ready. More...
    +bool IsReady () const
     Retrieves whether or not the render texture is ready.
     
    bool Load (int width, int height)
     Loads a render texture at the given width and height. More...
    +bool Load (int width, int height)
     Loads a render texture at the given width and height.
     
    RenderTextureoperator= (const ::RenderTexture &texture)
     
    RenderTextureoperator= (const RenderTexture &)=delete
     
    RenderTextureoperator= (RenderTexture &&other) noexcept
     
    void SetDepth (::Texture2D value)
    +RenderTextureoperator= (const ::RenderTexture &texture)
     
    +RenderTextureoperator= (const RenderTexture &)=delete
     
    +RenderTextureoperator= (RenderTexture &&other) noexcept
     
    void SetDepth (::Texture2D value)
     Sets the depth value for the object. More...
     
    void SetId (unsigned int value)
     Sets the id value for the object. More...
     
    void SetTexture (::Texture2D value)
    void SetTexture (::Texture2D value)
     Sets the texture value for the object. More...
     
    void Unload ()
    +void Unload ()
     

    Detailed Description

    -

    RenderTexture type, for texture rendering.

    +

    RenderTexture type, for texture rendering.

    Definition at line 12 of file RenderTexture.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ RenderTexture() [1/6]

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::RenderTexture::RenderTexture ()
    -
    -inline
    -
    - -

    Default constructor to build an empty RenderTexture.

    - -

    Definition at line 17 of file RenderTexture.hpp.

    - -
    -
    - -

    ◆ RenderTexture() [2/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::RenderTexture::RenderTexture (const ::RenderTexture & renderTexture)
    -
    -inline
    -
    - -

    Definition at line 21 of file RenderTexture.hpp.

    - -
    -
    - -

    ◆ RenderTexture() [3/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::RenderTexture::RenderTexture (unsigned int id,
    ::Texture texture,
    ::Texture depth 
    )
    -
    -inline
    -
    - -

    Definition at line 25 of file RenderTexture.hpp.

    - -
    -
    - -

    ◆ RenderTexture() [4/6]

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

    Definition at line 27 of file RenderTexture.hpp.

    - -

    References Load().

    - -
    -
    - -

    ◆ RenderTexture() [5/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::RenderTexture::RenderTexture (const RenderTexture)
    -
    -delete
    -
    - -
    -
    - -

    ◆ RenderTexture() [6/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::RenderTexture::RenderTexture (RenderTexture && other)
    -
    -inline
    -
    - -

    Definition at line 35 of file RenderTexture.hpp.

    - -
    -
    - -

    ◆ ~RenderTexture()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::RenderTexture::~RenderTexture ()
    -
    -inline
    -
    - -

    Definition at line 69 of file RenderTexture.hpp.

    - -

    References Unload().

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ BeginMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    RenderTexture & raylib::RenderTexture::BeginMode ()
    -
    -inline
    -
    - -

    Initializes render texture for drawing.

    - -

    Definition at line 80 of file RenderTexture.hpp.

    - -
    -
    - -

    ◆ EndMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    RenderTexture & raylib::RenderTexture::EndMode ()
    -
    -inline
    -
    - -

    Ends drawing to render texture.

    - -

    Definition at line 88 of file RenderTexture.hpp.

    - -
    -
    - +

    Member Function Documentation

    +

    ◆ GetDepth()

    - -

    Retrieves whether or not the render texture is ready.

    - -

    Definition at line 104 of file RenderTexture.hpp.

    - -

    Referenced by Load().

    - -
    -
    - -

    ◆ Load()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool raylib::RenderTexture::Load (int width,
    int height 
    )
    -
    -inline
    -
    - -

    Loads a render texture at the given width and height.

    - -

    Definition at line 96 of file RenderTexture.hpp.

    - -

    References IsReady().

    - -

    Referenced by RenderTexture().

    - -
    -
    - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    RenderTexture & raylib::RenderTexture::operator= (const ::RenderTexturetexture)
    -
    -inline
    -
    - -

    Definition at line 47 of file RenderTexture.hpp.

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    RenderTexture & raylib::RenderTexture::operator= (const RenderTexture)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    RenderTexture & raylib::RenderTexture::operator= (RenderTexture && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 54 of file RenderTexture.hpp.

    - -

    References Unload().

    - -
    -
    - +

    ◆ SetDepth()

    @@ -702,7 +254,7 @@

    void raylib::RenderTexture::SetDepth ( - ::Texture2D  + ::Texture2D  value) @@ -726,7 +278,7 @@

    +

    ◆ SetId()

    @@ -762,7 +314,7 @@

    +

    ◆ SetTexture()

    @@ -774,7 +326,7 @@

    void raylib::RenderTexture::SetTexture ( - ::Texture2D  + ::Texture2D  value) @@ -796,45 +348,14 @@

    Definition at line 44 of file RenderTexture.hpp.

    -

    -

    - -

    ◆ Unload()

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

    Definition at line 73 of file RenderTexture.hpp.

    - -

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

    -

    -

    - + diff --git a/docs/classraylib_1_1_shader-members.html b/docs/classraylib_1_1_shader-members.html index 2bcd689d..c150a03d 100644 --- a/docs/classraylib_1_1_shader-members.html +++ b/docs/classraylib_1_1_shader-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Shader Member List
    +
    +
    raylib::Shader Member List

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

    - - + + - + - + - + - - - + + + - - - - - - - - - - - - - + + + + + + + + + + + + +
    BeginMode()raylib::Shaderinline
    EndMode()raylib::Shaderinline
    BeginMode()raylib::Shaderinline
    EndMode()raylib::Shaderinline
    GetId() constraylib::Shaderinline
    GetLocation(const std::string &uniformName) constraylib::Shaderinline
    GetLocation(const std::string &uniformName) constraylib::Shaderinline
    GetLocationAttrib(const std::string &attribName) constraylib::Shaderinline
    GetLocs() constraylib::Shaderinline
    GetLocs() constraylib::Shaderinline
    IsReady() constraylib::Shaderinline
    Load(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinlinestatic
    Load(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinlinestatic
    LoadFromMemory(const std::string &vsCode, const std::string &fsCode)raylib::Shaderinlinestatic
    operator=(const ::Shader &shader)raylib::Shaderinline
    operator=(const Shader &)=deleteraylib::Shader
    operator=(Shader &&other) noexceptraylib::Shaderinline
    operator=(const ::Shader &shader) (defined in raylib::Shader)raylib::Shaderinline
    operator=(const Shader &)=delete (defined in raylib::Shader)raylib::Shader
    operator=(Shader &&other) noexcept (defined in raylib::Shader)raylib::Shaderinline
    SetId(unsigned int value)raylib::Shaderinline
    SetLocs(int *value)raylib::Shaderinline
    SetValue(int uniformLoc, const void *value, int uniformType)raylib::Shaderinline
    SetValue(int uniformLoc, const void *value, int uniformType, int count)raylib::Shaderinline
    SetValue(int uniformLoc, const ::Matrix &mat)raylib::Shaderinline
    SetValue(int uniformLoc, const ::Texture2D &texture)raylib::Shaderinline
    Shader(const ::Shader &shader)raylib::Shaderinline
    Shader(unsigned int id, int *locs=nullptr)raylib::Shaderinline
    Shader(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinline
    Shader(const char *vsFileName, const char *fsFileName)raylib::Shaderinline
    Shader(const Shader &)=deleteraylib::Shader
    Shader(Shader &&other)raylib::Shaderinline
    Unload()raylib::Shaderinline
    ~Shader()raylib::Shaderinline
    SetLocs(int *value)raylib::Shaderinline
    SetValue(int uniformLoc, const void *value, int uniformType)raylib::Shaderinline
    SetValue(int uniformLoc, const void *value, int uniformType, int count)raylib::Shaderinline
    SetValue(int uniformLoc, const ::Matrix &mat)raylib::Shaderinline
    SetValue(int uniformLoc, const ::Texture2D &texture)raylib::Shaderinline
    Shader(const ::Shader &shader) (defined in raylib::Shader)raylib::Shaderinline
    Shader(unsigned int id, int *locs=nullptr) (defined in raylib::Shader)raylib::Shaderinline
    Shader(const std::string &vsFileName, const std::string &fsFileName) (defined in raylib::Shader)raylib::Shaderinline
    Shader(const char *vsFileName, const char *fsFileName) (defined in raylib::Shader)raylib::Shaderinline
    Shader(const Shader &)=delete (defined in raylib::Shader)raylib::Shader
    Shader(Shader &&other) (defined in raylib::Shader)raylib::Shaderinline
    Unload() (defined in raylib::Shader)raylib::Shaderinline
    ~Shader() (defined in raylib::Shader)raylib::Shaderinline
    -

    - + diff --git a/docs/classraylib_1_1_shader.html b/docs/classraylib_1_1_shader.html index d9b5bd50..bc865f93 100644 --- a/docs/classraylib_1_1_shader.html +++ b/docs/classraylib_1_1_shader.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Shader Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Shader Class Reference
    +
    +
    raylib::Shader Class Reference

    Shader type (generic) More...

    - -

    #include <Shader.hpp>

    - - + - + - + - + - + - + - - - - - - - - + + + + + + @@ -129,338 +117,59 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + +

    +

    Public Member Functions

     Shader (const ::Shader &shader)
    Shader (const ::Shader &shader)
     
     Shader (const char *vsFileName, const char *fsFileName)
    Shader (const char *vsFileName, const char *fsFileName)
     
     Shader (const Shader &)=delete
    Shader (const Shader &)=delete
     
     Shader (const std::string &vsFileName, const std::string &fsFileName)
    Shader (const std::string &vsFileName, const std::string &fsFileName)
     
     Shader (Shader &&other)
    Shader (Shader &&other)
     
     Shader (unsigned int id, int *locs=nullptr)
    Shader (unsigned int id, int *locs=nullptr)
     
     ~Shader ()
     
    ShaderBeginMode ()
     Begin custom shader drawing. More...
     
    ShaderEndMode ()
     End custom shader drawing (use default shader). More...
     
    +ShaderBeginMode ()
     Begin custom shader drawing.
     
    +ShaderEndMode ()
     End custom shader drawing (use default shader).
     
    unsigned int GetId () const
     Retrieves the id value for the object. More...
     
    int GetLocationAttrib (const std::string &attribName) const
     Get shader attribute location. More...
     
    int * GetLocs () const
     Retrieves the locs value for the object. More...
     
    bool IsReady () const
     Retrieves whether or not the shader is ready. More...
    int * GetLocs () const
     Retrieves the locs value for the object. More...
     
    +bool IsReady () const
     Retrieves whether or not the shader is ready.
     
    Shaderoperator= (const ::Shader &shader)
     
    Shaderoperator= (const Shader &)=delete
     
    Shaderoperator= (Shader &&other) noexcept
     
    +Shaderoperator= (const ::Shader &shader)
     
    +Shaderoperator= (const Shader &)=delete
     
    +Shaderoperator= (Shader &&other) noexcept
     
    void SetId (unsigned int value)
     Sets the id value for the object. More...
     
    void SetLocs (int *value)
     Sets the locs value for the object. More...
     
    ShaderSetValue (int uniformLoc, const ::Matrix &mat)
     Set shader uniform value (matrix 4x4) More...
     
    ShaderSetValue (int uniformLoc, const ::Texture2D &texture)
     Set shader uniform value for texture. More...
     
    ShaderSetValue (int uniformLoc, const void *value, int uniformType)
     Set shader uniform value. More...
     
    ShaderSetValue (int uniformLoc, const void *value, int uniformType, int count)
     Set shader uniform value vector. More...
     
    void Unload ()
    ShaderSetValue (int uniformLoc, const ::Matrix &mat)
     Set shader uniform value (matrix 4x4) More...
     
    ShaderSetValue (int uniformLoc, const ::Texture2D &texture)
     Set shader uniform value for texture. More...
     
    ShaderSetValue (int uniformLoc, const void *value, int uniformType)
     Set shader uniform value. More...
     
    ShaderSetValue (int uniformLoc, const void *value, int uniformType, int count)
     Set shader uniform value vector. More...
     
    +void Unload ()
     
    - - + - +

    +

    Static Public Member Functions

    ::Shader Load (const std::string &vsFileName, const std::string &fsFileName)
    ::Shader Load (const std::string &vsFileName, const std::string &fsFileName)
     Load shader from files and bind default locations. More...
     
    ::Shader LoadFromMemory (const std::string &vsCode, const std::string &fsCode)
    ::Shader LoadFromMemory (const std::string &vsCode, const std::string &fsCode)
     Load a shader from memory. More...
     

    Detailed Description

    -

    Shader type (generic)

    +

    Shader type (generic)

    Definition at line 14 of file Shader.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Shader() [1/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Shader::Shader (const ::Shader & shader)
    -
    -inline
    -
    - -

    Definition at line 16 of file Shader.hpp.

    - -
    -
    - -

    ◆ Shader() [2/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Shader::Shader (unsigned int id,
    int * locs = nullptr 
    )
    -
    -inline
    -
    - -

    Definition at line 20 of file Shader.hpp.

    - -
    -
    - -

    ◆ Shader() [3/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Shader::Shader (const std::string & vsFileName,
    const std::string & fsFileName 
    )
    -
    -inline
    -
    - -

    Definition at line 22 of file Shader.hpp.

    - -
    -
    - -

    ◆ Shader() [4/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Shader::Shader (const char * vsFileName,
    const char * fsFileName 
    )
    -
    -inline
    -
    - -

    Definition at line 26 of file Shader.hpp.

    - -
    -
    - -

    ◆ Shader() [5/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Shader::Shader (const Shader)
    -
    -delete
    -
    - -
    -
    - -

    ◆ Shader() [6/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Shader::Shader (Shader && other)
    -
    -inline
    -
    - -

    Definition at line 32 of file Shader.hpp.

    - -
    -
    - -

    ◆ ~Shader()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Shader::~Shader ()
    -
    -inline
    -
    - -

    Definition at line 81 of file Shader.hpp.

    - -

    References Unload().

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ BeginMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    Shader & raylib::Shader::BeginMode ()
    -
    -inline
    -
    - -

    Begin custom shader drawing.

    - -

    Definition at line 94 of file Shader.hpp.

    - -
    -
    - -

    ◆ EndMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    Shader & raylib::Shader::EndMode ()
    -
    -inline
    -
    - -

    End custom shader drawing (use default shader).

    - -

    Definition at line 102 of file Shader.hpp.

    - -
    -
    - +

    Member Function Documentation

    +

    ◆ GetId()

    @@ -490,7 +199,7 @@

    +

    ◆ GetLocation()

    @@ -521,7 +230,7 @@

    +

    ◆ GetLocationAttrib()

    @@ -552,8 +261,8 @@

    -

    ◆ GetLocs()

    + +

    ◆ GetLocs()

    @@ -562,7 +271,7 @@

    - + @@ -582,36 +291,7 @@

    -

    ◆ IsReady()

    - -
    -
    -

    int * raylib::Shader::GetLocs int* raylib::Shader::GetLocs ( ) const
    - - - - -
    - - - - - - - -
    bool raylib::Shader::IsReady () const
    -
    -inline
    -

    - -

    Retrieves whether or not the shader is ready.

    - -

    Definition at line 168 of file Shader.hpp.

    - -
    -
    - +

    ◆ Load()

    @@ -621,7 +301,7 @@

    - + @@ -652,7 +332,7 @@

    +

    ◆ LoadFromMemory()

    @@ -662,7 +342,7 @@

    ::Shader raylib::Shader::Load ::Shader raylib::Shader::Load ( const std::string &  vsFileName,
    - + @@ -693,91 +373,7 @@

    -

    ◆ operator=() [1/3]

    - -
    -
    -
    ::Shader raylib::Shader::LoadFromMemory ::Shader raylib::Shader::LoadFromMemory ( const std::string &  vsCode,
    - - - - -
    - - - - - - - - -
    Shader & raylib::Shader::operator= (const ::Shadershader)
    -
    -inline
    -

    - -

    Definition at line 60 of file Shader.hpp.

    - -
    -

    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Shader & raylib::Shader::operator= (const Shader)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Shader & raylib::Shader::operator= (Shader && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 67 of file Shader.hpp.

    - -

    References Unload().

    - -
    -
    - +

    ◆ SetId()

    @@ -813,7 +409,7 @@

    +

    ◆ SetLocs()

    @@ -849,8 +445,8 @@

    -

    ◆ SetValue() [1/4]

    + +

    ◆ SetValue() [1/4]

    @@ -859,7 +455,7 @@

    - + @@ -867,7 +463,7 @@

    - + @@ -890,8 +486,8 @@

    -

    ◆ SetValue() [2/4]

    + +

    ◆ SetValue() [2/4]

    @@ -900,7 +496,7 @@

    Shader & raylib::Shader::SetValue Shader& raylib::Shader::SetValue ( int  uniformLoc, const ::Matrix & const ::Matrix mat 
    - + @@ -908,7 +504,7 @@

    - + @@ -931,8 +527,8 @@

    -

    ◆ SetValue() [3/4]

    + +

    ◆ SetValue() [3/4]

    @@ -941,7 +537,7 @@

    Shader & raylib::Shader::SetValue Shader& raylib::Shader::SetValue ( int  uniformLoc, const ::Texture2Dconst ::Texture2D texture 
    - + @@ -978,8 +574,8 @@

    -

    ◆ SetValue() [4/4]

    + +

    ◆ SetValue() [4/4]

    @@ -988,7 +584,7 @@

    Shader & raylib::Shader::SetValue Shader& raylib::Shader::SetValue ( int  uniformLoc,
    - + @@ -1029,45 +625,14 @@

    Definition at line 140 of file Shader.hpp.

    - - - -

    ◆ Unload()

    - -
    -
    -
    Shader & raylib::Shader::SetValue Shader& raylib::Shader::SetValue ( int  uniformLoc,
    - - - - -
    - - - - - - - -
    void raylib::Shader::Unload ()
    -
    -inline
    -

    - -

    Definition at line 85 of file Shader.hpp.

    - -

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

    -

    -

    - + diff --git a/docs/classraylib_1_1_sound-members.html b/docs/classraylib_1_1_sound-members.html index 366adfd8..6190226a 100644 --- a/docs/classraylib_1_1_sound-members.html +++ b/docs/classraylib_1_1_sound-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Sound Member List
    +
    +
    raylib::Sound Member List

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

    - + - + - - - - - - - + + + + + + + - + - - - - - + + + + + - - - + + + - - - + + +
    GetFrameCount() constraylib::Soundinline
    GetStream() constraylib::Soundinline
    GetStream() constraylib::Soundinline
    IsPlaying() constraylib::Soundinline
    IsReady() constraylib::Soundinline
    IsReady() constraylib::Soundinline
    Load(const std::string &fileName)raylib::Soundinline
    Load(const ::Wave &wave)raylib::Soundinline
    operator=(const Sound &)=deleteraylib::Sound
    operator=(Sound &&other) noexceptraylib::Soundinline
    Pause()raylib::Soundinline
    Play()raylib::Soundinline
    PlayMulti()raylib::Soundinline
    Resume()raylib::Soundinline
    Load(const ::Wave &wave)raylib::Soundinline
    operator=(const Sound &)=delete (defined in raylib::Sound)raylib::Sound
    operator=(Sound &&other) noexcept (defined in raylib::Sound)raylib::Soundinline
    Pause()raylib::Soundinline
    Play()raylib::Soundinline
    PlayMulti()raylib::Soundinline
    Resume()raylib::Soundinline
    SetFrameCount(unsigned int value)raylib::Soundinline
    SetPitch(float pitch)raylib::Soundinline
    SetPitch(float pitch)raylib::Soundinline
    SetStream(::AudioStream value)raylib::Soundinline
    SetVolume(float volume)raylib::Soundinline
    Sound(const Sound &)=deleteraylib::Sound
    Sound()raylib::Soundinline
    Sound(::AudioStream stream, unsigned int frameCount)raylib::Soundinline
    Sound(Sound &&other)raylib::Soundinline
    SetVolume(float volume)raylib::Soundinline
    Sound(const Sound &)=delete (defined in raylib::Sound)raylib::Sound
    Sound() (defined in raylib::Sound)raylib::Soundinline
    Sound(::AudioStream stream, unsigned int frameCount) (defined in raylib::Sound)raylib::Soundinline
    Sound(Sound &&other) (defined in raylib::Sound)raylib::Soundinline
    Sound(const std::string &fileName)raylib::Soundinline
    Sound(const ::Wave &wave)raylib::Soundinline
    Stop()raylib::Soundinline
    StopMulti()raylib::Soundinline
    Sound(const ::Wave &wave)raylib::Soundinline
    Stop()raylib::Soundinline
    StopMulti()raylib::Soundinline
    Unload()raylib::Soundinline
    Update(const void *data, int samplesCount)raylib::Soundinline
    Update(const void *data)raylib::Soundinline
    ~Sound()raylib::Soundinline
    Update(const void *data, int samplesCount)raylib::Soundinline
    Update(const void *data)raylib::Soundinline
    ~Sound() (defined in raylib::Sound)raylib::Soundinline
    -

    - + diff --git a/docs/classraylib_1_1_sound.html b/docs/classraylib_1_1_sound.html index e52ab82d..6d108545 100644 --- a/docs/classraylib_1_1_sound.html +++ b/docs/classraylib_1_1_sound.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Sound Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Sound Class Reference
    +
    +
    raylib::Sound Class Reference

    Wave/Sound management functions. More...

    - -

    #include <Sound.hpp>

    - - - - + - + - + - + - - - + - - + + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + +

    +

    Public Member Functions

     Sound ()
     
     Sound (::AudioStream stream, unsigned int frameCount)
    Sound (::AudioStream stream, unsigned int frameCount)
     
     Sound (const ::Wave &wave)
     Sound (const ::Wave &wave)
     Loads a sound from the given Wave. More...
     
     Sound (const Sound &)=delete
    Sound (const Sound &)=delete
     
     Sound (const std::string &fileName)
     Loads a sound from the given file. More...
     
     Sound (Sound &&other)
    Sound (Sound &&other)
     
     ~Sound ()
     
    unsigned int GetFrameCount () const
     Retrieves the frameCount value for the object. More...
     
    ::AudioStream GetStream () const
    ::AudioStream GetStream () const
     Retrieves the stream value for the object. More...
     
    bool IsPlaying () const
     Check if a sound is currently playing. More...
    +bool IsPlaying () const
     Check if a sound is currently playing.
     
    bool IsReady () const
     Retrieve whether or not the Sound buffer is loaded. More...
     
    bool Load (const ::Wave &wave)
     Loads the given Wave object into the Sound. More...
    +bool Load (const ::Wave &wave)
     Loads the given Wave object into the Sound.
     
    bool Load (const std::string &fileName)
     Load a sound from the given file. More...
     
    Soundoperator= (const Sound &)=delete
     
    Soundoperator= (Sound &&other) noexcept
     
    SoundPause ()
     Pause a sound. More...
     
    SoundPlay ()
     Play a sound. More...
     
    SoundPlayMulti ()
     Play a sound (using multichannel buffer pool) More...
     
    SoundResume ()
     Resume a paused sound. More...
     
    +Soundoperator= (const Sound &)=delete
     
    +Soundoperator= (Sound &&other) noexcept
     
    +SoundPause ()
     Pause a sound.
     
    +SoundPlay ()
     Play a sound.
     
    +SoundPlayMulti ()
     Play a sound (using multichannel buffer pool)
     
    +SoundResume ()
     Resume a paused sound.
     
    void SetFrameCount (unsigned int value)
     Sets the frameCount value for the object. More...
     
    SoundSetPitch (float pitch)
     Set pitch for a sound (1.0 is base level) More...
     
    void SetStream (::AudioStream value)
    +SoundSetPitch (float pitch)
     Set pitch for a sound (1.0 is base level)
     
    void SetStream (::AudioStream value)
     Sets the stream value for the object. More...
     
    SoundSetVolume (float volume)
     Set volume for a sound (1.0 is max level) More...
     
    SoundStop ()
     Stop playing a sound. More...
     
    SoundStopMulti ()
     Stop any sound playing (using multichannel buffer pool) More...
     
    void Unload ()
     Unload sound. More...
    +SoundSetVolume (float volume)
     Set volume for a sound (1.0 is max level)
     
    +SoundStop ()
     Stop playing a sound.
     
    +SoundStopMulti ()
     Stop any sound playing (using multichannel buffer pool)
     
    +void Unload ()
     Unload sound.
     
    SoundUpdate (const void *data)
     Update sound buffer with new data, assuming it's the same sample count. More...
     
    SoundUpdate (const void *data, int samplesCount)
     Update sound buffer with new data. More...
     
    +SoundUpdate (const void *data)
     Update sound buffer with new data, assuming it's the same sample count.
     
    +SoundUpdate (const void *data, int samplesCount)
     Update sound buffer with new data.
     

    Detailed Description

    -

    Wave/Sound management functions.

    -
    raylib::Sound boom("boom.wav");
    +

    Wave/Sound management functions.

    +
    raylib::Sound boom("boom.wav");
    boom.Play();
    -
    Wave/Sound management functions.
    Definition: Sound.hpp:19

    Definition at line 19 of file Sound.hpp.

    Constructor & Destructor Documentation

    - -

    ◆ Sound() [1/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Sound::Sound (const Sound)
    -
    -delete
    -
    - -
    -
    - -

    ◆ Sound() [2/6]

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Sound::Sound ()
    -
    -inline
    -
    - -

    Definition at line 24 of file Sound.hpp.

    - -
    -
    - -

    ◆ Sound() [3/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Sound::Sound (::AudioStream stream,
    unsigned int frameCount 
    )
    -
    -inline
    -
    - -

    Definition at line 29 of file Sound.hpp.

    - -
    -
    - -

    ◆ Sound() [4/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Sound::Sound (Sound && other)
    -
    -inline
    -
    - -

    Definition at line 33 of file Sound.hpp.

    - -
    -
    - -

    ◆ Sound() [5/6]

    + +

    ◆ Sound() [1/2]

    @@ -342,8 +218,8 @@

    -

    ◆ Sound() [6/6]

    + +

    ◆ Sound() [2/2]

    @@ -354,7 +230,7 @@

    raylib::Sound::Sound ( - const ::Wave &  + const ::Wavewave) @@ -378,39 +254,10 @@

    References Load().

    -

    -
    - -

    ◆ ~Sound()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Sound::~Sound ()
    -
    -inline
    -
    - -

    Definition at line 62 of file Sound.hpp.

    - -

    References Unload().

    -

    Member Function Documentation

    - +

    ◆ GetFrameCount()

    @@ -440,7 +287,7 @@

    +

    ◆ GetStream()

    - -

    Check if a sound is currently playing.

    - -

    Definition at line 156 of file Sound.hpp.

    - -
    -

    - +

    ◆ IsReady()

    @@ -531,40 +349,8 @@

    -

    ◆ Load() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Sound::Load (const ::Wave & wave)
    -
    -inline
    -
    - -

    Loads the given Wave object into the Sound.

    - -

    Definition at line 189 of file Sound.hpp.

    - -

    References IsReady().

    - -
    -
    - -

    ◆ Load() [2/2]

    + +

    ◆ Load()

    @@ -598,179 +384,7 @@

    -

    ◆ operator=() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Sound & raylib::Sound::operator= (const Sound)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Sound & raylib::Sound::operator= (Sound && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 69 of file Sound.hpp.

    - -

    References Unload().

    - -
    -
    - -

    ◆ Pause()

    - -
    -
    - - - - - -
    - - - - - - - -
    Sound & raylib::Sound::Pause ()
    -
    -inline
    -
    - -

    Pause a sound.

    - -

    Definition at line 124 of file Sound.hpp.

    - -
    -
    - -

    ◆ Play()

    - -
    -
    - - - - - -
    - - - - - - - -
    Sound & raylib::Sound::Play ()
    -
    -inline
    -
    - -

    Play a sound.

    - -

    Definition at line 108 of file Sound.hpp.

    - -
    -
    - -

    ◆ PlayMulti()

    - -
    -
    - - - - - -
    - - - - - - - -
    Sound & raylib::Sound::PlayMulti ()
    -
    -inline
    -
    - -

    Play a sound (using multichannel buffer pool)

    - -

    Definition at line 140 of file Sound.hpp.

    - -
    -
    - -

    ◆ Resume()

    - -
    -
    - - - - - -
    - - - - - - - -
    Sound & raylib::Sound::Resume ()
    -
    -inline
    -
    - -

    Resume a paused sound.

    - -

    Definition at line 132 of file Sound.hpp.

    - -
    -
    - +

    ◆ SetFrameCount()

    @@ -806,37 +420,7 @@

    -

    ◆ SetPitch()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Sound & raylib::Sound::SetPitch (float pitch)
    -
    -inline
    -
    - -

    Set pitch for a sound (1.0 is base level)

    - -

    Definition at line 171 of file Sound.hpp.

    - -
    -
    - +

    ◆ SetStream()

    @@ -848,7 +432,7 @@

    void raylib::Sound::SetStream ( - ::AudioStream  + ::AudioStream  value) @@ -870,205 +454,17 @@

    Definition at line 67 of file Sound.hpp.

    -

    -

    - -

    ◆ SetVolume()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Sound & raylib::Sound::SetVolume (float volume)
    -
    -inline
    -
    - -

    Set volume for a sound (1.0 is max level)

    - -

    Definition at line 163 of file Sound.hpp.

    - -
    -
    - -

    ◆ Stop()

    - -
    -
    - - - - - -
    - - - - - - - -
    Sound & raylib::Sound::Stop ()
    -
    -inline
    -
    - -

    Stop playing a sound.

    - -

    Definition at line 116 of file Sound.hpp.

    - -
    -
    - -

    ◆ StopMulti()

    - -
    -
    - - - - - -
    - - - - - - - -
    Sound & raylib::Sound::StopMulti ()
    -
    -inline
    -
    - -

    Stop any sound playing (using multichannel buffer pool)

    - -

    Definition at line 148 of file Sound.hpp.

    - -
    -
    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::Sound::Unload ()
    -
    -inline
    -
    - -

    Unload sound.

    - -

    Definition at line 101 of file Sound.hpp.

    - -

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

    - -
    -
    - -

    ◆ Update() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Sound & raylib::Sound::Update (const void * data)
    -
    -inline
    -
    - -

    Update sound buffer with new data, assuming it's the same sample count.

    - -

    Definition at line 93 of file Sound.hpp.

    - -
    -
    - -

    ◆ Update() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Sound & raylib::Sound::Update (const void * data,
    int samplesCount 
    )
    -
    -inline
    -
    - -

    Update sound buffer with new data.

    - -

    Definition at line 85 of file Sound.hpp.

    +

    References Unload().

    -
    +
    Wave/Sound management functions.
    Definition: Sound.hpp:19
    - + diff --git a/docs/classraylib_1_1_text-members.html b/docs/classraylib_1_1_text-members.html index ed78853c..80e43bed 100644 --- a/docs/classraylib_1_1_text-members.html +++ b/docs/classraylib_1_1_text-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Text Member List
    +
    +
    raylib::Text Member List

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

    - + - + - + - + - + - + - + - + - + - + - + - + + + - -
    colorraylib::Text
    Draw(const ::Vector2 &position)raylib::Textinline
    Draw(const ::Vector2 &position)raylib::Textinline
    Draw(int posX, int posY)raylib::Textinline
    Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})raylib::Textinline
    Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})raylib::Textinline
    Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)raylib::Textinlinestatic
    Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)raylib::Textinlinestatic
    Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)raylib::Textinlinestatic
    Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
    Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
    Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
    fontraylib::Text
    fontSizeraylib::Text
    fontSizeraylib::Text
    GetColor() constraylib::Textinline
    GetFont() constraylib::Textinline
    GetFont() constraylib::Textinline
    GetFontSize() constraylib::Textinline
    GetSpacing() constraylib::Textinline
    GetSpacing() constraylib::Textinline
    GetText() constraylib::Textinline
    Measure()raylib::Textinline
    Measure()raylib::Textinline
    MeasureEx()raylib::Textinline
    operator=(const Text &other)raylib::Textinline
    operator=(const Text &other) (defined in raylib::Text)raylib::Textinline
    SetColor(::Color value)raylib::Textinline
    SetFont(::Font value)raylib::Textinline
    SetFont(::Font value)raylib::Textinline
    SetFontSize(float value)raylib::Textinline
    SetSpacing(float value)raylib::Textinline
    SetSpacing(float value)raylib::Textinline
    SetText(std::string value)raylib::Textinline
    spacingraylib::Text
    spacingraylib::Text
    Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)raylib::Textinline
    Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)raylib::Textinline
    textraylib::Text
    Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)raylib::Textinline
    Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)raylib::Textinline
    -

    - + diff --git a/docs/classraylib_1_1_text.html b/docs/classraylib_1_1_text.html index 3fb94120..c68b7809 100644 --- a/docs/classraylib_1_1_text.html +++ b/docs/classraylib_1_1_text.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Text Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Text Class Reference
    +
    +
    raylib::Text Class Reference

    Text Functions. More...

    - -

    #include <Text.hpp>

    - - + - + - - + + - + - - + + - + - + @@ -131,18 +115,21 @@ - - + + - - + + - - - + + + - + @@ -155,45 +142,50 @@

    +

    Public Member Functions

     Text (const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
     Text (const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
     Initializes a new Text object with a custom font. More...
     
     Text (const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
     Text (const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
     Initializes a new Text object. More...
     
    void Draw (const ::Vector2 &position)
     Draw text with values in class. More...
    +void Draw (const ::Vector2 &position)
     Draw text with values in class.
     
    void Draw (const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})
    void Draw (const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})
     Draw text using Font and pro parameters (rotation). More...
     
    void Draw (int posX, int posY)
     Draw text with values in class. More...
    +void Draw (int posX, int posY)
     Draw text with values in class.
     
    ::Color GetColor () const
    ::Color GetColor () const
     Retrieves the color value for the object. More...
     
    ::Font GetFont () const
    ::Font GetFont () const
     Retrieves the font value for the object. More...
     
    float GetFontSize () const
    std::string GetText () const
     Retrieves the text value for the object. More...
     
    int Measure ()
     Measure string width for default font. More...
    +int Measure ()
     Measure string width for default font.
     
    Vector2 MeasureEx ()
     Measure string size for Font. More...
    +Vector2 MeasureEx ()
     Measure string size for Font.
     
    Textoperator= (const Text &other)
     
    void SetColor (::Color value)
    +Textoperator= (const Text &other)
     
    void SetColor (::Color value)
     Sets the color value for the object. More...
     
    void SetFont (::Font value)
    void SetFont (::Font value)
     Sets the font value for the object. More...
     
    void SetFontSize (float value)
     Sets the text value for the object. More...
     
    - - + - + - + - +

    +

    Static Public Member Functions

    static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
    static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
     Draw text using font, color, position, origin, font size and spacing. More...
     
    static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
    static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
     Draw text using font, color, position, font size and spacing. More...
     
    static void Draw (const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
    static void Draw (const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
     Draw text using font and color, with position defined as Vector2. More...
     
    static void Draw (const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
    static void Draw (const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
     Draw text using font and color. More...
     
    - - - + + - - + + - - + + - - + + - - + +

    +

    Public Attributes

    ::Color color
     The color of the text. More...
    +::Color color
     The color of the text.
     
    ::Font font
     The internal raylib font to use for the text. More...
    +::Font font
     The internal raylib font to use for the text.
     
    float fontSize
     The size of the text. More...
    +float fontSize
     The size of the text.
     
    float spacing
     The character spacing for the text. More...
    +float spacing
     The character spacing for the text.
     
    std::string text
     The internal text. More...
    +std::string text
     The internal text.
     

    Detailed Description

    -

    Text Functions.

    +

    Text Functions.

    Definition at line 14 of file Text.hpp.

    Constructor & Destructor Documentation

    - +

    ◆ Text() [1/2]

    @@ -217,13 +209,13 @@

    - const ::Color &  + const ::Colorcolor = WHITE, - const ::Font &  + const ::Fontfont = ::GetFontDefault(), @@ -261,7 +253,7 @@

    +

    ◆ Text() [2/2]

    @@ -273,7 +265,7 @@

    raylib::Text::Text ( - const ::Font &  + const ::Fontfont, @@ -297,7 +289,7 @@

    - const ::Color &  + const ::Colorcolor = WHITE  @@ -330,8 +322,8 @@

    Member Function Documentation

    - -

    ◆ Draw() [1/7]

    + +

    ◆ Draw() [1/5]

    @@ -342,7 +334,7 @@

    static void raylib::Text::Draw ( - const ::Font &  + const ::Fontfont, @@ -354,13 +346,13 @@

    - const ::Vector2 &  + const ::Vector2position, - const ::Vector2 &  + const ::Vector2origin, @@ -384,7 +376,7 @@

    - const ::Color &  + const ::Colorcolor  @@ -409,8 +401,8 @@

    -

    ◆ Draw() [2/7]

    + +

    ◆ Draw() [2/5]

    @@ -421,7 +413,7 @@

    static void raylib::Text::Draw ( - const ::Font &  + const ::Fontfont, @@ -433,7 +425,7 @@

    - const ::Vector2 &  + const ::Vector2position, @@ -451,7 +443,7 @@

    - const ::Color &  + const ::Colorcolor  @@ -476,8 +468,8 @@

    -

    ◆ Draw() [3/7]

    + +

    ◆ Draw() [3/5]

    - -

    ◆ Draw() [4/7]

    - -
    -
    - - - - + @@ -991,7 +817,7 @@

    +

    ◆ SetFont()

    @@ -1003,7 +829,7 @@

    void raylib::Text::SetFont

    - + @@ -1027,7 +853,7 @@

    +

    ◆ SetFontSize()

    @@ -1063,7 +889,7 @@

    +

    ◆ SetSpacing()

    @@ -1099,7 +925,7 @@

    +

    ◆ SetText()

    @@ -1133,117 +959,14 @@

    Definition at line 87 of file Text.hpp.

    -

    -

    -

    Member Data Documentation

    - -

    ◆ color

    - -
    -
    -

    - - - - - + @@ -555,8 +515,8 @@

    -

    ◆ Draw() [5/7]

    + +

    ◆ Draw() [4/5]

    @@ -573,7 +533,7 @@

    - + @@ -585,7 +545,7 @@

    - + @@ -610,8 +570,8 @@

    -

    ◆ Draw() [6/7]

    + +

    ◆ Draw() [5/5]

    @@ -646,7 +606,7 @@

    - + @@ -671,49 +631,7 @@

    -

    ◆ Draw() [7/7]

    - -
    -
    -
    void raylib::Text::Draw (const ::Vector2 & const ::Vector2 position,
    const ::Vector2 & const ::Vector2 pos,
    const ::Color & const ::Color color 
    const ::Color & const ::Color color 
    - - - - -
    - - - - - - - - - - - - - - - - - - -
    void raylib::Text::Draw (int posX,
    int posY 
    )
    -
    -inline
    -
    - -

    Draw text with values in class.

    - -

    Definition at line 103 of file Text.hpp.

    - -

    References color, raylib::DrawTextEx(), font, fontSize, spacing, and text.

    - -
    - - +

    ◆ GetColor()

    @@ -723,7 +641,7 @@

    - + @@ -743,7 +661,7 @@

    +

    ◆ GetFont()

    @@ -753,7 +671,7 @@

    ::Color raylib::Text::GetColor ::Color raylib::Text::GetColor ( ) const
    - + @@ -773,7 +691,7 @@

    +

    ◆ GetFontSize()

    @@ -803,7 +721,7 @@

    +

    ◆ GetSpacing()

    @@ -833,7 +751,7 @@

    +

    ◆ GetText()

    @@ -863,99 +781,7 @@

    -

    ◆ Measure()

    - -
    -
    -

    ::Font raylib::Text::GetFont ::Font raylib::Text::GetFont ( ) const
    - - - - -
    - - - - - - - -
    int raylib::Text::Measure ()
    -
    -inline
    -

    - -

    Measure string width for default font.

    - -

    Definition at line 124 of file Text.hpp.

    - -

    References fontSize, and text.

    - -
    - - -

    ◆ MeasureEx()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector2 raylib::Text::MeasureEx ()
    -
    -inline
    -
    - -

    Measure string size for Font.

    - -

    Definition at line 131 of file Text.hpp.

    - -

    References font, fontSize, spacing, and text.

    - -
    -
    - -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Text & raylib::Text::operator= (const Textother)
    -
    -inline
    -
    - -

    Definition at line 135 of file Text.hpp.

    - -

    References color, font, fontSize, spacing, and text.

    - -
    -
    - +

    ◆ SetColor()

    @@ -967,7 +793,7 @@

    void raylib::Text::SetColor

    (::Color ::Color  value)
    (::Font ::Font  value)
    - - - -
    ::Color raylib::Text::color
    -
    - -

    The color of the text.

    - -

    Definition at line 29 of file Text.hpp.

    - -

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

    - -
    -
    - -

    ◆ font

    - -
    -
    - - - - -
    ::Font raylib::Text::font
    -
    - -

    The internal raylib font to use for the text.

    - -

    Definition at line 34 of file Text.hpp.

    - -

    Referenced by Draw(), MeasureEx(), and operator=().

    - -
    -
    - -

    ◆ fontSize

    - -
    -
    - - - - -
    float raylib::Text::fontSize
    -
    - -

    The size of the text.

    - -

    Definition at line 24 of file Text.hpp.

    - -

    Referenced by Draw(), Measure(), MeasureEx(), and operator=().

    - -
    -
    - -

    ◆ spacing

    - -
    -
    - - - - -
    float raylib::Text::spacing
    -
    - -

    The character spacing for the text.

    - -

    Definition at line 39 of file Text.hpp.

    - -

    Referenced by Draw(), MeasureEx(), and operator=().

    - -
    -
    - -

    ◆ text

    - -
    -
    - - - - -
    std::string raylib::Text::text
    -
    - -

    The internal text.

    - -

    Definition at line 19 of file Text.hpp.

    - -

    Referenced by Draw(), Measure(), MeasureEx(), and operator=().

    -

    -
    - + diff --git a/docs/classraylib_1_1_texture-members.html b/docs/classraylib_1_1_texture-members.html index 4076fd3a..33f20498 100644 --- a/docs/classraylib_1_1_texture-members.html +++ b/docs/classraylib_1_1_texture-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Texture Member List
    +
    +
    raylib::Texture Member List

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

    - - - - - - - - - - - - + + + + + + + + + + + + - + - + - + - + - + - - - - - + + + + + - - - + + + - - - - - + + + + + - + - - - + + + - - - + + +
    Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    DrawPoly(Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})raylib::Textureinline
    DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})raylib::Textureinline
    GenMipmaps()raylib::Textureinline
    GetData() constraylib::Textureinline
    Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})raylib::Textureinline
    Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    DrawPoly(Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) (defined in raylib::Texture)raylib::Textureinline
    GenMipmaps()raylib::Textureinline
    GetData() constraylib::Textureinline
    GetFormat() constraylib::Textureinline
    GetHeight() constraylib::Textureinline
    GetHeight() constraylib::Textureinline
    GetId() constraylib::Textureinline
    GetMipmaps() constraylib::Textureinline
    GetMipmaps() constraylib::Textureinline
    GetSize() constraylib::Textureinline
    GetWidth() constraylib::Textureinline
    GetWidth() constraylib::Textureinline
    IsReady() constraylib::Textureinline
    Load(const ::Image &image)raylib::Textureinline
    Load(const ::Image &image)raylib::Textureinline
    Load(const ::Image &image, int layoutType)raylib::Textureinline
    Load(const std::string &fileName)raylib::Textureinline
    Load(const std::string &fileName)raylib::Textureinline
    operator raylib::Image()raylib::Textureinline
    operator=(const ::Texture &texture)raylib::Textureinline
    operator=(const Texture &)=deleteraylib::Texture
    operator=(Texture &&other) noexceptraylib::Textureinline
    SetFilter(int filterMode)raylib::Textureinline
    SetFormat(int value)raylib::Textureinline
    operator=(const ::Texture &texture) (defined in raylib::Texture)raylib::Textureinline
    operator=(const Texture &)=delete (defined in raylib::Texture)raylib::Texture
    operator=(Texture &&other) noexcept (defined in raylib::Texture)raylib::Textureinline
    SetFilter(int filterMode)raylib::Textureinline
    SetFormat(int value)raylib::Textureinline
    SetHeight(int value)raylib::Textureinline
    SetId(unsigned int value)raylib::Textureinline
    SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::Textureinline
    SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)raylib::Textureinline
    SetId(unsigned int value)raylib::Textureinline
    SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::Textureinline
    SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::Texture)raylib::Textureinline
    SetMipmaps(int value)raylib::Textureinline
    SetShaderValue(const ::Shader &shader, int locIndex)raylib::Textureinline
    SetShapes(const ::Rectangle &source)raylib::Textureinline
    SetWidth(int value)raylib::Textureinline
    SetWrap(int wrapMode)raylib::Textureinline
    Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)raylib::Textureinline
    SetShaderValue(const ::Shader &shader, int locIndex)raylib::Textureinline
    SetShapes(const ::Rectangle &source)raylib::Textureinline
    SetWidth(int value)raylib::Textureinline
    SetWrap(int wrapMode)raylib::Textureinline
    Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)raylib::Textureinline
    Texture(const ::Texture &texture)raylib::Textureinline
    Texture(const ::Image &image)raylib::Textureinline
    Texture(const ::Image &image)raylib::Textureinline
    Texture(const ::Image &image, int layout)raylib::Textureinline
    Texture(const std::string &fileName)raylib::Textureinline
    Texture(const Texture &)=deleteraylib::Texture
    Texture(Texture &&other)raylib::Textureinline
    Texture(const std::string &fileName)raylib::Textureinline
    Texture(const Texture &)=delete (defined in raylib::Texture)raylib::Texture
    Texture(Texture &&other) (defined in raylib::Texture)raylib::Textureinline
    Unload()raylib::Textureinline
    Update(const void *pixels)raylib::Textureinline
    Update(::Rectangle rec, const void *pixels)raylib::Textureinline
    ~Texture()raylib::Textureinline
    Update(const void *pixels)raylib::Textureinline
    Update(::Rectangle rec, const void *pixels)raylib::Textureinline
    ~Texture() (defined in raylib::Texture)raylib::Textureinline
    -

    - + diff --git a/docs/classraylib_1_1_texture.html b/docs/classraylib_1_1_texture.html index 6ca126b3..af7e41cd 100644 --- a/docs/classraylib_1_1_texture.html +++ b/docs/classraylib_1_1_texture.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Texture Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Texture Class Reference
    +
    +
    raylib::Texture Class Reference

    Texture type. More...

    - -

    #include <Texture.hpp>

    - - + - + - - + + - + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -159,8 +155,9 @@ - - + + @@ -168,27 +165,35 @@ - - + + - - + + - - + + - - + + - - - - - - - - - + + + + + + + + + @@ -198,131 +203,51 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - + + + + + - - - - - - + + + + + +

    +

    Public Member Functions

     Texture (const ::Image &image)
     Texture (const ::Image &image)
     Creates a texture from the given Image. More...
     
     Texture (const ::Image &image, int layout)
     Texture (const ::Image &image, int layout)
     Load cubemap from image, multiple image cubemap layouts supported. More...
     
     Texture (const ::Texture &texture)
     Creates a texture object based on the given Texture struct data. More...
    Texture (const ::Texture &texture)
     Creates a texture object based on the given Texture struct data.
     
     Texture (const std::string &fileName)
     Load texture from file into GPU memory (VRAM) More...
     
     Texture (const Texture &)=delete
    Texture (const Texture &)=delete
     
     Texture (Texture &&other)
    Texture (Texture &&other)
     
     Texture (unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
     Default constructor to create an empty Texture object. More...
    Texture (unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)
     Default constructor to create an empty Texture object.
     
     ~Texture ()
     
    TextureDraw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
     
    TextureDraw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
     
    TextureDraw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})
     
    TextureDraw (::Vector2 position, ::Color tint={255, 255, 255, 255})
     
    TextureDraw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})
     
    TextureDraw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})
     
    TextureDraw (::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})
     
    TextureDraw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
     Draw a Texture2D. More...
     
    TextureDrawPoly (Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})
     
    TextureDrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})
     
    TextureGenMipmaps ()
     Generate GPU mipmaps for a texture. More...
     
    inline ::Image GetData () const
     Get pixel data from GPU texture and return an Image. More...
    +TextureDraw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
     
    +TextureDraw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})
     
    +TextureDraw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})
     
    +TextureDraw (::Vector2 position, ::Color tint={255, 255, 255, 255})
     
    +TextureDraw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})
     
    +TextureDraw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})
     
    +TextureDraw (::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})
     
    +TextureDraw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})
     Draw a Texture2D.
     
    +TextureDrawPoly (Vector2 center, Vector2 *points, Vector2 *texcoords, int pointsCount, Color tint={255, 255, 255, 255})
     
    +TextureDrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255})
     
    +TextureGenMipmaps ()
     Generate GPU mipmaps for a texture.
     
    +inline ::Image GetData () const
     Get pixel data from GPU texture and return an Image.
     
    int GetFormat () const
     Retrieves the format value for the object. More...
    int GetMipmaps () const
     Retrieves the mipmaps value for the object. More...
     
    inline ::Vector2 GetSize () const
     Retrieve the width and height of the texture. More...
    +inline ::Vector2 GetSize () const
     Retrieve the width and height of the texture.
     
    int GetWidth () const
     Retrieves the width value for the object. More...
    bool IsReady () const
     Determines whether or not the Texture has been loaded and is ready. More...
     
    bool Load (const ::Image &image)
     Load texture from image data. More...
    +bool Load (const ::Image &image)
     Load texture from image data.
     
    bool Load (const ::Image &image, int layoutType)
     Load cubemap from image, multiple image cubemap layouts supported. More...
    +bool Load (const ::Image &image, int layoutType)
     Load cubemap from image, multiple image cubemap layouts supported.
     
    bool Load (const std::string &fileName)
     Load texture from file into GPU memory (VRAM) More...
    +bool Load (const std::string &fileName)
     Load texture from file into GPU memory (VRAM)
     
     operator raylib::Image ()
     Get pixel data from GPU texture and return an Image. More...
    operator raylib::Image ()
     Get pixel data from GPU texture and return an Image.
     
    Textureoperator= (const ::Texture &texture)
     
    Textureoperator= (const Texture &)=delete
     
    Textureoperator= (Texture &&other) noexcept
     
    TextureSetFilter (int filterMode)
     Set texture scaling filter mode. More...
     
    +Textureoperator= (const ::Texture &texture)
     
    +Textureoperator= (const Texture &)=delete
     
    +Textureoperator= (Texture &&other) noexcept
     
    +TextureSetFilter (int filterMode)
     Set texture scaling filter mode.
     
    void SetFormat (int value)
     Sets the format value for the object. More...
     
    void SetId (unsigned int value)
     Sets the id value for the object. More...
     
    TextureSetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL)
     Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) More...
     
    TextureSetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
     
    +TextureSetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL)
     Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
     
    +TextureSetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
     
    void SetMipmaps (int value)
     Sets the mipmaps value for the object. More...
     
    TextureSetShaderValue (const ::Shader &shader, int locIndex)
     Set shader uniform value for texture (sampler2d) More...
     
    TextureSetShapes (const ::Rectangle &source)
     Set texture and rectangle to be used on shapes drawing. More...
     
    +TextureSetShaderValue (const ::Shader &shader, int locIndex)
     Set shader uniform value for texture (sampler2d)
     
    +TextureSetShapes (const ::Rectangle &source)
     Set texture and rectangle to be used on shapes drawing.
     
    void SetWidth (int value)
     Sets the width value for the object. More...
     
    TextureSetWrap (int wrapMode)
     Set texture wrapping mode. More...
     
    void Unload ()
     Unload texture from GPU memory (VRAM) More...
    +TextureSetWrap (int wrapMode)
     Set texture wrapping mode.
     
    +void Unload ()
     Unload texture from GPU memory (VRAM)
     
    TextureUpdate (::Rectangle rec, const void *pixels)
     Update GPU texture rectangle with new data. More...
     
    TextureUpdate (const void *pixels)
     Update GPU texture with new data. More...
     
    +TextureUpdate (::Rectangle rec, const void *pixels)
     Update GPU texture rectangle with new data.
     
    +TextureUpdate (const void *pixels)
     Update GPU texture with new data.
     

    Detailed Description

    -

    Texture type.

    +

    Texture type.

    Definition at line 16 of file Texture.hpp.

    Constructor & Destructor Documentation

    - -

    ◆ Texture() [1/7]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Texture::Texture (unsigned int id = 0,
    int width = 0,
    int height = 0,
    int mipmaps = 0,
    int format = 0 
    )
    -
    -inline
    -
    - -

    Default constructor to create an empty Texture object.

    - -

    Definition at line 21 of file Texture.hpp.

    - -
    -
    - -

    ◆ Texture() [2/7]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Texture::Texture (const ::Texture & texture)
    -
    -inline
    -
    - -

    Creates a texture object based on the given Texture struct data.

    - -

    Definition at line 32 of file Texture.hpp.

    - -
    -
    - -

    ◆ Texture() [3/7]

    + +

    ◆ Texture() [1/3]

    @@ -333,7 +258,7 @@

    raylib::Texture::Texture ( - const ::Image &  + const ::Imageimage) @@ -359,8 +284,8 @@

    -

    ◆ Texture() [4/7]

    + +

    ◆ Texture() [2/3]

    @@ -371,7 +296,7 @@

    raylib::Texture::Texture ( - const ::Image &  + const ::Imageimage, @@ -408,8 +333,8 @@

    -

    ◆ Texture() [5/7]

    + +

    ◆ Texture() [3/3]

    @@ -446,8 +371,9 @@

    -

    ◆ Texture() [6/7]

    +

    Member Function Documentation

    + +

    ◆ GetFormat()

    - -

    ◆ Texture() [7/7]

    + +

    ◆ GetHeight()

    @@ -482,11 +412,10 @@

    - + - - - + +
    raylib::Texture::Texture int raylib::Texture::GetHeight (Texture && other)) const
    @@ -496,12 +425,15 @@

    -

    Definition at line 73 of file Texture.hpp.

    +

    Retrieves the height value for the object.

    +
    Returns
    The height value of the object.
    + +

    Definition at line 89 of file Texture.hpp.

    - -

    ◆ ~Texture()

    + +

    ◆ GetId()

    @@ -510,10 +442,10 @@

    - + - +
    raylib::Texture::~Texture unsigned int raylib::Texture::GetId ( ) const
    @@ -523,15 +455,15 @@

    -

    Definition at line 83 of file Texture.hpp.

    +

    Retrieves the id value for the object.

    +
    Returns
    The id value of the object.
    -

    References Unload().

    +

    Definition at line 87 of file Texture.hpp.

    -

    Member Function Documentation

    - -

    ◆ Draw() [1/8]

    + +

    ◆ GetMipmaps()

    - -

    ◆ Draw() [2/8]

    + +

    ◆ GetWidth()

    - -

    ◆ Draw() [3/8]

    + +

    ◆ IsReady()

    - -

    ◆ Draw() [4/8]

    + +

    ◆ SetFormat()

    - -

    ◆ Draw() [5/8]

    + +

    ◆ SetHeight()

    - -

    ◆ Draw() [6/8]

    + +

    ◆ SetId()

    - -

    ◆ Draw() [7/8]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::Draw (::Vector3 position,
    float width,
    float height,
    float length,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 252 of file Texture.hpp.

    - -
    -
    - -

    ◆ Draw() [8/8]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::Draw (int posX = 0,
    int posY = 0,
    ::Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Draw a Texture2D.

    - -

    Definition at line 212 of file Texture.hpp.

    - -
    -
    - -

    ◆ DrawPoly()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::DrawPoly (Vector2 center,
    Vector2points,
    Vector2texcoords,
    int pointsCount,
    Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 264 of file Texture.hpp.

    - -
    -
    - -

    ◆ DrawTiled()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::DrawTiled (::Rectangle sourceRec,
    ::Rectangle destRec,
    ::Vector2 origin = {0, 0},
    float rotation = 0,
    float scale = 1,
    Color tint = {255, 255, 255, 255} 
    )
    -
    -inline
    -
    - -

    Definition at line 258 of file Texture.hpp.

    - -
    -
    - -

    ◆ GenMipmaps()

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

    Generate GPU mipmaps for a texture.

    - -

    Definition at line 188 of file Texture.hpp.

    - -
    -
    - -

    ◆ GetData()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Image raylib::Texture::GetData () const
    -
    -inline
    -
    - -

    Get pixel data from GPU texture and return an Image.

    - -

    Definition at line 174 of file Texture.hpp.

    - -

    Referenced by operator raylib::Image().

    - -
    -
    - -

    ◆ GetFormat()

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

    Retrieves the format value for the object.

    -
    Returns
    The format value of the object.
    - -

    Definition at line 91 of file Texture.hpp.

    - -
    -
    - -

    ◆ GetHeight()

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

    Retrieves the height value for the object.

    -
    Returns
    The height value of the object.
    - -

    Definition at line 89 of file Texture.hpp.

    - -
    -
    - -

    ◆ GetId()

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

    Retrieves the id value for the object.

    -
    Returns
    The id value of the object.
    - -

    Definition at line 87 of file Texture.hpp.

    - -
    -
    - -

    ◆ GetMipmaps()

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

    Retrieves the mipmaps value for the object.

    -
    Returns
    The mipmaps value of the object.
    - -

    Definition at line 90 of file Texture.hpp.

    - -
    -
    - -

    ◆ GetSize()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Vector2 raylib::Texture::GetSize () const
    -
    -inline
    -
    - -

    Retrieve the width and height of the texture.

    - -

    Definition at line 120 of file Texture.hpp.

    - -
    -
    - -

    ◆ GetWidth()

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

    Retrieves the width value for the object.

    -
    Returns
    The width value of the object.
    - -

    Definition at line 88 of file Texture.hpp.

    - -
    -
    - -

    ◆ IsReady()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Texture::IsReady () const
    -
    -inline
    -
    - -

    Determines whether or not the Texture has been loaded and is ready.

    -
    Returns
    True or false depending on whether the Texture has data.
    - -

    Definition at line 305 of file Texture.hpp.

    - -

    Referenced by Load().

    - -
    -
    - -

    ◆ Load() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Texture::Load (const ::Image & image)
    -
    -inline
    -
    - -

    Load texture from image data.

    - -

    Definition at line 127 of file Texture.hpp.

    - -

    References IsReady().

    - -

    Referenced by Texture().

    - -
    -
    - -

    ◆ Load() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool raylib::Texture::Load (const ::Image & image,
    int layoutType 
    )
    -
    -inline
    -
    - -

    Load cubemap from image, multiple image cubemap layouts supported.

    - -

    Definition at line 135 of file Texture.hpp.

    - -

    References IsReady().

    - -
    -
    - -

    ◆ Load() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Texture::Load (const std::string & fileName)
    -
    -inline
    -
    - -

    Load texture from file into GPU memory (VRAM)

    - -

    Definition at line 143 of file Texture.hpp.

    - -

    References IsReady().

    - -
    -
    - -

    ◆ operator raylib::Image()

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

    Get pixel data from GPU texture and return an Image.

    - -

    Definition at line 181 of file Texture.hpp.

    - -

    References GetData().

    - -
    -
    - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Texture & raylib::Texture::operator= (const ::Texturetexture)
    -
    -inline
    -
    - -

    Definition at line 93 of file Texture.hpp.

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Texture & raylib::Texture::operator= (const Texture)
    -
    -delete
    -
    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Texture & raylib::Texture::operator= (Texture && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 100 of file Texture.hpp.

    - -

    References Unload().

    - -
    -
    - -

    ◆ SetFilter()

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

    Set texture scaling filter mode.

    - -

    Definition at line 196 of file Texture.hpp.

    - -
    -
    - -

    ◆ SetFormat()

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

    Sets the format value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set format to.
    -
    -
    - -

    Definition at line 91 of file Texture.hpp.

    - -
    -
    - -

    ◆ SetHeight()

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

    Sets the height value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set height to.
    -
    -
    - -

    Definition at line 89 of file Texture.hpp.

    - -
    -
    - -

    ◆ SetId()

    - -
    -
    - - - - - -
    - - - - - - + +
    void raylib::Texture::SetId (unsigned int value)unsigned int value)
    @@ -1676,85 +662,7 @@

    -

    ◆ SetMaterial() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::SetMaterial (::Material * material,
    int mapType = MATERIAL_MAP_NORMAL 
    )
    -
    -inline
    -
    - -

    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)

    - -

    Definition at line 274 of file Texture.hpp.

    - -
    -
    - -

    ◆ SetMaterial() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::SetMaterial (const ::Material & material,
    int mapType = MATERIAL_MAP_NORMAL 
    )
    -
    -inline
    -
    - -

    Definition at line 279 of file Texture.hpp.

    - -
    -
    - +

    ◆ SetMipmaps()

    @@ -1790,77 +698,7 @@

    -

    ◆ SetShaderValue()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::SetShaderValue (const ::Shader & shader,
    int locIndex 
    )
    -
    -inline
    -
    - -

    Set shader uniform value for texture (sampler2d)

    - -

    Definition at line 295 of file Texture.hpp.

    - -
    -
    - -

    ◆ SetShapes()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Texture & raylib::Texture::SetShapes (const ::Rectangle & source)
    -
    -inline
    -
    - -

    Set texture and rectangle to be used on shapes drawing.

    - -

    Definition at line 287 of file Texture.hpp.

    - -
    -
    - +

    ◆ SetWidth()

    @@ -1894,147 +732,14 @@

    Definition at line 88 of file Texture.hpp.

    -

    -

    - -

    ◆ SetWrap()

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

    Set texture wrapping mode.

    - -

    Definition at line 204 of file Texture.hpp.

    - -
    -
    - -

    ◆ Unload()

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

    Unload texture from GPU memory (VRAM)

    - -

    Definition at line 151 of file Texture.hpp.

    - -

    Referenced by ~Texture(), and operator=().

    - -
    -
    - -

    ◆ Update() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Texture & raylib::Texture::Update (::Rectangle rec,
    const void * pixels 
    )
    -
    -inline
    -
    - -

    Update GPU texture rectangle with new data.

    - -

    Definition at line 166 of file Texture.hpp.

    - -
    -
    - -

    ◆ Update() [2/2]

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

    Update GPU texture with new data.

    - -

    Definition at line 158 of file Texture.hpp.

    -
    - - + diff --git a/docs/classraylib_1_1_vector2-members.html b/docs/classraylib_1_1_vector2-members.html index abd1cca6..e852c513 100644 --- a/docs/classraylib_1_1_vector2-members.html +++ b/docs/classraylib_1_1_vector2-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Vector2 Member List
    +
    +
    raylib::Vector2 Member List

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

    - - + + - + - + - + - - - - - - - - - - - + + + + + + + + + + + - + - + - - - + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - - - - + + + + +
    Add(const ::Vector2 &vector2) constraylib::Vector2inline
    Angle(const ::Vector2 &vector2) constraylib::Vector2inline
    Add(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    Angle(const ::Vector2 &vector2) constraylib::Vector2inline
    CheckCollision(::Rectangle rec) constraylib::Vector2inline
    CheckCollision(::Vector2 center, float radius) constraylib::Vector2inline
    CheckCollision(::Vector2 center, float radius) constraylib::Vector2inline
    CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) constraylib::Vector2inline
    CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) constraylib::Vector2inline
    CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) constraylib::Vector2inline
    CheckCollisionCircle(float radius, ::Rectangle rec) constraylib::Vector2inline
    CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) constraylib::Vector2inline
    CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) constraylib::Vector2inline
    Distance(const ::Vector2 &vector2) constraylib::Vector2inline
    Divide(const ::Vector2 &vector2) constraylib::Vector2inline
    Divide(const float div) constraylib::Vector2inline
    DotProduct(const ::Vector2 &vector2) constraylib::Vector2inline
    DrawCircle(float radius, ::Color color)raylib::Vector2inline
    DrawLine(::Vector2 endPos, ::Color color)raylib::Vector2inline
    DrawLine(::Vector2 endPos, float thick, ::Color color)raylib::Vector2inline
    DrawLineBezier(::Vector2 endPos, float thick, ::Color color)raylib::Vector2inline
    DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)raylib::Vector2inline
    DrawPixel(::Color color)raylib::Vector2inline
    DrawPoly(int sides, float radius, float rotation, ::Color color)raylib::Vector2inline
    DrawRectangle(::Vector2 size, ::Color color)raylib::Vector2inline
    Divide(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    Divide(const float div) const (defined in raylib::Vector2)raylib::Vector2inline
    DotProduct(const ::Vector2 &vector2) constraylib::Vector2inline
    DrawCircle(float radius, ::Color color)raylib::Vector2inline
    DrawLine(::Vector2 endPos, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
    DrawLine(::Vector2 endPos, float thick, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
    DrawLineBezier(::Vector2 endPos, float thick, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
    DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)raylib::Vector2inline
    DrawPixel(::Color color) (defined in raylib::Vector2)raylib::Vector2inline
    DrawPoly(int sides, float radius, float rotation, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
    DrawRectangle(::Vector2 size, ::Color color) (defined in raylib::Vector2)raylib::Vector2inline
    GetX() constraylib::Vector2inline
    GetY() constraylib::Vector2inline
    GetY() constraylib::Vector2inline
    Length() constraylib::Vector2inline
    LengthSqr() constraylib::Vector2inline
    LengthSqr() constraylib::Vector2inline
    Lerp(const ::Vector2 &vector2, float amount) constraylib::Vector2inline
    MoveTowards(const ::Vector2 &target, float maxDistance) constraylib::Vector2inline
    Multiply(const ::Vector2 &vector2) constraylib::Vector2inline
    Negate() constraylib::Vector2inline
    MoveTowards(const ::Vector2 &target, float maxDistance) constraylib::Vector2inline
    Multiply(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    Negate() const (defined in raylib::Vector2)raylib::Vector2inline
    Normalize() constraylib::Vector2inline
    One()raylib::Vector2inlinestatic
    operator!=(const ::Vector2 &other)raylib::Vector2inline
    operator*(const ::Vector2 &vector2) constraylib::Vector2inline
    operator*(const float scale) constraylib::Vector2inline
    operator*=(const ::Vector2 &vector2)raylib::Vector2inline
    operator*=(const float scale)raylib::Vector2inline
    operator+(const ::Vector2 &vector2) constraylib::Vector2inline
    operator+=(const ::Vector2 &vector2)raylib::Vector2inline
    operator-(const ::Vector2 &vector2) constraylib::Vector2inline
    operator-() constraylib::Vector2inline
    operator-=(const ::Vector2 &vector2)raylib::Vector2inline
    operator/(const ::Vector2 &vector2) constraylib::Vector2inline
    operator/(const float div) constraylib::Vector2inline
    operator/=(const ::Vector2 &vector2)raylib::Vector2inline
    operator/=(const float div)raylib::Vector2inline
    operator=(const ::Vector2 &vector2)raylib::Vector2inline
    operator==(const ::Vector2 &other)raylib::Vector2inline
    One()raylib::Vector2inlinestatic
    operator!=(const ::Vector2 &other) (defined in raylib::Vector2)raylib::Vector2inline
    operator*(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    operator*(const float scale) const (defined in raylib::Vector2)raylib::Vector2inline
    operator*=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
    operator*=(const float scale) (defined in raylib::Vector2)raylib::Vector2inline
    operator+(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    operator+=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
    operator-(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    operator-() const (defined in raylib::Vector2)raylib::Vector2inline
    operator-=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
    operator/(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    operator/(const float div) const (defined in raylib::Vector2)raylib::Vector2inline
    operator/=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
    operator/=(const float div) (defined in raylib::Vector2)raylib::Vector2inline
    operator=(const ::Vector2 &vector2) (defined in raylib::Vector2)raylib::Vector2inline
    operator==(const ::Vector2 &other) (defined in raylib::Vector2)raylib::Vector2inline
    Reflect(const ::Vector2 &normal) constraylib::Vector2inline
    Rotate(float degrees) constraylib::Vector2inline
    Scale(const float scale) constraylib::Vector2inline
    SetX(float value)raylib::Vector2inline
    Rotate(float degrees) constraylib::Vector2inline
    Scale(const float scale) const (defined in raylib::Vector2)raylib::Vector2inline
    SetX(float value)raylib::Vector2inline
    SetY(float value)raylib::Vector2inline
    Subtract(const ::Vector2 &vector2) constraylib::Vector2inline
    Vector2(const ::Vector2 &vec)raylib::Vector2inline
    Vector2(float x, float y)raylib::Vector2inline
    Vector2(float x)raylib::Vector2inline
    Vector2()raylib::Vector2inline
    Subtract(const ::Vector2 &vector2) const (defined in raylib::Vector2)raylib::Vector2inline
    Vector2(const ::Vector2 &vec) (defined in raylib::Vector2)raylib::Vector2inline
    Vector2(float x, float y) (defined in raylib::Vector2)raylib::Vector2inline
    Vector2(float x) (defined in raylib::Vector2)raylib::Vector2inline
    Vector2() (defined in raylib::Vector2)raylib::Vector2inline
    Zero()raylib::Vector2inlinestatic
    - - + diff --git a/docs/classraylib_1_1_vector2.html b/docs/classraylib_1_1_vector2.html index 852dd514..e9e47d95 100644 --- a/docs/classraylib_1_1_vector2.html +++ b/docs/classraylib_1_1_vector2.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Vector2 Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Vector2 Class Reference
    +
    +
    raylib::Vector2 Class Reference

    Vector2 type. More...

    - -

    #include <Vector2.hpp>

    - - - - + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - + - + - - + + - + - + - + - - - - - + + + + + - - - + + + - + - - - + + + - + - - - - - - - + + + + + + + - - + + - - + + - + @@ -230,119 +259,28 @@ - +

    +

    Public Member Functions

     Vector2 ()
     
     Vector2 (const ::Vector2 &vec)
    Vector2 (const ::Vector2 &vec)
     
     Vector2 (float x)
    Vector2 (float x)
     
     Vector2 (float x, float y)
    Vector2 (float x, float y)
     
    Vector2 Add (const ::Vector2 &vector2) const
    +Vector2 Add (const ::Vector2 &vector2) const
     
    float Angle (const ::Vector2 &vector2) const
     Calculate angle from two vectors in X-axis. More...
    +float Angle (const ::Vector2 &vector2) const
     Calculate angle from two vectors in X-axis.
     
    bool CheckCollision (::Rectangle rec) const
     Check if point is inside rectangle. More...
    +bool CheckCollision (::Rectangle rec) const
     Check if point is inside rectangle.
     
    bool CheckCollision (::Vector2 center, float radius) const
     Check if point is inside circle. More...
    +bool CheckCollision (::Vector2 center, float radius) const
     Check if point is inside circle.
     
    bool CheckCollision (::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
     Check if point is inside a triangle. More...
    +bool CheckCollision (::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
     Check if point is inside a triangle.
     
    bool CheckCollisionCircle (float radius, ::Rectangle rec) const
     Check collision between circle and rectangle. More...
    +bool CheckCollisionCircle (float radius, ::Rectangle rec) const
     Check collision between circle and rectangle.
     
    bool CheckCollisionCircle (float radius1, ::Vector2 center2, float radius2) const
     Check collision between two circles. More...
    +bool CheckCollisionCircle (float radius1, ::Vector2 center2, float radius2) const
     Check collision between two circles.
     
    bool CheckCollisionLines (::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
     Check the collision between two lines defined by two points each, returns collision point by reference. More...
    +bool CheckCollisionLines (::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
     Check the collision between two lines defined by two points each, returns collision point by reference.
     
    float Distance (const ::Vector2 &vector2) const
     Calculate distance between two vectors. More...
    +float Distance (const ::Vector2 &vector2) const
     Calculate distance between two vectors.
     
    Vector2 Divide (const ::Vector2 &vector2) const
    +Vector2 Divide (const ::Vector2 &vector2) const
     
    Vector2 Divide (const float div) const
    +Vector2 Divide (const float div) const
     
    float DotProduct (const ::Vector2 &vector2) const
     Calculate two vectors dot product. More...
    +float DotProduct (const ::Vector2 &vector2) const
     Calculate two vectors dot product.
     
    Vector2DrawCircle (float radius, ::Color color)
     Draw a color-filled circle (Vector version) More...
     
    Vector2DrawLine (::Vector2 endPos, ::Color color)
     
    Vector2DrawLine (::Vector2 endPos, float thick, ::Color color)
     
    Vector2DrawLineBezier (::Vector2 endPos, float thick, ::Color color)
     
    Vector2DrawLineBezierQuad (::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
     Draw line using quadratic bezier curves with a control point. More...
     
    Vector2DrawPixel (::Color color)
     
    Vector2DrawPoly (int sides, float radius, float rotation, ::Color color)
     
    Vector2DrawRectangle (::Vector2 size, ::Color color)
     
    +Vector2DrawCircle (float radius, ::Color color)
     Draw a color-filled circle (Vector version)
     
    +Vector2DrawLine (::Vector2 endPos, ::Color color)
     
    +Vector2DrawLine (::Vector2 endPos, float thick, ::Color color)
     
    +Vector2DrawLineBezier (::Vector2 endPos, float thick, ::Color color)
     
    +Vector2DrawLineBezierQuad (::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color)
     Draw line using quadratic bezier curves with a control point.
     
    +Vector2DrawPixel (::Color color)
     
    +Vector2DrawPoly (int sides, float radius, float rotation, ::Color color)
     
    +Vector2DrawRectangle (::Vector2 size, ::Color color)
     
    float GetX () const
     Retrieves the x value for the object. More...
     
    float GetY () const
     Retrieves the y value for the object. More...
     
    float Length () const
     Calculate vector length. More...
    +float Length () const
     Calculate vector length.
     
    float LengthSqr () const
     Calculate vector square length. More...
    +float LengthSqr () const
     Calculate vector square length.
     
    Vector2 Lerp (const ::Vector2 &vector2, float amount) const
     Calculate linear interpolation between two vectors. More...
    +Vector2 Lerp (const ::Vector2 &vector2, float amount) const
     Calculate linear interpolation between two vectors.
     
    Vector2 MoveTowards (const ::Vector2 &target, float maxDistance) const
     Move Vector towards target. More...
    +Vector2 MoveTowards (const ::Vector2 &target, float maxDistance) const
     Move Vector towards target.
     
    Vector2 Multiply (const ::Vector2 &vector2) const
    +Vector2 Multiply (const ::Vector2 &vector2) const
     
    Vector2 Negate () const
    +Vector2 Negate () const
     
    Vector2 Normalize () const
     Normalize provided vector. More...
    +Vector2 Normalize () const
     Normalize provided vector.
     
    bool operator!= (const ::Vector2 &other)
    +bool operator!= (const ::Vector2 &other)
     
    Vector2 operator* (const ::Vector2 &vector2) const
    +Vector2 operator* (const ::Vector2 &vector2) const
     
    Vector2 operator* (const float scale) const
    +Vector2 operator* (const float scale) const
     
    Vector2operator*= (const ::Vector2 &vector2)
     
    Vector2operator*= (const float scale)
     
    Vector2 operator+ (const ::Vector2 &vector2) const
    +Vector2operator*= (const ::Vector2 &vector2)
     
    +Vector2operator*= (const float scale)
     
    +Vector2 operator+ (const ::Vector2 &vector2) const
     
    Vector2operator+= (const ::Vector2 &vector2)
     
    Vector2 operator- () const
    +Vector2operator+= (const ::Vector2 &vector2)
     
    +Vector2 operator- () const
     
    Vector2 operator- (const ::Vector2 &vector2) const
    +Vector2 operator- (const ::Vector2 &vector2) const
     
    Vector2operator-= (const ::Vector2 &vector2)
     
    Vector2 operator/ (const ::Vector2 &vector2) const
    +Vector2operator-= (const ::Vector2 &vector2)
     
    +Vector2 operator/ (const ::Vector2 &vector2) const
     
    Vector2 operator/ (const float div) const
    +Vector2 operator/ (const float div) const
     
    Vector2operator/= (const ::Vector2 &vector2)
     
    Vector2operator/= (const float div)
     
    Vector2operator= (const ::Vector2 &vector2)
     
    bool operator== (const ::Vector2 &other)
    +Vector2operator/= (const ::Vector2 &vector2)
     
    +Vector2operator/= (const float div)
     
    +Vector2operator= (const ::Vector2 &vector2)
     
    +bool operator== (const ::Vector2 &other)
     
    Vector2 Reflect (const ::Vector2 &normal) const
     Calculate reflected vector to normal. More...
    +Vector2 Reflect (const ::Vector2 &normal) const
     Calculate reflected vector to normal.
     
    Vector2 Rotate (float degrees) const
     Rotate Vector by float in Degrees. More...
    +Vector2 Rotate (float degrees) const
     Rotate Vector by float in Degrees.
     
    Vector2 Scale (const float scale) const
    +Vector2 Scale (const float scale) const
     
    void SetX (float value)
     Sets the x value for the object. More...
    void SetY (float value)
     Sets the y value for the object. More...
     
    Vector2 Subtract (const ::Vector2 &vector2) const
    +Vector2 Subtract (const ::Vector2 &vector2) const
     
    - - - + + - - + +

    +

    Static Public Member Functions

    static Vector2 One ()
     Vector with components value 1.0f. More...
    +static Vector2 One ()
     Vector with components value 1.0f.
     
    static Vector2 Zero ()
     Vector with components value 0.0f. More...
    +static Vector2 Zero ()
     Vector with components value 0.0f.
     

    Detailed Description

    -

    Vector2 type.

    +

    Vector2 type.

    Definition at line 16 of file Vector2.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Vector2() [1/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Vector2::Vector2 (const ::Vector2 & vec)
    -
    -inline
    -
    - -

    Definition at line 18 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Vector2() [2/4]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Vector2::Vector2 (float x,
    float y 
    )
    -
    -inline
    -
    - -

    Definition at line 22 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Vector2() [3/4]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Vector2::Vector2 (float x)
    -
    -inline
    -
    - -

    Definition at line 23 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Vector2() [4/4]

    +

    Member Function Documentation

    + +

    ◆ GetX()

    -inline
    -
    - -

    Definition at line 24 of file Vector2.hpp.

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ Add()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Add (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 44 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Angle()

    - -
    -
    - - - @@ -577,14 +363,20 @@

    -

    Check collision between circle and rectangle.

    +

    Sets the x value for the object.

    +
    Parameters
    +

    - - - - - -
    float raylib::Vector2::Angle (const ::Vector2vector2) const
    @@ -421,14 +302,15 @@

    -

    Calculate angle from two vectors in X-axis.

    +

    Retrieves the x value for the object.

    +
    Returns
    The x value of the object.
    -

    Definition at line 169 of file Vector2.hpp.

    +

    Definition at line 26 of file Vector2.hpp.

    - -

    ◆ CheckCollision() [1/3]

    + +

    ◆ GetY()

    - -

    ◆ CheckCollision() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool raylib::Vector2::CheckCollision (::Vector2 center,
    float radius 
    ) const
    -
    -inline
    -
    - -

    Check if point is inside circle.

    - -

    Definition at line 297 of file Vector2.hpp.

    - -
    -
    - -

    ◆ CheckCollision() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    bool raylib::Vector2::CheckCollision (::Vector2 p1,
    ::Vector2 p2,
    ::Vector2 p3 
    ) const
    -
    -inline
    -
    - -

    Check if point is inside a triangle.

    +

    Retrieves the y value for the object.

    +
    Returns
    The y value of the object.
    -

    Definition at line 304 of file Vector2.hpp.

    +

    Definition at line 27 of file Vector2.hpp.

    - -

    ◆ CheckCollisionCircle() [1/2]

    + +

    ◆ SetX()

    + +
    valueThe value of which to set x to.
    + + -

    Definition at line 283 of file Vector2.hpp.

    +

    Definition at line 26 of file Vector2.hpp.

    - -

    ◆ CheckCollisionCircle() [2/2]

    + +

    ◆ SetY()

    - -

    ◆ CheckCollisionLines()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    bool raylib::Vector2::CheckCollisionLines (::Vector2 endPos1,
    ::Vector2 startPos2,
    ::Vector2 endPos2,
    ::Vector2collisionPoint 
    ) const
    -
    -inline
    -
    - -

    Check the collision between two lines defined by two points each, returns collision point by reference.

    - -

    Definition at line 311 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Distance()

    - -
    -
    - - - - - -
    - - - - - - - - -
    float raylib::Vector2::Distance (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Calculate distance between two vectors.

    - -

    Definition at line 176 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Divide() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Divide (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 84 of file Vector2.hpp.

    - -

    Referenced by operator/().

    - -
    -
    - -

    ◆ Divide() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Divide (const float div) const
    -
    -inline
    -
    - -

    Definition at line 92 of file Vector2.hpp.

    - -
    -
    - -

    ◆ DotProduct()

    - -
    -
    - - - - - -
    - - - - - - - - -
    float raylib::Vector2::DotProduct (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Calculate two vectors dot product.

    - -

    Definition at line 162 of file Vector2.hpp.

    - -
    -
    - -

    ◆ DrawCircle()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector2 & raylib::Vector2::DrawCircle (float radius,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Draw a color-filled circle (Vector version)

    - -

    Definition at line 258 of file Vector2.hpp.

    - -
    -
    - -

    ◆ DrawLine() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector2 & raylib::Vector2::DrawLine (::Vector2 endPos,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 228 of file Vector2.hpp.

    - -
    -
    - -

    ◆ DrawLine() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector2 & raylib::Vector2::DrawLine (::Vector2 endPos,
    float thick,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 233 of file Vector2.hpp.

    - -
    -
    - -

    ◆ DrawLineBezier()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector2 & raylib::Vector2::DrawLineBezier (::Vector2 endPos,
    float thick,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 238 of file Vector2.hpp.

    - -

    References DrawLineBezier().

    - -

    Referenced by DrawLineBezier().

    - -
    -
    - -

    ◆ DrawLineBezierQuad()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector2 & raylib::Vector2::DrawLineBezierQuad (::Vector2 endPos,
    ::Vector2 controlPos,
    float thick,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Draw line using quadratic bezier curves with a control point.

    - -

    Definition at line 246 of file Vector2.hpp.

    - -

    References DrawLineBezierQuad().

    - -

    Referenced by DrawLineBezierQuad().

    - -
    -
    - -

    ◆ DrawPixel()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::DrawPixel (::Color color)
    -
    -inline
    -
    - -

    Definition at line 223 of file Vector2.hpp.

    - -
    -
    - -

    ◆ DrawPoly()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector2 & raylib::Vector2::DrawPoly (int sides,
    float radius,
    float rotation,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 268 of file Vector2.hpp.

    - -

    References DrawPoly().

    - -

    Referenced by DrawPoly().

    - -
    -
    - -

    ◆ DrawRectangle()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector2 & raylib::Vector2::DrawRectangle (::Vector2 size,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 263 of file Vector2.hpp.

    - -
    -
    - -

    ◆ GetX()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector2::GetX () const
    -
    -inline
    -
    - -

    Retrieves the x value for the object.

    -
    Returns
    The x value of the object.
    - -

    Definition at line 26 of file Vector2.hpp.

    - -
    -
    - -

    ◆ GetY()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector2::GetY () const
    -
    -inline
    -
    - -

    Retrieves the y value for the object.

    -
    Returns
    The y value of the object.
    - -

    Definition at line 27 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Length()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector2::Length () const
    -
    -inline
    -
    - -

    Calculate vector length.

    - -

    Definition at line 141 of file Vector2.hpp.

    - -
    -
    - -

    ◆ LengthSqr()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector2::LengthSqr () const
    -
    -inline
    -
    - -

    Calculate vector square length.

    - -

    Definition at line 148 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Lerp()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector2 raylib::Vector2::Lerp (const ::Vector2vector2,
    float amount 
    ) const
    -
    -inline
    -
    - -

    Calculate linear interpolation between two vectors.

    - -

    Definition at line 183 of file Vector2.hpp.

    - -
    -
    - -

    ◆ MoveTowards()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector2 raylib::Vector2::MoveTowards (const ::Vector2target,
    float maxDistance 
    ) const
    -
    -inline
    -
    - -

    Move Vector towards target.

    - -

    Definition at line 204 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Multiply()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Multiply (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 68 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Negate()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector2 raylib::Vector2::Negate () const
    -
    -inline
    -
    - -

    Definition at line 60 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Normalize()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector2 raylib::Vector2::Normalize () const
    -
    -inline
    -
    - -

    Normalize provided vector.

    - -

    Definition at line 155 of file Vector2.hpp.

    - -
    -
    - -

    ◆ One()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Vector2 raylib::Vector2::One ()
    -
    -inlinestatic
    -
    - -

    Vector with components value 1.0f.

    - -

    Definition at line 218 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator!=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Vector2::operator!= (const ::Vector2other)
    -
    -inline
    -
    - -

    Definition at line 39 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator*() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::operator* (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 72 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator*() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::operator* (const float scale) const
    -
    -inline
    -
    - -

    Definition at line 80 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator*=() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::operator*= (const ::Vector2vector2)
    -
    -inline
    -
    - -

    Definition at line 113 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator*=() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::operator*= (const float scale)
    -
    -inline
    -
    - -

    Definition at line 119 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator+()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::operator+ (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 48 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator+=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::operator+= (const ::Vector2vector2)
    -
    -inline
    -
    - -

    Definition at line 100 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator-() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector2 raylib::Vector2::operator- () const
    -
    -inline
    -
    - -

    Definition at line 64 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator-() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::operator- (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 56 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator-=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::operator-= (const ::Vector2vector2)
    -
    -inline
    -
    - -

    Definition at line 106 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator/() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::operator/ (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 88 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator/() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::operator/ (const float div) const
    -
    -inline
    -
    - -

    Definition at line 96 of file Vector2.hpp.

    - -

    References Divide().

    - -
    -
    - -

    ◆ operator/=() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::operator/= (const ::Vector2vector2)
    -
    -inline
    -
    - -

    Definition at line 125 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator/=() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::operator/= (const float div)
    -
    -inline
    -
    - -

    Definition at line 131 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 & raylib::Vector2::operator= (const ::Vector2vector2)
    -
    -inline
    -
    - -

    Definition at line 29 of file Vector2.hpp.

    - -
    -
    - -

    ◆ operator==()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Vector2::operator== (const ::Vector2other)
    -
    -inline
    -
    - -

    Definition at line 34 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Reflect()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Reflect (const ::Vector2normal) const
    -
    -inline
    -
    - -

    Calculate reflected vector to normal.

    - -

    Definition at line 190 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Rotate()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Rotate (float degrees) const
    -
    -inline
    -
    - -

    Rotate Vector by float in Degrees.

    - -

    Definition at line 197 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Scale()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Scale (const float scale) const
    -
    -inline
    -
    - -

    Definition at line 76 of file Vector2.hpp.

    - -
    -
    - -

    ◆ SetX()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector2::SetX (float value)
    -
    -inline
    -
    - -

    Sets the x value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set x to.
    -
    -
    - -

    Definition at line 26 of file Vector2.hpp.

    - -
    -
    - -

    ◆ SetY()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector2::SetY (float value)
    -
    -inline
    -
    - -

    Sets the y value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set y to.
    -
    -
    - -

    Definition at line 27 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Subtract()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector2 raylib::Vector2::Subtract (const ::Vector2vector2) const
    -
    -inline
    -
    - -

    Definition at line 52 of file Vector2.hpp.

    - -
    -
    - -

    ◆ Zero()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Vector2 raylib::Vector2::Zero ()
    -
    -inlinestatic
    -
    - -

    Vector with components value 0.0f.

    - -

    Definition at line 211 of file Vector2.hpp.

    +

    Definition at line 27 of file Vector2.hpp.

    -
    - + diff --git a/docs/classraylib_1_1_vector3-members.html b/docs/classraylib_1_1_vector3-members.html index 7a345e53..ecc6e7f5 100644 --- a/docs/classraylib_1_1_vector3-members.html +++ b/docs/classraylib_1_1_vector3-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Vector3 Member List
    +
    +
    raylib::Vector3 Member List

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

    - - + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - + + + + + + + + +
    Add(const ::Vector3 &vector3)raylib::Vector3inline
    Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)raylib::Vector3inline
    Add(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c) (defined in raylib::Vector3)raylib::Vector3inline
    CheckCollision(float radius1, const ::Vector3 &center2, float radius2)raylib::Vector3inline
    CrossProduct(const ::Vector3 &vector3) constraylib::Vector3inline
    Distance(const ::Vector3 &vector3) constraylib::Vector3inline
    Divide(const ::Vector3 &vector3) constraylib::Vector3inline
    Divide(const float div) constraylib::Vector3inline
    DotProduct(const ::Vector3 &vector3)raylib::Vector3inline
    DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)raylib::Vector3inline
    DrawCube(float width, float height, float length, ::Color color)raylib::Vector3inline
    DrawCube(const ::Vector3 &size, ::Color color)raylib::Vector3inline
    DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color)raylib::Vector3inline
    DrawCubeWires(float width, float height, float length, ::Color color)raylib::Vector3inline
    DrawCubeWires(const ::Vector3 &size, ::Color color)raylib::Vector3inline
    DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color)raylib::Vector3inline
    DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color)raylib::Vector3inline
    DrawLine3D(const ::Vector3 &endPos, ::Color color)raylib::Vector3inline
    DrawPlane(const ::Vector2 &size, ::Color color)raylib::Vector3inline
    DrawPoint3D(::Color color)raylib::Vector3inline
    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
    CrossProduct(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
    Distance(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
    Divide(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
    Divide(const float div) const (defined in raylib::Vector3)raylib::Vector3inline
    DotProduct(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCube(float width, float height, float length, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCube(const ::Vector3 &size, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCubeWires(float width, float height, float length, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCubeWires(const ::Vector3 &size, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawLine3D(const ::Vector3 &endPos, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawPlane(const ::Vector2 &size, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawPoint3D(::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawSphere(float radius, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawSphere(float radius, int rings, int slices, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    DrawSphereWires(float radius, int rings, int slices, ::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    GetX() constraylib::Vector3inline
    GetY() constraylib::Vector3inline
    GetY() constraylib::Vector3inline
    GetZ() constraylib::Vector3inline
    Length() constraylib::Vector3inline
    Lerp(const ::Vector3 &vector3, const float amount) constraylib::Vector3inline
    Max(const ::Vector3 &vector3)raylib::Vector3inline
    Min(const ::Vector3 &vector3)raylib::Vector3inline
    Multiply(const ::Vector3 &vector3) constraylib::Vector3inline
    Negate()raylib::Vector3inline
    Normalize() constraylib::Vector3inline
    One()raylib::Vector3inlinestatic
    operator!=(const ::Vector3 &other)raylib::Vector3inline
    operator*(const ::Vector3 &vector3) constraylib::Vector3inline
    operator*(const float scale) constraylib::Vector3inline
    operator*=(const ::Vector3 &vector3)raylib::Vector3inline
    operator*=(const float scale)raylib::Vector3inline
    operator+(const ::Vector3 &vector3)raylib::Vector3inline
    operator+=(const ::Vector3 &vector3)raylib::Vector3inline
    operator-(const ::Vector3 &vector3)raylib::Vector3inline
    operator-()raylib::Vector3inline
    operator-=(const ::Vector3 &vector3)raylib::Vector3inline
    operator/(const ::Vector3 &vector3) constraylib::Vector3inline
    operator/(const float div) constraylib::Vector3inline
    operator/=(const ::Vector3 &vector3)raylib::Vector3inline
    operator/=(const float div)raylib::Vector3inline
    operator=(const ::Vector3 &vector3)raylib::Vector3inline
    operator==(const ::Vector3 &other)raylib::Vector3inline
    OrthoNormalize(::Vector3 *vector3)raylib::Vector3inline
    Perpendicular() constraylib::Vector3inline
    Reflect(const ::Vector3 &normal) constraylib::Vector3inline
    RotateByQuaternion(const ::Quaternion &quaternion)raylib::Vector3inline
    Scale(const float scale) constraylib::Vector3inline
    Length() const (defined in raylib::Vector3)raylib::Vector3inline
    Lerp(const ::Vector3 &vector3, const float amount) const (defined in raylib::Vector3)raylib::Vector3inline
    Max(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    Min(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    Multiply(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
    Negate() (defined in raylib::Vector3)raylib::Vector3inline
    Normalize() const (defined in raylib::Vector3)raylib::Vector3inline
    One() (defined in raylib::Vector3)raylib::Vector3inlinestatic
    operator!=(const ::Vector3 &other) (defined in raylib::Vector3)raylib::Vector3inline
    operator*(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
    operator*(const float scale) const (defined in raylib::Vector3)raylib::Vector3inline
    operator*=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    operator*=(const float scale) (defined in raylib::Vector3)raylib::Vector3inline
    operator+(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    operator+=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    operator-(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    operator-() (defined in raylib::Vector3)raylib::Vector3inline
    operator-=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    operator/(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
    operator/(const float div) const (defined in raylib::Vector3)raylib::Vector3inline
    operator/=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    operator/=(const float div) (defined in raylib::Vector3)raylib::Vector3inline
    operator=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    operator==(const ::Vector3 &other) (defined in raylib::Vector3)raylib::Vector3inline
    OrthoNormalize(::Vector3 *vector3) (defined in raylib::Vector3)raylib::Vector3inline
    Perpendicular() const (defined in raylib::Vector3)raylib::Vector3inline
    Reflect(const ::Vector3 &normal) const (defined in raylib::Vector3)raylib::Vector3inline
    RotateByQuaternion(const ::Quaternion &quaternion) (defined in raylib::Vector3)raylib::Vector3inline
    Scale(const float scale) const (defined in raylib::Vector3)raylib::Vector3inline
    SetX(float value)raylib::Vector3inline
    SetY(float value)raylib::Vector3inline
    SetY(float value)raylib::Vector3inline
    SetZ(float value)raylib::Vector3inline
    Subtract(const ::Vector3 &vector3)raylib::Vector3inline
    Transform(const ::Matrix &matrix) constraylib::Vector3inline
    Vector3(const ::Vector3 &vec)raylib::Vector3inline
    Vector3(float x, float y, float z)raylib::Vector3inline
    Vector3(float x, float y)raylib::Vector3inline
    Vector3(float x)raylib::Vector3inline
    Vector3()raylib::Vector3inline
    Vector3(::Color color)raylib::Vector3inline
    Zero()raylib::Vector3inlinestatic
    Subtract(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
    Transform(const ::Matrix &matrix) const (defined in raylib::Vector3)raylib::Vector3inline
    Vector3(const ::Vector3 &vec) (defined in raylib::Vector3)raylib::Vector3inline
    Vector3(float x, float y, float z) (defined in raylib::Vector3)raylib::Vector3inline
    Vector3(float x, float y) (defined in raylib::Vector3)raylib::Vector3inline
    Vector3(float x) (defined in raylib::Vector3)raylib::Vector3inline
    Vector3() (defined in raylib::Vector3)raylib::Vector3inline
    Vector3(::Color color) (defined in raylib::Vector3)raylib::Vector3inline
    Zero() (defined in raylib::Vector3)raylib::Vector3inlinestatic
    -

    - + diff --git a/docs/classraylib_1_1_vector3.html b/docs/classraylib_1_1_vector3.html index b99c194b..d67754e8 100644 --- a/docs/classraylib_1_1_vector3.html +++ b/docs/classraylib_1_1_vector3.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Vector3 Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Vector3 Class Reference
    +
    +
    raylib::Vector3 Class Reference

    Vector3 type. More...

    - -

    #include <Vector3.hpp>

    - - - - + - + - + - + - + - + - + - - + + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -166,61 +173,89 @@ - + - + - + - + - + - + - + - + - + - + - - - - - + + + + + - - - + + + - + - - - + + + - + - - - - - - - + + + + + + + - + - + - + - + - + @@ -231,25 +266,29 @@ - + - +

    +

    Public Member Functions

     Vector3 ()
     
     Vector3 (::Color color)
    Vector3 (::Color color)
     
     Vector3 (const ::Vector3 &vec)
    Vector3 (const ::Vector3 &vec)
     
     Vector3 (float x)
    Vector3 (float x)
     
     Vector3 (float x, float y)
    Vector3 (float x, float y)
     
     Vector3 (float x, float y, float z)
    Vector3 (float x, float y, float z)
     
    Vector3 Add (const ::Vector3 &vector3)
    +Vector3 Add (const ::Vector3 &vector3)
     
    Vector3 Barycenter (const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)
    +Vector3 Barycenter (const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)
     
    bool CheckCollision (float radius1, const ::Vector3 &center2, float radius2)
     Detect collision between two spheres. More...
    +bool CheckCollision (float radius1, const ::Vector3 &center2, float radius2)
     Detect collision between two spheres.
     
    Vector3 CrossProduct (const ::Vector3 &vector3) const
    +Vector3 CrossProduct (const ::Vector3 &vector3) const
     
    float Distance (const ::Vector3 &vector3) const
    +float Distance (const ::Vector3 &vector3) const
     
    Vector3 Divide (const ::Vector3 &vector3) const
    +Vector3 Divide (const ::Vector3 &vector3) const
     
    Vector3 Divide (const float div) const
    +Vector3 Divide (const float div) const
     
    float DotProduct (const ::Vector3 &vector3)
    +float DotProduct (const ::Vector3 &vector3)
     
    Vector3DrawCircle3D (float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)
     
    Vector3DrawCube (const ::Vector3 &size, ::Color color)
     
    Vector3DrawCube (float width, float height, float length, ::Color color)
     
    Vector3DrawCubeTexture (const ::Texture2D &texture, float width, float height, float length, ::Color color)
     
    Vector3DrawCubeWires (const ::Vector3 &size, ::Color color)
     
    Vector3DrawCubeWires (float width, float height, float length, ::Color color)
     
    Vector3DrawCylinder (float radiusTop, float radiusBottom, float height, int slices, Color color)
     
    Vector3DrawCylinderWires (float radiusTop, float radiusBottom, float height, int slices, Color color)
     
    Vector3DrawLine3D (const ::Vector3 &endPos, ::Color color)
     
    Vector3DrawPlane (const ::Vector2 &size, ::Color color)
     
    Vector3DrawPoint3D (::Color color)
     
    Vector3DrawSphere (float radius, ::Color color)
     
    Vector3DrawSphere (float radius, int rings, int slices, ::Color color)
     
    Vector3DrawSphereWires (float radius, int rings, int slices, ::Color color)
     
    +Vector3DrawCircle3D (float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color)
     
    +Vector3DrawCube (const ::Vector3 &size, ::Color color)
     
    +Vector3DrawCube (float width, float height, float length, ::Color color)
     
    +Vector3DrawCubeTexture (const ::Texture2D &texture, float width, float height, float length, ::Color color)
     
    +Vector3DrawCubeWires (const ::Vector3 &size, ::Color color)
     
    +Vector3DrawCubeWires (float width, float height, float length, ::Color color)
     
    +Vector3DrawCylinder (float radiusTop, float radiusBottom, float height, int slices, Color color)
     
    +Vector3DrawCylinderWires (float radiusTop, float radiusBottom, float height, int slices, Color color)
     
    +Vector3DrawLine3D (const ::Vector3 &endPos, ::Color color)
     
    +Vector3DrawPlane (const ::Vector2 &size, ::Color color)
     
    +Vector3DrawPoint3D (::Color color)
     
    +Vector3DrawSphere (float radius, ::Color color)
     
    +Vector3DrawSphere (float radius, int rings, int slices, ::Color color)
     
    +Vector3DrawSphereWires (float radius, int rings, int slices, ::Color color)
     
    float GetX () const
     Retrieves the x value for the object. More...
     
    float GetZ () const
     Retrieves the z value for the object. More...
     
    float Length () const
    +float Length () const
     
    Vector3 Lerp (const ::Vector3 &vector3, const float amount) const
    +Vector3 Lerp (const ::Vector3 &vector3, const float amount) const
     
    Vector3 Max (const ::Vector3 &vector3)
    +Vector3 Max (const ::Vector3 &vector3)
     
    Vector3 Min (const ::Vector3 &vector3)
    +Vector3 Min (const ::Vector3 &vector3)
     
    Vector3 Multiply (const ::Vector3 &vector3) const
    +Vector3 Multiply (const ::Vector3 &vector3) const
     
    Vector3 Negate ()
    +Vector3 Negate ()
     
    Vector3 Normalize () const
    +Vector3 Normalize () const
     
    bool operator!= (const ::Vector3 &other)
    +bool operator!= (const ::Vector3 &other)
     
    Vector3 operator* (const ::Vector3 &vector3) const
    +Vector3 operator* (const ::Vector3 &vector3) const
     
    Vector3 operator* (const float scale) const
    +Vector3 operator* (const float scale) const
     
    Vector3operator*= (const ::Vector3 &vector3)
     
    Vector3operator*= (const float scale)
     
    Vector3 operator+ (const ::Vector3 &vector3)
    +Vector3operator*= (const ::Vector3 &vector3)
     
    +Vector3operator*= (const float scale)
     
    +Vector3 operator+ (const ::Vector3 &vector3)
     
    Vector3operator+= (const ::Vector3 &vector3)
     
    Vector3 operator- ()
    +Vector3operator+= (const ::Vector3 &vector3)
     
    +Vector3 operator- ()
     
    Vector3 operator- (const ::Vector3 &vector3)
    +Vector3 operator- (const ::Vector3 &vector3)
     
    Vector3operator-= (const ::Vector3 &vector3)
     
    Vector3 operator/ (const ::Vector3 &vector3) const
    +Vector3operator-= (const ::Vector3 &vector3)
     
    +Vector3 operator/ (const ::Vector3 &vector3) const
     
    Vector3 operator/ (const float div) const
    +Vector3 operator/ (const float div) const
     
    Vector3operator/= (const ::Vector3 &vector3)
     
    Vector3operator/= (const float div)
     
    Vector3operator= (const ::Vector3 &vector3)
     
    bool operator== (const ::Vector3 &other)
    +Vector3operator/= (const ::Vector3 &vector3)
     
    +Vector3operator/= (const float div)
     
    +Vector3operator= (const ::Vector3 &vector3)
     
    +bool operator== (const ::Vector3 &other)
     
    void OrthoNormalize (::Vector3 *vector3)
    +void OrthoNormalize (::Vector3 *vector3)
     
    Vector3 Perpendicular () const
    +Vector3 Perpendicular () const
     
    Vector3 Reflect (const ::Vector3 &normal) const
    +Vector3 Reflect (const ::Vector3 &normal) const
     
    Vector3 RotateByQuaternion (const ::Quaternion &quaternion)
    +Vector3 RotateByQuaternion (const ::Quaternion &quaternion)
     
    Vector3 Scale (const float scale) const
    +Vector3 Scale (const float scale) const
     
    void SetX (float value)
     Sets the x value for the object. More...
    void SetZ (float value)
     Sets the z value for the object. More...
     
    Vector3 Subtract (const ::Vector3 &vector3)
    +Vector3 Subtract (const ::Vector3 &vector3)
     
    Vector3 Transform (const ::Matrix &matrix) const
    +Vector3 Transform (const ::Matrix &matrix) const
     
    - - + - +

    +

    Static Public Member Functions

    static Vector3 One ()
    +static Vector3 One ()
     
    static Vector3 Zero ()
    +static Vector3 Zero ()
     

    Detailed Description

    -

    Vector3 type.

    +

    Vector3 type.

    Definition at line 16 of file Vector3.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Vector3() [1/6]

    +

    Member Function Documentation

    + +

    ◆ GetX()

    - -

    ◆ Vector3() [2/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Vector3::Vector3 (float x,
    float y,
    float z 
    )
    -
    -inline
    -
    +

    Retrieves the x value for the object.

    +
    Returns
    The x value of the object.
    -

    Definition at line 22 of file Vector3.hpp.

    +

    Definition at line 31 of file Vector3.hpp.

    - -

    ◆ Vector3() [3/6]

    + +

    ◆ GetY()

    - -

    ◆ Vector3() [4/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Vector3::Vector3 (float x)
    -
    -inline
    -
    +

    Retrieves the y value for the object.

    +
    Returns
    The y value of the object.
    -

    Definition at line 24 of file Vector3.hpp.

    +

    Definition at line 32 of file Vector3.hpp.

    - -

    ◆ Vector3() [5/6]

    + +

    ◆ GetZ()

    - -

    ◆ Vector3() [6/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Vector3::Vector3 (::Color color)
    -
    -inline
    -
    +

    Retrieves the z value for the object.

    +
    Returns
    The z value of the object.
    -

    Definition at line 27 of file Vector3.hpp.

    +

    Definition at line 33 of file Vector3.hpp.

    -

    Member Function Documentation

    - -

    ◆ Add()

    + +

    ◆ SetX()

    - -

    ◆ Barycenter()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 raylib::Vector3::Barycenter (const ::Vector3a,
    const ::Vector3b,
    const ::Vector3c 
    )
    -
    -inline
    -
    +

    Sets the x value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set x to.
    +
    +
    -

    Definition at line 200 of file Vector3.hpp.

    +

    Definition at line 31 of file Vector3.hpp.

    - -

    ◆ CheckCollision()

    + +

    ◆ SetY()

    - -

    ◆ CrossProduct()

    - -
    -
    - - - @@ -584,40 +437,20 @@

    -

    Definition at line 168 of file Vector3.hpp.

    - - - - -

    ◆ Distance()

    - -
    -
    -

    - - - - - - -
    Vector3 raylib::Vector3::CrossProduct (const ::Vector3vector3) const
    - - - - -
    - - - - - - - - -
    float raylib::Vector3::Distance (const ::Vector3vector3) const
    -
    -inline
    -
    +

    Sets the y value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set y to.
    +
    +
    -

    Definition at line 160 of file Vector3.hpp.

    +

    Definition at line 32 of file Vector3.hpp.

    - -

    ◆ Divide() [1/2]

    + +

    ◆ SetZ()

    - -

    ◆ Divide() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Divide (const float div) const
    -
    -inline
    -
    - -

    Definition at line 99 of file Vector3.hpp.

    - -
    -
    - -

    ◆ DotProduct()

    - -
    -
    - - - - - -
    - - - - - - - - -
    float raylib::Vector3::DotProduct (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 156 of file Vector3.hpp.

    - -
    -
    - -

    ◆ DrawCircle3D()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCircle3D (float radius,
    const ::Vector3rotationAxis,
    float rotationAngle,
    Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 223 of file Vector3.hpp.

    - -

    References DrawCircle3D().

    - -

    Referenced by DrawCircle3D().

    - -
    -
    - -

    ◆ DrawCube() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCube (const ::Vector3size,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 237 of file Vector3.hpp.

    - -
    -
    - -

    ◆ DrawCube() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCube (float width,
    float height,
    float length,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 232 of file Vector3.hpp.

    - -

    References DrawCube().

    - -

    Referenced by DrawCube().

    - -
    -
    - -

    ◆ DrawCubeTexture()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCubeTexture (const ::Texture2Dtexture,
    float width,
    float height,
    float length,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 252 of file Vector3.hpp.

    - -

    References DrawCubeTexture().

    - -

    Referenced by DrawCubeTexture().

    - -
    -
    - -

    ◆ DrawCubeWires() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCubeWires (const ::Vector3size,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 247 of file Vector3.hpp.

    - -
    -
    - -

    ◆ DrawCubeWires() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCubeWires (float width,
    float height,
    float length,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 242 of file Vector3.hpp.

    - -

    References DrawCubeWires().

    - -

    Referenced by DrawCubeWires().

    - -
    -
    - -

    ◆ DrawCylinder()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCylinder (float radiusTop,
    float radiusBottom,
    float height,
    int slices,
    Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 277 of file Vector3.hpp.

    - -

    References DrawCylinder().

    - -

    Referenced by DrawCylinder().

    - -
    -
    - -

    ◆ DrawCylinderWires()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawCylinderWires (float radiusTop,
    float radiusBottom,
    float height,
    int slices,
    Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 283 of file Vector3.hpp.

    - -

    References DrawCylinderWires().

    - -

    Referenced by DrawCylinderWires().

    - -
    -
    - -

    ◆ DrawLine3D()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawLine3D (const ::Vector3endPos,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 213 of file Vector3.hpp.

    - -

    References DrawLine3D().

    - -

    Referenced by DrawLine3D().

    - -
    -
    - -

    ◆ DrawPlane()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawPlane (const ::Vector2 & size,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 289 of file Vector3.hpp.

    - -

    References DrawPlane().

    - -

    Referenced by DrawPlane().

    - -
    -
    - -

    ◆ DrawPoint3D()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::DrawPoint3D (::Color color)
    -
    -inline
    -
    - -

    Definition at line 218 of file Vector3.hpp.

    - -

    References DrawPoint3D().

    - -

    Referenced by DrawPoint3D().

    - -
    -
    - -

    ◆ DrawSphere() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawSphere (float radius,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 262 of file Vector3.hpp.

    - -

    References DrawSphere().

    - -

    Referenced by DrawSphere().

    - -
    -
    - -

    ◆ DrawSphere() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawSphere (float radius,
    int rings,
    int slices,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 267 of file Vector3.hpp.

    - -
    -
    - -

    ◆ DrawSphereWires()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Vector3 & raylib::Vector3::DrawSphereWires (float radius,
    int rings,
    int slices,
    ::Color color 
    )
    -
    -inline
    -
    - -

    Definition at line 272 of file Vector3.hpp.

    - -

    References DrawSphereWires().

    - -

    Referenced by DrawSphereWires().

    - -
    -
    - -

    ◆ GetX()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector3::GetX () const
    -
    -inline
    -
    - -

    Retrieves the x value for the object.

    -
    Returns
    The x value of the object.
    - -

    Definition at line 31 of file Vector3.hpp.

    - -
    -
    - -

    ◆ GetY()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector3::GetY () const
    -
    -inline
    -
    - -

    Retrieves the y value for the object.

    -
    Returns
    The y value of the object.
    - -

    Definition at line 32 of file Vector3.hpp.

    - -
    -
    - -

    ◆ GetZ()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector3::GetZ () const
    -
    -inline
    -
    - -

    Retrieves the z value for the object.

    -
    Returns
    The z value of the object.
    - -

    Definition at line 33 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Length()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector3::Length () const
    -
    -inline
    -
    - -

    Definition at line 148 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Lerp()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector3 raylib::Vector3::Lerp (const ::Vector3vector3,
    const float amount 
    ) const
    -
    -inline
    -
    - -

    Definition at line 164 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Max()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Max (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 196 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Min()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Min (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 192 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Multiply()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Multiply (const ::Vector3vector3) const
    -
    -inline
    -
    - -

    Definition at line 75 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Negate()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector3 raylib::Vector3::Negate ()
    -
    -inline
    -
    - -

    Definition at line 67 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Normalize()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector3 raylib::Vector3::Normalize () const
    -
    -inline
    -
    - -

    Definition at line 152 of file Vector3.hpp.

    - -
    -
    - -

    ◆ One()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Vector3 raylib::Vector3::One ()
    -
    -inlinestatic
    -
    - -

    Definition at line 208 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator!=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Vector3::operator!= (const ::Vector3other)
    -
    -inline
    -
    - -

    Definition at line 46 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator*() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::operator* (const ::Vector3vector3) const
    -
    -inline
    -
    - -

    Definition at line 79 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator*() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::operator* (const float scale) const
    -
    -inline
    -
    - -

    Definition at line 87 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator*=() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::operator*= (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 120 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator*=() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::operator*= (const float scale)
    -
    -inline
    -
    - -

    Definition at line 126 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator+()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::operator+ (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 55 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator+=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::operator+= (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 107 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator-() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector3 raylib::Vector3::operator- ()
    -
    -inline
    -
    - -

    Definition at line 71 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator-() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::operator- (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 63 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator-=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::operator-= (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 113 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator/() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::operator/ (const ::Vector3vector3) const
    -
    -inline
    -
    - -

    Definition at line 95 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator/() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::operator/ (const float div) const
    -
    -inline
    -
    - -

    Definition at line 103 of file Vector3.hpp.

    - -

    References Divide().

    - -
    -
    - -

    ◆ operator/=() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::operator/= (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 132 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator/=() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::operator/= (const float div)
    -
    -inline
    -
    - -

    Definition at line 140 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 & raylib::Vector3::operator= (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 35 of file Vector3.hpp.

    - -
    -
    - -

    ◆ operator==()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Vector3::operator== (const ::Vector3other)
    -
    -inline
    -
    - -

    Definition at line 40 of file Vector3.hpp.

    - -
    -
    - -

    ◆ OrthoNormalize()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector3::OrthoNormalize (::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 176 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Perpendicular()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector3 raylib::Vector3::Perpendicular () const
    -
    -inline
    -
    - -

    Definition at line 172 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Reflect()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Reflect (const ::Vector3normal) const
    -
    -inline
    -
    - -

    Definition at line 188 of file Vector3.hpp.

    - -
    -
    - -

    ◆ RotateByQuaternion()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::RotateByQuaternion (const ::Quaternionquaternion)
    -
    -inline
    -
    - -

    Definition at line 184 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Scale()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Scale (const float scale) const
    -
    -inline
    -
    - -

    Definition at line 83 of file Vector3.hpp.

    - -
    -
    - -

    ◆ SetX()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector3::SetX (float value)
    -
    -inline
    -
    - -

    Sets the x value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set x to.
    -
    -
    - -

    Definition at line 31 of file Vector3.hpp.

    - -
    -
    - -

    ◆ SetY()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector3::SetY (float value)
    -
    -inline
    -
    - -

    Sets the y value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set y to.
    -
    -
    - -

    Definition at line 32 of file Vector3.hpp.

    - -
    -
    - -

    ◆ SetZ()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector3::SetZ (float value)
    -
    -inline
    -
    - -

    Sets the z value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set z to.
    -
    -
    - -

    Definition at line 33 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Subtract()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Subtract (const ::Vector3vector3)
    -
    -inline
    -
    - -

    Definition at line 59 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Transform()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector3 raylib::Vector3::Transform (const ::Matrix & matrix) const
    -
    -inline
    -
    - -

    Definition at line 180 of file Vector3.hpp.

    - -
    -
    - -

    ◆ Zero()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Vector3 raylib::Vector3::Zero ()
    -
    -inlinestatic
    -
    - -

    Definition at line 204 of file Vector3.hpp.

    +

    Definition at line 33 of file Vector3.hpp.

    -
    - + diff --git a/docs/classraylib_1_1_vector4-members.html b/docs/classraylib_1_1_vector4-members.html index 98d0d69a..b7850517 100644 --- a/docs/classraylib_1_1_vector4-members.html +++ b/docs/classraylib_1_1_vector4-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Vector4 Member List
    +
    +
    raylib::Vector4 Member List

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

    - - - - - - + + + + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
    ColorFromNormalized() constraylib::Vector4inline
    FromAxisAngle(const ::Vector3 &axis, const float angle)raylib::Vector4inlinestatic
    FromEuler(const float yaw, const float pitch, const float roll)raylib::Vector4inlinestatic
    FromEuler(const ::Vector3 &vector3)raylib::Vector4inlinestatic
    FromMatrix(const ::Matrix &matrix)raylib::Vector4inlinestatic
    FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to)raylib::Vector4inlinestatic
    ColorFromNormalized() const (defined in raylib::Vector4)raylib::Vector4inline
    FromAxisAngle(const ::Vector3 &axis, const float angle) (defined in raylib::Vector4)raylib::Vector4inlinestatic
    FromEuler(const float yaw, const float pitch, const float roll) (defined in raylib::Vector4)raylib::Vector4inlinestatic
    FromEuler(const ::Vector3 &vector3) (defined in raylib::Vector4)raylib::Vector4inlinestatic
    FromMatrix(const ::Matrix &matrix) (defined in raylib::Vector4)raylib::Vector4inlinestatic
    FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to) (defined in raylib::Vector4)raylib::Vector4inlinestatic
    GetW() constraylib::Vector4inline
    GetX() constraylib::Vector4inline
    GetX() constraylib::Vector4inline
    GetY() constraylib::Vector4inline
    GetZ() constraylib::Vector4inline
    Identity()raylib::Vector4inlinestatic
    Invert() constraylib::Vector4inline
    Length() constraylib::Vector4inline
    Lerp(const ::Vector4 &vector4, float amount) constraylib::Vector4inline
    Multiply(const ::Vector4 &vector4) constraylib::Vector4inline
    Nlerp(const ::Vector4 &vector4, float amount) constraylib::Vector4inline
    Normalize() constraylib::Vector4inline
    operator Color()raylib::Vector4inline
    operator!=(const ::Vector4 &other)raylib::Vector4inline
    operator*(const ::Vector4 &vector4) constraylib::Vector4inline
    operator::Rectangle() constraylib::Vector4inline
    operator=(const ::Vector4 &vector4)raylib::Vector4inline
    operator==(const ::Vector4 &other)raylib::Vector4inline
    SetW(float value)raylib::Vector4inline
    GetZ() constraylib::Vector4inline
    Identity() (defined in raylib::Vector4)raylib::Vector4inlinestatic
    Invert() const (defined in raylib::Vector4)raylib::Vector4inline
    Length() const (defined in raylib::Vector4)raylib::Vector4inline
    Lerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
    Multiply(const ::Vector4 &vector4) const (defined in raylib::Vector4)raylib::Vector4inline
    Nlerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
    Normalize() const (defined in raylib::Vector4)raylib::Vector4inline
    operator Color() (defined in raylib::Vector4)raylib::Vector4inline
    operator!=(const ::Vector4 &other) (defined in raylib::Vector4)raylib::Vector4inline
    operator*(const ::Vector4 &vector4) const (defined in raylib::Vector4)raylib::Vector4inline
    operator::Rectangle() const (defined in raylib::Vector4)raylib::Vector4inline
    operator=(const ::Vector4 &vector4) (defined in raylib::Vector4)raylib::Vector4inline
    operator==(const ::Vector4 &other) (defined in raylib::Vector4)raylib::Vector4inline
    SetW(float value)raylib::Vector4inline
    SetX(float value)raylib::Vector4inline
    SetY(float value)raylib::Vector4inline
    SetY(float value)raylib::Vector4inline
    SetZ(float value)raylib::Vector4inline
    Slerp(const ::Vector4 &vector4, float amount) constraylib::Vector4inline
    ToAxisAngle(::Vector3 *outAxis, float *outAngle)raylib::Vector4inline
    ToAxisAngle()raylib::Vector4inline
    ToEuler()raylib::Vector4inline
    ToMatrix() constraylib::Vector4inline
    ToRectangle()raylib::Vector4inline
    Transform(const ::Matrix &matrix)raylib::Vector4inline
    Vector4(const ::Vector4 &vec)raylib::Vector4inline
    Vector4(float x, float y, float z, float w)raylib::Vector4inline
    Vector4(float x, float y, float z)raylib::Vector4inline
    Vector4(float x, float y)raylib::Vector4inline
    Vector4(float x)raylib::Vector4inline
    Vector4()raylib::Vector4inline
    Vector4(::Rectangle rect)raylib::Vector4inline
    Vector4(::Color color)raylib::Vector4inline
    Slerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
    ToAxisAngle(::Vector3 *outAxis, float *outAngle) (defined in raylib::Vector4)raylib::Vector4inline
    ToAxisAngle() (defined in raylib::Vector4)raylib::Vector4inline
    ToEuler() (defined in raylib::Vector4)raylib::Vector4inline
    ToMatrix() const (defined in raylib::Vector4)raylib::Vector4inline
    ToRectangle() (defined in raylib::Vector4)raylib::Vector4inline
    Transform(const ::Matrix &matrix) (defined in raylib::Vector4)raylib::Vector4inline
    Vector4(const ::Vector4 &vec) (defined in raylib::Vector4)raylib::Vector4inline
    Vector4(float x, float y, float z, float w) (defined in raylib::Vector4)raylib::Vector4inline
    Vector4(float x, float y, float z) (defined in raylib::Vector4)raylib::Vector4inline
    Vector4(float x, float y) (defined in raylib::Vector4)raylib::Vector4inline
    Vector4(float x) (defined in raylib::Vector4)raylib::Vector4inline
    Vector4() (defined in raylib::Vector4)raylib::Vector4inline
    Vector4(::Rectangle rect) (defined in raylib::Vector4)raylib::Vector4inline
    Vector4(::Color color) (defined in raylib::Vector4)raylib::Vector4inline
    -

    - + diff --git a/docs/classraylib_1_1_vector4.html b/docs/classraylib_1_1_vector4.html index fac6f725..00f7002e 100644 --- a/docs/classraylib_1_1_vector4.html +++ b/docs/classraylib_1_1_vector4.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Vector4 Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Vector4 Class Reference
    +
    +
    raylib::Vector4 Class Reference

    Vector4 type. More...

    - -

    #include <Vector4.hpp>

    - - - - + - + - + - + - + - + - + - + @@ -130,29 +118,41 @@ - + - + - + - + - + - + - + - + - + - + - - - + + + @@ -166,43 +166,56 @@ - + - - - + + + - + - + - + - +

    +

    Public Member Functions

     Vector4 ()
     
     Vector4 (::Color color)
    Vector4 (::Color color)
     
     Vector4 (::Rectangle rect)
    Vector4 (::Rectangle rect)
     
     Vector4 (const ::Vector4 &vec)
    Vector4 (const ::Vector4 &vec)
     
     Vector4 (float x)
    Vector4 (float x)
     
     Vector4 (float x, float y)
    Vector4 (float x, float y)
     
     Vector4 (float x, float y, float z)
    Vector4 (float x, float y, float z)
     
     Vector4 (float x, float y, float z, float w)
    Vector4 (float x, float y, float z, float w)
     
    Color ColorFromNormalized () const
    +Color ColorFromNormalized () const
     
    float GetW () const
     Retrieves the w value for the object. More...
    float GetZ () const
     Retrieves the z value for the object. More...
     
    Vector4 Invert () const
    +Vector4 Invert () const
     
    float Length () const
    +float Length () const
     
    Vector4 Lerp (const ::Vector4 &vector4, float amount) const
    +Vector4 Lerp (const ::Vector4 &vector4, float amount) const
     
    Vector4 Multiply (const ::Vector4 &vector4) const
    +Vector4 Multiply (const ::Vector4 &vector4) const
     
    Vector4 Nlerp (const ::Vector4 &vector4, float amount) const
    +Vector4 Nlerp (const ::Vector4 &vector4, float amount) const
     
    Vector4 Normalize () const
    +Vector4 Normalize () const
     
     operator Color ()
    operator Color ()
     
    bool operator!= (const ::Vector4 &other)
    +bool operator!= (const ::Vector4 &other)
     
    Vector4 operator* (const ::Vector4 &vector4) const
    +Vector4 operator* (const ::Vector4 &vector4) const
     
     operator::Rectangle () const
    operator::Rectangle () const
     
    Vector4operator= (const ::Vector4 &vector4)
     
    bool operator== (const ::Vector4 &other)
    +Vector4operator= (const ::Vector4 &vector4)
     
    +bool operator== (const ::Vector4 &other)
     
    void SetW (float value)
     Sets the w value for the object. More...
    void SetZ (float value)
     Sets the z value for the object. More...
     
    Vector4 Slerp (const ::Vector4 &vector4, float amount) const
    +Vector4 Slerp (const ::Vector4 &vector4, float amount) const
     
    std::pair< Vector3, float > ToAxisAngle ()
     
    void ToAxisAngle (::Vector3 *outAxis, float *outAngle)
    +std::pair< Vector3, float > ToAxisAngle ()
     
    +void ToAxisAngle (::Vector3 *outAxis, float *outAngle)
     
    Vector3 ToEuler ()
    +Vector3 ToEuler ()
     
    Matrix ToMatrix () const
    +Matrix ToMatrix () const
     
    inline ::Rectangle ToRectangle ()
    +inline ::Rectangle ToRectangle ()
     
    Vector4 Transform (const ::Matrix &matrix)
    +Vector4 Transform (const ::Matrix &matrix)
     
    - - + - + - + - + - + - +

    +

    Static Public Member Functions

    static Vector4 FromAxisAngle (const ::Vector3 &axis, const float angle)
    +static Vector4 FromAxisAngle (const ::Vector3 &axis, const float angle)
     
    static Vector4 FromEuler (const ::Vector3 &vector3)
    +static Vector4 FromEuler (const ::Vector3 &vector3)
     
    static Vector4 FromEuler (const float yaw, const float pitch, const float roll)
    +static Vector4 FromEuler (const float yaw, const float pitch, const float roll)
     
    static Vector4 FromMatrix (const ::Matrix &matrix)
    +static Vector4 FromMatrix (const ::Matrix &matrix)
     
    static Vector4 FromVector3ToVector3 (const ::Vector3 &from, const ::Vector3 &to)
    +static Vector4 FromVector3ToVector3 (const ::Vector3 &from, const ::Vector3 &to)
     
    static Vector4 Identity ()
    +static Vector4 Identity ()
     

    Detailed Description

    -

    Vector4 type.

    +

    Vector4 type.

    Definition at line 17 of file Vector4.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Vector4() [1/8]

    +

    Member Function Documentation

    + +

    ◆ GetW()

    - -

    ◆ Vector4() [2/8]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Vector4::Vector4 (float x,
    float y,
    float z,
    float w 
    )
    -
    -inline
    -
    +

    Retrieves the w value for the object.

    +
    Returns
    The w value of the object.
    -

    Definition at line 23 of file Vector4.hpp.

    +

    Definition at line 37 of file Vector4.hpp.

    - -

    ◆ Vector4() [3/8]

    + +

    ◆ GetX()

    - -

    ◆ Vector4() [4/8]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    raylib::Vector4::Vector4 (float x,
    float y 
    )
    -
    -inline
    -
    +

    Retrieves the x value for the object.

    +
    Returns
    The x value of the object.
    -

    Definition at line 25 of file Vector4.hpp.

    +

    Definition at line 34 of file Vector4.hpp.

    - -

    ◆ Vector4() [5/8]

    + +

    ◆ GetY()

    @@ -371,11 +284,10 @@

    - + - - - + +
    raylib::Vector4::Vector4 float raylib::Vector4::GetY (float x)) const
    @@ -385,12 +297,15 @@

    -

    Definition at line 26 of file Vector4.hpp.

    +

    Retrieves the y value for the object.

    +
    Returns
    The y value of the object.
    + +

    Definition at line 35 of file Vector4.hpp.

    - -

    ◆ Vector4() [6/8]

    + +

    ◆ GetZ()

    - -

    ◆ Vector4() [7/8]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Vector4::Vector4 (::Rectangle rect)
    -
    -inline
    -
    +

    Retrieves the z value for the object.

    +
    Returns
    The z value of the object.
    -

    Definition at line 28 of file Vector4.hpp.

    +

    Definition at line 36 of file Vector4.hpp.

    - -

    ◆ Vector4() [8/8]

    + +

    ◆ SetW()

    @@ -454,10 +344,10 @@

    - + - - + +
    raylib::Vector4::Vector4 void raylib::Vector4::SetW (::Color color)float value)
    @@ -468,13 +358,20 @@

    -

    Definition at line 30 of file Vector4.hpp.

    +

    Sets the w value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set w to.
    +
    +
    + +

    Definition at line 37 of file Vector4.hpp.

    -

    Member Function Documentation

    - -

    ◆ ColorFromNormalized()

    + +

    ◆ SetX()

    @@ -483,10 +380,11 @@

    - + - - + + +
    Color raylib::Vector4::ColorFromNormalized void raylib::Vector4::SetX () constfloat value)
    @@ -496,14 +394,20 @@

    -

    Definition at line 148 of file Vector4.hpp.

    +

    Sets the x value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set x to.
    +
    +
    -

    Referenced by operator Color().

    +

    Definition at line 34 of file Vector4.hpp.

    - -

    ◆ FromAxisAngle()

    + +

    ◆ SetY()

    - -

    ◆ FromEuler() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    static Vector4 raylib::Vector4::FromEuler (const ::Vector3 & vector3)
    -
    -inlinestatic
    -
    +

    Sets the y value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set y to.
    +
    +
    -

    Definition at line 139 of file Vector4.hpp.

    +

    Definition at line 35 of file Vector4.hpp.

    - -

    ◆ FromEuler() [2/2]

    + +

    ◆ SetZ()

    - -

    ◆ FromMatrix()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static Vector4 raylib::Vector4::FromMatrix (const ::Matrix & matrix)
    -
    -inlinestatic
    -
    +

    Sets the z value for the object.

    +
    Parameters
    + + +
    valueThe value of which to set z to.
    +
    +
    -

    Definition at line 127 of file Vector4.hpp.

    - -
    -
    - -

    ◆ FromVector3ToVector3()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static Vector4 raylib::Vector4::FromVector3ToVector3 (const ::Vector3 & from,
    const ::Vector3 & to 
    )
    -
    -inlinestatic
    -
    - -

    Definition at line 123 of file Vector4.hpp.

    - -
    -
    - -

    ◆ GetW()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector4::GetW () const
    -
    -inline
    -
    - -

    Retrieves the w value for the object.

    -
    Returns
    The w value of the object.
    - -

    Definition at line 37 of file Vector4.hpp.

    - -
    -
    - -

    ◆ GetX()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector4::GetX () const
    -
    -inline
    -
    - -

    Retrieves the x value for the object.

    -
    Returns
    The x value of the object.
    - -

    Definition at line 34 of file Vector4.hpp.

    - -
    -
    - -

    ◆ GetY()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector4::GetY () const
    -
    -inline
    -
    - -

    Retrieves the y value for the object.

    -
    Returns
    The y value of the object.
    - -

    Definition at line 35 of file Vector4.hpp.

    - -
    -
    - -

    ◆ GetZ()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector4::GetZ () const
    -
    -inline
    -
    - -

    Retrieves the z value for the object.

    -
    Returns
    The z value of the object.
    - -

    Definition at line 36 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Identity()

    - -
    -
    - - - - - -
    - - - - - - - -
    static Vector4 raylib::Vector4::Identity ()
    -
    -inlinestatic
    -
    - -

    Definition at line 119 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Invert()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector4 raylib::Vector4::Invert () const
    -
    -inline
    -
    - -

    Definition at line 96 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Length()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Vector4::Length () const
    -
    -inline
    -
    - -

    Definition at line 88 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Lerp()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector4 raylib::Vector4::Lerp (const ::Vector4vector4,
    float amount 
    ) const
    -
    -inline
    -
    - -

    Definition at line 72 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Multiply()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector4 raylib::Vector4::Multiply (const ::Vector4vector4) const
    -
    -inline
    -
    - -

    Definition at line 64 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Nlerp()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector4 raylib::Vector4::Nlerp (const ::Vector4vector4,
    float amount 
    ) const
    -
    -inline
    -
    - -

    Definition at line 76 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Normalize()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector4 raylib::Vector4::Normalize () const
    -
    -inline
    -
    - -

    Definition at line 92 of file Vector4.hpp.

    - -
    -
    - -

    ◆ operator Color()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Vector4::operator Color ()
    -
    -inline
    -
    - -

    Definition at line 152 of file Vector4.hpp.

    - -

    References ColorFromNormalized().

    - -
    -
    - -

    ◆ operator!=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Vector4::operator!= (const ::Vector4other)
    -
    -inline
    -
    - -

    Definition at line 51 of file Vector4.hpp.

    - -
    -
    - -

    ◆ operator*()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector4 raylib::Vector4::operator* (const ::Vector4vector4) const
    -
    -inline
    -
    - -

    Definition at line 68 of file Vector4.hpp.

    - -
    -
    - -

    ◆ operator::Rectangle()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Vector4::operator::Rectangle () const
    -
    -inline
    -
    - -

    Definition at line 59 of file Vector4.hpp.

    - -
    -
    - -

    ◆ operator=()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector4 & raylib::Vector4::operator= (const ::Vector4vector4)
    -
    -inline
    -
    - -

    Definition at line 39 of file Vector4.hpp.

    - -
    -
    - -

    ◆ operator==()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Vector4::operator== (const ::Vector4other)
    -
    -inline
    -
    - -

    Definition at line 44 of file Vector4.hpp.

    - -
    -
    - -

    ◆ SetW()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector4::SetW (float value)
    -
    -inline
    -
    - -

    Sets the w value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set w to.
    -
    -
    - -

    Definition at line 37 of file Vector4.hpp.

    - -
    -
    - -

    ◆ SetX()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector4::SetX (float value)
    -
    -inline
    -
    - -

    Sets the x value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set x to.
    -
    -
    - -

    Definition at line 34 of file Vector4.hpp.

    - -
    -
    - -

    ◆ SetY()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector4::SetY (float value)
    -
    -inline
    -
    - -

    Sets the y value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set y to.
    -
    -
    - -

    Definition at line 35 of file Vector4.hpp.

    - -
    -
    - -

    ◆ SetZ()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Vector4::SetZ (float value)
    -
    -inline
    -
    - -

    Sets the z value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set z to.
    -
    -
    - -

    Definition at line 36 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Slerp()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Vector4 raylib::Vector4::Slerp (const ::Vector4vector4,
    float amount 
    ) const
    -
    -inline
    -
    - -

    Definition at line 80 of file Vector4.hpp.

    - -
    -
    - -

    ◆ ToAxisAngle() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - -
    std::pair< Vector3, float > raylib::Vector4::ToAxisAngle ()
    -
    -inline
    -
    - -

    Definition at line 104 of file Vector4.hpp.

    - -
    -
    - -

    ◆ ToAxisAngle() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    void raylib::Vector4::ToAxisAngle (::Vector3 * outAxis,
    float * outAngle 
    )
    -
    -inline
    -
    - -

    Definition at line 100 of file Vector4.hpp.

    - -
    -
    - -

    ◆ ToEuler()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector3 raylib::Vector4::ToEuler ()
    -
    -inline
    -
    - -

    Definition at line 143 of file Vector4.hpp.

    - -
    -
    - -

    ◆ ToMatrix()

    - -
    -
    - - - - - -
    - - - - - - - -
    Matrix raylib::Vector4::ToMatrix () const
    -
    -inline
    -
    - -

    Definition at line 84 of file Vector4.hpp.

    - -
    -
    - -

    ◆ ToRectangle()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Rectangle raylib::Vector4::ToRectangle ()
    -
    -inline
    -
    - -

    Definition at line 55 of file Vector4.hpp.

    - -
    -
    - -

    ◆ Transform()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Vector4 raylib::Vector4::Transform (const ::Matrix & matrix)
    -
    -inline
    -
    - -

    Definition at line 115 of file Vector4.hpp.

    +

    Definition at line 36 of file Vector4.hpp.

    -
    - + diff --git a/docs/classraylib_1_1_vr_stereo_config-members.html b/docs/classraylib_1_1_vr_stereo_config-members.html index 1e53a372..f125ce68 100644 --- a/docs/classraylib_1_1_vr_stereo_config-members.html +++ b/docs/classraylib_1_1_vr_stereo_config-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::VrStereoConfig Member List
    +
    +
    raylib::VrStereoConfig Member List

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

    - - + + - - - + + +
    BeginMode()raylib::VrStereoConfiginline
    EndDrawing()raylib::VrStereoConfiginline
    BeginMode()raylib::VrStereoConfiginline
    EndDrawing()raylib::VrStereoConfiginline
    Init(const ::VrDeviceInfo &info)raylib::VrStereoConfiginline
    Unload()raylib::VrStereoConfiginline
    VrStereoConfig(const ::VrDeviceInfo &info)raylib::VrStereoConfiginline
    ~VrStereoConfig()raylib::VrStereoConfiginline
    Unload()raylib::VrStereoConfiginline
    VrStereoConfig(const ::VrDeviceInfo &info) (defined in raylib::VrStereoConfig)raylib::VrStereoConfiginline
    ~VrStereoConfig()raylib::VrStereoConfiginline
    -
    - + diff --git a/docs/classraylib_1_1_vr_stereo_config.html b/docs/classraylib_1_1_vr_stereo_config.html index 9513869f..087d4671 100644 --- a/docs/classraylib_1_1_vr_stereo_config.html +++ b/docs/classraylib_1_1_vr_stereo_config.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::VrStereoConfig Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    -
    raylib::VrStereoConfig Class Reference
    +
    +
    raylib::VrStereoConfig Class Reference

    VR stereo config functions for VR simulator. More...

    - -

    #include <VrStereoConfig.hpp>

    - - + - - + + - - - - - - - - + + + + + + + + - - + +

    +

    Public Member Functions

     VrStereoConfig (const ::VrDeviceInfo &info)
    VrStereoConfig (const ::VrDeviceInfo &info)
     
     ~VrStereoConfig ()
     Unload VR stereo config. More...
    ~VrStereoConfig ()
     Unload VR stereo config.
     
    VrStereoConfigBeginMode ()
     Begin stereo rendering. More...
     
    VrStereoConfigEndDrawing ()
     End stereo rendering. More...
     
    void Init (const ::VrDeviceInfo &info)
     Load VR stereo config for VR simulator device parameters. More...
    +VrStereoConfigBeginMode ()
     Begin stereo rendering.
     
    +VrStereoConfigEndDrawing ()
     End stereo rendering.
     
    +void Init (const ::VrDeviceInfo &info)
     Load VR stereo config for VR simulator device parameters.
     
    void Unload ()
     Unload VR stereo config. More...
    +void Unload ()
     Unload VR stereo config.
     

    Detailed Description

    -

    VR stereo config functions for VR simulator.

    +

    VR stereo config functions for VR simulator.

    Definition at line 11 of file VrStereoConfig.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ VrStereoConfig()

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::VrStereoConfig::VrStereoConfig (const ::VrDeviceInfo & info)
    -
    -inline
    -
    - -

    Definition at line 13 of file VrStereoConfig.hpp.

    - -

    References Init().

    - -
    -
    - -

    ◆ ~VrStereoConfig()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::VrStereoConfig::~VrStereoConfig ()
    -
    -inline
    -
    - -

    Unload VR stereo config.

    - -

    Definition at line 27 of file VrStereoConfig.hpp.

    - -

    References Unload().

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ BeginMode()

    - -
    -
    - - - - - -
    - - - - - - - -
    VrStereoConfig & raylib::VrStereoConfig::BeginMode ()
    -
    -inline
    -
    - -

    Begin stereo rendering.

    - -

    Definition at line 34 of file VrStereoConfig.hpp.

    - -
    -
    - -

    ◆ EndDrawing()

    - -
    -
    - - - - - -
    - - - - - - - -
    VrStereoConfig & raylib::VrStereoConfig::EndDrawing ()
    -
    -inline
    -
    - -

    End stereo rendering.

    - -

    Definition at line 42 of file VrStereoConfig.hpp.

    - -
    -
    - -

    ◆ Init()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::VrStereoConfig::Init (const ::VrDeviceInfo & info)
    -
    -inline
    -
    - -

    Load VR stereo config for VR simulator device parameters.

    - -

    Definition at line 20 of file VrStereoConfig.hpp.

    - -

    Referenced by VrStereoConfig().

    - -
    -
    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::VrStereoConfig::Unload ()
    -
    -inline
    -
    - -

    Unload VR stereo config.

    - -

    Definition at line 50 of file VrStereoConfig.hpp.

    - -

    Referenced by ~VrStereoConfig().

    - -
    -
    -
    -
    +
    - + diff --git a/docs/classraylib_1_1_wave-members.html b/docs/classraylib_1_1_wave-members.html index 1b8743eb..75054e6f 100644 --- a/docs/classraylib_1_1_wave-members.html +++ b/docs/classraylib_1_1_wave-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Wave Member List
    +
    +
    raylib::Wave Member List

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

    - + - - - - - + + + + + - + - + - + - - - - - + + + + + - + - + - - - + + + - - - + + +
    Copy() constraylib::Waveinline
    Crop(int initSample, int finalSample)raylib::Waveinline
    Crop(int initSample, int finalSample)raylib::Waveinline
    Export(const std::string &fileName)raylib::Waveinline
    ExportAsCode(const std::string &fileName)raylib::Waveinline
    Format(int SampleRate, int SampleSize, int Channels=2)raylib::Waveinline
    GetChannels() constraylib::Waveinline
    GetData() constraylib::Waveinline
    GetFrameCount() constraylib::Waveinline
    ExportAsCode(const std::string &fileName)raylib::Waveinline
    Format(int SampleRate, int SampleSize, int Channels=2)raylib::Waveinline
    GetChannels() constraylib::Waveinline
    GetData() constraylib::Waveinline
    GetFrameCount() constraylib::Waveinline
    GetSampleRate() constraylib::Waveinline
    GetSampleSize() constraylib::Waveinline
    GetSampleSize() constraylib::Waveinline
    IsReady() constraylib::Waveinline
    Load(const std::string &fileName)raylib::Waveinline
    Load(const std::string &fileName)raylib::Waveinline
    Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
    LoadSamples()raylib::Waveinline
    LoadSamples()raylib::Waveinline
    LoadSound()raylib::Waveinline
    operator::Sound()raylib::Waveinline
    operator=(const ::Wave &wave)raylib::Waveinline
    operator=(const Wave &other)raylib::Waveinline
    operator=(Wave &&other) noexceptraylib::Waveinline
    SetChannels(unsigned int value)raylib::Waveinline
    operator::Sound()raylib::Waveinline
    operator=(const ::Wave &wave) (defined in raylib::Wave)raylib::Waveinline
    operator=(const Wave &other) (defined in raylib::Wave)raylib::Waveinline
    operator=(Wave &&other) noexcept (defined in raylib::Wave)raylib::Waveinline
    SetChannels(unsigned int value)raylib::Waveinline
    SetData(void *value)raylib::Waveinline
    SetFrameCount(unsigned int value)raylib::Waveinline
    SetFrameCount(unsigned int value)raylib::Waveinline
    SetSampleRate(unsigned int value)raylib::Waveinline
    SetSampleSize(unsigned int value)raylib::Waveinline
    SetSampleSize(unsigned int value)raylib::Waveinline
    Unload()raylib::Waveinline
    UnloadSamples(float *samples)raylib::Waveinline
    Wave(const ::Wave &wave)raylib::Waveinline
    Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)raylib::Waveinline
    UnloadSamples(float *samples)raylib::Waveinline
    Wave(const ::Wave &wave) (defined in raylib::Wave)raylib::Waveinline
    Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr) (defined in raylib::Wave)raylib::Waveinline
    Wave(const std::string &fileName)raylib::Waveinline
    Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
    Wave(const Wave &other)raylib::Waveinline
    Wave(Wave &&other)raylib::Waveinline
    Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
    Wave(const Wave &other) (defined in raylib::Wave)raylib::Waveinline
    Wave(Wave &&other) (defined in raylib::Wave)raylib::Waveinline
    ~Wave()raylib::Waveinline
    -

    - + diff --git a/docs/classraylib_1_1_wave.html b/docs/classraylib_1_1_wave.html index 2707a383..cbe829ff 100644 --- a/docs/classraylib_1_1_wave.html +++ b/docs/classraylib_1_1_wave.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Wave Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Wave Class Reference
    +
    +
    raylib::Wave Class Reference

    Wave type, defines audio wave data. More...

    - -

    #include <Wave.hpp>

    - - + - - + + - + - + - + - - + + - - + + - - - - - + + + + + - - + + - - - + + + - - - + + + @@ -153,408 +146,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    +

    Public Member Functions

     Wave (const ::Wave &wave)
    Wave (const ::Wave &wave)
     
     Wave (const std::string &fileName)
     Load wave data from file. More...
    Wave (const std::string &fileName)
     Load wave data from file.
     
     Wave (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load wave from memory buffer, fileType refers to extension: i.e. More...
     
     Wave (const Wave &other)
    Wave (const Wave &other)
     
     Wave (unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)
    Wave (unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)
     
     Wave (Wave &&other)
    Wave (Wave &&other)
     
     ~Wave ()
     Unload wave data. More...
    ~Wave ()
     Unload wave data.
     
    inline ::Wave Copy () const
     Copy a wave to a new wave. More...
    +inline ::Wave Copy () const
     Copy a wave to a new wave.
     
    WaveCrop (int initSample, int finalSample)
     Crop a wave to defined samples range. More...
     
    bool Export (const std::string &fileName)
     Export wave data to file, returns true on success. More...
    +WaveCrop (int initSample, int finalSample)
     Crop a wave to defined samples range.
     
    +bool Export (const std::string &fileName)
     Export wave data to file, returns true on success.
     
    bool ExportAsCode (const std::string &fileName)
     Export wave sample data to code (.h), returns true on success. More...
    +bool ExportAsCode (const std::string &fileName)
     Export wave sample data to code (.h), returns true on success.
     
    WaveFormat (int SampleRate, int SampleSize, int Channels=2)
     Convert wave data to desired format. More...
     
    +WaveFormat (int SampleRate, int SampleSize, int Channels=2)
     Convert wave data to desired format.
     
    unsigned int GetChannels () const
     Retrieves the channels value for the object. More...
     
    void * GetData () const
     Retrieves the data value for the object. More...
     
    void * GetData () const
     Retrieves the data value for the object. More...
     
    unsigned int GetFrameCount () const
     Retrieves the frameCount value for the object. More...
     
     Load wave data from file. More...
     
    bool Load (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load wave from memory buffer, fileType refers to extension: i.e. More...
     
    float * LoadSamples ()
     Load samples data from wave as a floats array. More...
     
    inline ::Sound LoadSound ()
     Load sound from wave data. More...
     
     operator::Sound ()
     Load sound from wave data. More...
     
    Waveoperator= (const ::Wave &wave)
     
    Waveoperator= (const Wave &other)
     
    Waveoperator= (Wave &&other) noexcept
     
    void SetChannels (unsigned int value)
     Sets the channels value for the object. More...
     
    void SetData (void *value)
     Sets the data value for the object. More...
     
    void SetFrameCount (unsigned int value)
     Sets the frameCount value for the object. More...
     
    void SetSampleRate (unsigned int value)
     Sets the sampleRate value for the object. More...
     
    void SetSampleSize (unsigned int value)
     Sets the sampleSize value for the object. More...
     
    void Unload ()
     Unload wave data. More...
     
    void UnloadSamples (float *samples)
     Unload samples data loaded with LoadWaveSamples() More...
     
    -

    Detailed Description

    -

    Wave type, defines audio wave data.

    - -

    Definition at line 14 of file Wave.hpp.

    -

    Constructor & Destructor Documentation

    - -

    ◆ Wave() [1/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Wave::Wave (const ::Wave & wave)
    -
    -inline
    -
    - -

    Definition at line 16 of file Wave.hpp.

    - -
    -
    - -

    ◆ Wave() [2/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Wave::Wave (unsigned int frameCount = 0,
    unsigned int sampleRate = 0,
    unsigned int sampleSize = 0,
    unsigned int channels = 0,
    void * data = nullptr 
    )
    -
    -inline
    -
    - -

    Definition at line 20 of file Wave.hpp.

    - -
    -
    - -

    ◆ Wave() [3/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Wave::Wave (const std::string & fileName)
    -
    -inline
    -
    - -

    Load wave data from file.

    - -

    Definition at line 32 of file Wave.hpp.

    - -

    References Load().

    - -
    -
    - -

    ◆ Wave() [4/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    raylib::Wave::Wave (const std::string & fileType,
    const unsigned char * fileData,
    int dataSize 
    )
    -
    -inline
    -
    - -

    Load wave from memory buffer, fileType refers to extension: i.e.

    -

    "wav"

    - -

    Definition at line 41 of file Wave.hpp.

    - -

    References Load().

    - -
    -
    - -

    ◆ Wave() [5/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Wave::Wave (const Waveother)
    -
    -inline
    -
    - -

    Definition at line 47 of file Wave.hpp.

    - -

    References Copy().

    - -
    -
    - -

    ◆ Wave() [6/6]

    - -
    -
    - - - - - -
    - - - - - - - - -
    raylib::Wave::Wave (Wave && other)
    -
    -inline
    -
    - -

    Definition at line 51 of file Wave.hpp.

    - -
    -
    - -

    ◆ ~Wave()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Wave::~Wave ()
    -
    -inline
    -
    - -

    Unload wave data.

    - -

    Definition at line 64 of file Wave.hpp.

    - -

    References Unload().

    - -
    -
    -

    Member Function Documentation

    - -

    ◆ Copy()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Wave raylib::Wave::Copy () const
    -
    -inline
    -
    - -

    Copy a wave to a new wave.

    - -

    Definition at line 118 of file Wave.hpp.

    - -

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

    - -
    -
    - -

    ◆ Crop()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Wave & raylib::Wave::Crop (int initSample,
    int finalSample 
    )
    -
    -inline
    -
    - -

    Crop a wave to defined samples range.

    - -

    Definition at line 125 of file Wave.hpp.

    - -
    -
    - -

    ◆ Export()

    - -
    -
    - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    - - - - - - - - -
    bool raylib::Wave::Export (const std::string & fileName)
    -
    -inline
     Load wave from memory buffer, fileType refers to extension: i.e. More...
     
    +float * LoadSamples ()
     Load samples data from wave as a floats array.
     
    +inline ::Sound LoadSound ()
     Load sound from wave data.
     
    operator::Sound ()
     Load sound from wave data.
     
    +Waveoperator= (const ::Wave &wave)
     
    +Waveoperator= (const Wave &other)
     
    +Waveoperator= (Wave &&other) noexcept
     
    void SetChannels (unsigned int value)
     Sets the channels value for the object. More...
     
    void SetData (void *value)
     Sets the data value for the object. More...
     
    void SetFrameCount (unsigned int value)
     Sets the frameCount value for the object. More...
     
    void SetSampleRate (unsigned int value)
     Sets the sampleRate value for the object. More...
     
    void SetSampleSize (unsigned int value)
     Sets the sampleSize value for the object. More...
     
    +void Unload ()
     Unload wave data.
     
    +void UnloadSamples (float *samples)
     Unload samples data loaded with LoadWaveSamples()
     
    -
    - -

    Export wave data to file, returns true on success.

    - -

    Definition at line 147 of file Wave.hpp.

    +

    Detailed Description

    +

    Wave type, defines audio wave data.

    -
    -
    - -

    ◆ ExportAsCode()

    +

    Definition at line 14 of file Wave.hpp.

    +

    Constructor & Destructor Documentation

    + +

    ◆ Wave()

    - -

    ◆ Format()

    - -
    -
    - - - - - -
    - - - - - - + - - + + - + @@ -623,13 +238,17 @@

    -

    Convert wave data to desired format.

    +

    Load wave from memory buffer, fileType refers to extension: i.e.

    +

    "wav"

    + +

    Definition at line 41 of file Wave.hpp.

    -

    Definition at line 110 of file Wave.hpp.

    +

    References Load().

    - +

    Member Function Documentation

    +

    ◆ GetChannels()

    @@ -659,8 +278,8 @@

    -

    ◆ GetData()

    + +

    ◆ GetData()

    @@ -669,7 +288,7 @@

    Wave & raylib::Wave::Format (int SampleRate, fileType,
    int SampleSize, const unsigned char * fileData,
    int Channels = 2 dataSize 
    - + @@ -689,7 +308,7 @@

    +

    ◆ GetFrameCount()

    @@ -719,7 +338,7 @@

    +

    ◆ GetSampleRate()

    @@ -749,7 +368,7 @@

    +

    ◆ GetSampleSize()

    @@ -779,7 +398,7 @@

    +

    ◆ IsReady()

    @@ -811,7 +430,7 @@

    +

    ◆ Load() [1/2]

    @@ -846,7 +465,7 @@

    +

    ◆ Load() [2/2]

    @@ -887,7 +506,7 @@

    Load wave from memory buffer, fileType refers to extension: i.e.

    -

    "wav"

    +

    "wav"

    Returns
    True or false depending on if the Wave data was loaded properly.

    Definition at line 199 of file Wave.hpp.

    @@ -896,186 +515,7 @@

    -

    ◆ LoadSamples()

    - -
    -
    -

    void * raylib::Wave::GetData void* raylib::Wave::GetData ( ) const
    - - - - -
    - - - - - - - -
    float * raylib::Wave::LoadSamples ()
    -
    -inline
    -
    - -

    Load samples data from wave as a floats array.

    - -

    Definition at line 133 of file Wave.hpp.

    - -
    - - -

    ◆ LoadSound()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Sound raylib::Wave::LoadSound ()
    -
    -inline
    -
    - -

    Load sound from wave data.

    - -

    Definition at line 173 of file Wave.hpp.

    - -

    Referenced by operator::Sound().

    - -
    -
    - -

    ◆ operator::Sound()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Wave::operator::Sound ()
    -
    -inline
    -
    - -

    Load sound from wave data.

    - -

    Definition at line 180 of file Wave.hpp.

    - -

    References LoadSound().

    - -
    -
    - -

    ◆ operator=() [1/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Wave & raylib::Wave::operator= (const ::Wavewave)
    -
    -inline
    -
    - -

    Definition at line 74 of file Wave.hpp.

    - -
    -
    - -

    ◆ operator=() [2/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Wave & raylib::Wave::operator= (const Waveother)
    -
    -inline
    -
    - -

    Definition at line 79 of file Wave.hpp.

    - -

    References Copy(), and Unload().

    - -
    -
    - -

    ◆ operator=() [3/3]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Wave & raylib::Wave::operator= (Wave && other)
    -
    -inlinenoexcept
    -
    - -

    Definition at line 90 of file Wave.hpp.

    - -

    References Unload().

    - -
    -
    - +

    ◆ SetChannels()

    @@ -1111,7 +551,7 @@

    +

    ◆ SetData()

    @@ -1147,7 +587,7 @@

    +

    ◆ SetFrameCount()

    @@ -1183,7 +623,7 @@

    +

    ◆ SetSampleRate()

    @@ -1219,7 +659,7 @@

    +

    ◆ SetSampleSize()

    @@ -1253,77 +693,14 @@

    Definition at line 70 of file Wave.hpp.

    -

    -

    - -

    ◆ Unload()

    - -
    -
    - - - - - -
    - - - - - - - -
    void raylib::Wave::Unload ()
    -
    -inline
    -
    - -

    Unload wave data.

    - -

    Definition at line 163 of file Wave.hpp.

    - -

    Referenced by ~Wave(), and operator=().

    - -
    -
    - -

    ◆ UnloadSamples()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Wave::UnloadSamples (float * samples)
    -
    -inline
    -
    - -

    Unload samples data loaded with LoadWaveSamples()

    - -

    Definition at line 140 of file Wave.hpp.

    -

    -

    - + diff --git a/docs/classraylib_1_1_window-members.html b/docs/classraylib_1_1_window-members.html index bbf97ebd..dc57d48a 100644 --- a/docs/classraylib_1_1_window-members.html +++ b/docs/classraylib_1_1_window-members.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Member List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Window Member List
    +
    +
    raylib::Window Member List

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

    - - - - - - + + + + + + - - - + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - +
    BeginDrawing()raylib::Windowinline
    ClearBackground(const ::Color &color=BLACK)raylib::Windowinline
    ClearState(unsigned int flag)raylib::Windowinline
    Close()raylib::Windowinline
    DrawFPS(int posX=10, int posY=10)raylib::Windowinline
    EndDrawing()raylib::Windowinline
    BeginDrawing()raylib::Windowinline
    ClearBackground(const ::Color &color=BLACK)raylib::Windowinline
    ClearState(unsigned int flag)raylib::Windowinline
    Close()raylib::Windowinline
    DrawFPS(int posX=10, int posY=10)raylib::Windowinline
    EndDrawing()raylib::Windowinline
    GetFPS() constraylib::Windowinline
    GetFrameTime() constraylib::Windowinline
    GetHandle() constraylib::Windowinline
    GetHeight() constraylib::Windowinline
    GetFrameTime() constraylib::Windowinline
    GetHandle() constraylib::Windowinline
    GetHeight() constraylib::Windowinline
    GetPosition() constraylib::Windowinline
    GetScaleDPI() constraylib::Windowinline
    GetScaleDPI() constraylib::Windowinline
    GetSize() constraylib::Windowinline
    GetTime() constraylib::Windowinline
    GetTime() constraylib::Windowinline
    GetWidth() constraylib::Windowinline
    Init(int width=800, int height=450, const std::string &title="raylib")raylib::Windowinline
    Init(int width=800, int height=450, const std::string &title="raylib")raylib::Windowinline
    IsCursorOnScreen() constraylib::Windowinline
    IsFocused() constraylib::Windowinline
    IsFocused() constraylib::Windowinline
    IsFullscreen() constraylib::Windowinline
    IsHidden() constraylib::Windowinline
    IsHidden() constraylib::Windowinline
    IsMaximized() constraylib::Windowinline
    IsMinimized() constraylib::Windowinline
    IsMinimized() constraylib::Windowinline
    IsReady()raylib::Windowinlinestatic
    IsResized() constraylib::Windowinline
    IsResized() constraylib::Windowinline
    IsState(unsigned int flag) constraylib::Windowinline
    Maximize()raylib::Windowinline
    Minimize()raylib::Windowinline
    Restore()raylib::Windowinline
    SetFullscreen(bool fullscreen)raylib::Windowinline
    SetIcon(const ::Image &image)raylib::Windowinline
    SetMinSize(int width, int height)raylib::Windowinline
    SetMinSize(const ::Vector2 &size)raylib::Windowinline
    SetMonitor(int monitor)raylib::Windowinline
    SetPosition(int x, int y)raylib::Windowinline
    SetPosition(const ::Vector2 &position)raylib::Windowinline
    SetSize(int width, int height)raylib::Windowinline
    SetSize(const ::Vector2 &size)raylib::Windowinline
    SetState(unsigned int flag)raylib::Windowinline
    SetTargetFPS(int fps)raylib::Windowinline
    SetTitle(const std::string &title)raylib::Windowinline
    Maximize()raylib::Windowinline
    Minimize()raylib::Windowinline
    Restore()raylib::Windowinline
    SetFullscreen(bool fullscreen)raylib::Windowinline
    SetIcon(const ::Image &image)raylib::Windowinline
    SetMinSize(int width, int height)raylib::Windowinline
    SetMinSize(const ::Vector2 &size)raylib::Windowinline
    SetMonitor(int monitor)raylib::Windowinline
    SetPosition(int x, int y)raylib::Windowinline
    SetPosition(const ::Vector2 &position)raylib::Windowinline
    SetSize(int width, int height)raylib::Windowinline
    SetSize(const ::Vector2 &size)raylib::Windowinline
    SetState(unsigned int flag)raylib::Windowinline
    SetTargetFPS(int fps)raylib::Windowinline
    SetTitle(const std::string &title)raylib::Windowinline
    ShouldClose() constraylib::Windowinline
    ToggleFullscreen()raylib::Windowinline
    ToggleFullscreen()raylib::Windowinline
    Window(int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)raylib::Windowinline
    ~Window()raylib::Windowinline
    ~Window()raylib::Windowinline
    -

    - + diff --git a/docs/classraylib_1_1_window.html b/docs/classraylib_1_1_window.html index 7fc9c3ed..70b05523 100644 --- a/docs/classraylib_1_1_window.html +++ b/docs/classraylib_1_1_window.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib::Window Class Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib::Window Class Reference
    +
    +
    raylib::Window Class Reference

    Window and Graphics Device Functions. More...

    - -

    #include <Window.hpp>

    - - - + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + - - + + - - - - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + +

    +

    Public Member Functions

     Window (int width=800, int height=450, const std::string &title="raylib", bool lateInit=false)
     Initialize window and OpenGL context. More...
     
     ~Window ()
     Close window and unload OpenGL context. More...
    ~Window ()
     Close window and unload OpenGL context.
     
    WindowBeginDrawing ()
     Setup canvas (framebuffer) to start drawing. More...
     
    WindowClearBackground (const ::Color &color=BLACK)
     Clear window with given color. More...
     
    WindowClearState (unsigned int flag)
     Clear window configuration state flags. More...
     
    void Close ()
     Close window and unload OpenGL context. More...
    +WindowBeginDrawing ()
     Setup canvas (framebuffer) to start drawing.
     
    +WindowClearBackground (const ::Color &color=BLACK)
     Clear window with given color.
     
    +WindowClearState (unsigned int flag)
     Clear window configuration state flags.
     
    +void Close ()
     Close window and unload OpenGL context.
     
    WindowDrawFPS (int posX=10, int posY=10)
     Draw current FPS. More...
     
    WindowEndDrawing ()
     End canvas drawing and swap buffers (double buffering) More...
     
    int GetFPS () const
     Returns current FPS. More...
    +WindowDrawFPS (int posX=10, int posY=10)
     Draw current FPS.
     
    +WindowEndDrawing ()
     End canvas drawing and swap buffers (double buffering)
     
    +int GetFPS () const
     Returns current FPS.
     
    float GetFrameTime () const
     Returns time in seconds for last frame drawn. More...
    +float GetFrameTime () const
     Returns time in seconds for last frame drawn.
     
    void * GetHandle () const
     Get native window handle. More...
     
    int GetHeight () const
     Get current screen height. More...
    +void * GetHandle () const
     Get native window handle.
     
    +int GetHeight () const
     Get current screen height.
     
    inline ::Vector2 GetPosition () const
     Get window position XY on monitor. More...
    +inline ::Vector2 GetPosition () const
     Get window position XY on monitor.
     
    inline ::Vector2 GetScaleDPI () const
     Get window scale DPI factor. More...
    +inline ::Vector2 GetScaleDPI () const
     Get window scale DPI factor.
     
    Vector2 GetSize () const
     Get the screen's width and height. More...
    +Vector2 GetSize () const
     Get the screen's width and height.
     
    double GetTime () const
     Returns elapsed time in seconds since InitWindow() More...
    +double GetTime () const
     Returns elapsed time in seconds since InitWindow()
     
    int GetWidth () const
     Get current screen width. More...
    +int GetWidth () const
     Get current screen width.
     
    bool Init (int width=800, int height=450, const std::string &title="raylib")
     Initializes the window. More...
     
    bool IsCursorOnScreen () const
     Check if cursor is on the current screen. More...
    +bool IsCursorOnScreen () const
     Check if cursor is on the current screen.
     
    bool IsFocused () const
     Check if window is currently focused. More...
    +bool IsFocused () const
     Check if window is currently focused.
     
    bool IsFullscreen () const
     Check if window is currently fullscreen. More...
    +bool IsFullscreen () const
     Check if window is currently fullscreen.
     
    bool IsHidden () const
     Check if window is currently hidden. More...
    +bool IsHidden () const
     Check if window is currently hidden.
     
    bool IsMaximized () const
     Check if window is currently minimized. More...
    +bool IsMaximized () const
     Check if window is currently minimized.
     
    bool IsMinimized () const
     Check if window is currently minimized. More...
    +bool IsMinimized () const
     Check if window is currently minimized.
     
    bool IsResized () const
     Check if window has been resized last frame. More...
    +bool IsResized () const
     Check if window has been resized last frame.
     
    bool IsState (unsigned int flag) const
     Check if one specific window flag is enabled. More...
    +bool IsState (unsigned int flag) const
     Check if one specific window flag is enabled.
     
    WindowMaximize ()
     Set window state: maximized, if resizable (only PLATFORM_DESKTOP) More...
     
    WindowMinimize ()
     Set window state: minimized, if resizable (only PLATFORM_DESKTOP) More...
     
    WindowRestore ()
     Set window state: not minimized/maximized (only PLATFORM_DESKTOP) More...
     
    WindowSetFullscreen (bool fullscreen)
     Set whether or not the application should be fullscreen. More...
     
    WindowSetIcon (const ::Image &image)
     Set icon for window. More...
     
    WindowSetMinSize (const ::Vector2 &size)
     Set window minimum dimensions. More...
     
    WindowSetMinSize (int width, int height)
     Set window minimum dimensions. More...
     
    WindowSetMonitor (int monitor)
     Set monitor for the current window. More...
     
    WindowSetPosition (const ::Vector2 &position)
     Set window position on screen. More...
     
    WindowSetPosition (int x, int y)
     Set window position on screen. More...
     
    WindowSetSize (const ::Vector2 &size)
     Set window dimensions. More...
     
    WindowSetSize (int width, int height)
     Set window dimensions. More...
     
    WindowSetState (unsigned int flag)
     Set window configuration state using flags. More...
     
    WindowSetTargetFPS (int fps)
     Set target FPS (maximum) More...
     
    WindowSetTitle (const std::string &title)
     Set title for window. More...
     
    bool ShouldClose () const
     Check if KEY_ESCAPE pressed or Close icon pressed. More...
    +WindowMaximize ()
     Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
     
    +WindowMinimize ()
     Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
     
    +WindowRestore ()
     Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
     
    +WindowSetFullscreen (bool fullscreen)
     Set whether or not the application should be fullscreen.
     
    +WindowSetIcon (const ::Image &image)
     Set icon for window.
     
    +WindowSetMinSize (const ::Vector2 &size)
     Set window minimum dimensions.
     
    +WindowSetMinSize (int width, int height)
     Set window minimum dimensions.
     
    +WindowSetMonitor (int monitor)
     Set monitor for the current window.
     
    +WindowSetPosition (const ::Vector2 &position)
     Set window position on screen.
     
    +WindowSetPosition (int x, int y)
     Set window position on screen.
     
    +WindowSetSize (const ::Vector2 &size)
     Set window dimensions.
     
    +WindowSetSize (int width, int height)
     Set window dimensions.
     
    +WindowSetState (unsigned int flag)
     Set window configuration state using flags.
     
    +WindowSetTargetFPS (int fps)
     Set target FPS (maximum)
     
    +WindowSetTitle (const std::string &title)
     Set title for window.
     
    +bool ShouldClose () const
     Check if KEY_ESCAPE pressed or Close icon pressed.
     
    WindowToggleFullscreen ()
     Toggle window state: fullscreen/windowed. More...
     
    +WindowToggleFullscreen ()
     Toggle window state: fullscreen/windowed.
     
    - - - + +

    +

    Static Public Member Functions

    static bool IsReady ()
     Check if window has been initialized successfully. More...
    +static bool IsReady ()
     Check if window has been initialized successfully.
     

    Detailed Description

    -

    Window and Graphics Device Functions.

    +

    Window and Graphics Device Functions.

    Definition at line 13 of file Window.hpp.

    Constructor & Destructor Documentation

    - +

    ◆ Window()

    @@ -299,109 +323,11 @@

    References Init().

    -

    -
    - -

    ◆ ~Window()

    - -
    -
    - - - - - -
    - - - - - - - -
    raylib::Window::~Window ()
    -
    -inline
    -
    - -

    Close window and unload OpenGL context.

    - -

    Definition at line 32 of file Window.hpp.

    - -

    References Close().

    -

    Member Function Documentation

    - -

    ◆ BeginDrawing()

    - -
    -
    - - - - - -
    - - - - - - - -
    Window & raylib::Window::BeginDrawing ()
    -
    -inline
    -
    - -

    Setup canvas (framebuffer) to start drawing.

    - -

    Definition at line 283 of file Window.hpp.

    - -

    References BeginDrawing().

    - -

    Referenced by BeginDrawing().

    - -
    -
    - -

    ◆ ClearBackground()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::ClearBackground (const ::Color & color = BLACK)
    -
    -inline
    -
    - -

    Clear window with given color.

    - -

    Definition at line 142 of file Window.hpp.

    - -

    References ClearBackground().

    - -

    Referenced by ClearBackground().

    - -
    -
    - -

    ◆ ClearState()

    + +

    ◆ Init()

    -inline
    -
    - -

    Clear window configuration state flags.

    - -

    Definition at line 134 of file Window.hpp.

    - -
    -
    - -

    ◆ Close()

    - -
    -
    - - - - - -
    - - - - + - -
    void raylib::Window::Close ()
    -
    -inline
    -
    - -

    Close window and unload OpenGL context.

    - -

    Definition at line 56 of file Window.hpp.

    - -

    Referenced by ~Window().

    - -
    -
    - -

    ◆ DrawFPS()

    - -
    -
    - - -
    - - - - - + - - + + @@ -495,1194 +366,23 @@

    -

    Draw current FPS.

    - -

    Definition at line 342 of file Window.hpp.

    - -

    References DrawFPS().

    - -

    Referenced by DrawFPS().

    - - - - -

    ◆ EndDrawing()

    - -
    -
    -

    Window & raylib::Window::DrawFPS ( int posX = 10, height = 450,
    int posY = 10 const std::string & title = "raylib" 
    - - - - -
    - - - - - - - -
    Window & raylib::Window::EndDrawing ()
    -
    -inline
    -
    - -

    End canvas drawing and swap buffers (double buffering)

    - -

    Definition at line 291 of file Window.hpp.

    - -

    References EndDrawing().

    - -

    Referenced by EndDrawing().

    - -
    - - -

    ◆ GetFPS()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Window::GetFPS () const
    -
    -inline
    -
    - -

    Returns current FPS.

    - -

    Definition at line 335 of file Window.hpp.

    - -
    -
    - -

    ◆ GetFrameTime()

    - -
    -
    - - - - - -
    - - - - - - - -
    float raylib::Window::GetFrameTime () const
    -
    -inline
    -
    - -

    Returns time in seconds for last frame drawn.

    - -

    Definition at line 350 of file Window.hpp.

    - -
    -
    - -

    ◆ GetHandle()

    +

    Initializes the window.

    +
    Returns
    True or false, depending on if the Window initialized properly.
    -
    -
    - - - - - -
    - - - - - - - -
    void * raylib::Window::GetHandle () const
    -
    -inline
    -
    +

    Definition at line 41 of file Window.hpp.

    -

    Get native window handle.

    +

    References raylib::InitWindow().

    -

    Definition at line 276 of file Window.hpp.

    - -
    -
    - -

    ◆ GetHeight()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Window::GetHeight () const
    -
    -inline
    -
    - -

    Get current screen height.

    - -

    Definition at line 306 of file Window.hpp.

    - -

    Referenced by GetSize().

    - -
    -
    - -

    ◆ GetPosition()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Vector2 raylib::Window::GetPosition () const
    -
    -inline
    -
    - -

    Get window position XY on monitor.

    - -

    Definition at line 313 of file Window.hpp.

    - -
    -
    - -

    ◆ GetScaleDPI()

    - -
    -
    - - - - - -
    - - - - - - - -
    inline ::Vector2 raylib::Window::GetScaleDPI () const
    -
    -inline
    -
    - -

    Get window scale DPI factor.

    - -

    Definition at line 320 of file Window.hpp.

    - -
    -
    - -

    ◆ GetSize()

    - -
    -
    - - - - - -
    - - - - - - - -
    Vector2 raylib::Window::GetSize () const
    -
    -inline
    -
    - -

    Get the screen's width and height.

    - -

    Definition at line 269 of file Window.hpp.

    - -

    References GetHeight(), and GetWidth().

    - -
    -
    - -

    ◆ GetTime()

    - -
    -
    - - - - - -
    - - - - - - - -
    double raylib::Window::GetTime () const
    -
    -inline
    -
    - -

    Returns elapsed time in seconds since InitWindow()

    - -

    Definition at line 357 of file Window.hpp.

    - -
    -
    - -

    ◆ GetWidth()

    - -
    -
    - - - - - -
    - - - - - - - -
    int raylib::Window::GetWidth () const
    -
    -inline
    -
    - -

    Get current screen width.

    - -

    Definition at line 299 of file Window.hpp.

    - -

    Referenced by GetSize().

    - -
    -
    - -

    ◆ Init()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    bool raylib::Window::Init (int width = 800,
    int height = 450,
    const std::string & title = "raylib" 
    )
    -
    -inline
    -
    - -

    Initializes the window.

    -
    Returns
    True or false, depending on if the Window initialized properly.
    - -

    Definition at line 41 of file Window.hpp.

    - -

    References raylib::InitWindow().

    - -

    Referenced by Window().

    - -
    -
    - -

    ◆ IsCursorOnScreen()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::IsCursorOnScreen () const
    -
    -inline
    -
    - -

    Check if cursor is on the current screen.

    - -

    Definition at line 63 of file Window.hpp.

    - -
    -
    - -

    ◆ IsFocused()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::IsFocused () const
    -
    -inline
    -
    - -

    Check if window is currently focused.

    - -

    Definition at line 105 of file Window.hpp.

    - -
    -
    - -

    ◆ IsFullscreen()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::IsFullscreen () const
    -
    -inline
    -
    - -

    Check if window is currently fullscreen.

    - -

    Definition at line 77 of file Window.hpp.

    - -

    Referenced by SetFullscreen().

    - -
    -
    - -

    ◆ IsHidden()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::IsHidden () const
    -
    -inline
    -
    - -

    Check if window is currently hidden.

    - -

    Definition at line 84 of file Window.hpp.

    - -
    -
    - -

    ◆ IsMaximized()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::IsMaximized () const
    -
    -inline
    -
    - -

    Check if window is currently minimized.

    - -

    Definition at line 98 of file Window.hpp.

    - -
    -
    - -

    ◆ IsMinimized()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::IsMinimized () const
    -
    -inline
    -
    - -

    Check if window is currently minimized.

    - -

    Definition at line 91 of file Window.hpp.

    - -
    -
    - -

    ◆ IsReady()

    - -
    -
    - - - - - -
    - - - - - - - -
    static bool raylib::Window::IsReady ()
    -
    -inlinestatic
    -
    - -

    Check if window has been initialized successfully.

    - -

    Definition at line 70 of file Window.hpp.

    - -
    -
    - -

    ◆ IsResized()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::IsResized () const
    -
    -inline
    -
    - -

    Check if window has been resized last frame.

    - -

    Definition at line 112 of file Window.hpp.

    - -
    -
    - -

    ◆ IsState()

    - -
    -
    - - - - - -
    - - - - - - - - -
    bool raylib::Window::IsState (unsigned int flag) const
    -
    -inline
    -
    - -

    Check if one specific window flag is enabled.

    - -

    Definition at line 119 of file Window.hpp.

    - -
    -
    - -

    ◆ Maximize()

    - -
    -
    - - - - - -
    - - - - - - - -
    Window & raylib::Window::Maximize ()
    -
    -inline
    -
    - -

    Set window state: maximized, if resizable (only PLATFORM_DESKTOP)

    - -

    Definition at line 175 of file Window.hpp.

    - -
    -
    - -

    ◆ Minimize()

    - -
    -
    - - - - - -
    - - - - - - - -
    Window & raylib::Window::Minimize ()
    -
    -inline
    -
    - -

    Set window state: minimized, if resizable (only PLATFORM_DESKTOP)

    - -

    Definition at line 183 of file Window.hpp.

    - -
    -
    - -

    ◆ Restore()

    - -
    -
    - - - - - -
    - - - - - - - -
    Window & raylib::Window::Restore ()
    -
    -inline
    -
    - -

    Set window state: not minimized/maximized (only PLATFORM_DESKTOP)

    - -

    Definition at line 191 of file Window.hpp.

    - -
    -
    - -

    ◆ SetFullscreen()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetFullscreen (bool fullscreen)
    -
    -inline
    -
    - -

    Set whether or not the application should be fullscreen.

    - -

    Definition at line 158 of file Window.hpp.

    - -

    References IsFullscreen(), and ToggleFullscreen().

    - -
    -
    - -

    ◆ SetIcon()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetIcon (const ::Image & image)
    -
    -inline
    -
    - -

    Set icon for window.

    - -

    Definition at line 199 of file Window.hpp.

    - -
    -
    - -

    ◆ SetMinSize() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetMinSize (const ::Vector2 & size)
    -
    -inline
    -
    - -

    Set window minimum dimensions.

    - -

    Definition at line 246 of file Window.hpp.

    - -
    -
    - -

    ◆ SetMinSize() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Window & raylib::Window::SetMinSize (int width,
    int height 
    )
    -
    -inline
    -
    - -

    Set window minimum dimensions.

    - -

    Definition at line 238 of file Window.hpp.

    - -
    -
    - -

    ◆ SetMonitor()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetMonitor (int monitor)
    -
    -inline
    -
    - -

    Set monitor for the current window.

    - -

    Definition at line 230 of file Window.hpp.

    - -
    -
    - -

    ◆ SetPosition() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetPosition (const ::Vector2 & position)
    -
    -inline
    -
    - -

    Set window position on screen.

    - -

    Definition at line 223 of file Window.hpp.

    - -

    References SetPosition().

    - -
    -
    - -

    ◆ SetPosition() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Window & raylib::Window::SetPosition (int x,
    int y 
    )
    -
    -inline
    -
    - -

    Set window position on screen.

    - -

    Definition at line 215 of file Window.hpp.

    - -

    Referenced by SetPosition().

    - -
    -
    - -

    ◆ SetSize() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetSize (const ::Vector2 & size)
    -
    -inline
    -
    - -

    Set window dimensions.

    - -

    Definition at line 262 of file Window.hpp.

    - -

    References SetSize().

    - -
    -
    - -

    ◆ SetSize() [2/2]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    Window & raylib::Window::SetSize (int width,
    int height 
    )
    -
    -inline
    -
    - -

    Set window dimensions.

    - -

    Definition at line 254 of file Window.hpp.

    - -

    Referenced by SetSize().

    - -
    -
    - -

    ◆ SetState()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetState (unsigned int flag)
    -
    -inline
    -
    - -

    Set window configuration state using flags.

    - -

    Definition at line 126 of file Window.hpp.

    - -
    -
    - -

    ◆ SetTargetFPS()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetTargetFPS (int fps)
    -
    -inline
    -
    - -

    Set target FPS (maximum)

    - -

    Definition at line 327 of file Window.hpp.

    - -

    References SetTargetFPS().

    - -

    Referenced by SetTargetFPS().

    - -
    -
    - -

    ◆ SetTitle()

    - -
    -
    - - - - - -
    - - - - - - - - -
    Window & raylib::Window::SetTitle (const std::string & title)
    -
    -inline
    -
    - -

    Set title for window.

    - -

    Definition at line 207 of file Window.hpp.

    - -

    References raylib::SetWindowTitle().

    - -
    -
    - -

    ◆ ShouldClose()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool raylib::Window::ShouldClose () const
    -
    -inline
    -
    - -

    Check if KEY_ESCAPE pressed or Close icon pressed.

    - -

    Definition at line 49 of file Window.hpp.

    - -
    -
    - -

    ◆ ToggleFullscreen()

    - -
    -
    - - - - - -
    - - - - - - - -
    Window & raylib::Window::ToggleFullscreen ()
    -
    -inline
    -
    - -

    Toggle window state: fullscreen/windowed.

    - -

    Definition at line 150 of file Window.hpp.

    - -

    References ToggleFullscreen().

    - -

    Referenced by SetFullscreen(), and ToggleFullscreen().

    +

    Referenced by Window().

    - - + diff --git a/docs/closed.png b/docs/closed.png index 12a4330f1add1c66636e89a8d60d9cc42219e53d..98cc2c909da37a6df914fbf67780eebd99c597f5 100644 GIT binary patch delta 103 zcmV-t0GR)Q0fYgNBw$NPL_t(|0qxyw4L~6XhS5iBnaKh-z%5`VbLn(*1E!F`@&5Ag z5dlEuYkdH!GJuVR2~Z`$U(5c#PO=RyIxs|QrHjIw4tOF7)|)Az6cBjQHT3`h002ov JPDHLkV1k*VDct}7 delta 100 zcmV-q0Gt1W0f7OKBwa{JL_t(|0qxz(4FDksMbRrOTegB}*_9e6ApxRTf#Iz@d`bXt zso$7@D*=d!umG+s=uQ6r - - + + raylib-cpp: include Directory Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    include Directory Reference
    +
    +
    include Directory Reference
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Files

    file  AudioDevice.hpp [code]
     
    file  AudioStream.hpp [code]
     
    file  BoundingBox.hpp [code]
     
    file  Camera2D.hpp [code]
     
    file  Camera3D.hpp [code]
     
    file  Color.hpp [code]
     
    file  Font.hpp [code]
     
    file  Functions.hpp [code]
     
    file  Gamepad.hpp [code]
     
    file  Image.hpp [code]
     
    file  Material.hpp [code]
     
    file  Matrix.hpp [code]
     
    file  Mesh.hpp [code]
     
    file  Model.hpp [code]
     
    file  ModelAnimation.hpp [code]
     
    file  Mouse.hpp [code]
     
    file  Music.hpp [code]
     
    file  physac.hpp [code]
     
    file  Physics.hpp [code]
     
    file  Ray.hpp [code]
     
    file  RayCollision.hpp [code]
     
    file  raylib-cpp-utils.hpp [code]
     
    file  raylib-cpp.hpp [code]
     
    file  raylib.hpp [code]
     
    file  RaylibException.hpp [code]
     
    file  raymath.hpp [code]
     
    file  Rectangle.hpp [code]
     
    file  RenderTexture.hpp [code]
     
    file  Shader.hpp [code]
     
    file  Sound.hpp [code]
     
    file  Text.hpp [code]
     
    file  Texture.hpp [code]
     
    file  Vector2.hpp [code]
     
    file  Vector3.hpp [code]
     
    file  Vector4.hpp [code]
     
    file  VrStereoConfig.hpp [code]
     
    file  Wave.hpp [code]
     
    file  Window.hpp [code]
     
    - - + diff --git a/docs/doc.png b/docs/doc.png index 21780b68645c096ce582544eed072d2e1a20f086..17edabff95f7b8da13c9516a04efe05493c29501 100644 GIT binary patch delta 722 zcmV;@0xkXL1?mNmB!96= zyQkfG*Iw^h?>SRfxm*S~GZ+A8i8Cj#08Zk=r);^nUt+Itpnvb>`^Hv*+}0kUfCrz~ zBCOViSb$_*&;{TGGn2^x9K*!Sf0=lVpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p z*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T< z5Kt;Y0XLt&<$v@ZA-UZVXL2^nayD;EV(Wqal5hN1yQl}DEES3PO;HW@~%QZH>z|`CtEsYVrEN$wz&M)TZxt1Uj z@^Up5rBo_YC{|_$IQBVpk`2|P2X~wK^I;nUJYB^?rU*|(rr8+ zyw1}qMMDXE`VOH0R2RV2K}GKfDNS@G2>4_) z`NS{q$^C+UOBfN<3DLlNs4s@SRdDSo+WgLQEI zISfv?lXw%z4}S*I6$TWoU<_RQw zVz^m%-vK1U(}VOhB?NHpp5j=a5Z!^+IPC9Mth=H)bsH`ZKvA}Kx-m5akc^Z~_KUHn zTO{v0A=a$v*{wObMY_SH6lJ;IUGpUHITAtl3n7u)w#KDsozNkZTzCM7 zdSF*vWPcK`!csf{H+Xsw^jmW`m1%j_k{WZC*#7chU$ylBC;r|OcoNtoX~%;bub_FU z6l@Ig#q9f|ngg{^Chw!e^{Gixn5>;_8xJ~n!12xQ9t7lFVtNAL2G^qXj;L6)0!I=< zQX)4EWhk;G`=(rG8QmjNGUt{O=lC$}sY))ID@gb3oXFF3l+4l^GAkSB5nSHnAhg0F z{9hyC@*476j?5DS3ES0!jwq_5|02L&gLx@~C z`2)Op(cfU!#Q)%d|G>$3^Wp)bLm(y)J#o;)5RC_;0he}K=bd)8Gi`y8*n@|5o=p2r z=Y8JyecqkDT0sy1KyI)BAW!5@a0&pDc=P^Cu<`L5fOy<$lz*@|bI}5TlOU6ToR41{ z9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6`BLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XU zdOZN~c=dLt_h_k!dbxm_*ibDMlFX`g{k$X}yIe%$N)cn1LNu=q_@#L(Wh4w&_(B<)PCL5V( zK5#hzq>z~bMMci6sLslfBA|7poo)w!BvK+jd$|@om>z}eg(XlYwOPqkRDwBSqkP9DDmN zIB6j6aI@+tK}2^%rUyj?JnF1tMWz-c4M=3l#1;&cjV?Ob3`dSF0{~!*OoIKsC!&eO zJfuS$Nvgd&*~e5`WU*;|J3i?2--3GAJ4@H6ICK^O45W?N~I-6>iS#jvx>mxG|=g(6B_*eM< d|Iu002ovPDHLkV1mZ+AS<01lI(RB!3=BL_t(|0qvbXXcSQp#(%TtDI#bo5^N#~qM)E4h)o&=K?Om? zDuuP3prrBy3&GmP#zF)ITRR&q1PcWrTG@%%2%->^xOY3w?7QdNce{9`xWeKw!`r++ z^Ue3oyh|&p3NSM-0A}ek2iOKM>9<~@k5_?)T{#SQmJoogcz-8=2S2}f8PjmVRt;3k5MIcFjJM^7O-BkGY;%$*2aK9W}OU53*f;V zAc6)D8J4yefqjl_0Vcgwmqir1@O8i`pXTg(0)pUd`r-aQA9c?;mp)#5(vx7R843w0*m_d|PC z<@m9={x{B`-*fqd9hSYjKRh6_7Ql%)xdzboE~%#fdjJ3b(Pj?t2d3rtPhYV*hX4Qo M07*qoM6N<$f`PCSssI20 diff --git a/docs/folderopen.png b/docs/folderopen.png index 5372b851d65e2067a419910c3097551ee9fb7599..d6c7f676a3b3ef8c2c307d319dff3c6a604eb227 100644 GIT binary patch delta 572 zcmV-C0>l0O1l0tPB!3)9L_t(|0qtEsZ_`i^|2b)zG-)zIqMyJ1#FwLU*%bl38ok+!h78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5 zjDplgxd44}9;IRqUH1YHH|@6oFe%z(o4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=| z)Rz|V`sGfHNq>UD$Ae?%!MY`*tW}DzNwaMmW3luFnB~0G#-04gKIyo4{&YFUB((

    I=dn`Bz9a_EucaR5n# z1ORWm9QagRjx2PlY7jCA9Y#TT9|v|V227tBaMz3-aDNI^#7Qp-T%~hn7wx?}3~E+s zRD)b>9@NRZ}#V4biOYV(p$zwl3Oh zrr2s!#5MN1B_6e^;t8E;uU5p$-SVfI49NK#0Jtgn|3?FWneqp^N(ewypm>x30000< KMNUMnLSTY!^B64v delta 613 zcmV-r0-F8R1pWk&B!5LoL_t(|0qvbXXcSQp#(#5(M2qZR48bConB+{(Xe1UQ_%A3J z#72~~BG_07Vk3$cCu*fw+1RSsi>Qbgi&%&YR#rk#f>;SE0h3%VJHENSz_Gr|T}hsURA3f!_p^CjW?f-=8kdv(F!^e&j% zE}R$L4z=W`}NDb`NX(inE(8hpr5+?`F4iAhA*a_To=h z_l~w|4J*zu7>-dfkXf_>9Qj3dAhDVN!0%-$w6w;?PJgB?n>e7cCjO3WUGM9N3Dj20Nv;pjDtLWUn*z21_&oO&s9W}B;&@y6LaSqwy=ku( zAR(zi+g_T@^c>&m1xE^AaB!O!>=}$?yx$MT`ut!=&UgFHU~k?J_T{s|#IP4kj{1T5 z9Lr0vKgaV`GdMfWd4Qxe=D+p}_5VK_z^d{G_3ZAKa21_^00000NkvXXu0mjf<|!@l diff --git a/docs/functions.html b/docs/functions.html index 7caa27e4..0091d3e4 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -

    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - a -

    -
    - + diff --git a/docs/functions_b.html b/docs/functions_b.html index f0e137fa..d4da1a5c 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - b -

    -
    - + diff --git a/docs/functions_c.html b/docs/functions_c.html index 07f0098a..8771a299 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - c -

    -
    - + diff --git a/docs/functions_d.html b/docs/functions_d.html index f54239c6..bee44e5a 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - d -

    -
    - + diff --git a/docs/functions_e.html b/docs/functions_e.html index eb99e1f5..df6e8dab 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - e -

    -
    - + diff --git a/docs/functions_f.html b/docs/functions_f.html index 7c4bbd84..7032c3e4 100644 --- a/docs/functions_f.html +++ b/docs/functions_f.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - f -

    -
    - + diff --git a/docs/functions_func.html b/docs/functions_func.html index c950da8d..5fca68b1 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - a -

    -
    - + diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html index 9218291f..604d521f 100644 --- a/docs/functions_func_b.html +++ b/docs/functions_func_b.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - b -

    -
    - + diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html index f51911d9..6b18e450 100644 --- a/docs/functions_func_c.html +++ b/docs/functions_func_c.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - c -

    -
    - + diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html index 80047185..90488592 100644 --- a/docs/functions_func_d.html +++ b/docs/functions_func_d.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - d -

    -
    - + diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html index b89925b8..e8b80f03 100644 --- a/docs/functions_func_e.html +++ b/docs/functions_func_e.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - - - + diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html index 42c6b245..624f9a6b 100644 --- a/docs/functions_func_f.html +++ b/docs/functions_func_f.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - f -

    -
    - + diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html index 638d9190..34acbcc9 100644 --- a/docs/functions_func_g.html +++ b/docs/functions_func_g.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - g -

    -
    - + diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html index 61e8ef94..4ee71cf5 100644 --- a/docs/functions_func_h.html +++ b/docs/functions_func_h.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - h -

    -
    - + diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html index 7dc562c8..aace75cc 100644 --- a/docs/functions_func_i.html +++ b/docs/functions_func_i.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - i -

    -
    - + diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html index 9718ee82..e943e10b 100644 --- a/docs/functions_func_k.html +++ b/docs/functions_func_k.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - k -

    -
    - + diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html index 510772c1..71f5fdfc 100644 --- a/docs/functions_func_l.html +++ b/docs/functions_func_l.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - l -

    -
    - + diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html index a3e08561..f12a52c0 100644 --- a/docs/functions_func_m.html +++ b/docs/functions_func_m.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - m -

    -
    - + diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html index 94508609..da1a0c8b 100644 --- a/docs/functions_func_n.html +++ b/docs/functions_func_n.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - n -

    -
    - + diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html index 04ec63a9..35b5a083 100644 --- a/docs/functions_func_o.html +++ b/docs/functions_func_o.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - o -

    -
    - + diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html index 56eec531..4f57bfb6 100644 --- a/docs/functions_func_p.html +++ b/docs/functions_func_p.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - p -

    -
    - + diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html index 582f6252..5a4787f1 100644 --- a/docs/functions_func_r.html +++ b/docs/functions_func_r.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - r -

    -
    - + diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html index 61b62ec8..acb1c2a6 100644 --- a/docs/functions_func_s.html +++ b/docs/functions_func_s.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - s -

    -
    - + diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html index 55361097..3fd61353 100644 --- a/docs/functions_func_t.html +++ b/docs/functions_func_t.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - t -

    -
    - + diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html index 1e0ca386..04a9bcd9 100644 --- a/docs/functions_func_u.html +++ b/docs/functions_func_u.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - - - + diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html index 8107477e..2068ef63 100644 --- a/docs/functions_func_w.html +++ b/docs/functions_func_w.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - w -

    -
    - + diff --git a/docs/functions_func_z.html b/docs/functions_func_z.html index db82aa91..56f611ce 100644 --- a/docs/functions_func_z.html +++ b/docs/functions_func_z.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - z -

    -
    - + diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html index 07088c64..914313b8 100644 --- a/docs/functions_func_~.html +++ b/docs/functions_func_~.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Functions - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - ~ -

    -
    - + diff --git a/docs/functions_g.html b/docs/functions_g.html index c80e476a..bb2145ba 100644 --- a/docs/functions_g.html +++ b/docs/functions_g.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - g -

    -
    - + diff --git a/docs/functions_h.html b/docs/functions_h.html index 7791c024..e443f86c 100644 --- a/docs/functions_h.html +++ b/docs/functions_h.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - h -

    -
    - + diff --git a/docs/functions_i.html b/docs/functions_i.html index 2441f6a2..1f6b4dab 100644 --- a/docs/functions_i.html +++ b/docs/functions_i.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - i -

    -
    - + diff --git a/docs/functions_k.html b/docs/functions_k.html index 0b35c132..1bf6a996 100644 --- a/docs/functions_k.html +++ b/docs/functions_k.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - k -

    -
    - + diff --git a/docs/functions_l.html b/docs/functions_l.html index 165ff993..9508dbd9 100644 --- a/docs/functions_l.html +++ b/docs/functions_l.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - l -

    -
    - + diff --git a/docs/functions_m.html b/docs/functions_m.html index a0c4d510..f56a2a04 100644 --- a/docs/functions_m.html +++ b/docs/functions_m.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - m -

    -
    - + diff --git a/docs/functions_n.html b/docs/functions_n.html index 708e1071..212f8916 100644 --- a/docs/functions_n.html +++ b/docs/functions_n.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - n -

    -
    - + diff --git a/docs/functions_o.html b/docs/functions_o.html index 70714139..bd50cba1 100644 --- a/docs/functions_o.html +++ b/docs/functions_o.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - o -

    -
    - + diff --git a/docs/functions_p.html b/docs/functions_p.html index d0cca733..265e51a6 100644 --- a/docs/functions_p.html +++ b/docs/functions_p.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - p -

    -
    - + diff --git a/docs/functions_r.html b/docs/functions_r.html index 8b3e2c63..0bb55412 100644 --- a/docs/functions_r.html +++ b/docs/functions_r.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - r -

    -
    - + diff --git a/docs/functions_s.html b/docs/functions_s.html index 4a5e5586..24420d81 100644 --- a/docs/functions_s.html +++ b/docs/functions_s.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - s -

    -
    - + diff --git a/docs/functions_t.html b/docs/functions_t.html index ff00f90d..b112d94c 100644 --- a/docs/functions_t.html +++ b/docs/functions_t.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - t -

    -
    - + diff --git a/docs/functions_u.html b/docs/functions_u.html index 6de509dc..c2d7b550 100644 --- a/docs/functions_u.html +++ b/docs/functions_u.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - u -

    -
    - + diff --git a/docs/functions_vars.html b/docs/functions_vars.html index 6a86ee66..9984d800 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - Variables - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
     
    -
    - + diff --git a/docs/functions_w.html b/docs/functions_w.html index 27411860..9fc9943e 100644 --- a/docs/functions_w.html +++ b/docs/functions_w.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - w -

    -
    - + diff --git a/docs/functions_z.html b/docs/functions_z.html index df82e627..a6533946 100644 --- a/docs/functions_z.html +++ b/docs/functions_z.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - z -

    -
    - + diff --git a/docs/functions_~.html b/docs/functions_~.html index 717e4cf3..94451d47 100644 --- a/docs/functions_~.html +++ b/docs/functions_~.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all class members with links to the classes they belong to:
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - ~ -

    -
    - + diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 87a31638..0fd695bb 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Class Hierarchy - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Class Hierarchy
    +
    +
    Class Hierarchy
    This inheritance list is sorted roughly, but not completely, alphabetically:
    [detail level 123]
    - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +
     Craylib::AudioDeviceAudio device management functions
     CAudioStream
     Craylib::AudioStreamAudioStream management functions
     CBoundingBox
     Craylib::BoundingBoxBounding box type
     CCamera2D
     Craylib::Camera2DCamera2D type, defines a 2d camera
     CCamera3D
     Craylib::Camera3DCamera type, defines a camera position/orientation in 3d space
     CColor
     Craylib::ColorColor type, RGBA (32bit)
     Cstd::exceptionSTL class
     Cstd::runtime_errorSTL class
     Craylib::RaylibExceptionException used for most raylib-related exceptions
     CFont
     Craylib::FontFont type, includes texture and charSet array data
     Craylib::AudioStreamAudioStream management functions
     Craylib::BoundingBoxBounding box type
     Craylib::Camera2DCamera2D type, defines a 2d camera
     Craylib::Camera3DCamera type, defines a camera position/orientation in 3d space
     Craylib::ColorColor type, RGBA (32bit)
     Cstd::exceptionSTL class
     Cstd::runtime_errorSTL class
     Craylib::RaylibExceptionException used for most raylib-related exceptions
     Craylib::FontFont type, includes texture and charSet array data
     Craylib::GamepadInput-related functions: gamepads
     CImage
     Craylib::ImageImage type, bpp always RGBA (32bit)
     CMaterial
     Craylib::MaterialMaterial type (generic)
     CMatrix
     Craylib::MatrixMatrix type (OpenGL style 4x4 - right handed, column major)
     CMesh
     Craylib::MeshVertex data definning a mesh
     CModel
     Craylib::ModelModel type
     CModelAnimation
     Craylib::ModelAnimationModel animation
     Craylib::ImageImage type, bpp always RGBA (32bit)
     Craylib::MaterialMaterial type (generic)
     Craylib::MatrixMatrix type (OpenGL style 4x4 - right handed, column major)
     Craylib::MeshVertex data definning a mesh
     Craylib::ModelModel type
     Craylib::ModelAnimationModel animation
     Craylib::MouseInput-related functions: mouse
     CMusic
     Craylib::MusicMusic stream type (audio file streaming from memory)
     Craylib::Physics2D Physics library for videogames
     CRay
     Craylib::RayRay type (useful for raycast)
     CRayCollision
     Craylib::RayCollisionRaycast hit information
     CRectangle
     Craylib::RectangleRectangle type
     CRenderTexture
     Craylib::RenderTextureRenderTexture type, for texture rendering
     CShader
     Craylib::ShaderShader type (generic)
     CSound
     Craylib::SoundWave/Sound management functions
     Craylib::TextText Functions
     CTexture
     Craylib::TextureTexture type
     CVector2
     Craylib::Vector2Vector2 type
     CVector3
     Craylib::Vector3Vector3 type
     CVector4
     Craylib::Vector4Vector4 type
     CVrStereoConfig
     Craylib::VrStereoConfigVR stereo config functions for VR simulator
     CWave
     Craylib::WaveWave type, defines audio wave data
     Craylib::WindowWindow and Graphics Device Functions
     Craylib::MusicMusic stream type (audio file streaming from memory)
     Craylib::Physics2D Physics library for videogames
     Craylib::RayRay type (useful for raycast)
     Craylib::RayCollisionRaycast hit information
     Craylib::RectangleRectangle type
     Craylib::RenderTextureRenderTexture type, for texture rendering
     Craylib::ShaderShader type (generic)
     Craylib::SoundWave/Sound management functions
     Craylib::TextText Functions
     Craylib::TextureTexture type
     Craylib::Vector2Vector2 type
     Craylib::Vector3Vector3 type
     Craylib::Vector4Vector4 type
     Craylib::VrStereoConfigVR stereo config functions for VR simulator
     Craylib::WaveWave type, defines audio wave data
     Craylib::WindowWindow and Graphics Device Functions
    -
    - + diff --git a/docs/index.html b/docs/index.html index 62487f8b..eb892370 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib-cpp - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    -
    raylib-cpp
    +
    +
    +
    raylib-cpp
    -

    raylib-cpp is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces.

    +

    raylib-cpp is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces.

    See also
    raylib namespace for a list of all available classes.
    /*******************************************************************************************
    *
    @@ -118,8 +98,8 @@
    //--------------------------------------------------------------------------------------
    int screenWidth = 800;
    int screenHeight = 450;
    - -
    raylib::Window window(screenWidth, screenHeight, "raylib [core] example - basic window");
    +
    raylib::Color textColor = raylib::Color::LightGray();
    +
    raylib::Window window(screenWidth, screenHeight, "raylib [core] example - basic window");
    SetTargetFPS(60);
    //--------------------------------------------------------------------------------------
    @@ -136,7 +116,7 @@
    BeginDrawing();
    {
    window.ClearBackground(RAYWHITE);
    -
    textColor.DrawText("Congrats! You created your first window!", 190, 200, 20);
    +
    textColor.DrawText("Congrats! You created your first window!", 190, 200, 20);
    }
    EndDrawing();
    //----------------------------------------------------------------------------------
    @@ -144,16 +124,12 @@
    return 0;
    }
    -
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    -
    Color & DrawText(const std::string &text, int posX, int posY, int fontSize)
    Definition: Color.hpp:153
    -
    static Color LightGray()
    Definition: Color.hpp:220
    -
    Window and Graphics Device Functions.
    Definition: Window.hpp:13
    Author
    Rob Loach (RobLoach)

    raylib-cpp is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software:

    -

    Copyright 2020 Rob Loach (RobLoach)

    -

    This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

    -

    Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

    +

    Copyright 2020 Rob Loach (RobLoach)

    +

    This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

    +

    Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

    1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
    2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
    3. @@ -161,12 +137,13 @@
    -
    +
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    +
    Window and Graphics Device Functions.
    Definition: Window.hpp:13
    - + diff --git a/docs/jquery.js b/docs/jquery.js index c9ed3d99..103c32d7 100644 --- a/docs/jquery.js +++ b/docs/jquery.js @@ -1,5 +1,5 @@ -/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0'+ - '
    '+ - ''+ - '
    '+ - '
    '+ - '
    '+ - '
    '; - } else { - searchBox='
    '+ - ''+ - ''+ - ''+ - ''+ - ''+ - '' - '' - '
    '; - } - } - $('#main-nav').before('
    '+ - ''+ - ''+ - '
    '); $('#main-nav').append(makeTree(menudata,relPath)); $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); - if (searchBox) { - $('#main-menu').append('
  • '); - } - var $mainMenuState = $('#main-menu-state'); - var prevWidth = 0; - if ($mainMenuState.length) { - function initResizableIfExists() { - if (typeof initResizable==='function') initResizable(); - } - // animate mobile menu - $mainMenuState.change(function(e) { - var $menu = $('#main-menu'); - var options = { duration: 250, step: initResizableIfExists }; - if (this.checked) { - options['complete'] = function() { $menu.css('display', 'block') }; - $menu.hide().slideDown(options); - } else { - options['complete'] = function() { $menu.css('display', 'none') }; - $menu.show().slideUp(options); - } - }); - // set default menu visibility - function resetState() { - var $menu = $('#main-menu'); - var $mainMenuState = $('#main-menu-state'); - var newWidth = $(window).outerWidth(); - if (newWidth!=prevWidth) { - if ($(window).outerWidth()<768) { - $mainMenuState.prop('checked',false); $menu.hide(); - $('#searchBoxPos1').html(searchBox); - $('#searchBoxPos2').hide(); - } else { - $menu.show(); - $('#searchBoxPos1').empty(); - $('#searchBoxPos2').html(searchBox); - $('#searchBoxPos2').show(); - } - prevWidth = newWidth; - } + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); } - $(window).ready(function() { resetState(); initResizableIfExists(); }); - $(window).resize(resetState); } $('#main-menu').smartmenus(); } diff --git a/docs/menudata.js b/docs/menudata.js index 08ada454..c3b7de7b 100644 --- a/docs/menudata.js +++ b/docs/menudata.js @@ -1,26 +1,24 @@ /* - @licstart The following is the entire license notice for the JavaScript code in this file. +@licstart The following is the entire license notice for the +JavaScript code in this file. - The MIT License (MIT) +Copyright (C) 1997-2019 by Dimitri van Heesch - Copyright (C) 1997-2020 by Dimitri van Heesch +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file +@licend The above is the entire license notice +for the JavaScript code in this file */ var menudata={children:[ {text:"Main Page",url:"index.html"}, @@ -37,8 +35,6 @@ var menudata={children:[ {text:"l",url:"namespacemembers.html#index_l"}, {text:"m",url:"namespacemembers.html#index_m"}, {text:"o",url:"namespacemembers.html#index_o"}, -{text:"q",url:"namespacemembers.html#index_q"}, -{text:"r",url:"namespacemembers.html#index_r"}, {text:"s",url:"namespacemembers.html#index_s"}, {text:"t",url:"namespacemembers.html#index_t"}, {text:"u",url:"namespacemembers.html#index_u"}]}, @@ -54,8 +50,7 @@ var menudata={children:[ {text:"o",url:"namespacemembers_func.html#index_o"}, {text:"s",url:"namespacemembers_func.html#index_s"}, {text:"t",url:"namespacemembers_func.html#index_t"}, -{text:"u",url:"namespacemembers_func.html#index_u"}]}, -{text:"Typedefs",url:"namespacemembers_type.html"}]}]}, +{text:"u",url:"namespacemembers_func.html#index_u"}]}]}]}, {text:"Classes",url:"annotated.html",children:[ {text:"Class List",url:"annotated.html"}, {text:"Class Index",url:"classes.html"}, @@ -81,9 +76,7 @@ var menudata={children:[ {text:"s",url:"functions_s.html#index_s"}, {text:"t",url:"functions_t.html#index_t"}, {text:"u",url:"functions_u.html#index_u"}, -{text:"v",url:"functions_v.html#index_v"}, {text:"w",url:"functions_w.html#index_w"}, -{text:"y",url:"functions_y.html#index_y"}, {text:"z",url:"functions_z.html#index_z"}, {text:"~",url:"functions_~.html#index__7E"}]}, {text:"Functions",url:"functions_func.html",children:[ @@ -106,9 +99,7 @@ var menudata={children:[ {text:"s",url:"functions_func_s.html#index_s"}, {text:"t",url:"functions_func_t.html#index_t"}, {text:"u",url:"functions_func_u.html#index_u"}, -{text:"v",url:"functions_func_v.html#index_v"}, {text:"w",url:"functions_func_w.html#index_w"}, -{text:"y",url:"functions_func_y.html#index_y"}, {text:"z",url:"functions_func_z.html#index_z"}, {text:"~",url:"functions_func_~.html#index__7E"}]}, {text:"Variables",url:"functions_vars.html"}]}]}]} diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html index 1ede3cc2..e08f16c9 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Namespace Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Here is a list of all namespace members with links to the namespace documentation for each member:
    +
    Here is a list of all documented namespace members with links to the namespaces they belong to:
    -

    - c -

      -
    • Camera : raylib
    • -
    • ChangeDirectory() : raylib
    • +

      - c -

        +
      • ChangeDirectory() +: raylib +
      -

      - d -

        -
      • DirectoryExists() : raylib
      • -
      • DrawText() : raylib
      • -
      • DrawTextEx() : raylib
      • -
      • DrawTextPro() : raylib
      • +

        - d -

        -

        - e -

          -
        • ExportImage() : raylib
        • -
        • ExportImageAsCode() : raylib
        • +

          - e -

            +
          • ExportImage() +: raylib +
          • +
          • ExportImageAsCode() +: raylib +
          -

          - f -

            -
          • FileExists() : raylib
          • +

            - f -

            -

            - g -

              -
            • GetClipboardText() : raylib
            • -
            • GetDirectoryFiles() : raylib
            • -
            • GetDirectoryPath() : raylib
            • -
            • GetDroppedFiles() : raylib
            • -
            • GetFileExtension() : raylib
            • -
            • GetFileModTime() : raylib
            • -
            • GetFileName() : raylib
            • -
            • GetFileNameWithoutExt() : raylib
            • -
            • GetGamepadName() : raylib
            • -
            • GetMonitorName() : raylib
            • -
            • GetPrevDirectoryPath() : raylib
            • -
            • GetWorkingDirectory() : raylib
            • +

              - g -

                +
              • GetClipboardText() +: raylib +
              • +
              • GetDirectoryFiles() +: raylib +
              • +
              • GetDirectoryPath() +: raylib +
              • +
              • GetDroppedFiles() +: raylib +
              • +
              • GetFileExtension() +: raylib +
              • +
              • GetFileModTime() +: raylib +
              • +
              • GetFileName() +: raylib +
              • +
              • GetFileNameWithoutExt() +: raylib +
              • +
              • GetGamepadName() +: raylib +
              • +
              • GetMonitorName() +: raylib +
              • +
              • GetPrevDirectoryPath() +: raylib +
              • +
              • GetWorkingDirectory() +: raylib +
              -

              - i -

    -
    - + diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html index 58ebafb5..f28a460b 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Namespace Members - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
      -

    - c -

      -
    • ChangeDirectory() : raylib
    • +

      - c -

        +
      • ChangeDirectory() +: raylib +
      -

      - d -

        -
      • DirectoryExists() : raylib
      • -
      • DrawText() : raylib
      • -
      • DrawTextEx() : raylib
      • -
      • DrawTextPro() : raylib
      • +

        - d -

        -

        - e -

          -
        • ExportImage() : raylib
        • -
        • ExportImageAsCode() : raylib
        • +

          - e -

            +
          • ExportImage() +: raylib +
          • +
          • ExportImageAsCode() +: raylib +
          -

          - f -

            -
          • FileExists() : raylib
          • +

            - f -

            -

            - g -

              -
            • GetClipboardText() : raylib
            • -
            • GetDirectoryFiles() : raylib
            • -
            • GetDirectoryPath() : raylib
            • -
            • GetDroppedFiles() : raylib
            • -
            • GetFileExtension() : raylib
            • -
            • GetFileModTime() : raylib
            • -
            • GetFileName() : raylib
            • -
            • GetFileNameWithoutExt() : raylib
            • -
            • GetGamepadName() : raylib
            • -
            • GetMonitorName() : raylib
            • -
            • GetPrevDirectoryPath() : raylib
            • -
            • GetWorkingDirectory() : raylib
            • +

              - g -

                +
              • GetClipboardText() +: raylib +
              • +
              • GetDirectoryFiles() +: raylib +
              • +
              • GetDirectoryPath() +: raylib +
              • +
              • GetDroppedFiles() +: raylib +
              • +
              • GetFileExtension() +: raylib +
              • +
              • GetFileModTime() +: raylib +
              • +
              • GetFileName() +: raylib +
              • +
              • GetFileNameWithoutExt() +: raylib +
              • +
              • GetGamepadName() +: raylib +
              • +
              • GetMonitorName() +: raylib +
              • +
              • GetPrevDirectoryPath() +: raylib +
              • +
              • GetWorkingDirectory() +: raylib +
              -

              - i -

    -
    - + diff --git a/docs/namespaceraylib.html b/docs/namespaceraylib.html index f68d3388..b1ad2e72 100644 --- a/docs/namespaceraylib.html +++ b/docs/namespaceraylib.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib Namespace Reference - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    +
    -
    raylib Namespace Reference
    +
    +
    raylib Namespace Reference

    All raylib-cpp classes and functions appear in the raylib namespace. More...

    - @@ -195,2011 +175,219 @@

    +

    Classes

    class  AudioDevice
     Audio device management functions. More...
     Window and Graphics Device Functions. More...
     
    - - + - + - + - + - +

    +

    Typedefs

    typedef Camera3D Camera
    +typedef Camera3D Camera
     
    typedef Vector4 Quaternion
    +typedef Vector4 Quaternion
     
    typedef RenderTexture RenderTexture2D
    +typedef RenderTexture RenderTexture2D
     
    typedef Texture Texture2D
    +typedef Texture Texture2D
     
    typedef Texture TextureCubemap
    +typedef Texture TextureCubemap
     
    - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - - - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

    +

    Functions

    static bool ChangeDirectory (const std::string &dir)
     Change working directory, return true on success. More...
    +static bool ChangeDirectory (const std::string &dir)
     Change working directory, return true on success.
     
    static bool DirectoryExists (const std::string &dirPath)
     Check if directory path exists. More...
    +static bool DirectoryExists (const std::string &dirPath)
     Check if directory path exists.
     
    static void DrawText (const std::string &text, int posX, int posY, int fontSize, ::Color color)
     Draw text (using default font) More...
    +static void DrawText (const std::string &text, int posX, int posY, int fontSize, ::Color color)
     Draw text (using default font)
     
    static void DrawTextEx (const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
     Draw text using font and additional parameters. More...
    +static void DrawTextEx (const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
     Draw text using font and additional parameters.
     
    static void DrawTextPro (const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
     Draw text using Font and pro parameters (rotation) More...
    +static void DrawTextPro (const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
     Draw text using Font and pro parameters (rotation)
     
    static bool ExportImage (const Image &image, const std::string &fileName)
     Export image data to file. More...
    +static bool ExportImage (const Image &image, const std::string &fileName)
     Export image data to file.
     
    static bool ExportImageAsCode (const Image &image, const std::string &fileName)
     Export image as code file (.h) defining an array of bytes. More...
    +static bool ExportImageAsCode (const Image &image, const std::string &fileName)
     Export image as code file (.h) defining an array of bytes.
     
    static bool FileExists (const std::string &fileName)
     Check if file exists. More...
    +static bool FileExists (const std::string &fileName)
     Check if file exists.
     
    static std::string GetClipboardText ()
     Get clipboard text content. More...
    +static std::string GetClipboardText ()
     Get clipboard text content.
     
    static std::vector< std::string > GetDirectoryFiles (const std::string &dirPath)
     Get filenames in a directory path. More...
     
    static std::string GetDirectoryPath (const std::string &filePath)
     Get full path for a given fileName with path. More...
    +static std::vector< std::string > GetDirectoryFiles (const std::string &dirPath)
     Get filenames in a directory path.
     
    +static std::string GetDirectoryPath (const std::string &filePath)
     Get full path for a given fileName with path.
     
    static std::vector< std::string > GetDroppedFiles ()
     Get dropped files names. More...
     
    static std::string GetFileExtension (const std::string &fileName)
     Get pointer to extension for a filename string (including point: ".png") More...
    +static std::vector< std::string > GetDroppedFiles ()
     Get dropped files names.
     
    +static std::string GetFileExtension (const std::string &fileName)
     Get pointer to extension for a filename string (including point: ".png")
     
    static long GetFileModTime (const std::string &fileName)
     Get file modification time (last write time) More...
    +static long GetFileModTime (const std::string &fileName)
     Get file modification time (last write time)
     
    static std::string GetFileName (const std::string &filePath)
     Get pointer to filename for a path string. More...
    +static std::string GetFileName (const std::string &filePath)
     Get pointer to filename for a path string.
     
    static std::string GetFileNameWithoutExt (const std::string &filePath)
     Get filename string without extension. More...
    +static std::string GetFileNameWithoutExt (const std::string &filePath)
     Get filename string without extension.
     
    static std::string GetGamepadName (int gamepad)
     Get gamepad internal name id. More...
    +static std::string GetGamepadName (int gamepad)
     Get gamepad internal name id.
     
    static std::string GetMonitorName (int monitor=0)
     Get the human-readable, UTF-8 encoded name of the primary monitor. More...
    +static std::string GetMonitorName (int monitor=0)
     Get the human-readable, UTF-8 encoded name of the primary monitor.
     
    static std::string GetPrevDirectoryPath (const std::string &dirPath)
     Get previous directory path for a given path. More...
    +static std::string GetPrevDirectoryPath (const std::string &dirPath)
     Get previous directory path for a given path.
     
    static std::string GetWorkingDirectory ()
     Get current working directory. More...
    +static std::string GetWorkingDirectory ()
     Get current working directory.
     
    static void InitWindow (int width, int height, const std::string &title="raylib")
     Initialize window and OpenGL context. More...
    +static void InitWindow (int width, int height, const std::string &title="raylib")
     Initialize window and OpenGL context.
     
    static bool IsFileExtension (const std::string &fileName, const std::string &ext)
     Check file extension (including point: .png, .wav) More...
    +static bool IsFileExtension (const std::string &fileName, const std::string &ext)
     Check file extension (including point: .png, .wav)
     
    static std::string LoadFileText (const std::string &fileName)
     Load text data from file (read) More...
    +static std::string LoadFileText (const std::string &fileName)
     Load text data from file (read)
     
    static inline ::Font LoadFont (const std::string &fileName)
     Load font from file (filename must include file extension) More...
    +static inline ::Font LoadFont (const std::string &fileName)
     Load font from file (filename must include file extension)
     
    static inline ::Font LoadFontEx (const std::string &fileName, int fontSize, int *fontChars, int charsCount)
     Load font from file (filename must include file extension) More...
    +static inline ::Font LoadFontEx (const std::string &fileName, int fontSize, int *fontChars, int charsCount)
     Load font from file (filename must include file extension)
     
    static inline ::Image LoadImage (const std::string &fileName)
     Load an image. More...
    +static inline ::Image LoadImage (const std::string &fileName)
     Load an image.
     
    static inline ::Image LoadImageAnim (const std::string &fileName, int *frames)
     Load animated image data. More...
    +static inline ::Image LoadImageAnim (const std::string &fileName, int *frames)
     Load animated image data.
     
    static inline ::Image LoadImageFromMemory (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load image from memory buffer, fileType refers to extension like "png". More...
    +static inline ::Image LoadImageFromMemory (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load image from memory buffer, fileType refers to extension like "png".
     
    static inline ::Image LoadImageRaw (const std::string &fileName, int width, int height, int format, int headerSize)
     Load an image from RAW file data. More...
    +static inline ::Image LoadImageRaw (const std::string &fileName, int width, int height, int format, int headerSize)
     Load an image from RAW file data.
     
    static int MeasureText (const std::string &text, int fontSize)
     Measure string width for default font. More...
    +static int MeasureText (const std::string &text, int fontSize)
     Measure string width for default font.
     
    static void OpenURL (const std::string &url)
     Open URL with default system browser (if available) More...
    +static void OpenURL (const std::string &url)
     Open URL with default system browser (if available)
     
    static bool SaveFileText (const std::string &fileName, const std::string &text)
     Save text data to file (write) More...
    +static bool SaveFileText (const std::string &fileName, const std::string &text)
     Save text data to file (write)
     
    static void SetClipboardText (const std::string &text)
     Set clipboard text content. More...
    +static void SetClipboardText (const std::string &text)
     Set clipboard text content.
     
    static void SetWindowTitle (const std::string &title)
     Set title for window. More...
    +static void SetWindowTitle (const std::string &title)
     Set title for window.
     
    static void TakeScreenshot (const std::string &fileName)
     Takes a screenshot of current screen (saved a .png) More...
    +static void TakeScreenshot (const std::string &fileName)
     Takes a screenshot of current screen (saved a .png)
     
    RLAPI int TextFindIndex (const std::string &text, const std::string &find)
     Find first text occurrence within a string. More...
    +RLAPI int TextFindIndex (const std::string &text, const std::string &find)
     Find first text occurrence within a string.
     
    RLAPI std::string TextInsert (const std::string &text, const std::string &insert, int position)
     Insert text in a position. More...
    +RLAPI std::string TextInsert (const std::string &text, const std::string &insert, int position)
     Insert text in a position.
     
    static bool TextIsEqual (const std::string &text1, const std::string &text2)
     Check if two text string are equal. More...
    +static bool TextIsEqual (const std::string &text1, const std::string &text2)
     Check if two text string are equal.
     
    static unsigned int TextLength (const std::string &text)
     Check if two text string are equal. More...
    +static unsigned int TextLength (const std::string &text)
     Check if two text string are equal.
     
    RLAPI std::string TextReplace (const std::string &text, const std::string &replace, const std::string &by)
     Replace text string. More...
    +RLAPI std::string TextReplace (const std::string &text, const std::string &replace, const std::string &by)
     Replace text string.
     
    RLAPI std::string TextSubtext (const std::string &text, int position, int length)
     Get text length, checks for '\0' ending. More...
    +RLAPI std::string TextSubtext (const std::string &text, int position, int length)
     Get text length, checks for '\0' ending.
     
    RLAPI int TextToInteger (const std::string &text)
     Get integer value from text (negative values not supported) More...
    +RLAPI int TextToInteger (const std::string &text)
     Get integer value from text (negative values not supported)
     
    RLAPI std::string TextToLower (const std::string &text)
     Get lower case version of provided string. More...
    +RLAPI std::string TextToLower (const std::string &text)
     Get lower case version of provided string.
     
    RLAPI std::string TextToPascal (const std::string &text)
     Get Pascal case notation version of provided string. More...
    +RLAPI std::string TextToPascal (const std::string &text)
     Get Pascal case notation version of provided string.
     
    RLAPI std::string TextToUpper (const std::string &text)
     Get upper case version of provided string. More...
    +RLAPI std::string TextToUpper (const std::string &text)
     Get upper case version of provided string.
     
    static void UpdateCamera (const ::Camera &camera)
     Update camera depending on selected mode. More...
    +static void UpdateCamera (const ::Camera &camera)
     Update camera depending on selected mode.
     

    Detailed Description

    -

    All raylib-cpp classes and functions appear in the raylib namespace.

    -

    Typedef Documentation

    - -

    ◆ Camera

    - -
    -
    - - - - -
    typedef Camera3D raylib::Camera
    -
    - -

    Definition at line 161 of file Camera3D.hpp.

    - -
    -
    - -

    ◆ Quaternion

    - -
    -
    - - - - -
    typedef Vector4 raylib::Quaternion
    -
    - -

    Definition at line 166 of file Vector4.hpp.

    - -
    -
    - -

    ◆ RenderTexture2D

    - -
    -
    - -

    Definition at line 115 of file RenderTexture.hpp.

    - -
    -
    - -

    ◆ Texture2D

    - -
    -
    - - - - -
    typedef Texture raylib::Texture2D
    -
    - -

    Definition at line 320 of file Texture.hpp.

    - -
    -
    - -

    ◆ TextureCubemap

    - -
    -
    - - - - -
    typedef Texture raylib::TextureCubemap
    -
    - -

    Definition at line 321 of file Texture.hpp.

    - -
    -
    -

    Function Documentation

    - -

    ◆ ChangeDirectory()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::ChangeDirectory (const std::string & dir)
    -
    -inlinestatic
    -
    - -

    Change working directory, return true on success.

    - -

    Definition at line 166 of file Functions.hpp.

    - -
    -
    - -

    ◆ DirectoryExists()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::DirectoryExists (const std::string & dirPath)
    -
    -inlinestatic
    -
    - -

    Check if directory path exists.

    - -

    Definition at line 98 of file Functions.hpp.

    - -
    -
    - -

    ◆ DrawText()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static void raylib::DrawText (const std::string & text,
    int posX,
    int posY,
    int fontSize,
    ::Color color 
    )
    -
    -inlinestatic
    -
    - -

    Draw text (using default font)

    - -

    Definition at line 256 of file Functions.hpp.

    - -

    References DrawText().

    - -

    Referenced by raylib::Text::Draw(), and DrawText().

    - -
    -
    - -

    ◆ DrawTextEx()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static void raylib::DrawTextEx (const Fontfont,
    const std::string & text,
    Vector2 position,
    float fontSize,
    float spacing,
    ::Color tint 
    )
    -
    -inlinestatic
    -
    - -

    Draw text using font and additional parameters.

    - -

    Definition at line 263 of file Functions.hpp.

    - -

    References DrawTextEx().

    - -

    Referenced by raylib::Text::Draw(), raylib::Color::DrawText(), raylib::Font::DrawText(), and DrawTextEx().

    - -
    -
    - -

    ◆ DrawTextPro()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static void raylib::DrawTextPro (const Fontfont,
    const std::string & text,
    Vector2 position,
    Vector2 origin,
    float rotation,
    float fontSize,
    float spacing,
    ::Color tint 
    )
    -
    -inlinestatic
    -
    - -

    Draw text using Font and pro parameters (rotation)

    - -

    Definition at line 271 of file Functions.hpp.

    - -

    References DrawTextPro().

    - -

    Referenced by raylib::Text::Draw(), raylib::Color::DrawText(), raylib::Font::DrawText(), and DrawTextPro().

    - -
    -
    - -

    ◆ ExportImage()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static bool raylib::ExportImage (const Imageimage,
    const std::string & fileName 
    )
    -
    -inlinestatic
    -
    - -

    Export image data to file.

    - -

    Definition at line 242 of file Functions.hpp.

    - -
    -
    - -

    ◆ ExportImageAsCode()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static bool raylib::ExportImageAsCode (const Imageimage,
    const std::string & fileName 
    )
    -
    -inlinestatic
    -
    - -

    Export image as code file (.h) defining an array of bytes.

    - -

    Definition at line 249 of file Functions.hpp.

    - -
    -
    - -

    ◆ FileExists()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static bool raylib::FileExists (const std::string & fileName)
    -
    -inlinestatic
    -
    - -

    Check if file exists.

    - -

    Definition at line 91 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetClipboardText()

    - -
    -
    - - - - - -
    - - - - - - - -
    static std::string raylib::GetClipboardText ()
    -
    -inlinestatic
    -
    - -

    Get clipboard text content.

    - -

    Definition at line 52 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetDirectoryFiles()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::vector< std::string > raylib::GetDirectoryFiles (const std::string & dirPath)
    -
    -static
    -
    - -

    Get filenames in a directory path.

    - -

    Definition at line 155 of file Functions.hpp.

    - -

    References GetDirectoryFiles().

    - -

    Referenced by GetDirectoryFiles().

    - -
    -
    - -

    ◆ GetDirectoryPath()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::GetDirectoryPath (const std::string & filePath)
    -
    -inlinestatic
    -
    - -

    Get full path for a given fileName with path.

    - -

    Definition at line 133 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetDroppedFiles()

    - -
    -
    - - - - - -
    - - - - - - - -
    static std::vector< std::string > raylib::GetDroppedFiles ()
    -
    -static
    -
    - -

    Get dropped files names.

    - -

    Definition at line 174 of file Functions.hpp.

    - -

    References GetDroppedFiles().

    - -

    Referenced by GetDroppedFiles().

    - -
    -
    - -

    ◆ GetFileExtension()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::GetFileExtension (const std::string & fileName)
    -
    -inlinestatic
    -
    - -

    Get pointer to extension for a filename string (including point: ".png")

    - -

    Definition at line 112 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetFileModTime()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static long raylib::GetFileModTime (const std::string & fileName)
    -
    -inlinestatic
    -
    - -

    Get file modification time (last write time)

    - -

    Definition at line 188 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetFileName()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::GetFileName (const std::string & filePath)
    -
    -inlinestatic
    -
    - -

    Get pointer to filename for a path string.

    - -

    Definition at line 119 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetFileNameWithoutExt()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::GetFileNameWithoutExt (const std::string & filePath)
    -
    -inlinestatic
    -
    - -

    Get filename string without extension.

    - -

    Definition at line 126 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetGamepadName()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::GetGamepadName (int gamepad)
    -
    -inlinestatic
    -
    - -

    Get gamepad internal name id.

    - -

    Definition at line 66 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetMonitorName()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::GetMonitorName (int monitor = 0)
    -
    -inlinestatic
    -
    - -

    Get the human-readable, UTF-8 encoded name of the primary monitor.

    - -

    Definition at line 38 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetPrevDirectoryPath()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::GetPrevDirectoryPath (const std::string & dirPath)
    -
    -inlinestatic
    -
    - -

    Get previous directory path for a given path.

    - -

    Definition at line 140 of file Functions.hpp.

    - -
    -
    - -

    ◆ GetWorkingDirectory()

    - -
    -
    - - - - - -
    - - - - - - - -
    static std::string raylib::GetWorkingDirectory ()
    -
    -inlinestatic
    -
    - -

    Get current working directory.

    - -

    Definition at line 147 of file Functions.hpp.

    - -
    -
    - -

    ◆ InitWindow()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    static void raylib::InitWindow (int width,
    int height,
    const std::string & title = "raylib" 
    )
    -
    -inlinestatic
    -
    - -

    Initialize window and OpenGL context.

    - -

    Definition at line 24 of file Functions.hpp.

    - -

    References InitWindow().

    - -

    Referenced by raylib::Window::Init(), and InitWindow().

    - -
    -
    - -

    ◆ IsFileExtension()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static bool raylib::IsFileExtension (const std::string & fileName,
    const std::string & ext 
    )
    -
    -inlinestatic
    -
    - -

    Check file extension (including point: .png, .wav)

    - -

    Definition at line 105 of file Functions.hpp.

    - -
    -
    - -

    ◆ LoadFileText()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static std::string raylib::LoadFileText (const std::string & fileName)
    -
    -static
    -
    - -

    Load text data from file (read)

    - -

    Definition at line 74 of file Functions.hpp.

    - -

    References LoadFileText().

    - -

    Referenced by LoadFileText().

    - -
    -
    - -

    ◆ LoadFont()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static inline ::Font raylib::LoadFont (const std::string & fileName)
    -
    -static
    -
    - -

    Load font from file (filename must include file extension)

    - -

    Definition at line 279 of file Functions.hpp.

    - -

    Referenced by raylib::Font::Load().

    - -
    -
    - -

    ◆ LoadFontEx()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static inline ::Font raylib::LoadFontEx (const std::string & fileName,
    int fontSize,
    int * fontChars,
    int charsCount 
    )
    -
    -static
    -
    - -

    Load font from file (filename must include file extension)

    - -

    Definition at line 286 of file Functions.hpp.

    - -

    Referenced by raylib::Font::Load().

    - -
    -
    - -

    ◆ LoadImage()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static inline ::Image raylib::LoadImage (const std::string & fileName)
    -
    -static
    -
    - -

    Load an image.

    - -

    Definition at line 210 of file Functions.hpp.

    - -

    Referenced by raylib::Image::Load().

    - -
    -
    - -

    ◆ LoadImageAnim()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static inline ::Image raylib::LoadImageAnim (const std::string & fileName,
    int * frames 
    )
    -
    -static
    -
    - -

    Load animated image data.

    - -

    Definition at line 226 of file Functions.hpp.

    - -

    Referenced by raylib::Image::Load().

    - -
    -
    - -

    ◆ LoadImageFromMemory()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    static inline ::Image raylib::LoadImageFromMemory (const std::string & fileType,
    const unsigned char * fileData,
    int dataSize 
    )
    -
    -static
    -
    - -

    Load image from memory buffer, fileType refers to extension like "png".

    - -

    Definition at line 233 of file Functions.hpp.

    - -

    Referenced by raylib::Image::Load().

    - -
    -
    - -

    ◆ LoadImageRaw()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static inline ::Image raylib::LoadImageRaw (const std::string & fileName,
    int width,
    int height,
    int format,
    int headerSize 
    )
    -
    -static
    -
    - -

    Load an image from RAW file data.

    - -

    Definition at line 217 of file Functions.hpp.

    - -

    Referenced by raylib::Image::Load().

    - -
    -
    - -

    ◆ MeasureText()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static int raylib::MeasureText (const std::string & text,
    int fontSize 
    )
    -
    -inlinestatic
    -
    - -

    Measure string width for default font.

    - -

    Definition at line 293 of file Functions.hpp.

    - -
    -
    - -

    ◆ OpenURL()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::OpenURL (const std::string & url)
    -
    -inlinestatic
    -
    - -

    Open URL with default system browser (if available)

    - -

    Definition at line 195 of file Functions.hpp.

    - -
    -
    - -

    ◆ SaveFileText()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static bool raylib::SaveFileText (const std::string & fileName,
    const std::string & text 
    )
    -
    -inlinestatic
    -
    - -

    Save text data to file (write)

    - -

    Definition at line 84 of file Functions.hpp.

    - -
    -
    - -

    ◆ SetClipboardText()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::SetClipboardText (const std::string & text)
    -
    -inlinestatic
    -
    - -

    Set clipboard text content.

    - -

    Definition at line 45 of file Functions.hpp.

    - -

    References SetClipboardText().

    - -

    Referenced by SetClipboardText().

    - -
    -
    - -

    ◆ SetWindowTitle()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::SetWindowTitle (const std::string & title)
    -
    -inlinestatic
    -
    - -

    Set title for window.

    - -

    Definition at line 31 of file Functions.hpp.

    - -

    References SetWindowTitle().

    - -

    Referenced by raylib::Window::SetTitle(), and SetWindowTitle().

    - -
    -
    - -

    ◆ TakeScreenshot()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::TakeScreenshot (const std::string & fileName)
    -
    -inlinestatic
    -
    - -

    Takes a screenshot of current screen (saved a .png)

    - -

    Definition at line 59 of file Functions.hpp.

    - -

    References TakeScreenshot().

    - -

    Referenced by TakeScreenshot().

    - -
    -
    - -

    ◆ TextFindIndex()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    RLAPI int raylib::TextFindIndex (const std::string & text,
    const std::string & find 
    )
    -
    -inline
    -
    - -

    Find first text occurrence within a string.

    - -

    Definition at line 348 of file Functions.hpp.

    - -
    -
    - -

    ◆ TextInsert()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    RLAPI std::string raylib::TextInsert (const std::string & text,
    const std::string & insert,
    int position 
    )
    -
    -inline
    -
    - -

    Insert text in a position.

    - -

    Definition at line 335 of file Functions.hpp.

    - -

    References TextInsert().

    - -

    Referenced by TextInsert().

    - -
    -
    - -

    ◆ TextIsEqual()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    static bool raylib::TextIsEqual (const std::string & text1,
    const std::string & text2 
    )
    -
    -inlinestatic
    -
    - -

    Check if two text string are equal.

    - -

    Definition at line 300 of file Functions.hpp.

    - -
    -
    - -

    ◆ TextLength()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static unsigned int raylib::TextLength (const std::string & text)
    -
    -inlinestatic
    -
    - -

    Check if two text string are equal.

    - -

    Definition at line 307 of file Functions.hpp.

    - -
    -
    - -

    ◆ TextReplace()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    RLAPI std::string raylib::TextReplace (const std::string & text,
    const std::string & replace,
    const std::string & by 
    )
    -
    -inline
    -
    - -

    Replace text string.

    - -

    Definition at line 321 of file Functions.hpp.

    - -

    References TextReplace().

    - -

    Referenced by TextReplace().

    - -
    -
    - -

    ◆ TextSubtext()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    RLAPI std::string raylib::TextSubtext (const std::string & text,
    int position,
    int length 
    )
    -
    -inline
    -
    - -

    Get text length, checks for '\0' ending.

    - -

    Definition at line 314 of file Functions.hpp.

    - -
    -
    - -

    ◆ TextToInteger()

    - -
    -
    - - - - - -
    - - - - - - - - -
    RLAPI int raylib::TextToInteger (const std::string & text)
    -
    -inline
    -
    - -

    Get integer value from text (negative values not supported)

    - -

    Definition at line 376 of file Functions.hpp.

    - -
    -
    - -

    ◆ TextToLower()

    - -
    -
    - - - - - -
    - - - - - - - - -
    RLAPI std::string raylib::TextToLower (const std::string & text)
    -
    -inline
    -
    - -

    Get lower case version of provided string.

    - -

    Definition at line 362 of file Functions.hpp.

    - -
    -
    - -

    ◆ TextToPascal()

    - -
    -
    - - - - - -
    - - - - - - - - -
    RLAPI std::string raylib::TextToPascal (const std::string & text)
    -
    -inline
    -
    - -

    Get Pascal case notation version of provided string.

    - -

    Definition at line 369 of file Functions.hpp.

    - -
    -
    - -

    ◆ TextToUpper()

    - -
    -
    - - - - - -
    - - - - - - - - -
    RLAPI std::string raylib::TextToUpper (const std::string & text)
    -
    -inline
    -
    - -

    Get upper case version of provided string.

    - -

    Definition at line 355 of file Functions.hpp.

    - -
    -
    - -

    ◆ UpdateCamera()

    - -
    -
    - - - - - -
    - - - - - - - - -
    static void raylib::UpdateCamera (const ::Cameracamera)
    -
    -inlinestatic
    -
    - -

    Update camera depending on selected mode.

    - -

    Definition at line 202 of file Functions.hpp.

    - -

    References UpdateCamera().

    - -

    Referenced by raylib::Camera3D::Update(), and UpdateCamera().

    - -
    -
    -
    -
    +

    All raylib-cpp classes and functions appear in the raylib namespace.

    +
    - + diff --git a/docs/namespaces.html b/docs/namespaces.html index 57d96d9e..86654435 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: Namespace List - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,23 @@
    - + +/* @license-end */
    -
    - -
    -
    -
    - -
    -
    Namespace List
    +
    +
    Namespace List
    -
    Here is a list of all namespaces with brief descriptions:
    -
    [detail level 12]
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
    Here is a list of all documented namespaces with brief descriptions:
    +
     NraylibAll raylib-cpp classes and functions appear in the raylib namespace
     CAudioDeviceAudio device management functions
     CAudioStreamAudioStream management functions
     CBoundingBoxBounding box type
     CCamera2DCamera2D type, defines a 2d camera
     CCamera3DCamera type, defines a camera position/orientation in 3d space
     CColorColor type, RGBA (32bit)
     CFontFont type, includes texture and charSet array data
     CGamepadInput-related functions: gamepads
     CImageImage type, bpp always RGBA (32bit)
     CMaterialMaterial type (generic)
     CMatrixMatrix type (OpenGL style 4x4 - right handed, column major)
     CMeshVertex data definning a mesh
     CModelModel type
     CModelAnimationModel animation
     CMouseInput-related functions: mouse
     CMusicMusic stream type (audio file streaming from memory)
     CPhysics2D Physics library for videogames
     CRayRay type (useful for raycast)
     CRayCollisionRaycast hit information
     CRaylibExceptionException used for most raylib-related exceptions
     CRectangleRectangle type
     CRenderTextureRenderTexture type, for texture rendering
     CShaderShader type (generic)
     CSoundWave/Sound management functions
     CTextText Functions
     CTextureTexture type
     CVector2Vector2 type
     CVector3Vector3 type
     CVector4Vector4 type
     CVrStereoConfigVR stereo config functions for VR simulator
     CWaveWave type, defines audio wave data
     CWindowWindow and Graphics Device Functions
    +
     NraylibAll raylib-cpp classes and functions appear in the raylib namespace
    -
    - + diff --git a/docs/nav_f.png b/docs/nav_f.png index 940086dd91bf2f6a32057d186de835171e3e03b9..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 100644 GIT binary patch delta 124 zcmV-?0E7RX0hs}iBz0g(L_t(|0qxyO4uBvGMbVbGTL*^tfkM%3YvRPhNE{fKaB|bU zE`pBpg6fW>8&Wn}AXZ5Qu@Xg)f;DQhglrV^nwx1!n5^FF=Snb)(Gk%vj{BRL9T9c- e@$=rlHgf|=7$DsN0QGqQ0000L_t(|0qxx}4udch1JE?SV`o5ZRZ0X2fkNBi`^Jon^uvfy z#1YeUmadUnKP6^XmL1woFMGaQo;E4t|J$N1BX-KT4wgmvu@A6u&D20{R2$}&DVbwUM3!Wac4i{ Xv3!>HpqvZ$8Gyjk)z4*}Q$iB}sx%x@ delta 68 zcmYdFo}gl{<>}%WQo;CkE~6lWg1{lU7e7UN6281#ncgQWt;yxlpSjx1O8WD!x}WEm Y?)_wIdb^_c6$21>y85}Sb4q9e0G??Z`2YX_ diff --git a/docs/open.png b/docs/open.png index 3352250a5cf37f807ecc321b5be3c517f811d4f4..30f75c7efe2dd0c9e956e35b69777a02751f048b 100644 GIT binary patch delta 92 zcmV-i0HgnRdyphoLP - - + + raylib-cpp: physac.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    physac.hpp
    +
    +
    physac.hpp
    -
    1
    -
    4#ifndef RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    -
    5#define RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    -
    6
    -
    7#ifdef __cplusplus
    -
    8extern "C" {
    -
    9#endif
    -
    10#include "extras/physac.h" // NOLINT
    -
    11#ifdef __cplusplus
    -
    12}
    -
    13#endif
    -
    14
    -
    15#endif // RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    +
    6 
    +
    7 #ifdef __cplusplus
    +
    8 extern "C" {
    +
    9 #endif
    +
    10 #include "extras/physac.h" // NOLINT
    +
    11 #ifdef __cplusplus
    +
    12 }
    +
    13 #endif
    +
    14 
    +
    15 #endif // RAYLIB_CPP_INCLUDE_PHYSAC_HPP_
    -
    - + diff --git a/docs/raylib-cpp-utils_8hpp_source.html b/docs/raylib-cpp-utils_8hpp_source.html index 0fbc1e3e..81f746b2 100644 --- a/docs/raylib-cpp-utils_8hpp_source.html +++ b/docs/raylib-cpp-utils_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib-cpp-utils.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib-cpp-utils.hpp
    +
    +
    raylib-cpp-utils.hpp
    -
    1
    -
    4#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    -
    5#define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    -
    6
    -
    7#ifndef GETTERSETTER
    -
    15#define GETTERSETTER(type, method, name) \
    -
    16 \
    -
    17 inline type Get##method() const { return name; } \
    -
    18 \
    -
    19 inline void Set##method(type value) { name = value; }
    -
    20#endif
    -
    21
    -
    22#endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    6 
    +
    7 #ifndef GETTERSETTER
    +
    8 
    +
    15 #define GETTERSETTER(type, method, name) \
    +
    16  \
    +
    17  inline type Get##method() const { return name; } \
    +
    18  \
    +
    19  inline void Set##method(type value) { name = value; }
    +
    20 #endif
    +
    21 
    +
    22 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    -
    - + diff --git a/docs/raylib-cpp_8hpp_source.html b/docs/raylib-cpp_8hpp_source.html index 5830b8ae..98dd12bf 100644 --- a/docs/raylib-cpp_8hpp_source.html +++ b/docs/raylib-cpp_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib-cpp.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib-cpp.hpp
    +
    +
    raylib-cpp.hpp
    -
    1
    -
    31#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    -
    32#define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    -
    33
    -
    34#include "./AudioDevice.hpp"
    -
    35#include "./AudioStream.hpp"
    -
    36#include "./BoundingBox.hpp"
    -
    37#include "./Camera2D.hpp"
    -
    38#include "./Camera3D.hpp"
    -
    39#include "./Color.hpp"
    -
    40#include "./Font.hpp"
    -
    41#include "./Functions.hpp"
    -
    42#include "./Gamepad.hpp"
    -
    43#include "./Image.hpp"
    -
    44#include "./Material.hpp"
    -
    45#include "./Matrix.hpp"
    -
    46#include "./Mesh.hpp"
    -
    47#include "./Model.hpp"
    -
    48#include "./ModelAnimation.hpp"
    -
    49#include "./Mouse.hpp"
    -
    50#include "./Music.hpp"
    -
    51#include "./Ray.hpp"
    -
    52#include "./RaylibException.hpp"
    -
    53#include "./RayCollision.hpp"
    -
    54#include "./Rectangle.hpp"
    -
    55#include "./RenderTexture.hpp"
    -
    56#include "./Shader.hpp"
    -
    57#include "./Sound.hpp"
    -
    58#include "./Text.hpp"
    -
    59#include "./Texture.hpp"
    -
    60#include "./Vector2.hpp"
    -
    61#include "./Vector3.hpp"
    -
    62#include "./Vector4.hpp"
    -
    63#include "./VrStereoConfig.hpp"
    -
    64#include "./Wave.hpp"
    -
    65#include "./Window.hpp"
    -
    66
    -
    70namespace raylib {
    -
    71 // Nothing.
    -
    72} // namespace raylib
    -
    73
    -
    74#endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    -
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    1 
    +
    31 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    +
    32 #define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    +
    33 
    +
    34 #include "./AudioDevice.hpp"
    +
    35 #include "./AudioStream.hpp"
    +
    36 #include "./BoundingBox.hpp"
    +
    37 #include "./Camera2D.hpp"
    +
    38 #include "./Camera3D.hpp"
    +
    39 #include "./Color.hpp"
    +
    40 #include "./Font.hpp"
    +
    41 #include "./Functions.hpp"
    +
    42 #include "./Gamepad.hpp"
    +
    43 #include "./Image.hpp"
    +
    44 #include "./Material.hpp"
    +
    45 #include "./Matrix.hpp"
    +
    46 #include "./Mesh.hpp"
    +
    47 #include "./Model.hpp"
    +
    48 #include "./ModelAnimation.hpp"
    +
    49 #include "./Mouse.hpp"
    +
    50 #include "./Music.hpp"
    +
    51 #include "./Ray.hpp"
    +
    52 #include "./RaylibException.hpp"
    +
    53 #include "./RayCollision.hpp"
    +
    54 #include "./Rectangle.hpp"
    +
    55 #include "./RenderTexture.hpp"
    +
    56 #include "./Shader.hpp"
    +
    57 #include "./Sound.hpp"
    +
    58 #include "./Text.hpp"
    +
    59 #include "./Texture.hpp"
    +
    60 #include "./Vector2.hpp"
    +
    61 #include "./Vector3.hpp"
    +
    62 #include "./Vector4.hpp"
    +
    63 #include "./VrStereoConfig.hpp"
    +
    64 #include "./Wave.hpp"
    +
    65 #include "./Window.hpp"
    +
    66 
    +
    70 namespace raylib {
    +
    71  // Nothing.
    +
    72 } // namespace raylib
    +
    73 
    +
    74 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    -
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    - + diff --git a/docs/raylib_8hpp_source.html b/docs/raylib_8hpp_source.html index 60d79202..8b8e3a80 100644 --- a/docs/raylib_8hpp_source.html +++ b/docs/raylib_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raylib.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raylib.hpp
    +
    +
    raylib.hpp
    -
    1
    -
    4#ifndef RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    -
    5#define RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    -
    6
    -
    7#ifdef __cplusplus
    -
    8extern "C" {
    -
    9#endif
    -
    10#include "raylib.h" // NOLINT
    -
    11#ifdef __cplusplus
    -
    12}
    -
    13#endif
    -
    14
    -
    15#endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    6 
    +
    7 #ifdef __cplusplus
    +
    8 extern "C" {
    +
    9 #endif
    +
    10 #include "raylib.h" // NOLINT
    +
    11 #ifdef __cplusplus
    +
    12 }
    +
    13 #endif
    +
    14 
    +
    15 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    -
    - + diff --git a/docs/raymath_8hpp_source.html b/docs/raymath_8hpp_source.html index 5de6d716..90764ae2 100644 --- a/docs/raymath_8hpp_source.html +++ b/docs/raymath_8hpp_source.html @@ -2,31 +2,27 @@ - - + + raylib-cpp: raymath.hpp Source File - - - - -
    - - + +
    +
    raylib-cpp
    C++ object-oriented wrapper library for raylib.
    @@ -36,40 +32,22 @@
    - + +/* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    -
    raymath.hpp
    +
    +
    raymath.hpp
    -
    1
    -
    4#ifndef RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    -
    5#define RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    -
    6
    -
    7#ifdef __cplusplus
    -
    8extern "C" {
    -
    9#endif
    -
    10#ifndef RAYLIB_CPP_NO_MATH
    -
    11#ifndef RAYMATH_STATIC_INLINE
    -
    12#define RAYMATH_STATIC_INLINE
    -
    13#endif
    -
    14#pragma GCC diagnostic push
    -
    15#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
    -
    16#include "raymath.h" // NOLINT
    -
    17#pragma GCC diagnostic pop
    -
    18#endif
    -
    19#ifdef __cplusplus
    -
    20}
    -
    21#endif
    -
    22
    -
    23#endif // RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    6 
    +
    7 #ifdef __cplusplus
    +
    8 extern "C" {
    +
    9 #endif
    +
    10 #ifndef RAYLIB_CPP_NO_MATH
    +
    11 #ifndef RAYMATH_STATIC_INLINE
    +
    12 #define RAYMATH_STATIC_INLINE
    +
    13 #endif
    +
    14 #pragma GCC diagnostic push
    +
    15 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
    +
    16 #include "raymath.h" // NOLINT
    +
    17 #pragma GCC diagnostic pop
    +
    18 #endif
    +
    19 #ifdef __cplusplus
    +
    20 }
    +
    21 #endif
    +
    22 
    +
    23 #endif // RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    -
    - + diff --git a/docs/search/all_0.html b/docs/search/all_0.html index c36c9af5..26dd244f 100644 --- a/docs/search/all_0.html +++ b/docs/search/all_0.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_0.js b/docs/search/all_0.js index 059853ea..3c5e0041 100644 --- a/docs/search/all_0.js +++ b/docs/search/all_0.js @@ -1,15 +1,12 @@ var searchData= [ - ['add_0',['Add',['../classraylib_1_1_matrix.html#aaecef455d7b249b1c0bbc77cbb27e1d0',1,'raylib::Matrix::Add()'],['../classraylib_1_1_vector2.html#a9b508085257410f314beb2f405259678',1,'raylib::Vector2::Add()'],['../classraylib_1_1_vector3.html#a640c5d01ab7d004830de1f7609abfdd2',1,'raylib::Vector3::Add()']]], - ['addforce_1',['AddForce',['../classraylib_1_1_physics.html#afb38fb0c3a3bebd5c5ff0e76d5204d6d',1,'raylib::Physics']]], - ['addtorque_2',['AddTorque',['../classraylib_1_1_physics.html#a7a663b83d1f9c7af8fcfbda8fefc9682',1,'raylib::Physics']]], - ['alpha_3',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], - ['alphablend_4',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], - ['alphaclear_5',['AlphaClear',['../classraylib_1_1_image.html#acea9718468977973dceaf84797cab842',1,'raylib::Image']]], - ['alphacrop_6',['AlphaCrop',['../classraylib_1_1_image.html#a99650b633aca69b1402d04e719d10faf',1,'raylib::Image']]], - ['alphamask_7',['AlphaMask',['../classraylib_1_1_image.html#aaf9f5429b67e2e4e37a23e1193b07215',1,'raylib::Image']]], - ['alphapremultiply_8',['AlphaPremultiply',['../classraylib_1_1_image.html#a726a612e5ad5e1d25764cbbb0e2f6ea1',1,'raylib::Image']]], - ['angle_9',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], - ['audiodevice_10',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice::AudioDevice()'],['../classraylib_1_1_audio_device.html',1,'raylib::AudioDevice']]], - ['audiostream_11',['AudioStream',['../classraylib_1_1_audio_stream.html#ad8a74cd0657258f1fe495d2dc7fd6881',1,'raylib::AudioStream::AudioStream(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#a1d47b4e6c51959d9a6408ff6660cd629',1,'raylib::AudioStream::AudioStream(AudioStream &&other)'],['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream::AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)'],['../classraylib_1_1_audio_stream.html#a8da5fee94a06fb1bf797d93e94472d9f',1,'raylib::AudioStream::AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)'],['../classraylib_1_1_audio_stream.html#a894b806cbf3e016b9cc7d9f413758012',1,'raylib::AudioStream::AudioStream(const ::AudioStream &music)'],['../class_audio_stream.html',1,'AudioStream'],['../classraylib_1_1_audio_stream.html',1,'raylib::AudioStream']]] + ['alpha_0',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], + ['alphablend_1',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], + ['alphaclear_2',['AlphaClear',['../classraylib_1_1_image.html#a39d6f6b230bcdaba3d85f45e9b5dad20',1,'raylib::Image']]], + ['alphacrop_3',['AlphaCrop',['../classraylib_1_1_image.html#a5945a136f675e024dda002075b34dfef',1,'raylib::Image']]], + ['alphamask_4',['AlphaMask',['../classraylib_1_1_image.html#a3bbcbb96834c526b6b789a804078d472',1,'raylib::Image']]], + ['alphapremultiply_5',['AlphaPremultiply',['../classraylib_1_1_image.html#ace3ef45495b17bf2e5a645931b792483',1,'raylib::Image']]], + ['angle_6',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], + ['audiodevice_7',['AudioDevice',['../classraylib_1_1_audio_device.html',1,'raylib::AudioDevice'],['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice::AudioDevice()']]], + ['audiostream_8',['AudioStream',['../classraylib_1_1_audio_stream.html',1,'raylib::AudioStream'],['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream::AudioStream()']]] ]; diff --git a/docs/search/all_1.html b/docs/search/all_1.html index 91cfe8ac..8eb215b9 100644 --- a/docs/search/all_1.html +++ b/docs/search/all_1.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_1.js b/docs/search/all_1.js index f5000c22..feaa8ca1 100644 --- a/docs/search/all_1.js +++ b/docs/search/all_1.js @@ -1,12 +1,6 @@ var searchData= [ - ['barycenter_0',['Barycenter',['../classraylib_1_1_vector3.html#a3adb51fa6e3c137095ba6aa60f976ddc',1,'raylib::Vector3']]], - ['begindrawing_1',['BeginDrawing',['../classraylib_1_1_window.html#a487e7b9ee38593be6f6bc5c5c2e2e80c',1,'raylib::Window']]], - ['beginmode_2',['BeginMode',['../classraylib_1_1_camera2_d.html#a39d12d507baf5ba6112ea31d9ff8b01f',1,'raylib::Camera2D::BeginMode()'],['../classraylib_1_1_camera3_d.html#a23437f027bbd7608ca9e5f2370344271',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a4e2cede5c6b58d0b4f0a38eba6897a5f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a662293424e1923c1a2ed73d3fb0ccb61',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#a57c7c3064803f61af4a7da1e0ae10167',1,'raylib::VrStereoConfig::BeginMode()']]], - ['beige_3',['Beige',['../classraylib_1_1_color.html#a13dc46e6133581a791e918af361fdfcc',1,'raylib::Color']]], - ['black_4',['Black',['../classraylib_1_1_color.html#a6d4168bda8afca4a98d4e4a6a74c2d63',1,'raylib::Color']]], - ['blank_5',['Blank',['../classraylib_1_1_color.html#a7833da21008e487f44324007b9d8e6c1',1,'raylib::Color']]], - ['blue_6',['Blue',['../classraylib_1_1_color.html#a8bd1ba9bc65bae856d0b716aa85c407d',1,'raylib::Color']]], - ['boundingbox_7',['BoundingBox',['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()'],['../classraylib_1_1_bounding_box.html#ad7e2ee18a319a9ea834e46add4b0dbc8',1,'raylib::BoundingBox::BoundingBox(::Vector3 min, ::Vector3 max)'],['../classraylib_1_1_bounding_box.html#a6e0d7b4af3123898d6fa541ed2fd2672',1,'raylib::BoundingBox::BoundingBox(::Vector3 minMax)'],['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox(const ::Mesh &mesh)'],['../classraylib_1_1_bounding_box.html#a2d5d6d98333d7a2e15b3703b1c383fe9',1,'raylib::BoundingBox::BoundingBox(const ::BoundingBox &box)'],['../class_bounding_box.html',1,'BoundingBox'],['../classraylib_1_1_bounding_box.html',1,'raylib::BoundingBox']]], - ['brown_8',['Brown',['../classraylib_1_1_color.html#aee8f4a4e55fe68cf5d3854208e16c5b7',1,'raylib::Color']]] + ['begindrawing_9',['BeginDrawing',['../classraylib_1_1_window.html#a8f2b932e51fc0ac154e2fd578691ebd6',1,'raylib::Window']]], + ['beginmode_10',['BeginMode',['../classraylib_1_1_camera3_d.html#a0aeaa99678bacc68d410a4d42e95548a',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a7d05e471bb2d7fc83094f7a9463d836f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a63311cdadb7f81791a61e2ccea33efbe',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#aee11917e6f68d22e12e06a81d58ee340',1,'raylib::VrStereoConfig::BeginMode()']]], + ['boundingbox_11',['BoundingBox',['../classraylib_1_1_bounding_box.html',1,'raylib::BoundingBox'],['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox()'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()']]] ]; diff --git a/docs/search/all_10.html b/docs/search/all_10.html index 765f5848..6fd3a4aa 100644 --- a/docs/search/all_10.html +++ b/docs/search/all_10.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_10.js b/docs/search/all_10.js index 49f0fe5a..3dd12129 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -1,28 +1,130 @@ var searchData= [ - ['ray_0',['Ray',['../class_ray.html',1,'Ray'],['../classraylib_1_1_ray.html#a6f7f848de7bebccc4dbda328dc8056b1',1,'raylib::Ray::Ray(const ::Ray &ray)'],['../classraylib_1_1_ray.html#ab3a7660c5b87be0ce2c6e03269e7d87e',1,'raylib::Ray::Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})'],['../classraylib_1_1_ray.html#acc6259ea6bd75add00e7529ef5903024',1,'raylib::Ray::Ray(::Vector2 mousePosition, ::Camera camera)'],['../classraylib_1_1_ray.html',1,'raylib::Ray']]], - ['raycollision_1',['RayCollision',['../class_ray_collision.html',1,'RayCollision'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#af3d7481a683da26a5bc761de88048e39',1,'raylib::RayCollision::RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)'],['../classraylib_1_1_ray_collision.html#abcdc5ad0a518fce72f4a59e0ff3d6089',1,'raylib::RayCollision::RayCollision(const ::RayCollision &ray)'],['../classraylib_1_1_ray_collision.html',1,'raylib::RayCollision']]], - ['raylib_2',['raylib',['../namespaceraylib.html',1,'']]], - ['raylib_2dcpp_3',['raylib-cpp',['../index.html',1,'']]], - ['raylibexception_4',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib::RaylibException'],['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException::RaylibException()']]], - ['raywhite_5',['RayWhite',['../classraylib_1_1_color.html#a5a43482f133efe9ed65ee6e2899c19db',1,'raylib::Color']]], - ['rectangle_6',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib::Rectangle'],['../classraylib_1_1_rectangle.html#a04bca788142d97d34e7fe1be945795b2',1,'raylib::Rectangle::Rectangle(float x, float y)'],['../classraylib_1_1_rectangle.html#a0ca58eee9dbca8d0eb850bc9cfe6d843',1,'raylib::Rectangle::Rectangle(::Vector4 rect)'],['../classraylib_1_1_rectangle.html#a85ea9145d362d7247096c0f1e5a139d2',1,'raylib::Rectangle::Rectangle(::Vector2 size)'],['../classraylib_1_1_rectangle.html#a2e6a3094f9d2cc34a8ffee741114271d',1,'raylib::Rectangle::Rectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_rectangle.html#abcbb82963e25bcd78da507dd498cd35b',1,'raylib::Rectangle::Rectangle()'],['../classraylib_1_1_rectangle.html#a33e0e9353785a4023aee973d1613f1ff',1,'raylib::Rectangle::Rectangle(float x)'],['../classraylib_1_1_rectangle.html#a61861032ffd470259e1b74fed46ab5e8',1,'raylib::Rectangle::Rectangle(float x, float y, float width)'],['../classraylib_1_1_rectangle.html#ab31f8b649dd25ec8681efbfd72785f2f',1,'raylib::Rectangle::Rectangle(float x, float y, float width, float height)'],['../classraylib_1_1_rectangle.html#af3ec58f0bddd5f275adc88a738e8b674',1,'raylib::Rectangle::Rectangle(const ::Rectangle &vec)'],['../class_rectangle.html',1,'Rectangle']]], - ['red_7',['Red',['../classraylib_1_1_color.html#a649937964940232edccf5cb3c427378b',1,'raylib::Color']]], - ['reflect_8',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2::Reflect()'],['../classraylib_1_1_vector3.html#a65595b203f521068db930e7d6bccc8c8',1,'raylib::Vector3::Reflect()']]], - ['rendertexture_9',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib::RenderTexture'],['../classraylib_1_1_render_texture.html#a86e1112d634dd3f3fa08ab448b120174',1,'raylib::RenderTexture::RenderTexture()'],['../class_render_texture.html',1,'RenderTexture'],['../classraylib_1_1_render_texture.html#a39f48ce84105360408c0ff04b143bbc1',1,'raylib::RenderTexture::RenderTexture(RenderTexture &&other)'],['../classraylib_1_1_render_texture.html#acf580e3d1fe82531a24d5ae3e380dd1b',1,'raylib::RenderTexture::RenderTexture(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#a27f118f32bd8083a183df7ab5f0d8285',1,'raylib::RenderTexture::RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)'],['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()'],['../classraylib_1_1_render_texture.html#add8d201aec938fe0a66ecedd304e2fd3',1,'raylib::RenderTexture::RenderTexture(int width, int height)']]], - ['rendertexture2d_10',['RenderTexture2D',['../namespaceraylib.html#ad0bcd17a51d5afe483d6f57e03cc3237',1,'raylib']]], - ['reset_11',['Reset',['../classraylib_1_1_physics.html#af6425119eec9dbcca53e8f6029e54276',1,'raylib::Physics']]], - ['resize_12',['Resize',['../classraylib_1_1_image.html#aead1233654bf3e148ea55234f2f3557f',1,'raylib::Image']]], - ['resizecanvas_13',['ResizeCanvas',['../classraylib_1_1_image.html#a28f4b429c7e969b082801782ac19003c',1,'raylib::Image']]], - ['resizenn_14',['ResizeNN',['../classraylib_1_1_image.html#a218095d3a96636679cb7c5064985ba2d',1,'raylib::Image']]], - ['restore_15',['Restore',['../classraylib_1_1_window.html#a363b508c37787a50067fdef7b6a8a7f4',1,'raylib::Window']]], - ['resume_16',['Resume',['../classraylib_1_1_audio_stream.html#ae949d3dea0a03fa4554153ab1c591fb9',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#ac3cda9dcc555047d9b94842c6637181f',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#aa00303b64f68c6f5acb06f23553efbbf',1,'raylib::Sound::Resume()']]], - ['rotate_17',['Rotate',['../classraylib_1_1_matrix.html#ac5da5173fc6bcda2e09bdc2caa865c08',1,'raylib::Matrix::Rotate()'],['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2::Rotate()']]], - ['rotatebyquaternion_18',['RotateByQuaternion',['../classraylib_1_1_vector3.html#a3c7424a3f680503dcd338861a19c53e1',1,'raylib::Vector3']]], - ['rotateccw_19',['RotateCCW',['../classraylib_1_1_image.html#a91af35357c488a79bc0306aac1d6a613',1,'raylib::Image']]], - ['rotatecw_20',['RotateCW',['../classraylib_1_1_image.html#a6ea82b2f67b22d73e7bb3119e40d7c5d',1,'raylib::Image']]], - ['rotatex_21',['RotateX',['../classraylib_1_1_matrix.html#af0e1c205d24796003dc63783b2e1739a',1,'raylib::Matrix']]], - ['rotatexyz_22',['RotateXYZ',['../classraylib_1_1_matrix.html#a42a55314e81f9a8d4a1b7c964127bce1',1,'raylib::Matrix']]], - ['rotatey_23',['RotateY',['../classraylib_1_1_matrix.html#a9e068eb0a163ba8ae65d3b89ace56e67',1,'raylib::Matrix']]], - ['rotatez_24',['RotateZ',['../classraylib_1_1_matrix.html#a94ee9f00cd56f52d6bb49c3de7af7e02',1,'raylib::Matrix']]] + ['savefiletext_298',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], + ['seek_299',['Seek',['../classraylib_1_1_music.html#ab2013c089ab1b10e6dcc70c9c350c0f2',1,'raylib::Music']]], + ['seta_300',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], + ['setaltcontrol_301',['SetAltControl',['../classraylib_1_1_camera3_d.html#af4494c05808722f3111c6bcb3703b662',1,'raylib::Camera3D']]], + ['setanimnormals_302',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], + ['setanimvertices_303',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], + ['setb_304',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], + ['setbasesize_305',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], + ['setbindpoe_306',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], + ['setbonecount_307',['SetBoneCount',['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()'],['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()']]], + ['setboneids_308',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], + ['setbones_309',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], + ['setboneweights_310',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], + ['setbuffer_311',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], + ['setbuffersizedefault_312',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], + ['setchannels_313',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], + ['setclipboardtext_314',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], + ['setcolor_315',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], + ['setcolors_316',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], + ['setctxdata_317',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], + ['setctxtype_318',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], + ['setcursor_319',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], + ['setdata_320',['SetData',['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()'],['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()']]], + ['setdepth_321',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], + ['setdirection_322',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], + ['setdistance_323',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], + ['setfilter_324',['SetFilter',['../classraylib_1_1_texture.html#a2f15e4f84badfdb2520133b645908bb7',1,'raylib::Texture']]], + ['setfont_325',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], + ['setfontsize_326',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], + ['setformat_327',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()']]], + ['setfovy_328',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], + ['setframecount_329',['SetFrameCount',['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()']]], + ['setframeposes_330',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], + ['setfullscreen_331',['SetFullscreen',['../classraylib_1_1_window.html#aeb4c203ec7f228bb196d7d6c3278984f',1,'raylib::Window']]], + ['setg_332',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], + ['setglyphcount_333',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], + ['setglyphpadding_334',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], + ['setglyphs_335',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], + ['setheight_336',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], + ['sethit_337',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], + ['seticon_338',['SetIcon',['../classraylib_1_1_window.html#a5035259115c985be13b506af12b1f525',1,'raylib::Window']]], + ['setid_339',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()']]], + ['setindices_340',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], + ['setlocs_341',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], + ['setlooping_342',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], + ['setm0_343',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], + ['setm1_344',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], + ['setm10_345',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], + ['setm11_346',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], + ['setm12_347',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], + ['setm13_348',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], + ['setm14_349',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], + ['setm15_350',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], + ['setm2_351',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], + ['setm3_352',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], + ['setm4_353',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], + ['setm5_354',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], + ['setm6_355',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], + ['setm7_356',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], + ['setm8_357',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], + ['setm9_358',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], + ['setmaps_359',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], + ['setmaterial_360',['SetMaterial',['../classraylib_1_1_texture.html#a8667f5e1c478cfe06e48a1a98f3c1368',1,'raylib::Texture']]], + ['setmaterialcount_361',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], + ['setmaterials_362',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], + ['setmax_363',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], + ['setmeshcount_364',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], + ['setmeshes_365',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], + ['setmeshmaterial_366',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#acb7831c2542e8e1a7b80859cc7f43aa1',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], + ['setmin_367',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], + ['setminsize_368',['SetMinSize',['../classraylib_1_1_window.html#abd534b189b57a77e491bd7852c9ee3a4',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#ad8acc035fd7ae1ca24452de0ca97ff2b',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], + ['setmipmaps_369',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], + ['setmode_370',['SetMode',['../classraylib_1_1_camera3_d.html#a9a2649478bcbc00bc738112d9deacc04',1,'raylib::Camera3D']]], + ['setmonitor_371',['SetMonitor',['../classraylib_1_1_window.html#a69b43267e498bdbe64092cfb96e0e950',1,'raylib::Window']]], + ['setmovecontrols_372',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a6d179e8e85e580dc9e50b6d01c99dd51',1,'raylib::Camera3D']]], + ['setnormal_373',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], + ['setnormals_374',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], + ['setnumber_375',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], + ['setoffset_376',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D']]], + ['setpitch_377',['SetPitch',['../classraylib_1_1_audio_stream.html#a3142331c775e25f172247d86fd112207',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#a863348374483c4b9b01f6e2624f833e8',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#a5018b4876727080e904385ce98ee4990',1,'raylib::Sound::SetPitch()']]], + ['setposition_378',['SetPosition',['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_window.html#a662e058a9f5b3121e6280411fa0cc73d',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_window.html#a701de0c79e8252538cd080ddfa51952d',1,'raylib::Window::SetPosition(const ::Vector2 &position)']]], + ['setprojection_379',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], + ['setr_380',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], + ['setrecs_381',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], + ['setrotation_382',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], + ['setsamplerate_383',['SetSampleRate',['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate()'],['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()']]], + ['setsamplesize_384',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], + ['setshader_385',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], + ['setshadervalue_386',['SetShaderValue',['../classraylib_1_1_matrix.html#a388c9c8913cfae69bfb840bbfab95fa9',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#ae86f9e94bde8583bddc594a0bb3f57c6',1,'raylib::Texture::SetShaderValue()']]], + ['setshapes_387',['SetShapes',['../classraylib_1_1_texture.html#a5ed08c239b0b53d7ec89c9507514393a',1,'raylib::Texture']]], + ['setsize_388',['SetSize',['../classraylib_1_1_window.html#a9a51c4a61cb8c6fbf14e164e7c3afa50',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_window.html#a51be4f5c35dd84abbaa174df913aa4c7',1,'raylib::Window::SetSize(const ::Vector2 &size)']]], + ['setsmoothzoomcontrol_389',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#a6263a91ecfcc94144cd4cbff82396e78',1,'raylib::Camera3D']]], + ['setspacing_390',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], + ['setstate_391',['SetState',['../classraylib_1_1_window.html#a8f65f0cddfc91ba7c5c5efe0b5deb063',1,'raylib::Window']]], + ['setstream_392',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], + ['settangents_393',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], + ['settarget_394',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], + ['settargetfps_395',['SetTargetFPS',['../classraylib_1_1_window.html#a191fafa4e6e094477c15c157f00a18a4',1,'raylib::Window']]], + ['settexcoords_396',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], + ['settexcoords2_397',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], + ['settext_398',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], + ['settexture_399',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a563a153517435efba319c750d7bd0379',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], + ['settitle_400',['SetTitle',['../classraylib_1_1_window.html#a306c896a81dd5790af0c8a8617b907d4',1,'raylib::Window']]], + ['settransform_401',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], + ['settrianglecount_402',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], + ['setup_403',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], + ['setvalue_404',['SetValue',['../classraylib_1_1_shader.html#aee50d83bfae949b476ad994fa739b9a5',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)'],['../classraylib_1_1_shader.html#a37e4981ccc95df6b78efd21e8563d49d',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#adade0b76feffac6c439efb46586f4099',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a7bbc8d326c377cee898bf772dda1fc1c',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)']]], + ['setvaoid_405',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], + ['setvboid_406',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], + ['setvertexcount_407',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], + ['setvertices_408',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], + ['setvolume_409',['SetVolume',['../classraylib_1_1_audio_device.html#ae1e2ca6a0cd5a3b2cb6f4cfc5455a3f1',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a6e69c7e6d2856787a588185f7865e6e1',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#acbcc821ca804c0c9783e96267b7c5ef9',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_sound.html#a03cbb1aa868bf037d163a5a540db8c8f',1,'raylib::Sound::SetVolume()']]], + ['setw_410',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], + ['setwidth_411',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()']]], + ['setwindowtitle_412',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], + ['setwrap_413',['SetWrap',['../classraylib_1_1_texture.html#a29ac6e7037bc2678159760744d4538a4',1,'raylib::Texture']]], + ['setx_414',['SetX',['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], + ['sety_415',['SetY',['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()']]], + ['setz_416',['SetZ',['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()'],['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()']]], + ['setzoom_417',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], + ['shader_418',['Shader',['../classraylib_1_1_shader.html',1,'raylib']]], + ['shouldclose_419',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], + ['sound_420',['Sound',['../classraylib_1_1_sound.html',1,'raylib::Sound'],['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)']]], + ['spacing_421',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]], + ['sphere_422',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], + ['stop_423',['Stop',['../classraylib_1_1_audio_stream.html#a266882a0ea63da435e44583270685d57',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a6a6ed906b768631c86a006b23900d542',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#af00839539bfeb6dd1bac84b5d1c90f0b',1,'raylib::Sound::Stop()']]], + ['stopmulti_424',['StopMulti',['../classraylib_1_1_sound.html#a6925b0114e6d9636c928fed1f0f0586c',1,'raylib::Sound']]] ]; diff --git a/docs/search/all_11.html b/docs/search/all_11.html index e2183ee4..f78343b9 100644 --- a/docs/search/all_11.html +++ b/docs/search/all_11.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_11.js b/docs/search/all_11.js index c79f049b..56bbaf55 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -1,140 +1,24 @@ var searchData= [ - ['savefiletext_0',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], - ['scale_1',['Scale',['../classraylib_1_1_matrix.html#a6194618ff44780a7e062355089706217',1,'raylib::Matrix::Scale()'],['../classraylib_1_1_vector2.html#a99329cc7300b744993c299a60191b23e',1,'raylib::Vector2::Scale()'],['../classraylib_1_1_vector3.html#a22ca33a36bf98e27801b523299990c51',1,'raylib::Vector3::Scale()']]], - ['seek_2',['Seek',['../classraylib_1_1_music.html#a0df1a8c1803d8be34208a2901e17a2ee',1,'raylib::Music']]], - ['seta_3',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], - ['setaltcontrol_4',['SetAltControl',['../classraylib_1_1_camera3_d.html#a1e12a532ca2837c7a00b1658b0d0be28',1,'raylib::Camera3D']]], - ['setanimnormals_5',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], - ['setanimvertices_6',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], - ['setb_7',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], - ['setbasesize_8',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], - ['setbindpoe_9',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], - ['setbodyrotation_10',['SetBodyRotation',['../classraylib_1_1_physics.html#a2e92f697147cea7ca3f3f86150c5fa8d',1,'raylib::Physics']]], - ['setbonecount_11',['SetBoneCount',['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()'],['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()']]], - ['setboneids_12',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], - ['setbones_13',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], - ['setboneweights_14',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], - ['setbuffer_15',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], - ['setbuffersizedefault_16',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], - ['setchannels_17',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], - ['setclipboardtext_18',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], - ['setcolor_19',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], - ['setcolors_20',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], - ['setctxdata_21',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], - ['setctxtype_22',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], - ['setcursor_23',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], - ['setdata_24',['SetData',['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()'],['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()']]], - ['setdepth_25',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], - ['setdirection_26',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], - ['setdistance_27',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], - ['setfilter_28',['SetFilter',['../classraylib_1_1_texture.html#ac42e4bc773336f2a1ee52e6f97bcf5e2',1,'raylib::Texture']]], - ['setfont_29',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], - ['setfontsize_30',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], - ['setformat_31',['SetFormat',['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()'],['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()']]], - ['setfovy_32',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], - ['setframecount_33',['SetFrameCount',['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()']]], - ['setframeposes_34',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], - ['setfullscreen_35',['SetFullscreen',['../classraylib_1_1_window.html#a97cd33ccd2b772aea0e7b7d66aa52205',1,'raylib::Window']]], - ['setg_36',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], - ['setglyphcount_37',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], - ['setglyphpadding_38',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], - ['setglyphs_39',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], - ['setgravity_40',['SetGravity',['../classraylib_1_1_physics.html#ab3c2e951985d4b08520f441c3d7d1864',1,'raylib::Physics']]], - ['setheight_41',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], - ['sethit_42',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], - ['seticon_43',['SetIcon',['../classraylib_1_1_window.html#adb4f1c464cb2274d8d22123965ac2239',1,'raylib::Window']]], - ['setid_44',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()']]], - ['setindices_45',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], - ['setlocs_46',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], - ['setlooping_47',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], - ['setm0_48',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], - ['setm1_49',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], - ['setm10_50',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], - ['setm11_51',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], - ['setm12_52',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], - ['setm13_53',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], - ['setm14_54',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], - ['setm15_55',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], - ['setm2_56',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], - ['setm3_57',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], - ['setm4_58',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], - ['setm5_59',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], - ['setm6_60',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], - ['setm7_61',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], - ['setm8_62',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], - ['setm9_63',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], - ['setmaps_64',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], - ['setmaterial_65',['SetMaterial',['../classraylib_1_1_texture.html#a88fc32d98a2e998cb58830f7e2256018',1,'raylib::Texture::SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)'],['../classraylib_1_1_texture.html#a9f2380b14a27928be3e7580a92fa8baf',1,'raylib::Texture::SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)']]], - ['setmaterialcount_66',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], - ['setmaterials_67',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], - ['setmax_68',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], - ['setmeshcount_69',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], - ['setmeshes_70',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], - ['setmeshmaterial_71',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#a615470971725d77d9252325017cb84f7',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], - ['setmin_72',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], - ['setminsize_73',['SetMinSize',['../classraylib_1_1_window.html#af4bbbbbe9a241c7fda7d3ee4a72cbf2d',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#a4ffe8d15136a9cca7ffc8cb66886e2a6',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], - ['setmipmaps_74',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], - ['setmode_75',['SetMode',['../classraylib_1_1_camera3_d.html#a60bdd6bd9c6b7294350d60e495454d73',1,'raylib::Camera3D']]], - ['setmonitor_76',['SetMonitor',['../classraylib_1_1_window.html#a4433c8726840fd2909da8437b7b3e007',1,'raylib::Window']]], - ['setmovecontrols_77',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a7b6ea87fe4de834303c03ca62eaf73b9',1,'raylib::Camera3D']]], - ['setnormal_78',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], - ['setnormals_79',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], - ['setnumber_80',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], - ['setoffset_81',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D::SetOffset()'],['../classraylib_1_1_mouse.html#a76cbe35c2741c70e5d9c9a4d4421b5fd',1,'raylib::Mouse::SetOffset(int offsetX=0, int offsetY=0)'],['../classraylib_1_1_mouse.html#a6d5ed867bb4da81d2b37bb1037e7a00d',1,'raylib::Mouse::SetOffset(::Vector2 offset)']]], - ['setpitch_82',['SetPitch',['../classraylib_1_1_audio_stream.html#a13ebfc6323dd52a529c652b50d981160',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#ac7d93b598afe32228f3e416d23f64a89',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#af54f9f9a0f850b7011a4302a92d61c87',1,'raylib::Sound::SetPitch()']]], - ['setposition_83',['SetPosition',['../classraylib_1_1_window.html#a96cd2f516efcab92927bf582b6fe754d',1,'raylib::Window::SetPosition()'],['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_mouse.html#af15947500da7d3aa95b3894576d6ea3d',1,'raylib::Mouse::SetPosition(int x, int y)'],['../classraylib_1_1_mouse.html#aa90576871793eb5f292e0eaa01f8a970',1,'raylib::Mouse::SetPosition(::Vector2 position)'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_rectangle.html#a512e9d32b02e9a55f7bf6d3b90ca4e7e',1,'raylib::Rectangle::SetPosition(float newX, float newY)'],['../classraylib_1_1_rectangle.html#a18647e222a3f11064cb9a6dfb18fe7c8',1,'raylib::Rectangle::SetPosition(const ::Vector2 &position)'],['../classraylib_1_1_window.html#a22162747a663a0e6ba5d644b28069020',1,'raylib::Window::SetPosition()']]], - ['setprojection_84',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], - ['setr_85',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], - ['setrecs_86',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], - ['setrotation_87',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], - ['setsamplerate_88',['SetSampleRate',['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate()'],['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()']]], - ['setsamplesize_89',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], - ['setscale_90',['SetScale',['../classraylib_1_1_mouse.html#a0bc3ff2888f24896026738bdeee3e314',1,'raylib::Mouse::SetScale(float scaleX=1.0f, float scaleY=1.0f)'],['../classraylib_1_1_mouse.html#a65892041af52bb64c80131f61832b274',1,'raylib::Mouse::SetScale(::Vector2 scale)']]], - ['setshader_91',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], - ['setshadervalue_92',['SetShaderValue',['../classraylib_1_1_matrix.html#a27776d3613da7c134136b25d227f358b',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#a3989a497ef1cd0d070d67220c0de4f69',1,'raylib::Texture::SetShaderValue(const ::Shader &shader, int locIndex)']]], - ['setshapes_93',['SetShapes',['../classraylib_1_1_texture.html#ab6443678ebab7d2c78b0bdfb7f37e16f',1,'raylib::Texture']]], - ['setshapestexture_94',['SetShapesTexture',['../classraylib_1_1_rectangle.html#aff8f63a27bab16c9bff78f137d3d7923',1,'raylib::Rectangle']]], - ['setsize_95',['SetSize',['../classraylib_1_1_rectangle.html#a92bae52ae8d3b79dae9f811fca30a7b2',1,'raylib::Rectangle::SetSize(float newWidth, float newHeight)'],['../classraylib_1_1_rectangle.html#acb7e80dbb24e3005980ecf4d1f52ddae',1,'raylib::Rectangle::SetSize(const ::Vector2 &size)'],['../classraylib_1_1_window.html#a81f8680331de7345546070d54643b781',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_window.html#a38c6f9d69df4ffb7a0a5dbf7f3da7023',1,'raylib::Window::SetSize(const ::Vector2 &size)']]], - ['setsmoothzoomcontrol_96',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#aab26a4c99183b18ec9c714b98b0688cb',1,'raylib::Camera3D']]], - ['setspacing_97',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], - ['setstate_98',['SetState',['../classraylib_1_1_window.html#a403f3d3d41bc642f9536cab91630ca75',1,'raylib::Window']]], - ['setstream_99',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], - ['settangents_100',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], - ['settarget_101',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], - ['settargetfps_102',['SetTargetFPS',['../classraylib_1_1_window.html#a7ca2dff3eeae227e0cc9d6b090fd7a3d',1,'raylib::Window']]], - ['settexcoords_103',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], - ['settexcoords2_104',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], - ['settext_105',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], - ['settexture_106',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a4fa16a50972c555434b31c2511d02493',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], - ['settimestep_107',['SetTimeStep',['../classraylib_1_1_physics.html#ad6c385b11a461c2138c581393bbabf44',1,'raylib::Physics']]], - ['settitle_108',['SetTitle',['../classraylib_1_1_window.html#a43d26141e2460add21aec360a20ddbed',1,'raylib::Window']]], - ['settransform_109',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], - ['settrianglecount_110',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], - ['setup_111',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], - ['setvalue_112',['SetValue',['../classraylib_1_1_shader.html#a0e256d9052c8f84141b8f576c8b7fb5e',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)'],['../classraylib_1_1_shader.html#acccfb8dc990cbef7641eab357b5af4ff',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#a9d6836497f8afa70a3066b8cc4203aa4',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a79e6cf8321eb55c142b2bda54555968b',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)']]], - ['setvaoid_113',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], - ['setvboid_114',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], - ['setvertexcount_115',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], - ['setvertices_116',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], - ['setvolume_117',['SetVolume',['../classraylib_1_1_audio_stream.html#a51894536c50841878536ed87c94ef9ca',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#a2a477ce696a4d6e0ba906aa45a9ac8f6',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_audio_device.html#a24fc065b613b6230e415d83194273d89',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_sound.html#a2818afd107521622a078b4a06cfbc918',1,'raylib::Sound::SetVolume()']]], - ['setw_118',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], - ['setwidth_119',['SetWidth',['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()']]], - ['setwindowtitle_120',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], - ['setwrap_121',['SetWrap',['../classraylib_1_1_texture.html#aa001be5e40701f5a6dc9c56fa7682eac',1,'raylib::Texture']]], - ['setx_122',['SetX',['../classraylib_1_1_mouse.html#a5aa814d46b8f02b923cb5a492aac8148',1,'raylib::Mouse::SetX()'],['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], - ['sety_123',['SetY',['../classraylib_1_1_mouse.html#a70fe1e1561aa9106799cfa5d98fe98cf',1,'raylib::Mouse::SetY()'],['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()']]], - ['setz_124',['SetZ',['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()'],['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()']]], - ['setzoom_125',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], - ['shader_126',['Shader',['../classraylib_1_1_shader.html',1,'raylib::Shader'],['../classraylib_1_1_shader.html#aebcf454f96bf29cbbfbe2801d4222e06',1,'raylib::Shader::Shader(unsigned int id, int *locs=nullptr)'],['../classraylib_1_1_shader.html#a68787ddef60edcd1d7f766fb28f8c880',1,'raylib::Shader::Shader(const std::string &vsFileName, const std::string &fsFileName)'],['../classraylib_1_1_shader.html#aea9fa53c3d5cb3e1e2501b25d1b937eb',1,'raylib::Shader::Shader(const char *vsFileName, const char *fsFileName)'],['../classraylib_1_1_shader.html#ae562fe95e5230f66c928beefff6f8619',1,'raylib::Shader::Shader(const Shader &)=delete'],['../classraylib_1_1_shader.html#af917f68b8618ba0cacd68f5870d4c704',1,'raylib::Shader::Shader(Shader &&other)'],['../classraylib_1_1_shader.html#a62e4f196016badbf10b34f9e628d66eb',1,'raylib::Shader::Shader(const ::Shader &shader)'],['../class_shader.html',1,'Shader']]], - ['shatter_127',['Shatter',['../classraylib_1_1_physics.html#a9a05e7f4aac933ff44a4a89c8674cd84',1,'raylib::Physics']]], - ['shouldclose_128',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], - ['skyblue_129',['SkyBlue',['../classraylib_1_1_color.html#ab630e67b888947c289a25a4a1000671f',1,'raylib::Color']]], - ['slerp_130',['Slerp',['../classraylib_1_1_vector4.html#ad74cf2c3cc806dda6ac299333dd7420b',1,'raylib::Vector4']]], - ['sound_131',['Sound',['../classraylib_1_1_sound.html',1,'raylib::Sound'],['../class_sound.html',1,'Sound'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)'],['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ab95375318685dbf1d03ff3489db0c9f0',1,'raylib::Sound::Sound(Sound &&other)'],['../classraylib_1_1_sound.html#acd90ba91564b3e381dc21829ba18c097',1,'raylib::Sound::Sound(::AudioStream stream, unsigned int frameCount)'],['../classraylib_1_1_sound.html#ab202d20657b5435283a6f85baaa79056',1,'raylib::Sound::Sound()'],['../classraylib_1_1_sound.html#a4c08c29d0590754fd5798bbb4df4f4bb',1,'raylib::Sound::Sound(const Sound &)=delete']]], - ['spacing_132',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]], - ['sphere_133',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], - ['stop_134',['Stop',['../classraylib_1_1_audio_stream.html#a0ebdf88ff0b76d024c7d49036cb0701f',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a5a6afb505504e57327ff345c6553f769',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#a1fd0c5ede427ba6797f7b1d295a15467',1,'raylib::Sound::Stop()']]], - ['stopmulti_135',['StopMulti',['../classraylib_1_1_sound.html#ab093bddebf4db7a2937063f063cfdb59',1,'raylib::Sound']]], - ['subtract_136',['Subtract',['../classraylib_1_1_matrix.html#a14f0b7960358e1dac0f745709e74ad67',1,'raylib::Matrix::Subtract()'],['../classraylib_1_1_vector2.html#a2203d35228a10defe410dec8d33017f9',1,'raylib::Vector2::Subtract()'],['../classraylib_1_1_vector3.html#af99d38f6a5f8100a91397a11994c9717',1,'raylib::Vector3::Subtract()']]] + ['takescreenshot_425',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], + ['text_426',['Text',['../classraylib_1_1_text.html',1,'raylib::Text'],['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text::text()'],['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)']]], + ['textfindindex_427',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], + ['textinsert_428',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], + ['textisequal_429',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], + ['textlength_430',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], + ['textreplace_431',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], + ['textsubtext_432',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], + ['texttointeger_433',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], + ['texttolower_434',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], + ['texttopascal_435',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], + ['texttoupper_436',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], + ['texture_437',['Texture',['../classraylib_1_1_texture.html',1,'raylib::Texture'],['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)']]], + ['togglefullscreen_438',['ToggleFullscreen',['../classraylib_1_1_window.html#a4f4e526ad3a1bfc3c133ff379d5f04d5',1,'raylib::Window']]], + ['tohsv_439',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], + ['toint_440',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], + ['topot_441',['ToPOT',['../classraylib_1_1_image.html#ae8c33add6a7f996a706f531231b8d996',1,'raylib::Image']]], + ['torus_442',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], + ['trace_443',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], + ['tracelog_444',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], + ['transpose_445',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] ]; diff --git a/docs/search/all_12.html b/docs/search/all_12.html index 9b9621cc..dd9ff1d5 100644 --- a/docs/search/all_12.html +++ b/docs/search/all_12.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_12.js b/docs/search/all_12.js index 59859be8..5b2f8542 100644 --- a/docs/search/all_12.js +++ b/docs/search/all_12.js @@ -1,36 +1,13 @@ var searchData= [ - ['takescreenshot_0',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], - ['text_1',['Text',['../classraylib_1_1_text.html',1,'raylib']]], - ['text_2',['text',['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text']]], - ['text_3',['Text',['../classraylib_1_1_image.html#a91744abc374f20b21f66549fcb4d5692',1,'raylib::Image::Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a31c3f86d7ab5dfbd618202a0a9c6156b',1,'raylib::Image::Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)']]], - ['textfindindex_4',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], - ['textinsert_5',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], - ['textisequal_6',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], - ['textlength_7',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], - ['textreplace_8',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], - ['textsubtext_9',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], - ['texttointeger_10',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], - ['texttolower_11',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], - ['texttopascal_12',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], - ['texttoupper_13',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], - ['texture_14',['Texture',['../classraylib_1_1_texture.html',1,'raylib::Texture'],['../classraylib_1_1_texture.html#a7988e6f875f2f613d449325acf9f74be',1,'raylib::Texture::Texture(Texture &&other)'],['../classraylib_1_1_texture.html#a58e78588be53fc00096d37019fef9134',1,'raylib::Texture::Texture(const Texture &)=delete'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../class_texture.html',1,'Texture']]], - ['texture2d_15',['Texture2D',['../namespaceraylib.html#acbfa8d0b01da4e378cebe24c50c2f55f',1,'raylib']]], - ['texturecubemap_16',['TextureCubemap',['../namespaceraylib.html#a31a94f5d187fbad00d1231541a1fe445',1,'raylib']]], - ['toaxisangle_17',['ToAxisAngle',['../classraylib_1_1_vector4.html#adae5284864f79d98fec6b17afad99986',1,'raylib::Vector4::ToAxisAngle(::Vector3 *outAxis, float *outAngle)'],['../classraylib_1_1_vector4.html#af8db6bdfea9975901bb4df2acfdb8361',1,'raylib::Vector4::ToAxisAngle()']]], - ['toeuler_18',['ToEuler',['../classraylib_1_1_vector4.html#a65730cc70476be33eb1e4daf33a0fd8d',1,'raylib::Vector4']]], - ['tofloatv_19',['ToFloatV',['../classraylib_1_1_matrix.html#a54f3ae730b3c5ca7da3522832fd2964d',1,'raylib::Matrix']]], - ['togglefullscreen_20',['ToggleFullscreen',['../classraylib_1_1_window.html#a06c1dd65d7f389a584e0440bef18838f',1,'raylib::Window']]], - ['tohsv_21',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], - ['toint_22',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], - ['tomatrix_23',['ToMatrix',['../classraylib_1_1_vector4.html#af04213c7901309ddb69521aad96678b2',1,'raylib::Vector4']]], - ['topot_24',['ToPOT',['../classraylib_1_1_image.html#a7783ade7b901c094bfb7049043880f27',1,'raylib::Image']]], - ['torectangle_25',['ToRectangle',['../classraylib_1_1_vector4.html#ad3a4a5db5d4644bbbe6f634c7c16f966',1,'raylib::Vector4']]], - ['torus_26',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], - ['tovector4_27',['ToVector4',['../classraylib_1_1_rectangle.html#a7f559c46f78bbbdf21c81e9db6b4fb64',1,'raylib::Rectangle']]], - ['trace_28',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], - ['tracelog_29',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], - ['transform_30',['Transform',['../classraylib_1_1_vector4.html#ad52462304fa03aed5904ea0b3ec8cd84',1,'raylib::Vector4::Transform()'],['../classraylib_1_1_vector3.html#a50c6b6a97a6f05b042c58b83564081e5',1,'raylib::Vector3::Transform()']]], - ['translate_31',['Translate',['../classraylib_1_1_matrix.html#a66c40986a01c21a5a1dd139ccf18ab28',1,'raylib::Matrix']]], - ['transpose_32',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] + ['unload_446',['Unload',['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()']]], + ['unloadcolors_447',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], + ['unloadkeepmeshes_448',['UnloadKeepMeshes',['../classraylib_1_1_model.html#a1f8233c28728eff2c4684cb8b4258cda',1,'raylib::Model']]], + ['unloadpalette_449',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], + ['unloadsamples_450',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], + ['update_451',['Update',['../classraylib_1_1_audio_stream.html#ac7aa320c506865cc88d60264549d23b0',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#a6a59671e1b7ed19c5b6566e700b625a7',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#aa5cf71119ac343985b5575be55475c05',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#a031bc82c19b51b29f5c507cacd9c2664',1,'raylib::Music::Update()'],['../classraylib_1_1_sound.html#acec4ed7b817a356a13a24691192da968',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#aa17ec450860a4b02d1fc717dcec278e5',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ad2be6ad3fbbff3141dc274b1b397902c',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#addb5534e675a196513976b21fa80f0a6',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], + ['updateanimation_452',['UpdateAnimation',['../classraylib_1_1_model.html#a6b2400a98189c50a0c01d9868f56c3e4',1,'raylib::Model']]], + ['updatebuffer_453',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], + ['updatecamera_454',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], + ['upload_455',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_13.html b/docs/search/all_13.html index 4acb7f91..2611a100 100644 --- a/docs/search/all_13.html +++ b/docs/search/all_13.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_13.js b/docs/search/all_13.js index f94b1183..7cd32eb9 100644 --- a/docs/search/all_13.js +++ b/docs/search/all_13.js @@ -1,13 +1,7 @@ var searchData= [ - ['unload_0',['Unload',['../classraylib_1_1_font.html#a626232061626ccd76870cf9d81e56ca5',1,'raylib::Font::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_render_texture.html#a56b0bb42ae5ef981404b0fc1b28c2ed9',1,'raylib::RenderTexture::Unload()'],['../classraylib_1_1_shader.html#a5d56815b3531966cee3e2bee8ecfa5a4',1,'raylib::Shader::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()'],['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()']]], - ['unloadcolors_1',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], - ['unloadkeepmeshes_2',['UnloadKeepMeshes',['../classraylib_1_1_model.html#aebafa7bdc74ccd5876c6574eae495722',1,'raylib::Model']]], - ['unloadpalette_3',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], - ['unloadsamples_4',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], - ['update_5',['Update',['../classraylib_1_1_audio_stream.html#af0aa29e7eb3fb305eaa224bd62402622',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#aacd0a082c65a9089e2a2bcf3c327cfe0',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#ae5453fb8380e1f8e608f4e1b807f2fba',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#adaa6e39c17c965fce04abbfee117eebc',1,'raylib::Music::Update()'],['../classraylib_1_1_physics.html#a65685532dc9ded1d67a2b9c75e29547c',1,'raylib::Physics::Update()'],['../classraylib_1_1_sound.html#aa18a9b3a41117311c093c528c6988ece',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#a92c0fe944c32ee7d614a903e58eeae3e',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ac20c8e10a88f3952f9d5a4e09d5ce5fb',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#a253099fa4469729cc3bca1c7cf7d3e93',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], - ['updateanimation_6',['UpdateAnimation',['../classraylib_1_1_model.html#abf25f0cbb2526d1a3eaef890f0dfcd88',1,'raylib::Model']]], - ['updatebuffer_7',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], - ['updatecamera_8',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], - ['upload_9',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] + ['vector2_456',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib']]], + ['vector3_457',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib']]], + ['vector4_458',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib']]], + ['vrstereoconfig_459',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib']]] ]; diff --git a/docs/search/all_14.html b/docs/search/all_14.html index abb790c0..72d12e90 100644 --- a/docs/search/all_14.html +++ b/docs/search/all_14.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_14.js b/docs/search/all_14.js index 02cf5d2d..5aa6d91d 100644 --- a/docs/search/all_14.js +++ b/docs/search/all_14.js @@ -1,8 +1,6 @@ var searchData= [ - ['vector2_0',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib::Vector2'],['../class_vector2.html',1,'Vector2'],['../classraylib_1_1_vector2.html#af37eed03c414b6d9d6e0139fe8e226ef',1,'raylib::Vector2::Vector2(const ::Vector2 &vec)'],['../classraylib_1_1_vector2.html#ab7445f9657fa71635a231f87b761975d',1,'raylib::Vector2::Vector2(float x, float y)'],['../classraylib_1_1_vector2.html#aafb7d3ca7aa016a90203c67f71ca4d33',1,'raylib::Vector2::Vector2(float x)'],['../classraylib_1_1_vector2.html#aeb25c40ed7302c7de9cc281e1e1e8109',1,'raylib::Vector2::Vector2()']]], - ['vector3_1',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib::Vector3'],['../classraylib_1_1_vector3.html#a111fc1d7cd09c6a10a05d3918e431c38',1,'raylib::Vector3::Vector3(float x, float y)'],['../classraylib_1_1_vector3.html#abf9e88a2959a105153cc6640e0fea4b5',1,'raylib::Vector3::Vector3(::Color color)'],['../classraylib_1_1_vector3.html#adad550f85023b399e2d736efdaaa8bbd',1,'raylib::Vector3::Vector3()'],['../classraylib_1_1_vector3.html#a5b6463f85404813d49cd95376e92ff56',1,'raylib::Vector3::Vector3(float x)'],['../classraylib_1_1_vector3.html#a3ab43e8992532e03b278e5315391e657',1,'raylib::Vector3::Vector3(float x, float y, float z)'],['../classraylib_1_1_vector3.html#a28f01bc9b06a7482caa86e84e7fe6fd6',1,'raylib::Vector3::Vector3(const ::Vector3 &vec)'],['../class_vector3.html',1,'Vector3']]], - ['vector4_2',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib::Vector4'],['../class_vector4.html',1,'Vector4'],['../classraylib_1_1_vector4.html#a35894d9424422dc7f4c59d6b99dc652d',1,'raylib::Vector4::Vector4(const ::Vector4 &vec)'],['../classraylib_1_1_vector4.html#a9111e43425e61eb7c7d22b5ff0cf57b6',1,'raylib::Vector4::Vector4(float x, float y, float z, float w)'],['../classraylib_1_1_vector4.html#a0aa651ea0c915ccf0007397c13a553b2',1,'raylib::Vector4::Vector4(float x, float y, float z)'],['../classraylib_1_1_vector4.html#acf017370db9f15af801e90cef97fe055',1,'raylib::Vector4::Vector4(float x, float y)'],['../classraylib_1_1_vector4.html#a7af3871a8ecd1138280e670d06ad4a75',1,'raylib::Vector4::Vector4(float x)'],['../classraylib_1_1_vector4.html#ad43ace9c5d2dba1a7aa4d71d9395834a',1,'raylib::Vector4::Vector4()'],['../classraylib_1_1_vector4.html#a4dc7917c7f0335ff55c87dc4ef7d7d1c',1,'raylib::Vector4::Vector4(::Rectangle rect)'],['../classraylib_1_1_vector4.html#aa9a25ed14de003e3611bc1801dbc90a9',1,'raylib::Vector4::Vector4(::Color color)']]], - ['violet_3',['Violet',['../classraylib_1_1_color.html#a33a800381c93a8a57900fa7d092a00cf',1,'raylib::Color']]], - ['vrstereoconfig_4',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib::VrStereoConfig'],['../class_vr_stereo_config.html',1,'VrStereoConfig'],['../classraylib_1_1_vr_stereo_config.html#a630225c95d54e50482f6455e13d4fc3b',1,'raylib::VrStereoConfig::VrStereoConfig()']]] + ['wave_460',['Wave',['../classraylib_1_1_wave.html',1,'raylib::Wave'],['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], + ['whitenoise_461',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], + ['window_462',['Window',['../classraylib_1_1_window.html',1,'raylib::Window'],['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window::Window()']]] ]; diff --git a/docs/search/all_15.html b/docs/search/all_15.html index 33e250bb..767aec36 100644 --- a/docs/search/all_15.html +++ b/docs/search/all_15.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_15.js b/docs/search/all_15.js index 48b5db94..b2fdcb11 100644 --- a/docs/search/all_15.js +++ b/docs/search/all_15.js @@ -1,7 +1,4 @@ var searchData= [ - ['wave_0',['Wave',['../classraylib_1_1_wave.html',1,'raylib::Wave'],['../class_wave.html',1,'Wave'],['../classraylib_1_1_wave.html#a4643a642d42434c4eb39c6888688d495',1,'raylib::Wave::Wave(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aa76ff3e113cace4453b683725159aae6',1,'raylib::Wave::Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)'],['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_wave.html#a3c59426e8ff3fff68abb532a1e785b1e',1,'raylib::Wave::Wave(const Wave &other)'],['../classraylib_1_1_wave.html#adae03cb2d443e6d868f38c7c8db14913',1,'raylib::Wave::Wave(Wave &&other)']]], - ['white_1',['White',['../classraylib_1_1_color.html#ac92b0a8cb0bfc268863553ff5a2af7fb',1,'raylib::Color']]], - ['whitenoise_2',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], - ['window_3',['Window',['../classraylib_1_1_window.html',1,'raylib::Window'],['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window::Window()']]] + ['zero_463',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2']]] ]; diff --git a/docs/search/all_16.html b/docs/search/all_16.html index de305d99..7bd7afe6 100644 --- a/docs/search/all_16.html +++ b/docs/search/all_16.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_16.js b/docs/search/all_16.js index 9c1af64e..5371f6cf 100644 --- a/docs/search/all_16.js +++ b/docs/search/all_16.js @@ -1,4 +1,8 @@ var searchData= [ - ['yellow_0',['Yellow',['../classraylib_1_1_color.html#a3e7a0f02d796ca9b8845023c7fd0dbf5',1,'raylib::Color']]] + ['_7eaudiodevice_464',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], + ['_7emusic_465',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], + ['_7evrstereoconfig_466',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], + ['_7ewave_467',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], + ['_7ewindow_468',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] ]; diff --git a/docs/search/all_2.html b/docs/search/all_2.html index 259dde4f..b26d9165 100644 --- a/docs/search/all_2.html +++ b/docs/search/all_2.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_2.js b/docs/search/all_2.js index 4a5ad3ea..ef1e20ac 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -1,35 +1,27 @@ var searchData= [ - ['camera_0',['Camera',['../namespaceraylib.html#a44fa75f4522455fb2231d9950c40d629',1,'raylib']]], - ['camera2d_1',['Camera2D',['../class_camera2_d.html',1,'Camera2D'],['../classraylib_1_1_camera2_d.html#a05e4b432a014c69d68d37c643073c709',1,'raylib::Camera2D::Camera2D(const ::Camera2D &camera)'],['../classraylib_1_1_camera2_d.html#a2038c9432fdae18a744f9dd395da30bf',1,'raylib::Camera2D::Camera2D()'],['../classraylib_1_1_camera2_d.html#ade6e4f7d7a0bb165e65c0a08ae09e742',1,'raylib::Camera2D::Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)'],['../classraylib_1_1_camera2_d.html',1,'raylib::Camera2D']]], - ['camera3d_2',['Camera3D',['../class_camera3_d.html',1,'Camera3D'],['../classraylib_1_1_camera3_d.html#a8ec807581f3610db4830f6ff5c96d1dd',1,'raylib::Camera3D::Camera3D(const ::Camera3D &camera)'],['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D::Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)'],['../classraylib_1_1_camera3_d.html#a79f19d069575d1c0f825ecb188e961fc',1,'raylib::Camera3D::Camera3D()'],['../classraylib_1_1_camera3_d.html',1,'raylib::Camera3D']]], - ['cellular_3',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], - ['changedirectory_4',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], - ['checkcollision_5',['CheckCollision',['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()'],['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision()']]], - ['checkcollisioncircle_6',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], - ['checkcollisionlines_7',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], - ['checkcollisionsphere_8',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], - ['checked_9',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], - ['clearbackground_10',['ClearBackground',['../classraylib_1_1_color.html#ae84cc25e0c83510324e0d30104255cdf',1,'raylib::Color::ClearBackground()'],['../classraylib_1_1_image.html#a7ddf59bd35617f3d99401b0fc8246c3d',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a734279b5494096d11fe0aad66d6fb3e6',1,'raylib::Window::ClearBackground(const ::Color &color=BLACK)']]], - ['clearstate_11',['ClearState',['../classraylib_1_1_window.html#a2cd6268d95ce7e3eb8edf3205305e6f3',1,'raylib::Window']]], - ['close_12',['Close',['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_physics.html#a00177830e684f2a584b8a5df3ada3b51',1,'raylib::Physics::Close()'],['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()']]], - ['color_13',['Color',['../class_color.html',1,'']]], - ['color_14',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]], - ['color_15',['Color',['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ab0221dcd700b9a6add471cbceb718ac6',1,'raylib::Color::Color(const ::Color &color)'],['../classraylib_1_1_color.html#ab6c57e01798eb39092b260e7c6c008ac',1,'raylib::Color::Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)'],['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html',1,'raylib::Color']]], - ['colorbrightness_16',['ColorBrightness',['../classraylib_1_1_image.html#a6d873ebdfb0e09bdb5bb3d46a0b878fd',1,'raylib::Image']]], - ['colorcontrast_17',['ColorContrast',['../classraylib_1_1_image.html#a07972575734563011c88b2c5a09a22f0',1,'raylib::Image']]], - ['colorfromnormalized_18',['ColorFromNormalized',['../classraylib_1_1_vector4.html#a6bdbffc997711e3b3876dace2471b1bb',1,'raylib::Vector4']]], - ['colorgrayscale_19',['ColorGrayscale',['../classraylib_1_1_image.html#a601db6a18ae9716277214ee07e40f44e',1,'raylib::Image']]], - ['colorinvert_20',['ColorInvert',['../classraylib_1_1_image.html#ab610da4948f86f690d75bdbbcbc67ab0',1,'raylib::Image']]], - ['colorreplace_21',['ColorReplace',['../classraylib_1_1_image.html#ace6497a285c946bd131f1e45c23ec966',1,'raylib::Image']]], - ['colortint_22',['ColorTint',['../classraylib_1_1_image.html#a18715953b31aae0da740326464964845',1,'raylib::Image']]], - ['copy_23',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], - ['createbodycircle_24',['CreateBodyCircle',['../classraylib_1_1_physics.html#a436c99fb21784b33ed039a713b927023',1,'raylib::Physics']]], - ['createbodypolygon_25',['CreateBodyPolygon',['../classraylib_1_1_physics.html#a9cbab4c8c8682f30924e4f7e85d37482',1,'raylib::Physics']]], - ['createbodyrectangle_26',['CreateBodyRectangle',['../classraylib_1_1_physics.html#aca1bd6e53ddbf8c64a3225ce32f1c3cc',1,'raylib::Physics']]], - ['crop_27',['Crop',['../classraylib_1_1_image.html#ad28fbb3b6078e0a276e1e95b5b875437',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#abccdbbebbf450929a36146ae89cbf5ec',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#af9b7c45dca84edf6eccd6c5064948c2e',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a80e74811dd3ac0c5fe8fba160ccd6cda',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a560f8d9b0669a7660406a849d4e26e66',1,'raylib::Wave::Crop()']]], - ['crossproduct_28',['CrossProduct',['../classraylib_1_1_vector3.html#a9f30fdbf652bcd0f5883937bdac79973',1,'raylib::Vector3']]], - ['cube_29',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], - ['cubicmap_30',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], - ['cylinder_31',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] + ['camera2d_12',['Camera2D',['../classraylib_1_1_camera2_d.html',1,'raylib']]], + ['camera3d_13',['Camera3D',['../classraylib_1_1_camera3_d.html',1,'raylib::Camera3D'],['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D::Camera3D()']]], + ['cellular_14',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], + ['changedirectory_15',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], + ['checkcollision_16',['CheckCollision',['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision(const ::BoundingBox &box2) const'],['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()']]], + ['checkcollisioncircle_17',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], + ['checkcollisionlines_18',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], + ['checkcollisionsphere_19',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], + ['checked_20',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], + ['clearbackground_21',['ClearBackground',['../classraylib_1_1_color.html#ace467f20d71ff4af44e0211d6aeea9b5',1,'raylib::Color::ClearBackground()'],['../classraylib_1_1_image.html#aed48d37124df81191a9c10a417508703',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a69eb249831f1976ce2a73945e31c6f52',1,'raylib::Window::ClearBackground()']]], + ['clearstate_22',['ClearState',['../classraylib_1_1_window.html#a359e2101ac13e8ee8423b3ffb27c8a42',1,'raylib::Window']]], + ['close_23',['Close',['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()']]], + ['color_24',['Color',['../classraylib_1_1_color.html',1,'raylib::Color'],['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text::color()'],['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()']]], + ['colorbrightness_25',['ColorBrightness',['../classraylib_1_1_image.html#a2e6287edda71ed977b4b416e04b0f37f',1,'raylib::Image']]], + ['colorcontrast_26',['ColorContrast',['../classraylib_1_1_image.html#af00dca9570581bb75e0616e9a9f9b822',1,'raylib::Image']]], + ['colorgrayscale_27',['ColorGrayscale',['../classraylib_1_1_image.html#a2eae93c88197917b6706139f2c3c6dc2',1,'raylib::Image']]], + ['colorinvert_28',['ColorInvert',['../classraylib_1_1_image.html#af7f900b20bb8823c2c435673438dfbbd',1,'raylib::Image']]], + ['colorreplace_29',['ColorReplace',['../classraylib_1_1_image.html#af9d668a5feaed2554a77694f61cbdae0',1,'raylib::Image']]], + ['colortint_30',['ColorTint',['../classraylib_1_1_image.html#a0299b8ed8b569977d214ce265d3a5c93',1,'raylib::Image']]], + ['copy_31',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], + ['crop_32',['Crop',['../classraylib_1_1_image.html#a50a7394e9662bf4f587cd73c5d594cee',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#a1ac865ee24df3dab2afa028c49843590',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#a2fdfad958c27f8cc590b194b06338e2d',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a24323ef52da6113c3af4861ce0250ea0',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a25601c51a2f81c569b074620c6758e94',1,'raylib::Wave::Crop()']]], + ['cube_33',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], + ['cubicmap_34',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], + ['cylinder_35',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_3.html b/docs/search/all_3.html index 1e60c949..b61b96f8 100644 --- a/docs/search/all_3.html +++ b/docs/search/all_3.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_3.js b/docs/search/all_3.js index 8af544b4..eb0408c4 100644 --- a/docs/search/all_3.js +++ b/docs/search/all_3.js @@ -1,49 +1,19 @@ var searchData= [ - ['darkblue_0',['DarkBlue',['../classraylib_1_1_color.html#aaa36d9ed5825ea9ae6795e18038f602c',1,'raylib::Color']]], - ['darkbrown_1',['DarkBrown',['../classraylib_1_1_color.html#a039f0f5467102ffb543109e534c032bd',1,'raylib::Color']]], - ['darkgray_2',['DarkGray',['../classraylib_1_1_color.html#a862ca7295e95d4783d17538203f8ea3b',1,'raylib::Color']]], - ['darkgreen_3',['DarkGreen',['../classraylib_1_1_color.html#a35a96f8b49a63537fc3b8ab98bb3bc53',1,'raylib::Color']]], - ['darkpurple_4',['DarkPurple',['../classraylib_1_1_color.html#ab8c0bf2dac476d593a1b13a22f436486',1,'raylib::Color']]], - ['destroybody_5',['DestroyBody',['../classraylib_1_1_physics.html#a7bae4d018888a1b52e6f94cf7101b964',1,'raylib::Physics']]], - ['directoryexists_6',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], - ['distance_7',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2::Distance()'],['../classraylib_1_1_vector3.html#ad4c5a6a278eeae5371e45a14bad4a7d1',1,'raylib::Vector3::Distance()']]], - ['dither_8',['Dither',['../classraylib_1_1_image.html#a09eb4388e24a7a3c9a3b7d6c280c5652',1,'raylib::Image']]], - ['divide_9',['Divide',['../classraylib_1_1_vector2.html#a6cd160434801eeadfbbc5deec8b20e21',1,'raylib::Vector2::Divide(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#afed61e067c7fc43651cc1528e62ecd83',1,'raylib::Vector2::Divide(const float div) const'],['../classraylib_1_1_vector3.html#a93595f9db4555c26eadb2c0370ca1435',1,'raylib::Vector3::Divide(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a9f644e6c306ae5cf3a68c3f4900ef9e6',1,'raylib::Vector3::Divide(const float div) const']]], - ['dotproduct_10',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2::DotProduct()'],['../classraylib_1_1_vector3.html#ad5ed567a46fa3b08f77e9a05338d2214',1,'raylib::Vector3::DotProduct()']]], - ['draw_11',['Draw',['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw()'],['../classraylib_1_1_texture.html#af6b9ac35ebf354033cc06ee14a7e6a3f',1,'raylib::Texture::Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a79a54d908bbf6726c5d3a921dba0d616',1,'raylib::Texture::Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#aaf4ed8f0418a53d00ded3795ee251128',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ad48b00a0fc6c99d327d0c877e20201fc',1,'raylib::Texture::Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a3665f89c111fa1631e535bc4e61f54b0',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ae5f6f8fb2f11557307663ee99438a1c0',1,'raylib::Texture::Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a2e04bf6c219eb6ebe1341a01f621d067',1,'raylib::Texture::Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a01f12372505ce5c5d1a0bbe1c65d694c',1,'raylib::Texture::Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_bounding_box.html#a85e385b01a3736d58b90370181f4a25d',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw()'],['../classraylib_1_1_rectangle.html#ab7e1811729d9e6e1249cdb609b1ca708',1,'raylib::Rectangle::Draw(::Vector2 origin, float rotation, ::Color color)'],['../classraylib_1_1_rectangle.html#abce328ccb910b789837bb8ceea853eab',1,'raylib::Rectangle::Draw(::Color color)'],['../classraylib_1_1_ray.html#a4048e3ce9306133b8823d3f4066e8b33',1,'raylib::Ray::Draw()'],['../classraylib_1_1_model.html#a6ec5ae6feae25b78afd39ac0ae87f3bf',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#ad76a70cac2237c3e435606f94378e482',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_image.html#a024eeed4c94a73595d1f842f7e2664ca',1,'raylib::Image::Draw()'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw()']]], - ['drawbillboard_12',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a19e03b4f8eb63e21c988dcb15aba0049',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#aa4b970e07fe839d0a5f549411232243c',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], - ['drawcircle_13',['DrawCircle',['../classraylib_1_1_vector2.html#a16b512d0fead59f597fd878e620e83cc',1,'raylib::Vector2::DrawCircle()'],['../classraylib_1_1_image.html#a2fc76ab2cf7bae0217d01bb06bb1f6a0',1,'raylib::Image::DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#afb42558709adf2c7d2f87261381e944c',1,'raylib::Image::DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})']]], - ['drawcircle3d_14',['DrawCircle3D',['../classraylib_1_1_vector3.html#aebaf47cab425aedbcb51f3e659dd6651',1,'raylib::Vector3']]], - ['drawcube_15',['DrawCube',['../classraylib_1_1_vector3.html#a8e2e73ad510a38d0e54098817cd44e06',1,'raylib::Vector3::DrawCube(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#ac94d3f679b33dafe86f65f6eda901d6f',1,'raylib::Vector3::DrawCube(const ::Vector3 &size, ::Color color)']]], - ['drawcubetexture_16',['DrawCubeTexture',['../classraylib_1_1_vector3.html#a518280d8efae9b3f32b11ce481c90f6c',1,'raylib::Vector3']]], - ['drawcubewires_17',['DrawCubeWires',['../classraylib_1_1_vector3.html#a57d3400cb17fe30e3c8df1f92a7a666a',1,'raylib::Vector3::DrawCubeWires(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#a61c5da9cd105142f99566726d3874fd5',1,'raylib::Vector3::DrawCubeWires(const ::Vector3 &size, ::Color color)']]], - ['drawcylinder_18',['DrawCylinder',['../classraylib_1_1_vector3.html#a7fd3f80620c2b0a1a00bf10f21cd1417',1,'raylib::Vector3']]], - ['drawcylinderwires_19',['DrawCylinderWires',['../classraylib_1_1_vector3.html#ae4c1ed7bd96f879f272fa3a35baf84b7',1,'raylib::Vector3']]], - ['drawfps_20',['DrawFPS',['../classraylib_1_1_window.html#ab961dfef8fbec984bf9e94e0a01488d4',1,'raylib::Window']]], - ['drawgradient_21',['DrawGradient',['../classraylib_1_1_rectangle.html#a91f16cb0155770dce5a243696c7133de',1,'raylib::Rectangle']]], - ['drawgradienth_22',['DrawGradientH',['../classraylib_1_1_rectangle.html#a7214778babdc04f084485b4e6bb49960',1,'raylib::Rectangle']]], - ['drawgradientv_23',['DrawGradientV',['../classraylib_1_1_rectangle.html#a608a8127089b86675754550f3de8d8ff',1,'raylib::Rectangle']]], - ['drawline_24',['DrawLine',['../classraylib_1_1_color.html#a64c1ccc93aaf5ab30b831d61f9e596bb',1,'raylib::Color::DrawLine()'],['../classraylib_1_1_vector2.html#a2a5f918b46cfe5cdc53549dcad1737b6',1,'raylib::Vector2::DrawLine(::Vector2 endPos, float thick, ::Color color)'],['../classraylib_1_1_vector2.html#ae50cce093de0fa8d1c59867f20fd93fd',1,'raylib::Vector2::DrawLine(::Vector2 endPos, ::Color color)'],['../classraylib_1_1_image.html#ac774b77412eb0e1a8746ea5a7f135ff7',1,'raylib::Image::DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#abb9270b51e9b524be868ed1e41c47206',1,'raylib::Image::DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a3c3329d71a380e4975824c86ab47fc3d',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos)'],['../classraylib_1_1_color.html#a31cb01e3e863db20ff5db8167a7d0645',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)']]], - ['drawline3d_25',['DrawLine3D',['../classraylib_1_1_vector3.html#ac0ecd225214ee0916c4bb8b94663b9e8',1,'raylib::Vector3']]], - ['drawlinebezier_26',['DrawLineBezier',['../classraylib_1_1_color.html#a7b18fbaa004f3dc3c07f88e6c136c7ec',1,'raylib::Color::DrawLineBezier()'],['../classraylib_1_1_vector2.html#ae358d57eb09dea4b55c135e28d7c444f',1,'raylib::Vector2::DrawLineBezier(::Vector2 endPos, float thick, ::Color color)']]], - ['drawlinebezierquad_27',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a010ec44d07aabfad8814995d7883eda6',1,'raylib::Vector2']]], - ['drawlines_28',['DrawLines',['../classraylib_1_1_rectangle.html#aa2a27862a187321a4ebf42803570f030',1,'raylib::Rectangle::DrawLines(::Color color)'],['../classraylib_1_1_rectangle.html#acc73b3b7db8de38e6ff740f084a02ded',1,'raylib::Rectangle::DrawLines(::Color color, float lineThick)']]], - ['drawlinestrip_29',['DrawLineStrip',['../classraylib_1_1_color.html#a055c8c6241107d615f6e1e700b2b1aff',1,'raylib::Color']]], - ['drawmesh_30',['DrawMesh',['../classraylib_1_1_material.html#abc4ed480bca168f2aef7326fbb13507c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a42e260d925663777cf3cc3f201ddc8dd',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], - ['drawpixel_31',['DrawPixel',['../classraylib_1_1_image.html#a5e7a421dd9677313caedd35693c814da',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_vector2.html#a3089910c36033d2a876f9650849323a7',1,'raylib::Vector2::DrawPixel()'],['../classraylib_1_1_image.html#afae542a1dfa09cfb01aba062ff1aa8fe',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_color.html#aab05b1d70b027f90a8c5a4c55f2d0a28',1,'raylib::Color::DrawPixel(::Vector2 pos)'],['../classraylib_1_1_color.html#af0f2bae5883697ddc2b07762f838a855',1,'raylib::Color::DrawPixel(int x, int y)']]], - ['drawplane_32',['DrawPlane',['../classraylib_1_1_vector3.html#a2f530ead1069bf375401680ee4378563',1,'raylib::Vector3']]], - ['drawpoint3d_33',['DrawPoint3D',['../classraylib_1_1_vector3.html#abfeb64fa51e67e88bb5889eb8680a090',1,'raylib::Vector3']]], - ['drawpoly_34',['DrawPoly',['../classraylib_1_1_texture.html#a2e3b0f8d689de56d005c512d80f867a4',1,'raylib::Texture::DrawPoly()'],['../classraylib_1_1_vector2.html#ab670cd5ea7625cf3dd3672579de94d2a',1,'raylib::Vector2::DrawPoly(int sides, float radius, float rotation, ::Color color)']]], - ['drawrectangle_35',['DrawRectangle',['../classraylib_1_1_vector2.html#af512e0dad4631def86cf85363f96db3b',1,'raylib::Vector2::DrawRectangle()'],['../classraylib_1_1_image.html#a49e42e4c74bbefb3063bb35a7997a350',1,'raylib::Image::DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0ab135ece09e3d39d784ad09806ff9ff',1,'raylib::Image::DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a59da76c14ee59edf6539d221ae119246',1,'raylib::Color::DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)'],['../classraylib_1_1_color.html#a65ee3de078230377435d861dc1f10fc2',1,'raylib::Color::DrawRectangle(::Rectangle rec)'],['../classraylib_1_1_color.html#af75f37960f7ace789d04bb4bdf069e30',1,'raylib::Color::DrawRectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_image.html#a3dd535220c663341712c2707aac65dd4',1,'raylib::Image::DrawRectangle()'],['../classraylib_1_1_color.html#a5596fcd6409294829c0638c54638da10',1,'raylib::Color::DrawRectangle(int posX, int posY, int width, int height)']]], - ['drawrectanglelines_36',['DrawRectangleLines',['../classraylib_1_1_color.html#aabca38cee8e5788168eb4aa956a16c19',1,'raylib::Color::DrawRectangleLines(int posX, int posY, int width, int height)'],['../classraylib_1_1_color.html#aeae8501be8cb2b5ecd7f30c661fc89ce',1,'raylib::Color::DrawRectangleLines(::Rectangle rec, float lineThick)'],['../classraylib_1_1_image.html#aa3157e7fa12140eaf9c2d304b55985db',1,'raylib::Image::DrawRectangleLines()']]], - ['drawrounded_37',['DrawRounded',['../classraylib_1_1_rectangle.html#a9619f4bc272398fab7f5c86b2892b048',1,'raylib::Rectangle']]], - ['drawroundedlines_38',['DrawRoundedLines',['../classraylib_1_1_rectangle.html#aab8c6c6bd1dbc9c87565dbb3f2711ef1',1,'raylib::Rectangle']]], - ['drawsphere_39',['DrawSphere',['../classraylib_1_1_vector3.html#a0119b7cf3aa61592d70359138a19fe86',1,'raylib::Vector3::DrawSphere(float radius, ::Color color)'],['../classraylib_1_1_vector3.html#a33a5693fc2002b329c7a9d4d27a47366',1,'raylib::Vector3::DrawSphere(float radius, int rings, int slices, ::Color color)']]], - ['drawspherewires_40',['DrawSphereWires',['../classraylib_1_1_vector3.html#a30bb3389ffcd2cc3fa93df19d6350d7c',1,'raylib::Vector3']]], - ['drawtext_41',['DrawText',['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()'],['../classraylib_1_1_color.html#a060f07ce766143cfb243eefe1333052c',1,'raylib::Color::DrawText()'],['../classraylib_1_1_image.html#aa97958266300e98b83fcc936f1f6c6eb',1,'raylib::Image::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a11eeb4d77ac9f5ec0327160745d27670',1,'raylib::Image::DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a9a8b22ee61fd3f5f4fa2ac0f059e7d8a',1,'raylib::Image::DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_font.html#abf655ac8083416f713aae42a0b6a7ebc',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../classraylib_1_1_font.html#add919de80266984a0e6edd9ed7a369ef',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a405b1ea5719be1635ce1d8c285b808a4',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_color.html#ac67590e345ada0349145795e080275f1',1,'raylib::Color::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)'],['../classraylib_1_1_color.html#ab3e313480ab7b00435f12188d04027df',1,'raylib::Color::DrawText(const std::string &text, int posX, int posY, int fontSize)']]], - ['drawtextex_42',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], - ['drawtextpro_43',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], - ['drawtiled_44',['DrawTiled',['../classraylib_1_1_texture.html#a5cbd367a4a418284c834926bff6e2fb0',1,'raylib::Texture']]], - ['drawwires_45',['DrawWires',['../classraylib_1_1_model.html#afb936c1fac4ee684b616083f473f3977',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a84f36042c82f27eafd5467537aad99d6',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] + ['directoryexists_36',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], + ['distance_37',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2']]], + ['dither_38',['Dither',['../classraylib_1_1_image.html#a055b6908b9e8cfcd109abc537f3d2056',1,'raylib::Image']]], + ['dotproduct_39',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2']]], + ['draw_40',['Draw',['../classraylib_1_1_bounding_box.html#aae0a66351992f36372ef68a6d4508c62',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_model.html#a99e9a5432ab7a4cbd502d6cbcb7cb0e8',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a1dca1f974cbecc203ac9da8b5fa11127',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_ray.html#a84586f1f5ce6627b1d0224fad287787b',1,'raylib::Ray::Draw()'],['../classraylib_1_1_rectangle.html#a3b886508162b32e034314111532d8f20',1,'raylib::Rectangle::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw(const ::Vector2 &position)'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_texture.html#a4110ec2a26c4c31da63fe89d2ed0eb79',1,'raylib::Texture::Draw()']]], + ['drawbillboard_41',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a5cbf6986fba9deb41fecf4076ac7c61f',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#a566e1b8a56edad8de93236d07f024f5e',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], + ['drawcircle_42',['DrawCircle',['../classraylib_1_1_vector2.html#ad13e3d98cc06a835db9dc605b090b15c',1,'raylib::Vector2']]], + ['drawfps_43',['DrawFPS',['../classraylib_1_1_window.html#a3e183210f1afec78af9aebd4a0749d56',1,'raylib::Window']]], + ['drawline_44',['DrawLine',['../classraylib_1_1_color.html#ab3a3237688396c1768034d553d2f1cde',1,'raylib::Color']]], + ['drawlinebezierquad_45',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a75ad1e5906da8eb4ab23c12748b431cb',1,'raylib::Vector2']]], + ['drawmesh_46',['DrawMesh',['../classraylib_1_1_material.html#a5a2b58f57b8229fdda68caea9aec1108',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a4c5fb1460ec6e7e95b2750da86cc0c1c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], + ['drawpixel_47',['DrawPixel',['../classraylib_1_1_color.html#a28cd68c3548a019b36538d0a92fe2099',1,'raylib::Color::DrawPixel()'],['../classraylib_1_1_image.html#a6b0b903a298f55a692bb80da79030696',1,'raylib::Image::DrawPixel()']]], + ['drawtext_48',['DrawText',['../classraylib_1_1_font.html#ac3edd0d0ff79509e4e7144d2a111d704',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a1a3c668905d6769fdf3d8f341520926c',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()']]], + ['drawtextex_49',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], + ['drawtextpro_50',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], + ['drawwires_51',['DrawWires',['../classraylib_1_1_model.html#a0a2beeb4e4776202dd441ccb5d1550fe',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a7b61d8a179220f2a507bcbab2c660949',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] ]; diff --git a/docs/search/all_4.html b/docs/search/all_4.html index 08f1aede..06de1550 100644 --- a/docs/search/all_4.html +++ b/docs/search/all_4.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_4.js b/docs/search/all_4.js index 5fb1c3d0..19b1abd5 100644 --- a/docs/search/all_4.js +++ b/docs/search/all_4.js @@ -1,9 +1,9 @@ var searchData= [ - ['enddrawing_0',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a8804e60e9db545d7701f44093b02e14f',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#abc2674cb9309548d27da7b114ff709c7',1,'raylib::Window::EndDrawing()']]], - ['endmode_1',['EndMode',['../classraylib_1_1_camera2_d.html#a1ed1e6b78525562b480e8f2d2a0e11a5',1,'raylib::Camera2D::EndMode()'],['../classraylib_1_1_camera3_d.html#a37fbcad2f93a9a578b75b49fc44523fe',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a745032e86cd391ddf110a1e40ba3415f',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a7fe1ea1fc973002033abbaf149499eb6',1,'raylib::Shader::EndMode()']]], - ['export_2',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], - ['exportascode_3',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], - ['exportimage_4',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], - ['exportimageascode_5',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] + ['enddrawing_52',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a330f5b215ee77c138d75a304fdd8e705',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#a43bfc69dfce6ec3aaf1170f521243d59',1,'raylib::Window::EndDrawing()']]], + ['endmode_53',['EndMode',['../classraylib_1_1_camera3_d.html#a724b766ec42ff58243a353e07fd464e8',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a2b742cd39ce046d2ac8e1cd0bb6ae4ff',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a525c31d5a7482bc89e41f03d1284b9f7',1,'raylib::Shader::EndMode()']]], + ['export_54',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], + ['exportascode_55',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], + ['exportimage_56',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], + ['exportimageascode_57',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] ]; diff --git a/docs/search/all_5.html b/docs/search/all_5.html index 0d85fcc8..2544c4e5 100644 --- a/docs/search/all_5.html +++ b/docs/search/all_5.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_5.js b/docs/search/all_5.js index 5ba1e451..133badf0 100644 --- a/docs/search/all_5.js +++ b/docs/search/all_5.js @@ -1,19 +1,12 @@ var searchData= [ - ['fade_0',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], - ['fileexists_1',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], - ['fliphorizontal_2',['FlipHorizontal',['../classraylib_1_1_image.html#a6f0c8963620c97353ebb660b87168445',1,'raylib::Image']]], - ['flipvertical_3',['FlipVertical',['../classraylib_1_1_image.html#a8ec02e007282448332c09a3db487d2d4',1,'raylib::Image']]], - ['font_4',['Font',['../classraylib_1_1_font.html#afde2bd6bb51a7fe6fa02f4d9be73087f',1,'raylib::Font']]], - ['font_5',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], - ['font_6',['Font',['../class_font.html',1,'Font'],['../classraylib_1_1_font.html#a075661783e8267f508e285d6ce39e959',1,'raylib::Font::Font(const Font &)=delete'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a53f097120183d34ad5474989a450bf43',1,'raylib::Font::Font(const ::Font &font)'],['../classraylib_1_1_font.html#a583656ce94c5ade2bf4a47717f767764',1,'raylib::Font::Font()'],['../classraylib_1_1_font.html#a748d8c50e914b82a1ad9ef1aea17cda3',1,'raylib::Font::Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html',1,'raylib::Font']]], - ['fontsize_7',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]], - ['format_8',['Format',['../classraylib_1_1_image.html#a97c4715d7b9b9e9d34a31123e1141c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a704d264e7f5e60a782510d49b78ddd5d',1,'raylib::Wave::Format()']]], - ['fromaxisangle_9',['FromAxisAngle',['../classraylib_1_1_vector4.html#a7b19708f1d8f0e4056fc1050768bb831',1,'raylib::Vector4']]], - ['fromeuler_10',['FromEuler',['../classraylib_1_1_vector4.html#af0ef6849109ce23736572ac55854f693',1,'raylib::Vector4::FromEuler(const float yaw, const float pitch, const float roll)'],['../classraylib_1_1_vector4.html#a0fda15f29e8c5bd3d3170eddf332592e',1,'raylib::Vector4::FromEuler(const ::Vector3 &vector3)']]], - ['fromhsv_11',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], - ['fromimage_12',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]], - ['frommatrix_13',['FromMatrix',['../classraylib_1_1_vector4.html#aba134afd1e66d71cfa68ca020cb3ce2c',1,'raylib::Vector4']]], - ['fromvector3tovector3_14',['FromVector3ToVector3',['../classraylib_1_1_vector4.html#aab5725e573a60315acd1f733316af2ea',1,'raylib::Vector4']]], - ['frustum_15',['Frustum',['../classraylib_1_1_matrix.html#ad2fc693fb8c61fe3615217332be79506',1,'raylib::Matrix']]] + ['fade_58',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], + ['fileexists_59',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], + ['fliphorizontal_60',['FlipHorizontal',['../classraylib_1_1_image.html#a5d8f596d36077f4b8c24512a2df73e65',1,'raylib::Image']]], + ['flipvertical_61',['FlipVertical',['../classraylib_1_1_image.html#a0f052c63b3cebcf99c0cad86c8e88da4',1,'raylib::Image']]], + ['font_62',['Font',['../classraylib_1_1_font.html',1,'raylib::Font'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text::font()']]], + ['fontsize_63',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]], + ['format_64',['Format',['../classraylib_1_1_image.html#a01fcff59e33e044bd779202ea3473c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a4e6d2e64e6cdd46133893c9edd70b508',1,'raylib::Wave::Format()']]], + ['fromhsv_65',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], + ['fromimage_66',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]] ]; diff --git a/docs/search/all_6.html b/docs/search/all_6.html index 7e088b86..43f14eab 100644 --- a/docs/search/all_6.html +++ b/docs/search/all_6.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_6.js b/docs/search/all_6.js index 633f6c4c..4e65ce91 100644 --- a/docs/search/all_6.js +++ b/docs/search/all_6.js @@ -1,151 +1,142 @@ var searchData= [ - ['gamepad_0',['Gamepad',['../classraylib_1_1_gamepad.html#a21fe706b843ce2196f52c1c08ea0d92a',1,'raylib::Gamepad::Gamepad()'],['../classraylib_1_1_gamepad.html',1,'raylib::Gamepad']]], - ['genbinormals_1',['GenBinormals',['../classraylib_1_1_mesh.html#abead0f83947250a690ed3df9cc7e7ee6',1,'raylib::Mesh']]], - ['genmipmaps_2',['GenMipmaps',['../classraylib_1_1_texture.html#a933b56221e7ca9056c71c948b0fb04ae',1,'raylib::Texture']]], - ['gentangents_3',['GenTangents',['../classraylib_1_1_mesh.html#ad1124e959bb502bf73bbcbed1dad9ad9',1,'raylib::Mesh']]], - ['geta_4',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], - ['getalphaborder_5',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], - ['getanimnormals_6',['GetAnimNormals',['../classraylib_1_1_mesh.html#a50ce721e9b1776b7bca8e08bd98604dc',1,'raylib::Mesh']]], - ['getanimvertices_7',['GetAnimVertices',['../classraylib_1_1_mesh.html#aa839d41a65c2d76fa09be53705817979',1,'raylib::Mesh']]], - ['getaxiscount_8',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], - ['getaxismovement_9',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], - ['getb_10',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], - ['getbasesize_11',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], - ['getbindpoe_12',['GetBindPoe',['../classraylib_1_1_model.html#a2aa6c3849f23fe94e69af1565dd96b1f',1,'raylib::Model']]], - ['getbodiescount_13',['GetBodiesCount',['../classraylib_1_1_physics.html#aff7aed721273fb7e990974dbc9854974',1,'raylib::Physics']]], - ['getbody_14',['GetBody',['../classraylib_1_1_physics.html#ac0d23dc143aec4b2aac7570ecaa34e55',1,'raylib::Physics']]], - ['getbonecount_15',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], - ['getboneids_16',['GetBoneIds',['../classraylib_1_1_mesh.html#a61ef493999c906f55dd04c542aff5894',1,'raylib::Mesh']]], - ['getbones_17',['GetBones',['../classraylib_1_1_model.html#a90c2b91bce426a38c66dbda8b555db18',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#a9b577b0132525d55cbfc56870d907db8',1,'raylib::ModelAnimation::GetBones()']]], - ['getboneweights_18',['GetBoneWeights',['../classraylib_1_1_mesh.html#a77ba8f4f2e6f8aafb6af33f8cee96398',1,'raylib::Mesh']]], - ['getboundingbox_19',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], - ['getbuffer_20',['GetBuffer',['../classraylib_1_1_audio_stream.html#adbd0270efa40ecaced9116691ed95cdc',1,'raylib::AudioStream']]], - ['getbuttonpressed_21',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], - ['getchannels_22',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], - ['getclipboardtext_23',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], - ['getcollision_24',['GetCollision',['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision()'],['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const']]], - ['getcolor_25',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], - ['getcolors_26',['GetColors',['../classraylib_1_1_mesh.html#aca15b603e89c773a69126c2cabbc55a4',1,'raylib::Mesh']]], - ['getctxdata_27',['GetCtxData',['../classraylib_1_1_music.html#afa92e527b59433013946179183811a01',1,'raylib::Music']]], - ['getctxtype_28',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], - ['getdata_29',['GetData',['../classraylib_1_1_image.html#a6771d46a70533daa89e7368501099141',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a12e779194c87960a97e0fe759cc2eb80',1,'raylib::Wave::GetData()']]], - ['getdepth_30',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], - ['getdirection_31',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], - ['getdirectoryfiles_32',['GetDirectoryFiles',['../namespaceraylib.html#a5fbfb157d027ca5175b19470fb7738ea',1,'raylib']]], - ['getdirectorypath_33',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], - ['getdistance_34',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], - ['getdroppedfiles_35',['GetDroppedFiles',['../namespaceraylib.html#a06a812d32296cfd0b9f3229205f16fc8',1,'raylib']]], - ['getfileextension_36',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], - ['getfilemodtime_37',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], - ['getfilename_38',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], - ['getfilenamewithoutext_39',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], - ['getfont_40',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], - ['getfontsize_41',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], - ['getformat_42',['GetFormat',['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()'],['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()']]], - ['getfovy_43',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], - ['getfps_44',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], - ['getframecount_45',['GetFrameCount',['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount() const']]], - ['getframeposes_46',['GetFramePoses',['../classraylib_1_1_model_animation.html#ae23086ee73abc10aab2d75c3684e2402',1,'raylib::ModelAnimation']]], - ['getframetime_47',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], - ['getg_48',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], - ['getgamepadname_49',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], - ['getglyphcount_50',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], - ['getglyphindex_51',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], - ['getglyphpadding_52',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], - ['getglyphs_53',['GetGlyphs',['../classraylib_1_1_font.html#ac972978ae2c9eeae6e8eb84c7862fdbf',1,'raylib::Font']]], - ['gethandle_54',['GetHandle',['../classraylib_1_1_window.html#aff32da7f61b1e8ec87e54409dbbe66c7',1,'raylib::Window']]], - ['getheight_55',['GetHeight',['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()'],['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()']]], - ['gethit_56',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], - ['getid_57',['GetId',['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()']]], - ['getindices_58',['GetIndices',['../classraylib_1_1_mesh.html#aed7d37f4951f455623dbe5fc08a9ed1c',1,'raylib::Mesh']]], - ['getlocation_59',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], - ['getlocationattrib_60',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], - ['getlocs_61',['GetLocs',['../classraylib_1_1_shader.html#ae1320733f66a5288a2e4e91da045adcb',1,'raylib::Shader']]], - ['getlooping_62',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], - ['getm0_63',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], - ['getm1_64',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], - ['getm10_65',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], - ['getm11_66',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], - ['getm12_67',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], - ['getm13_68',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], - ['getm14_69',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], - ['getm15_70',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], - ['getm2_71',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], - ['getm3_72',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], - ['getm4_73',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], - ['getm5_74',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], - ['getm6_75',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], - ['getm7_76',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], - ['getm8_77',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], - ['getm9_78',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], - ['getmaps_79',['GetMaps',['../classraylib_1_1_material.html#a7de1717cae99b3db55de5ec822dc3502',1,'raylib::Material']]], - ['getmaterialcount_80',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], - ['getmaterials_81',['GetMaterials',['../classraylib_1_1_model.html#a3749f55279612012c8b5bf9d9e1b55e6',1,'raylib::Model']]], - ['getmatrix_82',['GetMatrix',['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()'],['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()']]], - ['getmax_83',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], - ['getmeshcount_84',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], - ['getmeshes_85',['GetMeshes',['../classraylib_1_1_model.html#a92191bd818f34c892ee7f7d15be04fd2',1,'raylib::Model']]], - ['getmeshmaterial_86',['GetMeshMaterial',['../classraylib_1_1_model.html#a1bf446b9e12f82d4c6a3676bfe5e69fa',1,'raylib::Model']]], - ['getmin_87',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], - ['getmipmaps_88',['GetMipmaps',['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()'],['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()']]], - ['getmonitorname_89',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], - ['getmouseray_90',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], - ['getname_91',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], - ['getnormal_92',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], - ['getnormals_93',['GetNormals',['../classraylib_1_1_mesh.html#a5fbfc965b4498a86ae972c093b3540ec',1,'raylib::Mesh']]], - ['getnumber_94',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], - ['getoffset_95',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], - ['getpixeldatasize_96',['GetPixelDataSize',['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)'],['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const']]], - ['getposition_97',['GetPosition',['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()'],['../classraylib_1_1_rectangle.html#aa7d683a593af23288bf41a96fc051486',1,'raylib::Rectangle::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_mouse.html#aecac52e620b5de23251a6ec7fc96babf',1,'raylib::Mouse::GetPosition()'],['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()']]], - ['getprevdirectorypath_98',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], - ['getprojection_99',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], - ['getr_100',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], - ['getrecs_101',['GetRecs',['../classraylib_1_1_font.html#a2cf2de21c55bb097a8b6b008ca1330e1',1,'raylib::Font']]], - ['getrotation_102',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], - ['getsamplerate_103',['GetSampleRate',['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate()'],['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()']]], - ['getsamplesize_104',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], - ['getscaledpi_105',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], - ['getscreentoworld_106',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], - ['getshader_107',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], - ['getshapetype_108',['GetShapeType',['../classraylib_1_1_physics.html#ab317acc20d9cf36c110672a4c6ae7390',1,'raylib::Physics']]], - ['getshapevertex_109',['GetShapeVertex',['../classraylib_1_1_physics.html#a899af94cbe7a5c4709993c9ab9638192',1,'raylib::Physics']]], - ['getshapeverticescount_110',['GetShapeVerticesCount',['../classraylib_1_1_physics.html#a9ff5c0328462f0976dbef73b75978079',1,'raylib::Physics']]], - ['getsize_111',['GetSize',['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()'],['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()'],['../classraylib_1_1_rectangle.html#ae5092e0caaf7bf89780da03968e48ea5',1,'raylib::Rectangle::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()']]], - ['getspacing_112',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], - ['getstream_113',['GetStream',['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()'],['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()']]], - ['gettangents_114',['GetTangents',['../classraylib_1_1_mesh.html#abd7f280c54169fdbac494bf2612a1f06',1,'raylib::Mesh']]], - ['gettarget_115',['GetTarget',['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()'],['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()']]], - ['gettexcoords_116',['GetTexCoords',['../classraylib_1_1_mesh.html#a08b480ec18769800b4dcefebbcd825af',1,'raylib::Mesh']]], - ['gettexcoords2_117',['GetTexCoords2',['../classraylib_1_1_mesh.html#a8806e52f188cd319ebefdc6044d85462',1,'raylib::Mesh']]], - ['gettext_118',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], - ['gettexture_119',['GetTexture',['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()'],['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()']]], - ['gettime_120',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], - ['gettimelength_121',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], - ['gettimeplayed_122',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], - ['gettouchposition_123',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], - ['gettouchx_124',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], - ['gettouchy_125',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], - ['gettransform_126',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], - ['gettrianglecount_127',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], - ['getup_128',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], - ['getvaoid_129',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], - ['getvboid_130',['GetVboId',['../classraylib_1_1_mesh.html#ac43cf6e1ca74430fa7a258692974fc26',1,'raylib::Mesh']]], - ['getvertexcount_131',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], - ['getvertices_132',['GetVertices',['../classraylib_1_1_mesh.html#a84360d9c5767872d8fdfbf05d7355c61',1,'raylib::Mesh']]], - ['getw_133',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], - ['getwheelmove_134',['GetWheelMove',['../classraylib_1_1_mouse.html#afb094f45ac8964ae24e068af0595eea9',1,'raylib::Mouse']]], - ['getwidth_135',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], - ['getworkingdirectory_136',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], - ['getworldtoscreen_137',['GetWorldToScreen',['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()'],['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()']]], - ['getx_138',['GetX',['../classraylib_1_1_mouse.html#a0277ae88bc16d5c92821a46782c81a83',1,'raylib::Mouse::GetX()'],['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], - ['gety_139',['GetY',['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_mouse.html#a0d2eec7fca435ae35809305a1bb5e92e',1,'raylib::Mouse::GetY()'],['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY() const']]], - ['getz_140',['GetZ',['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()'],['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()']]], - ['getzoom_141',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], - ['gold_142',['Gold',['../classraylib_1_1_color.html#ae6bbd8683085506173a48e5fdeccb57a',1,'raylib::Color']]], - ['gradienth_143',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], - ['gradientradial_144',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], - ['gradientv_145',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]], - ['gray_146',['Gray',['../classraylib_1_1_color.html#aa24ed6bbb02c861b38b6a423dbe902e1',1,'raylib::Color']]], - ['green_147',['Green',['../classraylib_1_1_color.html#a35c7c0acf332be287b697e6a6a23ccb4',1,'raylib::Color']]] + ['gamepad_67',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]], + ['genbinormals_68',['GenBinormals',['../classraylib_1_1_mesh.html#a03d6628373c096452cbfafafca166d21',1,'raylib::Mesh']]], + ['genmipmaps_69',['GenMipmaps',['../classraylib_1_1_texture.html#a2f895f3a629cf1a74fe88d05b1dd3003',1,'raylib::Texture']]], + ['gentangents_70',['GenTangents',['../classraylib_1_1_mesh.html#a2c4f31c3ddb8ef351c8fc3a8301497c2',1,'raylib::Mesh']]], + ['geta_71',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], + ['getalphaborder_72',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], + ['getanimnormals_73',['GetAnimNormals',['../classraylib_1_1_mesh.html#a853c2afc08600c3e9e256d1eb805dded',1,'raylib::Mesh']]], + ['getanimvertices_74',['GetAnimVertices',['../classraylib_1_1_mesh.html#a38f5de9866c13b05b49b936a03b17201',1,'raylib::Mesh']]], + ['getaxiscount_75',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], + ['getaxismovement_76',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], + ['getb_77',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], + ['getbasesize_78',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], + ['getbindpoe_79',['GetBindPoe',['../classraylib_1_1_model.html#a73bac18d76533acd39ed4e5917c84d96',1,'raylib::Model']]], + ['getbonecount_80',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], + ['getboneids_81',['GetBoneIds',['../classraylib_1_1_mesh.html#a6e29e78cfa20a16e46cb77de8c4031c7',1,'raylib::Mesh']]], + ['getbones_82',['GetBones',['../classraylib_1_1_model.html#ab944580c06987114068ae16d2b1ac34e',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#aec9078358dfd2a87e580db69d8f7b325',1,'raylib::ModelAnimation::GetBones()']]], + ['getboneweights_83',['GetBoneWeights',['../classraylib_1_1_mesh.html#a0127c2cf9efa4e369fd3f71c326049b1',1,'raylib::Mesh']]], + ['getboundingbox_84',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], + ['getbuffer_85',['GetBuffer',['../classraylib_1_1_audio_stream.html#adea73b3b07652eb26bcaeb6e63f7ebb2',1,'raylib::AudioStream']]], + ['getbuttonpressed_86',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], + ['getchannels_87',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], + ['getclipboardtext_88',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], + ['getcollision_89',['GetCollision',['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()']]], + ['getcolor_90',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], + ['getcolors_91',['GetColors',['../classraylib_1_1_mesh.html#a142e31381d248fbcdeeef46fd1f208ed',1,'raylib::Mesh']]], + ['getctxdata_92',['GetCtxData',['../classraylib_1_1_music.html#a349420428960e47afd4c69499b62eeac',1,'raylib::Music']]], + ['getctxtype_93',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], + ['getdata_94',['GetData',['../classraylib_1_1_image.html#a3144e343f963e5b206e1050be54b4187',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a8e7edd178a2ec7dc11f2474b29771d90',1,'raylib::Wave::GetData()']]], + ['getdepth_95',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], + ['getdirection_96',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], + ['getdirectoryfiles_97',['GetDirectoryFiles',['../namespaceraylib.html#a0933e9ed540a0fd6bbde88fe7f61b223',1,'raylib']]], + ['getdirectorypath_98',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], + ['getdistance_99',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], + ['getdroppedfiles_100',['GetDroppedFiles',['../namespaceraylib.html#a0d0c5876ab96ec845f92474f51c2677c',1,'raylib']]], + ['getfileextension_101',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], + ['getfilemodtime_102',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], + ['getfilename_103',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], + ['getfilenamewithoutext_104',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], + ['getfont_105',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], + ['getfontsize_106',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], + ['getformat_107',['GetFormat',['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()'],['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()']]], + ['getfovy_108',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], + ['getfps_109',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], + ['getframecount_110',['GetFrameCount',['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()']]], + ['getframeposes_111',['GetFramePoses',['../classraylib_1_1_model_animation.html#a63616ed03e2ca3e1dbe4337de5189ec7',1,'raylib::ModelAnimation']]], + ['getframetime_112',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], + ['getg_113',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], + ['getgamepadname_114',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], + ['getglyphcount_115',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], + ['getglyphindex_116',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], + ['getglyphpadding_117',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], + ['getglyphs_118',['GetGlyphs',['../classraylib_1_1_font.html#a741aa157ac264e77613794818e2fdbe1',1,'raylib::Font']]], + ['gethandle_119',['GetHandle',['../classraylib_1_1_window.html#a0cc3f939a42ba3d625d43096b2e1e60b',1,'raylib::Window']]], + ['getheight_120',['GetHeight',['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()'],['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()']]], + ['gethit_121',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], + ['getid_122',['GetId',['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()']]], + ['getindices_123',['GetIndices',['../classraylib_1_1_mesh.html#a1a48eb931c6c910f0fb524d2c49ed183',1,'raylib::Mesh']]], + ['getlocation_124',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], + ['getlocationattrib_125',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], + ['getlocs_126',['GetLocs',['../classraylib_1_1_shader.html#a552106b906d353d97538e43ed2265bd0',1,'raylib::Shader']]], + ['getlooping_127',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], + ['getm0_128',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], + ['getm1_129',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], + ['getm10_130',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], + ['getm11_131',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], + ['getm12_132',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], + ['getm13_133',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], + ['getm14_134',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], + ['getm15_135',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], + ['getm2_136',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], + ['getm3_137',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], + ['getm4_138',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], + ['getm5_139',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], + ['getm6_140',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], + ['getm7_141',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], + ['getm8_142',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], + ['getm9_143',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], + ['getmaps_144',['GetMaps',['../classraylib_1_1_material.html#a561e81c743da576c866cfcec9bad8e53',1,'raylib::Material']]], + ['getmaterialcount_145',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], + ['getmaterials_146',['GetMaterials',['../classraylib_1_1_model.html#a649280afda23717aacce04ee652f601f',1,'raylib::Model']]], + ['getmatrix_147',['GetMatrix',['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()'],['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()']]], + ['getmax_148',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], + ['getmeshcount_149',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], + ['getmeshes_150',['GetMeshes',['../classraylib_1_1_model.html#a66b34f9913ac900b94a338be266f63ce',1,'raylib::Model']]], + ['getmeshmaterial_151',['GetMeshMaterial',['../classraylib_1_1_model.html#a65eb3d0fb0be3d9ba7539df410885045',1,'raylib::Model']]], + ['getmin_152',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], + ['getmipmaps_153',['GetMipmaps',['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()'],['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()']]], + ['getmonitorname_154',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], + ['getmouseray_155',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], + ['getname_156',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], + ['getnormal_157',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], + ['getnormals_158',['GetNormals',['../classraylib_1_1_mesh.html#a0fcc7bca9b9419a0d8e3d59666082edc',1,'raylib::Mesh']]], + ['getnumber_159',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], + ['getoffset_160',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], + ['getpixeldatasize_161',['GetPixelDataSize',['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)'],['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const']]], + ['getposition_162',['GetPosition',['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()']]], + ['getprevdirectorypath_163',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], + ['getprojection_164',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], + ['getr_165',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], + ['getrecs_166',['GetRecs',['../classraylib_1_1_font.html#a396cae69c0d0c46bf76fc3879d5219e1',1,'raylib::Font']]], + ['getrotation_167',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], + ['getsamplerate_168',['GetSampleRate',['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate()'],['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()']]], + ['getsamplesize_169',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], + ['getscaledpi_170',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], + ['getscreentoworld_171',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], + ['getshader_172',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], + ['getsize_173',['GetSize',['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()'],['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()']]], + ['getspacing_174',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], + ['getstream_175',['GetStream',['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()'],['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()']]], + ['gettangents_176',['GetTangents',['../classraylib_1_1_mesh.html#aa87bf017b9ea53e09230d128ffbb6a19',1,'raylib::Mesh']]], + ['gettarget_177',['GetTarget',['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()'],['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()']]], + ['gettexcoords_178',['GetTexCoords',['../classraylib_1_1_mesh.html#a3f81f280b53829deef1a37c4b5b5ca62',1,'raylib::Mesh']]], + ['gettexcoords2_179',['GetTexCoords2',['../classraylib_1_1_mesh.html#a30066599a6ce84274283fe59ddade320',1,'raylib::Mesh']]], + ['gettext_180',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], + ['gettexture_181',['GetTexture',['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()'],['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()']]], + ['gettime_182',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], + ['gettimelength_183',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], + ['gettimeplayed_184',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], + ['gettouchposition_185',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], + ['gettouchx_186',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], + ['gettouchy_187',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], + ['gettransform_188',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], + ['gettrianglecount_189',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], + ['getup_190',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], + ['getvaoid_191',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], + ['getvboid_192',['GetVboId',['../classraylib_1_1_mesh.html#ae535ee83038e5e79a9347c1196aff6b9',1,'raylib::Mesh']]], + ['getvertexcount_193',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], + ['getvertices_194',['GetVertices',['../classraylib_1_1_mesh.html#a3e0d13eece1fd47334117d316c777f4f',1,'raylib::Mesh']]], + ['getw_195',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], + ['getwidth_196',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], + ['getworkingdirectory_197',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], + ['getworldtoscreen_198',['GetWorldToScreen',['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()'],['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()']]], + ['getx_199',['GetX',['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], + ['gety_200',['GetY',['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY()']]], + ['getz_201',['GetZ',['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()'],['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()']]], + ['getzoom_202',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], + ['gradienth_203',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], + ['gradientradial_204',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], + ['gradientv_205',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]] ]; diff --git a/docs/search/all_7.html b/docs/search/all_7.html index d2b18254..af52f82a 100644 --- a/docs/search/all_7.html +++ b/docs/search/all_7.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_7.js b/docs/search/all_7.js index bca1fdb0..ab8955c7 100644 --- a/docs/search/all_7.js +++ b/docs/search/all_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['heightmap_0',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], - ['hemisphere_1',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] + ['heightmap_206',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], + ['hemisphere_207',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_8.html b/docs/search/all_8.html index f4e3a2aa..cf2b5df9 100644 --- a/docs/search/all_8.html +++ b/docs/search/all_8.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_8.js b/docs/search/all_8.js index d9d098ff..185ef8a1 100644 --- a/docs/search/all_8.js +++ b/docs/search/all_8.js @@ -1,28 +1,26 @@ var searchData= [ - ['identity_0',['Identity',['../classraylib_1_1_matrix.html#aaf701bdedb604e59c6f1592fa5255575',1,'raylib::Matrix::Identity()'],['../classraylib_1_1_vector4.html#a90ec6deb30c8bbe61d7a9c3d5a395766',1,'raylib::Vector4::Identity()']]], - ['image_1',['Image',['../classraylib_1_1_image.html#ab0defa3751d16450e913a637d5238a21',1,'raylib::Image::Image()'],['../class_image.html',1,'Image'],['../classraylib_1_1_image.html#a80cd5a94bf468d6cdff5ae24c1ede290',1,'raylib::Image::Image(const Image &other)'],['../classraylib_1_1_image.html#acc2b06286cd94c665ea061ea53eca8ad',1,'raylib::Image::Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0be7fea82da7d23d56b018d60ea9c071',1,'raylib::Image::Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a45cd806c41a46a56212d23fe4c70c8c1',1,'raylib::Image::Image(int width, int height, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#aea5e7f65035278d780ade1fff50b83f5',1,'raylib::Image::Image(const ::Image &image)'],['../classraylib_1_1_image.html#a38c789394d71d78f873405c739474578',1,'raylib::Image::Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html',1,'raylib::Image']]], - ['imagetext_2',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], - ['init_3',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_physics.html#a49b05856f79dd475228923160069714e',1,'raylib::Physics::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()']]], - ['initwindow_4',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], - ['invert_5',['Invert',['../classraylib_1_1_matrix.html#a9ad566c434998fe400a57a26a39c3708',1,'raylib::Matrix::Invert()'],['../classraylib_1_1_vector4.html#a93d816c446273c23963fcf92fbe5b9b0',1,'raylib::Vector4::Invert()']]], - ['isavailable_6',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], - ['isbuttondown_7',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], - ['isbuttonpressed_8',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed(int button)']]], - ['isbuttonreleased_9',['IsButtonReleased',['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()'],['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()']]], - ['isbuttonup_10',['IsButtonUp',['../classraylib_1_1_mouse.html#a798f845135681fffe637e62b832eaa86',1,'raylib::Mouse::IsButtonUp()'],['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad::IsButtonUp()']]], - ['iscursoronscreen_11',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], - ['isfileextension_12',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], - ['isfocused_13',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], - ['isfullscreen_14',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], - ['ishidden_15',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], - ['ismaximized_16',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], - ['isminimized_17',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], - ['ismodelanimationvalid_18',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], - ['isplaying_19',['IsPlaying',['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], - ['isprocessed_20',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], - ['isready_21',['IsReady',['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()']]], - ['isresized_22',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], - ['isstate_23',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], - ['isvalid_24',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] + ['image_208',['Image',['../classraylib_1_1_image.html',1,'raylib::Image'],['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)']]], + ['imagetext_209',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], + ['init_210',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()']]], + ['initwindow_211',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], + ['isavailable_212',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], + ['isbuttondown_213',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], + ['isbuttonpressed_214',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], + ['isbuttonreleased_215',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], + ['isbuttonup_216',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad']]], + ['iscursoronscreen_217',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], + ['isfileextension_218',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], + ['isfocused_219',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], + ['isfullscreen_220',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], + ['ishidden_221',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], + ['ismaximized_222',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], + ['isminimized_223',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], + ['ismodelanimationvalid_224',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], + ['isplaying_225',['IsPlaying',['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], + ['isprocessed_226',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], + ['isready_227',['IsReady',['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()']]], + ['isresized_228',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], + ['isstate_229',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], + ['isvalid_230',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] ]; diff --git a/docs/search/all_9.html b/docs/search/all_9.html index 89177a82..690785a5 100644 --- a/docs/search/all_9.html +++ b/docs/search/all_9.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_9.js b/docs/search/all_9.js index 89016151..3b71fcf8 100644 --- a/docs/search/all_9.js +++ b/docs/search/all_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['knot_0',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] + ['knot_231',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_a.html b/docs/search/all_a.html index 1f90b7a7..f2f3d3a3 100644 --- a/docs/search/all_a.html +++ b/docs/search/all_a.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_a.js b/docs/search/all_a.js index 50bbeff7..72282cd4 100644 --- a/docs/search/all_a.js +++ b/docs/search/all_a.js @@ -1,25 +1,22 @@ var searchData= [ - ['length_0',['Length',['../classraylib_1_1_vector3.html#a8a34da2f9489bb78d4862cdedd14cd5e',1,'raylib::Vector3::Length()'],['../classraylib_1_1_vector4.html#a8595e296feb4b4ecb2caccecd5bbef39',1,'raylib::Vector4::Length()'],['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2::Length() const']]], - ['lengthsqr_1',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], - ['lerp_2',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2::Lerp()'],['../classraylib_1_1_vector3.html#a81c113692317fc0eab01128c10f44373',1,'raylib::Vector3::Lerp()'],['../classraylib_1_1_vector4.html#a0ab98322e7425630c16fe296c667e37b',1,'raylib::Vector4::Lerp()']]], - ['lightgray_3',['LightGray',['../classraylib_1_1_color.html#adbb50ad15745dddeaa73d04f8b40ad35',1,'raylib::Color']]], - ['lime_4',['Lime',['../classraylib_1_1_color.html#adae7384969481494b66202b43ae2d43e',1,'raylib::Color']]], - ['load_5',['Load',['../classraylib_1_1_model_animation.html#a06b185d0fb36a7db952d4435061b7aff',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_font.html#ac5609b3df50ef4099b37b5d80c297046',1,'raylib::Font::Load(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#aae929ad00282f7fd0f527702039dd362',1,'raylib::Font::Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#a2209c224b1b1e6dd862f324114ddb54e',1,'raylib::Material::Load()']]], - ['loadcolors_6',['LoadColors',['../classraylib_1_1_image.html#ac28aa3fed310f06e5d24b8069d96c49c',1,'raylib::Image']]], - ['loadfiletext_7',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], - ['loadfont_8',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], - ['loadfontex_9',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], - ['loadfrommemory_10',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], - ['loadfromscreen_11',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], - ['loadimage_12',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], - ['loadimageanim_13',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], - ['loadimagefrommemory_14',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], - ['loadimageraw_15',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], - ['loadmodelfrom_16',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], - ['loadpalette_17',['LoadPalette',['../classraylib_1_1_image.html#a1a4ba0879090f03bcf29894244903d35',1,'raylib::Image']]], - ['loadsamples_18',['LoadSamples',['../classraylib_1_1_wave.html#a0ac42b450d90dee2ea471a0625b83bac',1,'raylib::Wave']]], - ['loadsound_19',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], - ['loadtexture_20',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]], - ['lookat_21',['LookAt',['../classraylib_1_1_matrix.html#a4eeb4cdf09fd97c38d990a27e894f6f1',1,'raylib::Matrix']]] + ['length_232',['Length',['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2']]], + ['lengthsqr_233',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], + ['lerp_234',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2']]], + ['load_235',['Load',['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#ac482f46142b5ecc9eea4206aced73e26',1,'raylib::Material::Load()'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_model_animation.html#ae743a3f4d87b6c904b2b4737851f0e21',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], + ['loadcolors_236',['LoadColors',['../classraylib_1_1_image.html#a6d338c20d5bd42e64dc7bc5227d4f8ac',1,'raylib::Image']]], + ['loadfiletext_237',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], + ['loadfont_238',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], + ['loadfontex_239',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], + ['loadfrommemory_240',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], + ['loadfromscreen_241',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], + ['loadimage_242',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], + ['loadimageanim_243',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], + ['loadimagefrommemory_244',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], + ['loadimageraw_245',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], + ['loadmodelfrom_246',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], + ['loadpalette_247',['LoadPalette',['../classraylib_1_1_image.html#a89f8e8272c2dfae8c3200572e43c051a',1,'raylib::Image']]], + ['loadsamples_248',['LoadSamples',['../classraylib_1_1_wave.html#ac42dd244534663a8fb1da305006c9f3a',1,'raylib::Wave']]], + ['loadsound_249',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], + ['loadtexture_250',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]] ]; diff --git a/docs/search/all_b.html b/docs/search/all_b.html index b7ad6e6d..14f34036 100644 --- a/docs/search/all_b.html +++ b/docs/search/all_b.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_b.js b/docs/search/all_b.js index 6b02843e..6320e733 100644 --- a/docs/search/all_b.js +++ b/docs/search/all_b.js @@ -1,22 +1,17 @@ var searchData= [ - ['magenta_0',['Magenta',['../classraylib_1_1_color.html#a5dca3460a1ebad5d2db36e4f2da019bb',1,'raylib::Color']]], - ['maroon_1',['Maroon',['../classraylib_1_1_color.html#a9400242f7e944453fadc1613507109ce',1,'raylib::Color']]], - ['material_2',['Material',['../classraylib_1_1_material.html#a71470d2ff92adb6e9e5e7c718f98fdaf',1,'raylib::Material::Material(const Material &)=delete'],['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material::Material()'],['../classraylib_1_1_material.html#ac5be24c3adc1fd6726c99c5c4eeb4a25',1,'raylib::Material::Material(const ::Material &material)'],['../class_material.html',1,'Material'],['../classraylib_1_1_material.html#af3e4a84bdac8d50ef78d934b5ad11852',1,'raylib::Material::Material()'],['../classraylib_1_1_material.html',1,'raylib::Material']]], - ['matrix_3',['Matrix',['../classraylib_1_1_matrix.html#aa8900ae52da619e68935c40568d46ed4',1,'raylib::Matrix::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)'],['../classraylib_1_1_matrix.html#a0d2462e10b715cad96be3871390186f9',1,'raylib::Matrix::Matrix(const ::Matrix &mat)'],['../class_matrix.html',1,'Matrix'],['../classraylib_1_1_matrix.html',1,'raylib::Matrix']]], - ['max_4',['Max',['../classraylib_1_1_vector3.html#a6000c34fb8a54d9e01f9b3e7da063bdd',1,'raylib::Vector3']]], - ['maximize_5',['Maximize',['../classraylib_1_1_window.html#a5790d951ff3adbc50e59b4051f104c90',1,'raylib::Window']]], - ['measure_6',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], - ['measureex_7',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], - ['measuretext_8',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], - ['mesh_9',['Mesh',['../class_mesh.html',1,'Mesh'],['../classraylib_1_1_mesh.html#a1b94f6f98a5b4308cfc15e0dd5fe792e',1,'raylib::Mesh::Mesh(const ::Mesh &mesh)'],['../classraylib_1_1_mesh.html#aba3a2211cbb514cb507ae0179407d072',1,'raylib::Mesh::Mesh(int vertexCount, int triangleCount)'],['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh::Mesh(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#a79ce0a2fa4f61795b3632330d29edac6',1,'raylib::Mesh::Mesh(Mesh &&other)'],['../classraylib_1_1_mesh.html',1,'raylib::Mesh']]], - ['min_10',['Min',['../classraylib_1_1_vector3.html#a6fae0923d50becfa10b9d347080fc360',1,'raylib::Vector3']]], - ['minimize_11',['Minimize',['../classraylib_1_1_window.html#adbd8e0a801211692125a12faba18a141',1,'raylib::Window']]], - ['mipmaps_12',['Mipmaps',['../classraylib_1_1_image.html#aaf467c8a8ab5da1887e978c12a3534d4',1,'raylib::Image']]], - ['model_13',['Model',['../classraylib_1_1_model.html#a97ff9579c923fd05b8de5fa102ad03bc',1,'raylib::Model::Model(const ::Mesh &mesh)'],['../classraylib_1_1_model.html#a982dbd1ae4182f9e83959493d0e9581b',1,'raylib::Model::Model(Model &&other)'],['../classraylib_1_1_model.html#ab12ca5ce75a7fde88ed6f6aa472d42a0',1,'raylib::Model::Model(const Model &)=delete'],['../classraylib_1_1_model.html#aa15ecaff51acb302ebd7058b920d9952',1,'raylib::Model::Model(const std::string &fileName)'],['../classraylib_1_1_model.html#a888e1cd7d4cd968c0f802515e9fd4dc7',1,'raylib::Model::Model(const ::Model &model)'],['../class_model.html',1,'Model'],['../classraylib_1_1_model.html',1,'raylib::Model']]], - ['modelanimation_14',['ModelAnimation',['../class_model_animation.html',1,'ModelAnimation'],['../classraylib_1_1_model_animation.html#a9029e1db807aa1d1cc3ff4f7a8ac87d5',1,'raylib::ModelAnimation::ModelAnimation(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#ad0bd91810295d01e922ec88ae560f18b',1,'raylib::ModelAnimation::ModelAnimation(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#aadd7f90b9f7c643b070b1c4d48b9aa6c',1,'raylib::ModelAnimation::ModelAnimation(ModelAnimation &&other)'],['../classraylib_1_1_model_animation.html',1,'raylib::ModelAnimation']]], - ['mouse_15',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], - ['movetowards_16',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], - ['multiply_17',['Multiply',['../classraylib_1_1_matrix.html#afbebf3211a8252b0433184357233aa19',1,'raylib::Matrix::Multiply()'],['../classraylib_1_1_vector4.html#acad897765f76443fbd64b5dceac94a2e',1,'raylib::Vector4::Multiply()'],['../classraylib_1_1_vector3.html#ad06dabf1a51260d6cbf3f4381ba15ab4',1,'raylib::Vector3::Multiply()'],['../classraylib_1_1_vector2.html#a8c89ca7656f8dee6e1cb4cfa29deb7ec',1,'raylib::Vector2::Multiply()']]], - ['music_18',['Music',['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a29f51d7e8e89df932a6c07bd0106a834',1,'raylib::Music::Music(const ::Music &music)'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_music.html#ae626afb93e3bbf3abd4410edbd316601',1,'raylib::Music::Music(const Music &)=delete'],['../classraylib_1_1_music.html#a8dc7537cc6ea86a77b0e7c71b708d08f',1,'raylib::Music::Music(Music &&other)'],['../class_music.html',1,'Music'],['../classraylib_1_1_music.html',1,'raylib::Music']]] + ['material_251',['Material',['../classraylib_1_1_material.html',1,'raylib::Material'],['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material::Material()']]], + ['matrix_252',['Matrix',['../classraylib_1_1_matrix.html',1,'raylib']]], + ['maximize_253',['Maximize',['../classraylib_1_1_window.html#aee89de600dcc7e645452b4d2f88d55e3',1,'raylib::Window']]], + ['measure_254',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], + ['measureex_255',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], + ['measuretext_256',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], + ['mesh_257',['Mesh',['../classraylib_1_1_mesh.html',1,'raylib::Mesh'],['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh::Mesh()']]], + ['minimize_258',['Minimize',['../classraylib_1_1_window.html#a16f54f039449dc45b57849811754ceae',1,'raylib::Window']]], + ['mipmaps_259',['Mipmaps',['../classraylib_1_1_image.html#aaf8f93e11186f0be62d68ae3f932435f',1,'raylib::Image']]], + ['model_260',['Model',['../classraylib_1_1_model.html',1,'raylib']]], + ['modelanimation_261',['ModelAnimation',['../classraylib_1_1_model_animation.html',1,'raylib']]], + ['mouse_262',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], + ['movetowards_263',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], + ['music_264',['Music',['../classraylib_1_1_music.html',1,'raylib::Music'],['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)']]] ]; diff --git a/docs/search/all_c.html b/docs/search/all_c.html index 829c9170..da60ab8d 100644 --- a/docs/search/all_c.html +++ b/docs/search/all_c.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_c.js b/docs/search/all_c.js index 1cc8c24e..10bdcd47 100644 --- a/docs/search/all_c.js +++ b/docs/search/all_c.js @@ -1,7 +1,4 @@ var searchData= [ - ['negate_0',['Negate',['../classraylib_1_1_vector2.html#a98ca288a85bd1643670a058138077587',1,'raylib::Vector2::Negate()'],['../classraylib_1_1_vector3.html#a475ed42613db507afa6f7fdcec14a25c',1,'raylib::Vector3::Negate()']]], - ['nlerp_1',['Nlerp',['../classraylib_1_1_vector4.html#aa38c1551be57c551a63a089bba0f2ee0',1,'raylib::Vector4']]], - ['normalize_2',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_matrix.html#a0ec68971d42b0ab8281e5e68f690dd5c',1,'raylib::Matrix::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()'],['../classraylib_1_1_vector3.html#a3bb4cba279bfbd545d550c4ddc35f66b',1,'raylib::Vector3::Normalize()'],['../classraylib_1_1_vector4.html#a89fc9589df53ce3d66a7c8862f1056f7',1,'raylib::Vector4::Normalize()']]], - ['number_3',['number',['../classraylib_1_1_gamepad.html#a66632b63f6edf508a980e9198f60a8f3',1,'raylib::Gamepad']]] + ['normalize_265',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()']]] ]; diff --git a/docs/search/all_d.html b/docs/search/all_d.html index d32b28eb..bc376fec 100644 --- a/docs/search/all_d.html +++ b/docs/search/all_d.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_d.js b/docs/search/all_d.js index aa28f454..ad909f88 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -1,31 +1,13 @@ var searchData= [ - ['boundingbox_0',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], - ['image_1',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], - ['model_2',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], - ['one_3',['One',['../classraylib_1_1_vector3.html#abffd5504ca7891659fc730b19dd5f495',1,'raylib::Vector3::One()'],['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2::One()']]], - ['openurl_4',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], - ['operator_20boundingbox_5',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], - ['operator_20color_6',['operator Color',['../classraylib_1_1_vector4.html#aed3d1810f67b55a9a0a1f8684b17bbea',1,'raylib::Vector4']]], - ['operator_20float16_7',['operator float16',['../classraylib_1_1_matrix.html#a63cce6502129548a9ab427efbf714a8b',1,'raylib::Matrix']]], - ['operator_20int_8',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color::operator int()'],['../classraylib_1_1_gamepad.html#ab735b8107395f0694baf4ef8bb92092d',1,'raylib::Gamepad::operator int()']]], - ['operator_21_3d_9',['operator!=',['../classraylib_1_1_matrix.html#a986d17b9ef939fcd441c9f0533a208bf',1,'raylib::Matrix::operator!=()'],['../classraylib_1_1_vector4.html#a1141de56267ab5abab10f1990d381185',1,'raylib::Vector4::operator!=()'],['../classraylib_1_1_vector2.html#aeb9bfa80b1e6161a7a85d8c8ebc73433',1,'raylib::Vector2::operator!=()'],['../classraylib_1_1_vector3.html#a18d3efa656a5cbb4abd64217b7817136',1,'raylib::Vector3::operator!=()']]], - ['operator_2a_10',['operator*',['../classraylib_1_1_matrix.html#aebc1bc9c255dbcf348aba9e2b58d72d4',1,'raylib::Matrix::operator*()'],['../classraylib_1_1_vector2.html#a9c1f9983b14d3ff4ba92ca0e041cb970',1,'raylib::Vector2::operator*(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#a23262c9825611dde85ac071fd442124d',1,'raylib::Vector2::operator*(const float scale) const'],['../classraylib_1_1_vector3.html#a21769cdf336ef366d4278d2120c35a9e',1,'raylib::Vector3::operator*(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a02de4f00f74c5abdacf1659f116f06e5',1,'raylib::Vector3::operator*(const float scale) const'],['../classraylib_1_1_vector4.html#aea629f0a0c2ec1213535b9ab14586533',1,'raylib::Vector4::operator*()']]], - ['operator_2a_3d_11',['operator*=',['../classraylib_1_1_vector2.html#ac7ecfe4c0909ee8fb01f0d94455de794',1,'raylib::Vector2::operator*=(const ::Vector2 &vector2)'],['../classraylib_1_1_vector2.html#a2b9e8013a103a568fdf0d526008aa805',1,'raylib::Vector2::operator*=(const float scale)'],['../classraylib_1_1_vector3.html#a2a2cc2e29121125cc85735ff49e12695',1,'raylib::Vector3::operator*=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a432cfa34603d549a8dc38e20c226eb71',1,'raylib::Vector3::operator*=(const float scale)']]], - ['operator_2b_12',['operator+',['../classraylib_1_1_matrix.html#ab149d4638f47cdd7aa2cad5b05b3977d',1,'raylib::Matrix::operator+()'],['../classraylib_1_1_vector2.html#a8df80afec50063657ce67c2072839c5a',1,'raylib::Vector2::operator+()'],['../classraylib_1_1_vector3.html#a4564e8aa7532966eed679cd730c39c36',1,'raylib::Vector3::operator+()']]], - ['operator_2b_3d_13',['operator+=',['../classraylib_1_1_vector2.html#a4eb940d4ac8db035b58bf0834ebca8f7',1,'raylib::Vector2::operator+=()'],['../classraylib_1_1_vector3.html#aa0eb200f1f72d8ad8ca0457549cfef04',1,'raylib::Vector3::operator+=()']]], - ['operator_2d_14',['operator-',['../classraylib_1_1_matrix.html#a28d079fd913d2890620107599b4d1bcf',1,'raylib::Matrix::operator-()'],['../classraylib_1_1_vector2.html#af5a965f5eba6e1d8cc13f29161f0f6e1',1,'raylib::Vector2::operator-(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#af29b9938afed31d821bb7791d929f779',1,'raylib::Vector2::operator-() const'],['../classraylib_1_1_vector3.html#a843267dd14d8a706106dd5258cfa6676',1,'raylib::Vector3::operator-(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a9999af247190e4b6969f61d98e3be934',1,'raylib::Vector3::operator-()']]], - ['operator_2d_3d_15',['operator-=',['../classraylib_1_1_vector2.html#a0b97ad5ff528e47ff5a73ad0ebb2f0c7',1,'raylib::Vector2::operator-=()'],['../classraylib_1_1_vector3.html#abc2bd9029aeb4c4a3545ee230473ee32',1,'raylib::Vector3::operator-=()']]], - ['operator_2f_16',['operator/',['../classraylib_1_1_vector2.html#a8ef672a3776ca3da2fe0b89fa8cea517',1,'raylib::Vector2::operator/(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#aa12e15f76cd518d8d0447c80c89fd8c5',1,'raylib::Vector2::operator/(const float div) const'],['../classraylib_1_1_vector3.html#a085a75924d1635c674f444988bcc7ebb',1,'raylib::Vector3::operator/(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a394cfcb895d6d8ba3c432b1af9d390cb',1,'raylib::Vector3::operator/(const float div) const']]], - ['operator_2f_3d_17',['operator/=',['../classraylib_1_1_vector3.html#a1ed7a768be6dfffa9bedc536864b4ec4',1,'raylib::Vector3::operator/=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#acbb53d7cbedc612830b9a08284963b10',1,'raylib::Vector3::operator/=(const float div)'],['../classraylib_1_1_vector2.html#ae85c2aa1bfe604578ca89c7495e8ce37',1,'raylib::Vector2::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a2ef45b2b5142c60cf30bdbc6a49d77e0',1,'raylib::Vector2::operator/=(const ::Vector2 &vector2)']]], - ['operator_3d_18',['operator=',['../classraylib_1_1_model.html#afd31dd377369b1187d816d92be8f5e2a',1,'raylib::Model::operator=()'],['../classraylib_1_1_image.html#aa86c0194ad30cc5f75f116fa588fc8dd',1,'raylib::Image::operator=()'],['../classraylib_1_1_model_animation.html#a8cdf66437a165dc39d4c3dece774b606',1,'raylib::ModelAnimation::operator=(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#a1efe07d288b2a9318c7ca4ff2e321776',1,'raylib::ModelAnimation::operator=(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#ab083b9d9c64a0ec604e4c7342caec9b4',1,'raylib::ModelAnimation::operator=(ModelAnimation &&other) noexcept'],['../classraylib_1_1_music.html#afffdaad319f3099d190e2e6faa7a60af',1,'raylib::Music::operator=(const ::Music &music)'],['../classraylib_1_1_music.html#a475c5f2d7405f275a28f16fd1e1667b2',1,'raylib::Music::operator=(const Music &)=delete'],['../classraylib_1_1_music.html#a8a8ff1787f18b21d40c62106dd5e0808',1,'raylib::Music::operator=(Music &&other) noexcept'],['../classraylib_1_1_ray.html#ac95a6b27adfcc91ef7d70047650fc325',1,'raylib::Ray::operator=()'],['../classraylib_1_1_ray_collision.html#ad0cd1a0d5e234086fa6f87efa3bb8e8a',1,'raylib::RayCollision::operator=()'],['../classraylib_1_1_rectangle.html#af7744f0ec9ec04d73403a7f6a71ae3cd',1,'raylib::Rectangle::operator=()'],['../classraylib_1_1_render_texture.html#aee91fd336700acaa3cfb1f30d11efc1b',1,'raylib::RenderTexture::operator=(const ::RenderTexture &texture)'],['../classraylib_1_1_render_texture.html#a11d5dd47fbb373e556b6955c2a31f911',1,'raylib::RenderTexture::operator=(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#ab2d6ea01017394c700c6541e7a1c987e',1,'raylib::RenderTexture::operator=(RenderTexture &&other) noexcept'],['../classraylib_1_1_shader.html#a17ea116c06cf251b3fc6827c69c46352',1,'raylib::Shader::operator=(const ::Shader &shader)'],['../classraylib_1_1_shader.html#a4ad95bb76c6dd04e4ab50db5510d3639',1,'raylib::Shader::operator=(const Shader &)=delete'],['../classraylib_1_1_shader.html#a16f1271ca82501cce9aff85fe83d8468',1,'raylib::Shader::operator=(Shader &&other) noexcept'],['../classraylib_1_1_sound.html#a00e767731db27551731f3b921e96e8be',1,'raylib::Sound::operator=(const Sound &)=delete'],['../classraylib_1_1_sound.html#a0e9cf03efe620702dc91f39fc2741e28',1,'raylib::Sound::operator=(Sound &&other) noexcept'],['../classraylib_1_1_text.html#aa38bed157c29c12b0275bac43a2f0740',1,'raylib::Text::operator=()'],['../classraylib_1_1_texture.html#a32e1e65e95d670f8ede07603e74eb8bb',1,'raylib::Texture::operator=(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a803206afb8ddbb356b0c172fb3c6ec6a',1,'raylib::Texture::operator=(const Texture &)=delete'],['../classraylib_1_1_texture.html#a029d91f87af0de39e358cdc3c679d97d',1,'raylib::Texture::operator=(Texture &&other) noexcept'],['../classraylib_1_1_vector2.html#a81993d8973232b2ba08b7a63bca9bb20',1,'raylib::Vector2::operator=()'],['../classraylib_1_1_vector3.html#a0e1bfe79b5501da15fc137feaa639615',1,'raylib::Vector3::operator=()'],['../classraylib_1_1_vector4.html#ace9d16e7d35934a5a5d4bfbcf073221c',1,'raylib::Vector4::operator=()'],['../classraylib_1_1_wave.html#a47fdbb51113033249f466f2f18be8f6a',1,'raylib::Wave::operator=(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aae5958607c9f7d49dcc4a9c291fd8955',1,'raylib::Wave::operator=(const Wave &other)'],['../classraylib_1_1_wave.html#a5c5c65eaa235c5d5d8d867c55d7c0464',1,'raylib::Wave::operator=(Wave &&other) noexcept'],['../classraylib_1_1_model.html#afb16732714d5f3931dce5266cf9442a0',1,'raylib::Model::operator=()'],['../classraylib_1_1_audio_stream.html#aafe56bfe817da16012d7c2efb4bd7a9c',1,'raylib::AudioStream::operator=(const ::AudioStream &stream)'],['../classraylib_1_1_audio_stream.html#ac284487daf53d5f3cabc535918ab5222',1,'raylib::AudioStream::operator=(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#abaef9e064218e8728e7131de8f001bc1',1,'raylib::AudioStream::operator=(AudioStream &&other) noexcept'],['../classraylib_1_1_bounding_box.html#a859067d25368a27b8743e23ebc24d46c',1,'raylib::BoundingBox::operator=()'],['../classraylib_1_1_camera2_d.html#a3eca1be4b1f2ab30dc377dcd76eff0ef',1,'raylib::Camera2D::operator=()'],['../classraylib_1_1_camera3_d.html#ab9af3cd1ec71d4c52dd09f47b7a55864',1,'raylib::Camera3D::operator=()'],['../classraylib_1_1_color.html#a2af61a938ad2780917be855e06621d2d',1,'raylib::Color::operator=()'],['../classraylib_1_1_font.html#a372d60f4b8911722eefdff34f10eab13',1,'raylib::Font::operator=(const ::Font &font)'],['../classraylib_1_1_font.html#aaedf5057acbe7cf503d074a9a6343879',1,'raylib::Font::operator=(const Font &)=delete'],['../classraylib_1_1_font.html#a8858311926baabe96b51cb015241568e',1,'raylib::Font::operator=(Font &&other) noexcept'],['../classraylib_1_1_gamepad.html#af0d08d3ed4fdb915aea6c2dda49828ef',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_image.html#a2d5e9ae7c55948b28b458f3bff5d1388',1,'raylib::Image::operator=()'],['../classraylib_1_1_gamepad.html#a2d72d578a8a7815e74cfdf811fe9e6cb',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_model.html#a37c9ca6ea23e395a1ca1e2e32a578582',1,'raylib::Model::operator=()'],['../classraylib_1_1_mesh.html#ad74efe8cd30bd4630a5cf055d61e8263',1,'raylib::Mesh::operator=(Mesh &&other) noexcept'],['../classraylib_1_1_mesh.html#a4fe0ff85b2ef8ea6dc9e7bc98dc8c8ca',1,'raylib::Mesh::operator=(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#ae3b9c24dd49d40c68e11ed8a82f4af82',1,'raylib::Mesh::operator=(const ::Mesh &mesh)'],['../classraylib_1_1_matrix.html#a667e1a3be409a1ad1d7f6f9c8bdc24dd',1,'raylib::Matrix::operator=(const Matrix &matrix)'],['../classraylib_1_1_matrix.html#a4a01a9983536575a0accb4ad938434d1',1,'raylib::Matrix::operator=(const ::Matrix &matrix)'],['../classraylib_1_1_material.html#ae92173567da4f6f9b256bf6787d65a11',1,'raylib::Material::operator=(Material &&other) noexcept'],['../classraylib_1_1_material.html#af0644e3ba034c4e700eab72174e00905',1,'raylib::Material::operator=(const Material &)=delete'],['../classraylib_1_1_material.html#a8734255792ec2669d3c067b64a1b7644',1,'raylib::Material::operator=(const ::Material &material)'],['../classraylib_1_1_image.html#a7e2ce4ef95df6fb9c8ffd654cce227bc',1,'raylib::Image::operator=()']]], - ['operator_3d_3d_19',['operator==',['../classraylib_1_1_matrix.html#ab038b46305fb8bd85f83005146542b7e',1,'raylib::Matrix::operator==()'],['../classraylib_1_1_vector2.html#a92c0c5f254914438cc13926559678069',1,'raylib::Vector2::operator==()'],['../classraylib_1_1_vector3.html#a848a7b866cadd1e96c4a472343be47cb',1,'raylib::Vector3::operator==()'],['../classraylib_1_1_vector4.html#a00cc9bb369819d6628540cbda82bf47f',1,'raylib::Vector4::operator==()']]], - ['orange_20',['Orange',['../classraylib_1_1_color.html#afb83cd892356b66cc0603cbe1e147285',1,'raylib::Color']]], - ['ortho_21',['Ortho',['../classraylib_1_1_matrix.html#ad45b39503de59d1052377346efd8bcd8',1,'raylib::Matrix']]], - ['orthonormalize_22',['OrthoNormalize',['../classraylib_1_1_vector3.html#a39326460de2d051c5bde8366a7101de6',1,'raylib::Vector3']]], - ['rectangle_23',['Rectangle',['../classraylib_1_1_vector4.html#ab202f0a0df34580b5f330cd54aa6a633',1,'raylib::Vector4']]], - ['sound_24',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], - ['string_25',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], - ['texture2d_26',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]], - ['vector4_27',['Vector4',['../classraylib_1_1_rectangle.html#a0c04495372edc5cc3a3f572f0cddbc70',1,'raylib::Rectangle']]] + ['boundingbox_266',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], + ['image_267',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], + ['model_268',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], + ['one_269',['One',['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2']]], + ['openurl_270',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], + ['operator_20boundingbox_271',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], + ['operator_20int_272',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color']]], + ['sound_273',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], + ['string_274',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], + ['texture2d_275',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]] ]; diff --git a/docs/search/all_e.html b/docs/search/all_e.html index ce450a29..2e3c74dc 100644 --- a/docs/search/all_e.html +++ b/docs/search/all_e.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_e.js b/docs/search/all_e.js index 3238d13d..b0954b93 100644 --- a/docs/search/all_e.js +++ b/docs/search/all_e.js @@ -1,13 +1,9 @@ var searchData= [ - ['pause_0',['Pause',['../classraylib_1_1_audio_stream.html#acb2ae2e3c331c91af0d3ca86733e1f52',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#ad956be86303bb8b307530947aefaea25',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a5a5513d79d5495061104dbfa36dca27b',1,'raylib::Sound::Pause()']]], - ['perpendicular_1',['Perpendicular',['../classraylib_1_1_vector3.html#a7b67640a2ce5eee35e5dba5af88fc020',1,'raylib::Vector3']]], - ['perspective_2',['Perspective',['../classraylib_1_1_matrix.html#aea5590610580b2ecd0be779324bf9281',1,'raylib::Matrix']]], - ['physics_3',['Physics',['../classraylib_1_1_physics.html#abe69671cb0e5e5e765c6de48cccb0111',1,'raylib::Physics::Physics(float gravityX, float gravityY)'],['../classraylib_1_1_physics.html#a9638fbedf8f35acd23bb5c502c9ddac7',1,'raylib::Physics::Physics(float gravityY)'],['../classraylib_1_1_physics.html#ab6fe48c3f1ccc583d78898d3946b3096',1,'raylib::Physics::Physics()'],['../classraylib_1_1_physics.html',1,'raylib::Physics']]], - ['pink_4',['Pink',['../classraylib_1_1_color.html#ad93a284f0ef61bf88be66b8bebd14427',1,'raylib::Color']]], - ['plane_5',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], - ['play_6',['Play',['../classraylib_1_1_audio_stream.html#a3aed292652e082b37396a66e48bf9858',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a5a99d2bf68843c860c6b5612b7e3d3df',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#ab48935ee4d6c10329f68117b5862aed2',1,'raylib::Sound::Play()']]], - ['playmulti_7',['PlayMulti',['../classraylib_1_1_sound.html#ac7a8473534871ea873f81673270841a0',1,'raylib::Sound']]], - ['poly_8',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]], - ['purple_9',['Purple',['../classraylib_1_1_color.html#a98e5330224e52e9599c060d82a50609d',1,'raylib::Color']]] + ['pause_276',['Pause',['../classraylib_1_1_audio_stream.html#aa620374153aa063a0e34f4260c6dce94',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#a810f0ae266f247237aa23574e1e31626',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a51f64c5c76a86a6b6f2225870d5a83a3',1,'raylib::Sound::Pause()']]], + ['physics_277',['Physics',['../classraylib_1_1_physics.html',1,'raylib']]], + ['plane_278',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], + ['play_279',['Play',['../classraylib_1_1_audio_stream.html#a594754979b974479711879b7d4af082e',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a908ddb6c248c75bd1a3cabc1381a45fc',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#a2fd3ff7a2653fa57dc2b0987e108a2ae',1,'raylib::Sound::Play()']]], + ['playmulti_280',['PlayMulti',['../classraylib_1_1_sound.html#adfe6e6915bb17eefd0ab58f5cb3aa7ba',1,'raylib::Sound']]], + ['poly_281',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]] ]; diff --git a/docs/search/all_f.html b/docs/search/all_f.html index 59cfe49c..246f8ab1 100644 --- a/docs/search/all_f.html +++ b/docs/search/all_f.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/all_f.js b/docs/search/all_f.js index 361d73e3..ed3931ed 100644 --- a/docs/search/all_f.js +++ b/docs/search/all_f.js @@ -1,4 +1,19 @@ var searchData= [ - ['quaternion_0',['Quaternion',['../namespaceraylib.html#a35a146d156ee0cb20e51c65c1356009f',1,'raylib']]] + ['raylib_2dcpp_282',['raylib-cpp',['../index.html',1,'']]], + ['ray_283',['Ray',['../classraylib_1_1_ray.html',1,'raylib']]], + ['raycollision_284',['RayCollision',['../classraylib_1_1_ray_collision.html',1,'raylib::RayCollision'],['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)']]], + ['raylib_285',['raylib',['../namespaceraylib.html',1,'']]], + ['raylibexception_286',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib::RaylibException'],['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException::RaylibException()']]], + ['rectangle_287',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib']]], + ['reflect_288',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2']]], + ['rendertexture_289',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib::RenderTexture'],['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()']]], + ['resize_290',['Resize',['../classraylib_1_1_image.html#a62294223271290f049711ee96ca809fb',1,'raylib::Image']]], + ['resizecanvas_291',['ResizeCanvas',['../classraylib_1_1_image.html#a008fc6154d0252aa1b9924281a27a61d',1,'raylib::Image']]], + ['resizenn_292',['ResizeNN',['../classraylib_1_1_image.html#a13f6b8aade2957218bdfa199857caa04',1,'raylib::Image']]], + ['restore_293',['Restore',['../classraylib_1_1_window.html#a936ba6f4614ab6b3c2552f88798ffac2',1,'raylib::Window']]], + ['resume_294',['Resume',['../classraylib_1_1_audio_stream.html#ab3514d8e8b8c8992046ef3e51e571c88',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#a5c5c67064aa37d2b3f3234a2a02230de',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#a08132251f7b6e4caec600475f610e2f5',1,'raylib::Sound::Resume()']]], + ['rotate_295',['Rotate',['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2']]], + ['rotateccw_296',['RotateCCW',['../classraylib_1_1_image.html#aa08513832d0ab58144f4418ba3b4b6d6',1,'raylib::Image']]], + ['rotatecw_297',['RotateCW',['../classraylib_1_1_image.html#aed253e5dd980e63b7fd7a8ef43ef7cf6',1,'raylib::Image']]] ]; diff --git a/docs/search/classes_0.html b/docs/search/classes_0.html index 8361bcdc..f7e4c14e 100644 --- a/docs/search/classes_0.html +++ b/docs/search/classes_0.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_0.js b/docs/search/classes_0.js index 158644da..9d3944eb 100644 --- a/docs/search/classes_0.js +++ b/docs/search/classes_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['audiodevice_0',['AudioDevice',['../classraylib_1_1_audio_device.html',1,'raylib']]], - ['audiostream_1',['AudioStream',['../class_audio_stream.html',1,'AudioStream'],['../classraylib_1_1_audio_stream.html',1,'raylib::AudioStream']]] + ['audiodevice_469',['AudioDevice',['../classraylib_1_1_audio_device.html',1,'raylib']]], + ['audiostream_470',['AudioStream',['../classraylib_1_1_audio_stream.html',1,'raylib']]] ]; diff --git a/docs/search/classes_1.html b/docs/search/classes_1.html index 3c668dea..c7ff4b31 100644 --- a/docs/search/classes_1.html +++ b/docs/search/classes_1.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_1.js b/docs/search/classes_1.js index ea3366be..f293fd85 100644 --- a/docs/search/classes_1.js +++ b/docs/search/classes_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['boundingbox_0',['BoundingBox',['../class_bounding_box.html',1,'BoundingBox'],['../classraylib_1_1_bounding_box.html',1,'raylib::BoundingBox']]] + ['boundingbox_471',['BoundingBox',['../classraylib_1_1_bounding_box.html',1,'raylib']]] ]; diff --git a/docs/search/classes_2.html b/docs/search/classes_2.html index 868c1727..0d1e8a0c 100644 --- a/docs/search/classes_2.html +++ b/docs/search/classes_2.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js index 18b94a81..bf26ad32 100644 --- a/docs/search/classes_2.js +++ b/docs/search/classes_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['camera2d_0',['Camera2D',['../class_camera2_d.html',1,'Camera2D'],['../classraylib_1_1_camera2_d.html',1,'raylib::Camera2D']]], - ['camera3d_1',['Camera3D',['../class_camera3_d.html',1,'Camera3D'],['../classraylib_1_1_camera3_d.html',1,'raylib::Camera3D']]], - ['color_2',['Color',['../class_color.html',1,'Color'],['../classraylib_1_1_color.html',1,'raylib::Color']]] + ['camera2d_472',['Camera2D',['../classraylib_1_1_camera2_d.html',1,'raylib']]], + ['camera3d_473',['Camera3D',['../classraylib_1_1_camera3_d.html',1,'raylib']]], + ['color_474',['Color',['../classraylib_1_1_color.html',1,'raylib']]] ]; diff --git a/docs/search/classes_3.html b/docs/search/classes_3.html index 995d5d23..21025456 100644 --- a/docs/search/classes_3.html +++ b/docs/search/classes_3.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_3.js b/docs/search/classes_3.js index 6f769efd..015d18d1 100644 --- a/docs/search/classes_3.js +++ b/docs/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['font_0',['Font',['../class_font.html',1,'Font'],['../classraylib_1_1_font.html',1,'raylib::Font']]] + ['font_475',['Font',['../classraylib_1_1_font.html',1,'raylib']]] ]; diff --git a/docs/search/classes_4.html b/docs/search/classes_4.html index b61a53a8..095ab595 100644 --- a/docs/search/classes_4.html +++ b/docs/search/classes_4.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_4.js b/docs/search/classes_4.js index 80d79c80..81bc5053 100644 --- a/docs/search/classes_4.js +++ b/docs/search/classes_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['gamepad_0',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]] + ['gamepad_476',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]] ]; diff --git a/docs/search/classes_5.html b/docs/search/classes_5.html index 004dd4b7..fc9cdc99 100644 --- a/docs/search/classes_5.html +++ b/docs/search/classes_5.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_5.js b/docs/search/classes_5.js index 9454d815..e755536a 100644 --- a/docs/search/classes_5.js +++ b/docs/search/classes_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['image_0',['Image',['../class_image.html',1,'Image'],['../classraylib_1_1_image.html',1,'raylib::Image']]] + ['image_477',['Image',['../classraylib_1_1_image.html',1,'raylib']]] ]; diff --git a/docs/search/classes_6.html b/docs/search/classes_6.html index 21bf0198..1ecfdddf 100644 --- a/docs/search/classes_6.html +++ b/docs/search/classes_6.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_6.js b/docs/search/classes_6.js index e8037257..b7e5eb5e 100644 --- a/docs/search/classes_6.js +++ b/docs/search/classes_6.js @@ -1,10 +1,10 @@ var searchData= [ - ['material_0',['Material',['../class_material.html',1,'Material'],['../classraylib_1_1_material.html',1,'raylib::Material']]], - ['matrix_1',['Matrix',['../class_matrix.html',1,'Matrix'],['../classraylib_1_1_matrix.html',1,'raylib::Matrix']]], - ['mesh_2',['Mesh',['../class_mesh.html',1,'Mesh'],['../classraylib_1_1_mesh.html',1,'raylib::Mesh']]], - ['model_3',['Model',['../class_model.html',1,'Model'],['../classraylib_1_1_model.html',1,'raylib::Model']]], - ['modelanimation_4',['ModelAnimation',['../class_model_animation.html',1,'ModelAnimation'],['../classraylib_1_1_model_animation.html',1,'raylib::ModelAnimation']]], - ['mouse_5',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], - ['music_6',['Music',['../class_music.html',1,'Music'],['../classraylib_1_1_music.html',1,'raylib::Music']]] + ['material_478',['Material',['../classraylib_1_1_material.html',1,'raylib']]], + ['matrix_479',['Matrix',['../classraylib_1_1_matrix.html',1,'raylib']]], + ['mesh_480',['Mesh',['../classraylib_1_1_mesh.html',1,'raylib']]], + ['model_481',['Model',['../classraylib_1_1_model.html',1,'raylib']]], + ['modelanimation_482',['ModelAnimation',['../classraylib_1_1_model_animation.html',1,'raylib']]], + ['mouse_483',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], + ['music_484',['Music',['../classraylib_1_1_music.html',1,'raylib']]] ]; diff --git a/docs/search/classes_7.html b/docs/search/classes_7.html index 0e944515..0fc6fc3e 100644 --- a/docs/search/classes_7.html +++ b/docs/search/classes_7.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_7.js b/docs/search/classes_7.js index 7198ee39..fb94a2d0 100644 --- a/docs/search/classes_7.js +++ b/docs/search/classes_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['physics_0',['Physics',['../classraylib_1_1_physics.html',1,'raylib']]] + ['physics_485',['Physics',['../classraylib_1_1_physics.html',1,'raylib']]] ]; diff --git a/docs/search/classes_8.html b/docs/search/classes_8.html index 4dfdb1c4..ac8af7dc 100644 --- a/docs/search/classes_8.html +++ b/docs/search/classes_8.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_8.js b/docs/search/classes_8.js index baa70b0e..82545acc 100644 --- a/docs/search/classes_8.js +++ b/docs/search/classes_8.js @@ -1,8 +1,8 @@ var searchData= [ - ['ray_0',['Ray',['../class_ray.html',1,'Ray'],['../classraylib_1_1_ray.html',1,'raylib::Ray']]], - ['raycollision_1',['RayCollision',['../class_ray_collision.html',1,'RayCollision'],['../classraylib_1_1_ray_collision.html',1,'raylib::RayCollision']]], - ['raylibexception_2',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib']]], - ['rectangle_3',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib::Rectangle'],['../class_rectangle.html',1,'Rectangle']]], - ['rendertexture_4',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib::RenderTexture'],['../class_render_texture.html',1,'RenderTexture']]] + ['ray_486',['Ray',['../classraylib_1_1_ray.html',1,'raylib']]], + ['raycollision_487',['RayCollision',['../classraylib_1_1_ray_collision.html',1,'raylib']]], + ['raylibexception_488',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib']]], + ['rectangle_489',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib']]], + ['rendertexture_490',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib']]] ]; diff --git a/docs/search/classes_9.html b/docs/search/classes_9.html index 1cd66a9b..86cad046 100644 --- a/docs/search/classes_9.html +++ b/docs/search/classes_9.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_9.js b/docs/search/classes_9.js index e4927821..e38e737f 100644 --- a/docs/search/classes_9.js +++ b/docs/search/classes_9.js @@ -1,5 +1,5 @@ var searchData= [ - ['shader_0',['Shader',['../classraylib_1_1_shader.html',1,'raylib::Shader'],['../class_shader.html',1,'Shader']]], - ['sound_1',['Sound',['../classraylib_1_1_sound.html',1,'raylib::Sound'],['../class_sound.html',1,'Sound']]] + ['shader_491',['Shader',['../classraylib_1_1_shader.html',1,'raylib']]], + ['sound_492',['Sound',['../classraylib_1_1_sound.html',1,'raylib']]] ]; diff --git a/docs/search/classes_a.html b/docs/search/classes_a.html index f4608c0b..4201e97e 100644 --- a/docs/search/classes_a.html +++ b/docs/search/classes_a.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_a.js b/docs/search/classes_a.js index 570887ba..d2efecff 100644 --- a/docs/search/classes_a.js +++ b/docs/search/classes_a.js @@ -1,5 +1,5 @@ var searchData= [ - ['text_0',['Text',['../classraylib_1_1_text.html',1,'raylib']]], - ['texture_1',['Texture',['../classraylib_1_1_texture.html',1,'raylib::Texture'],['../class_texture.html',1,'Texture']]] + ['text_493',['Text',['../classraylib_1_1_text.html',1,'raylib']]], + ['texture_494',['Texture',['../classraylib_1_1_texture.html',1,'raylib']]] ]; diff --git a/docs/search/classes_b.html b/docs/search/classes_b.html index d9949ca9..f88a5780 100644 --- a/docs/search/classes_b.html +++ b/docs/search/classes_b.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_b.js b/docs/search/classes_b.js index 2d9ac752..c3ed2bc9 100644 --- a/docs/search/classes_b.js +++ b/docs/search/classes_b.js @@ -1,7 +1,7 @@ var searchData= [ - ['vector2_0',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib::Vector2'],['../class_vector2.html',1,'Vector2']]], - ['vector3_1',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib::Vector3'],['../class_vector3.html',1,'Vector3']]], - ['vector4_2',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib::Vector4'],['../class_vector4.html',1,'Vector4']]], - ['vrstereoconfig_3',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib::VrStereoConfig'],['../class_vr_stereo_config.html',1,'VrStereoConfig']]] + ['vector2_495',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib']]], + ['vector3_496',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib']]], + ['vector4_497',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib']]], + ['vrstereoconfig_498',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib']]] ]; diff --git a/docs/search/classes_c.html b/docs/search/classes_c.html index 026513b6..fa0cf4d6 100644 --- a/docs/search/classes_c.html +++ b/docs/search/classes_c.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/classes_c.js b/docs/search/classes_c.js index 927931f3..1ccd0eef 100644 --- a/docs/search/classes_c.js +++ b/docs/search/classes_c.js @@ -1,5 +1,5 @@ var searchData= [ - ['wave_0',['Wave',['../classraylib_1_1_wave.html',1,'raylib::Wave'],['../class_wave.html',1,'Wave']]], - ['window_1',['Window',['../classraylib_1_1_window.html',1,'raylib']]] + ['wave_499',['Wave',['../classraylib_1_1_wave.html',1,'raylib']]], + ['window_500',['Window',['../classraylib_1_1_window.html',1,'raylib']]] ]; diff --git a/docs/search/functions_0.html b/docs/search/functions_0.html index 2d2d9501..e17c7111 100644 --- a/docs/search/functions_0.html +++ b/docs/search/functions_0.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_0.js b/docs/search/functions_0.js index c8471893..40c0db23 100644 --- a/docs/search/functions_0.js +++ b/docs/search/functions_0.js @@ -1,15 +1,12 @@ var searchData= [ - ['add_0',['Add',['../classraylib_1_1_vector2.html#a9b508085257410f314beb2f405259678',1,'raylib::Vector2::Add()'],['../classraylib_1_1_vector3.html#a640c5d01ab7d004830de1f7609abfdd2',1,'raylib::Vector3::Add()'],['../classraylib_1_1_matrix.html#aaecef455d7b249b1c0bbc77cbb27e1d0',1,'raylib::Matrix::Add()']]], - ['addforce_1',['AddForce',['../classraylib_1_1_physics.html#afb38fb0c3a3bebd5c5ff0e76d5204d6d',1,'raylib::Physics']]], - ['addtorque_2',['AddTorque',['../classraylib_1_1_physics.html#a7a663b83d1f9c7af8fcfbda8fefc9682',1,'raylib::Physics']]], - ['alpha_3',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], - ['alphablend_4',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], - ['alphaclear_5',['AlphaClear',['../classraylib_1_1_image.html#acea9718468977973dceaf84797cab842',1,'raylib::Image']]], - ['alphacrop_6',['AlphaCrop',['../classraylib_1_1_image.html#a99650b633aca69b1402d04e719d10faf',1,'raylib::Image']]], - ['alphamask_7',['AlphaMask',['../classraylib_1_1_image.html#aaf9f5429b67e2e4e37a23e1193b07215',1,'raylib::Image']]], - ['alphapremultiply_8',['AlphaPremultiply',['../classraylib_1_1_image.html#a726a612e5ad5e1d25764cbbb0e2f6ea1',1,'raylib::Image']]], - ['angle_9',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], - ['audiodevice_10',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice']]], - ['audiostream_11',['AudioStream',['../classraylib_1_1_audio_stream.html#a894b806cbf3e016b9cc7d9f413758012',1,'raylib::AudioStream::AudioStream(const ::AudioStream &music)'],['../classraylib_1_1_audio_stream.html#a8da5fee94a06fb1bf797d93e94472d9f',1,'raylib::AudioStream::AudioStream(rAudioBuffer *buffer=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)'],['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream::AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)'],['../classraylib_1_1_audio_stream.html#ad8a74cd0657258f1fe495d2dc7fd6881',1,'raylib::AudioStream::AudioStream(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#a1d47b4e6c51959d9a6408ff6660cd629',1,'raylib::AudioStream::AudioStream(AudioStream &&other)']]] + ['alpha_502',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], + ['alphablend_503',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], + ['alphaclear_504',['AlphaClear',['../classraylib_1_1_image.html#a39d6f6b230bcdaba3d85f45e9b5dad20',1,'raylib::Image']]], + ['alphacrop_505',['AlphaCrop',['../classraylib_1_1_image.html#a5945a136f675e024dda002075b34dfef',1,'raylib::Image']]], + ['alphamask_506',['AlphaMask',['../classraylib_1_1_image.html#a3bbcbb96834c526b6b789a804078d472',1,'raylib::Image']]], + ['alphapremultiply_507',['AlphaPremultiply',['../classraylib_1_1_image.html#ace3ef45495b17bf2e5a645931b792483',1,'raylib::Image']]], + ['angle_508',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], + ['audiodevice_509',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice']]], + ['audiostream_510',['AudioStream',['../classraylib_1_1_audio_stream.html#a6b9b41b70df94999dfe71e52da6b19ba',1,'raylib::AudioStream']]] ]; diff --git a/docs/search/functions_1.html b/docs/search/functions_1.html index 3b96b900..0ddac0a4 100644 --- a/docs/search/functions_1.html +++ b/docs/search/functions_1.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_1.js b/docs/search/functions_1.js index 144f42e9..14f979e4 100644 --- a/docs/search/functions_1.js +++ b/docs/search/functions_1.js @@ -1,12 +1,6 @@ var searchData= [ - ['barycenter_0',['Barycenter',['../classraylib_1_1_vector3.html#a3adb51fa6e3c137095ba6aa60f976ddc',1,'raylib::Vector3']]], - ['begindrawing_1',['BeginDrawing',['../classraylib_1_1_window.html#a487e7b9ee38593be6f6bc5c5c2e2e80c',1,'raylib::Window']]], - ['beginmode_2',['BeginMode',['../classraylib_1_1_camera2_d.html#a39d12d507baf5ba6112ea31d9ff8b01f',1,'raylib::Camera2D::BeginMode()'],['../classraylib_1_1_camera3_d.html#a23437f027bbd7608ca9e5f2370344271',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a4e2cede5c6b58d0b4f0a38eba6897a5f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a662293424e1923c1a2ed73d3fb0ccb61',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#a57c7c3064803f61af4a7da1e0ae10167',1,'raylib::VrStereoConfig::BeginMode()']]], - ['beige_3',['Beige',['../classraylib_1_1_color.html#a13dc46e6133581a791e918af361fdfcc',1,'raylib::Color']]], - ['black_4',['Black',['../classraylib_1_1_color.html#a6d4168bda8afca4a98d4e4a6a74c2d63',1,'raylib::Color']]], - ['blank_5',['Blank',['../classraylib_1_1_color.html#a7833da21008e487f44324007b9d8e6c1',1,'raylib::Color']]], - ['blue_6',['Blue',['../classraylib_1_1_color.html#a8bd1ba9bc65bae856d0b716aa85c407d',1,'raylib::Color']]], - ['boundingbox_7',['BoundingBox',['../classraylib_1_1_bounding_box.html#a2d5d6d98333d7a2e15b3703b1c383fe9',1,'raylib::BoundingBox::BoundingBox(const ::BoundingBox &box)'],['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox(const ::Mesh &mesh)'],['../classraylib_1_1_bounding_box.html#a6e0d7b4af3123898d6fa541ed2fd2672',1,'raylib::BoundingBox::BoundingBox(::Vector3 minMax)'],['../classraylib_1_1_bounding_box.html#ad7e2ee18a319a9ea834e46add4b0dbc8',1,'raylib::BoundingBox::BoundingBox(::Vector3 min, ::Vector3 max)'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()']]], - ['brown_8',['Brown',['../classraylib_1_1_color.html#aee8f4a4e55fe68cf5d3854208e16c5b7',1,'raylib::Color']]] + ['begindrawing_511',['BeginDrawing',['../classraylib_1_1_window.html#a8f2b932e51fc0ac154e2fd578691ebd6',1,'raylib::Window']]], + ['beginmode_512',['BeginMode',['../classraylib_1_1_camera3_d.html#a0aeaa99678bacc68d410a4d42e95548a',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a7d05e471bb2d7fc83094f7a9463d836f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a63311cdadb7f81791a61e2ccea33efbe',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#aee11917e6f68d22e12e06a81d58ee340',1,'raylib::VrStereoConfig::BeginMode()']]], + ['boundingbox_513',['BoundingBox',['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox()'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()']]] ]; diff --git a/docs/search/functions_10.html b/docs/search/functions_10.html index f0fe4893..09422e1e 100644 --- a/docs/search/functions_10.html +++ b/docs/search/functions_10.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 2f5b7d4d..9eb9c3df 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -1,139 +1,128 @@ var searchData= [ - ['savefiletext_0',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], - ['scale_1',['Scale',['../classraylib_1_1_vector2.html#a99329cc7300b744993c299a60191b23e',1,'raylib::Vector2::Scale()'],['../classraylib_1_1_matrix.html#a6194618ff44780a7e062355089706217',1,'raylib::Matrix::Scale()'],['../classraylib_1_1_vector3.html#a22ca33a36bf98e27801b523299990c51',1,'raylib::Vector3::Scale()']]], - ['seek_2',['Seek',['../classraylib_1_1_music.html#a0df1a8c1803d8be34208a2901e17a2ee',1,'raylib::Music']]], - ['seta_3',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], - ['setaltcontrol_4',['SetAltControl',['../classraylib_1_1_camera3_d.html#a1e12a532ca2837c7a00b1658b0d0be28',1,'raylib::Camera3D']]], - ['setanimnormals_5',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], - ['setanimvertices_6',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], - ['setb_7',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], - ['setbasesize_8',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], - ['setbindpoe_9',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], - ['setbodyrotation_10',['SetBodyRotation',['../classraylib_1_1_physics.html#a2e92f697147cea7ca3f3f86150c5fa8d',1,'raylib::Physics']]], - ['setbonecount_11',['SetBoneCount',['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()'],['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()']]], - ['setboneids_12',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], - ['setbones_13',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], - ['setboneweights_14',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], - ['setbuffer_15',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], - ['setbuffersizedefault_16',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], - ['setchannels_17',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], - ['setclipboardtext_18',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], - ['setcolor_19',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], - ['setcolors_20',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], - ['setctxdata_21',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], - ['setctxtype_22',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], - ['setcursor_23',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], - ['setdata_24',['SetData',['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()'],['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()']]], - ['setdepth_25',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], - ['setdirection_26',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], - ['setdistance_27',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], - ['setfilter_28',['SetFilter',['../classraylib_1_1_texture.html#ac42e4bc773336f2a1ee52e6f97bcf5e2',1,'raylib::Texture']]], - ['setfont_29',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], - ['setfontsize_30',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], - ['setformat_31',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()']]], - ['setfovy_32',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], - ['setframecount_33',['SetFrameCount',['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount(int value)']]], - ['setframeposes_34',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], - ['setfullscreen_35',['SetFullscreen',['../classraylib_1_1_window.html#a97cd33ccd2b772aea0e7b7d66aa52205',1,'raylib::Window']]], - ['setg_36',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], - ['setglyphcount_37',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], - ['setglyphpadding_38',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], - ['setglyphs_39',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], - ['setgravity_40',['SetGravity',['../classraylib_1_1_physics.html#ab3c2e951985d4b08520f441c3d7d1864',1,'raylib::Physics']]], - ['setheight_41',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], - ['sethit_42',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], - ['seticon_43',['SetIcon',['../classraylib_1_1_window.html#adb4f1c464cb2274d8d22123965ac2239',1,'raylib::Window']]], - ['setid_44',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()']]], - ['setindices_45',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], - ['setlocs_46',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], - ['setlooping_47',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], - ['setm0_48',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], - ['setm1_49',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], - ['setm10_50',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], - ['setm11_51',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], - ['setm12_52',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], - ['setm13_53',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], - ['setm14_54',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], - ['setm15_55',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], - ['setm2_56',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], - ['setm3_57',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], - ['setm4_58',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], - ['setm5_59',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], - ['setm6_60',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], - ['setm7_61',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], - ['setm8_62',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], - ['setm9_63',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], - ['setmaps_64',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], - ['setmaterial_65',['SetMaterial',['../classraylib_1_1_texture.html#a9f2380b14a27928be3e7580a92fa8baf',1,'raylib::Texture::SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)'],['../classraylib_1_1_texture.html#a88fc32d98a2e998cb58830f7e2256018',1,'raylib::Texture::SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)']]], - ['setmaterialcount_66',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], - ['setmaterials_67',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], - ['setmax_68',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], - ['setmeshcount_69',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], - ['setmeshes_70',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], - ['setmeshmaterial_71',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#a615470971725d77d9252325017cb84f7',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], - ['setmin_72',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], - ['setminsize_73',['SetMinSize',['../classraylib_1_1_window.html#af4bbbbbe9a241c7fda7d3ee4a72cbf2d',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#a4ffe8d15136a9cca7ffc8cb66886e2a6',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], - ['setmipmaps_74',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], - ['setmode_75',['SetMode',['../classraylib_1_1_camera3_d.html#a60bdd6bd9c6b7294350d60e495454d73',1,'raylib::Camera3D']]], - ['setmonitor_76',['SetMonitor',['../classraylib_1_1_window.html#a4433c8726840fd2909da8437b7b3e007',1,'raylib::Window']]], - ['setmovecontrols_77',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a7b6ea87fe4de834303c03ca62eaf73b9',1,'raylib::Camera3D']]], - ['setnormal_78',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], - ['setnormals_79',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], - ['setnumber_80',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], - ['setoffset_81',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D::SetOffset()'],['../classraylib_1_1_mouse.html#a6d5ed867bb4da81d2b37bb1037e7a00d',1,'raylib::Mouse::SetOffset(::Vector2 offset)'],['../classraylib_1_1_mouse.html#a76cbe35c2741c70e5d9c9a4d4421b5fd',1,'raylib::Mouse::SetOffset(int offsetX=0, int offsetY=0)']]], - ['setpitch_82',['SetPitch',['../classraylib_1_1_audio_stream.html#a13ebfc6323dd52a529c652b50d981160',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#ac7d93b598afe32228f3e416d23f64a89',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#af54f9f9a0f850b7011a4302a92d61c87',1,'raylib::Sound::SetPitch()']]], - ['setposition_83',['SetPosition',['../classraylib_1_1_mouse.html#af15947500da7d3aa95b3894576d6ea3d',1,'raylib::Mouse::SetPosition()'],['../classraylib_1_1_window.html#a96cd2f516efcab92927bf582b6fe754d',1,'raylib::Window::SetPosition(const ::Vector2 &position)'],['../classraylib_1_1_window.html#a22162747a663a0e6ba5d644b28069020',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_rectangle.html#a18647e222a3f11064cb9a6dfb18fe7c8',1,'raylib::Rectangle::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_mouse.html#aa90576871793eb5f292e0eaa01f8a970',1,'raylib::Mouse::SetPosition()'],['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_rectangle.html#a512e9d32b02e9a55f7bf6d3b90ca4e7e',1,'raylib::Rectangle::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()']]], - ['setprojection_84',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], - ['setr_85',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], - ['setrecs_86',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], - ['setrotation_87',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], - ['setsamplerate_88',['SetSampleRate',['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()'],['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate(unsigned int value)']]], - ['setsamplesize_89',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], - ['setscale_90',['SetScale',['../classraylib_1_1_mouse.html#a0bc3ff2888f24896026738bdeee3e314',1,'raylib::Mouse::SetScale(float scaleX=1.0f, float scaleY=1.0f)'],['../classraylib_1_1_mouse.html#a65892041af52bb64c80131f61832b274',1,'raylib::Mouse::SetScale(::Vector2 scale)']]], - ['setshader_91',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], - ['setshadervalue_92',['SetShaderValue',['../classraylib_1_1_matrix.html#a27776d3613da7c134136b25d227f358b',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#a3989a497ef1cd0d070d67220c0de4f69',1,'raylib::Texture::SetShaderValue(const ::Shader &shader, int locIndex)']]], - ['setshapes_93',['SetShapes',['../classraylib_1_1_texture.html#ab6443678ebab7d2c78b0bdfb7f37e16f',1,'raylib::Texture']]], - ['setshapestexture_94',['SetShapesTexture',['../classraylib_1_1_rectangle.html#aff8f63a27bab16c9bff78f137d3d7923',1,'raylib::Rectangle']]], - ['setsize_95',['SetSize',['../classraylib_1_1_rectangle.html#acb7e80dbb24e3005980ecf4d1f52ddae',1,'raylib::Rectangle::SetSize()'],['../classraylib_1_1_window.html#a38c6f9d69df4ffb7a0a5dbf7f3da7023',1,'raylib::Window::SetSize(const ::Vector2 &size)'],['../classraylib_1_1_window.html#a81f8680331de7345546070d54643b781',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_rectangle.html#a92bae52ae8d3b79dae9f811fca30a7b2',1,'raylib::Rectangle::SetSize()']]], - ['setsmoothzoomcontrol_96',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#aab26a4c99183b18ec9c714b98b0688cb',1,'raylib::Camera3D']]], - ['setspacing_97',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], - ['setstate_98',['SetState',['../classraylib_1_1_window.html#a403f3d3d41bc642f9536cab91630ca75',1,'raylib::Window']]], - ['setstream_99',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], - ['settangents_100',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], - ['settarget_101',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], - ['settargetfps_102',['SetTargetFPS',['../classraylib_1_1_window.html#a7ca2dff3eeae227e0cc9d6b090fd7a3d',1,'raylib::Window']]], - ['settexcoords_103',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], - ['settexcoords2_104',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], - ['settext_105',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], - ['settexture_106',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a4fa16a50972c555434b31c2511d02493',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], - ['settimestep_107',['SetTimeStep',['../classraylib_1_1_physics.html#ad6c385b11a461c2138c581393bbabf44',1,'raylib::Physics']]], - ['settitle_108',['SetTitle',['../classraylib_1_1_window.html#a43d26141e2460add21aec360a20ddbed',1,'raylib::Window']]], - ['settransform_109',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], - ['settrianglecount_110',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], - ['setup_111',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], - ['setvalue_112',['SetValue',['../classraylib_1_1_shader.html#a9d6836497f8afa70a3066b8cc4203aa4',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a0e256d9052c8f84141b8f576c8b7fb5e',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)'],['../classraylib_1_1_shader.html#acccfb8dc990cbef7641eab357b5af4ff',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#a79e6cf8321eb55c142b2bda54555968b',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)']]], - ['setvaoid_113',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], - ['setvboid_114',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], - ['setvertexcount_115',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], - ['setvertices_116',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], - ['setvolume_117',['SetVolume',['../classraylib_1_1_sound.html#a2818afd107521622a078b4a06cfbc918',1,'raylib::Sound::SetVolume()'],['../classraylib_1_1_music.html#a2a477ce696a4d6e0ba906aa45a9ac8f6',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_audio_device.html#a24fc065b613b6230e415d83194273d89',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a51894536c50841878536ed87c94ef9ca',1,'raylib::AudioStream::SetVolume()']]], - ['setw_118',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], - ['setwidth_119',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()']]], - ['setwindowtitle_120',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], - ['setwrap_121',['SetWrap',['../classraylib_1_1_texture.html#aa001be5e40701f5a6dc9c56fa7682eac',1,'raylib::Texture']]], - ['setx_122',['SetX',['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_mouse.html#a5aa814d46b8f02b923cb5a492aac8148',1,'raylib::Mouse::SetX()'],['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], - ['sety_123',['SetY',['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_mouse.html#a70fe1e1561aa9106799cfa5d98fe98cf',1,'raylib::Mouse::SetY()'],['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY(float value)']]], - ['setz_124',['SetZ',['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()'],['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()']]], - ['setzoom_125',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], - ['shader_126',['Shader',['../classraylib_1_1_shader.html#a68787ddef60edcd1d7f766fb28f8c880',1,'raylib::Shader::Shader(const std::string &vsFileName, const std::string &fsFileName)'],['../classraylib_1_1_shader.html#a62e4f196016badbf10b34f9e628d66eb',1,'raylib::Shader::Shader(const ::Shader &shader)'],['../classraylib_1_1_shader.html#af917f68b8618ba0cacd68f5870d4c704',1,'raylib::Shader::Shader(Shader &&other)'],['../classraylib_1_1_shader.html#aebcf454f96bf29cbbfbe2801d4222e06',1,'raylib::Shader::Shader(unsigned int id, int *locs=nullptr)'],['../classraylib_1_1_shader.html#aea9fa53c3d5cb3e1e2501b25d1b937eb',1,'raylib::Shader::Shader(const char *vsFileName, const char *fsFileName)'],['../classraylib_1_1_shader.html#ae562fe95e5230f66c928beefff6f8619',1,'raylib::Shader::Shader(const Shader &)=delete']]], - ['shatter_127',['Shatter',['../classraylib_1_1_physics.html#a9a05e7f4aac933ff44a4a89c8674cd84',1,'raylib::Physics']]], - ['shouldclose_128',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], - ['skyblue_129',['SkyBlue',['../classraylib_1_1_color.html#ab630e67b888947c289a25a4a1000671f',1,'raylib::Color']]], - ['slerp_130',['Slerp',['../classraylib_1_1_vector4.html#ad74cf2c3cc806dda6ac299333dd7420b',1,'raylib::Vector4']]], - ['sound_131',['Sound',['../classraylib_1_1_sound.html#ab202d20657b5435283a6f85baaa79056',1,'raylib::Sound::Sound()'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)'],['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ab95375318685dbf1d03ff3489db0c9f0',1,'raylib::Sound::Sound(Sound &&other)'],['../classraylib_1_1_sound.html#acd90ba91564b3e381dc21829ba18c097',1,'raylib::Sound::Sound(::AudioStream stream, unsigned int frameCount)'],['../classraylib_1_1_sound.html#a4c08c29d0590754fd5798bbb4df4f4bb',1,'raylib::Sound::Sound(const Sound &)=delete']]], - ['sphere_132',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], - ['stop_133',['Stop',['../classraylib_1_1_audio_stream.html#a0ebdf88ff0b76d024c7d49036cb0701f',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a5a6afb505504e57327ff345c6553f769',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#a1fd0c5ede427ba6797f7b1d295a15467',1,'raylib::Sound::Stop()']]], - ['stopmulti_134',['StopMulti',['../classraylib_1_1_sound.html#ab093bddebf4db7a2937063f063cfdb59',1,'raylib::Sound']]], - ['subtract_135',['Subtract',['../classraylib_1_1_matrix.html#a14f0b7960358e1dac0f745709e74ad67',1,'raylib::Matrix::Subtract()'],['../classraylib_1_1_vector2.html#a2203d35228a10defe410dec8d33017f9',1,'raylib::Vector2::Subtract()'],['../classraylib_1_1_vector3.html#af99d38f6a5f8100a91397a11994c9717',1,'raylib::Vector3::Subtract()']]] + ['savefiletext_788',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], + ['seek_789',['Seek',['../classraylib_1_1_music.html#ab2013c089ab1b10e6dcc70c9c350c0f2',1,'raylib::Music']]], + ['seta_790',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], + ['setaltcontrol_791',['SetAltControl',['../classraylib_1_1_camera3_d.html#af4494c05808722f3111c6bcb3703b662',1,'raylib::Camera3D']]], + ['setanimnormals_792',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], + ['setanimvertices_793',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], + ['setb_794',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], + ['setbasesize_795',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], + ['setbindpoe_796',['SetBindPoe',['../classraylib_1_1_model.html#a10b06be8cf5d899f5c77c43468eb33d4',1,'raylib::Model']]], + ['setbonecount_797',['SetBoneCount',['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()'],['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()']]], + ['setboneids_798',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], + ['setbones_799',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], + ['setboneweights_800',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], + ['setbuffer_801',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], + ['setbuffersizedefault_802',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], + ['setchannels_803',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], + ['setclipboardtext_804',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib']]], + ['setcolor_805',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], + ['setcolors_806',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], + ['setctxdata_807',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], + ['setctxtype_808',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], + ['setcursor_809',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], + ['setdata_810',['SetData',['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()'],['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()']]], + ['setdepth_811',['SetDepth',['../classraylib_1_1_render_texture.html#ab24569c92eea7bffe99354c54ddc5235',1,'raylib::RenderTexture']]], + ['setdirection_812',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], + ['setdistance_813',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], + ['setfilter_814',['SetFilter',['../classraylib_1_1_texture.html#a2f15e4f84badfdb2520133b645908bb7',1,'raylib::Texture']]], + ['setfont_815',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], + ['setfontsize_816',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], + ['setformat_817',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture.html#a3efcd6e96dc5fa815d4a301432cad0d6',1,'raylib::Texture::SetFormat()']]], + ['setfovy_818',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], + ['setframecount_819',['SetFrameCount',['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()']]], + ['setframeposes_820',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], + ['setfullscreen_821',['SetFullscreen',['../classraylib_1_1_window.html#aeb4c203ec7f228bb196d7d6c3278984f',1,'raylib::Window']]], + ['setg_822',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], + ['setglyphcount_823',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], + ['setglyphpadding_824',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], + ['setglyphs_825',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], + ['setheight_826',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture.html#aa535c1944927a0fc706651a2d69b04c6',1,'raylib::Texture::SetHeight()']]], + ['sethit_827',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], + ['seticon_828',['SetIcon',['../classraylib_1_1_window.html#a5035259115c985be13b506af12b1f525',1,'raylib::Window']]], + ['setid_829',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()'],['../classraylib_1_1_texture.html#a54089b8fa2ce1a13c0edcd4270990b1f',1,'raylib::Texture::SetId()']]], + ['setindices_830',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], + ['setlocs_831',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], + ['setlooping_832',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], + ['setm0_833',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], + ['setm1_834',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], + ['setm10_835',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], + ['setm11_836',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], + ['setm12_837',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], + ['setm13_838',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], + ['setm14_839',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], + ['setm15_840',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], + ['setm2_841',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], + ['setm3_842',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], + ['setm4_843',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], + ['setm5_844',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], + ['setm6_845',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], + ['setm7_846',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], + ['setm8_847',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], + ['setm9_848',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], + ['setmaps_849',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], + ['setmaterial_850',['SetMaterial',['../classraylib_1_1_texture.html#a8667f5e1c478cfe06e48a1a98f3c1368',1,'raylib::Texture']]], + ['setmaterialcount_851',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], + ['setmaterials_852',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], + ['setmax_853',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], + ['setmeshcount_854',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], + ['setmeshes_855',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], + ['setmeshmaterial_856',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#acb7831c2542e8e1a7b80859cc7f43aa1',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], + ['setmin_857',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], + ['setminsize_858',['SetMinSize',['../classraylib_1_1_window.html#abd534b189b57a77e491bd7852c9ee3a4',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#ad8acc035fd7ae1ca24452de0ca97ff2b',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], + ['setmipmaps_859',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture.html#a254383891cab574ba50751ad44e42c7f',1,'raylib::Texture::SetMipmaps()']]], + ['setmode_860',['SetMode',['../classraylib_1_1_camera3_d.html#a9a2649478bcbc00bc738112d9deacc04',1,'raylib::Camera3D']]], + ['setmonitor_861',['SetMonitor',['../classraylib_1_1_window.html#a69b43267e498bdbe64092cfb96e0e950',1,'raylib::Window']]], + ['setmovecontrols_862',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a6d179e8e85e580dc9e50b6d01c99dd51',1,'raylib::Camera3D']]], + ['setnormal_863',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], + ['setnormals_864',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], + ['setnumber_865',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], + ['setoffset_866',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D']]], + ['setpitch_867',['SetPitch',['../classraylib_1_1_audio_stream.html#a3142331c775e25f172247d86fd112207',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#a863348374483c4b9b01f6e2624f833e8',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#a5018b4876727080e904385ce98ee4990',1,'raylib::Sound::SetPitch()']]], + ['setposition_868',['SetPosition',['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_window.html#a662e058a9f5b3121e6280411fa0cc73d',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_window.html#a701de0c79e8252538cd080ddfa51952d',1,'raylib::Window::SetPosition(const ::Vector2 &position)']]], + ['setprojection_869',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], + ['setr_870',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], + ['setrecs_871',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], + ['setrotation_872',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], + ['setsamplerate_873',['SetSampleRate',['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate()'],['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()']]], + ['setsamplesize_874',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], + ['setshader_875',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], + ['setshadervalue_876',['SetShaderValue',['../classraylib_1_1_matrix.html#a388c9c8913cfae69bfb840bbfab95fa9',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture.html#ae86f9e94bde8583bddc594a0bb3f57c6',1,'raylib::Texture::SetShaderValue()']]], + ['setshapes_877',['SetShapes',['../classraylib_1_1_texture.html#a5ed08c239b0b53d7ec89c9507514393a',1,'raylib::Texture']]], + ['setsize_878',['SetSize',['../classraylib_1_1_window.html#a9a51c4a61cb8c6fbf14e164e7c3afa50',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_window.html#a51be4f5c35dd84abbaa174df913aa4c7',1,'raylib::Window::SetSize(const ::Vector2 &size)']]], + ['setsmoothzoomcontrol_879',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#a6263a91ecfcc94144cd4cbff82396e78',1,'raylib::Camera3D']]], + ['setspacing_880',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], + ['setstate_881',['SetState',['../classraylib_1_1_window.html#a8f65f0cddfc91ba7c5c5efe0b5deb063',1,'raylib::Window']]], + ['setstream_882',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], + ['settangents_883',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], + ['settarget_884',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], + ['settargetfps_885',['SetTargetFPS',['../classraylib_1_1_window.html#a191fafa4e6e094477c15c157f00a18a4',1,'raylib::Window']]], + ['settexcoords_886',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], + ['settexcoords2_887',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], + ['settext_888',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], + ['settexture_889',['SetTexture',['../classraylib_1_1_font.html#ac50d5aa47129525b46e935d4c6f0d0a8',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a563a153517435efba319c750d7bd0379',1,'raylib::Material::SetTexture()'],['../classraylib_1_1_render_texture.html#a06acb5fa12b2404449f018978cef0f81',1,'raylib::RenderTexture::SetTexture()']]], + ['settitle_890',['SetTitle',['../classraylib_1_1_window.html#a306c896a81dd5790af0c8a8617b907d4',1,'raylib::Window']]], + ['settransform_891',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], + ['settrianglecount_892',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], + ['setup_893',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], + ['setvalue_894',['SetValue',['../classraylib_1_1_shader.html#aee50d83bfae949b476ad994fa739b9a5',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)'],['../classraylib_1_1_shader.html#a37e4981ccc95df6b78efd21e8563d49d',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#adade0b76feffac6c439efb46586f4099',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a7bbc8d326c377cee898bf772dda1fc1c',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)']]], + ['setvaoid_895',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], + ['setvboid_896',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], + ['setvertexcount_897',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], + ['setvertices_898',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], + ['setvolume_899',['SetVolume',['../classraylib_1_1_audio_device.html#ae1e2ca6a0cd5a3b2cb6f4cfc5455a3f1',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a6e69c7e6d2856787a588185f7865e6e1',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#acbcc821ca804c0c9783e96267b7c5ef9',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_sound.html#a03cbb1aa868bf037d163a5a540db8c8f',1,'raylib::Sound::SetVolume()']]], + ['setw_900',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], + ['setwidth_901',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture.html#aee9315728f4c54b1e950e9b0380a83bf',1,'raylib::Texture::SetWidth()']]], + ['setwindowtitle_902',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], + ['setwrap_903',['SetWrap',['../classraylib_1_1_texture.html#a29ac6e7037bc2678159760744d4538a4',1,'raylib::Texture']]], + ['setx_904',['SetX',['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()']]], + ['sety_905',['SetY',['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()']]], + ['setz_906',['SetZ',['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()'],['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()']]], + ['setzoom_907',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], + ['shouldclose_908',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], + ['sound_909',['Sound',['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)']]], + ['sphere_910',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], + ['stop_911',['Stop',['../classraylib_1_1_audio_stream.html#a266882a0ea63da435e44583270685d57',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a6a6ed906b768631c86a006b23900d542',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#af00839539bfeb6dd1bac84b5d1c90f0b',1,'raylib::Sound::Stop()']]], + ['stopmulti_912',['StopMulti',['../classraylib_1_1_sound.html#a6925b0114e6d9636c928fed1f0f0586c',1,'raylib::Sound']]] ]; diff --git a/docs/search/functions_11.html b/docs/search/functions_11.html index fb95b058..1cde7b49 100644 --- a/docs/search/functions_11.html +++ b/docs/search/functions_11.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_11.js b/docs/search/functions_11.js index 3bc4ddc8..9f3a2c49 100644 --- a/docs/search/functions_11.js +++ b/docs/search/functions_11.js @@ -1,32 +1,24 @@ var searchData= [ - ['takescreenshot_0',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], - ['text_1',['Text',['../classraylib_1_1_image.html#a31c3f86d7ab5dfbd618202a0a9c6156b',1,'raylib::Image::Text()'],['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)'],['../classraylib_1_1_image.html#a91744abc374f20b21f66549fcb4d5692',1,'raylib::Image::Text()']]], - ['textfindindex_2',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], - ['textinsert_3',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], - ['textisequal_4',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], - ['textlength_5',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], - ['textreplace_6',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], - ['textsubtext_7',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], - ['texttointeger_8',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], - ['texttolower_9',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], - ['texttopascal_10',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], - ['texttoupper_11',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], - ['texture_12',['Texture',['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)'],['../classraylib_1_1_texture.html#a58e78588be53fc00096d37019fef9134',1,'raylib::Texture::Texture(const Texture &)=delete'],['../classraylib_1_1_texture.html#a7988e6f875f2f613d449325acf9f74be',1,'raylib::Texture::Texture(Texture &&other)']]], - ['toaxisangle_13',['ToAxisAngle',['../classraylib_1_1_vector4.html#adae5284864f79d98fec6b17afad99986',1,'raylib::Vector4::ToAxisAngle(::Vector3 *outAxis, float *outAngle)'],['../classraylib_1_1_vector4.html#af8db6bdfea9975901bb4df2acfdb8361',1,'raylib::Vector4::ToAxisAngle()']]], - ['toeuler_14',['ToEuler',['../classraylib_1_1_vector4.html#a65730cc70476be33eb1e4daf33a0fd8d',1,'raylib::Vector4']]], - ['tofloatv_15',['ToFloatV',['../classraylib_1_1_matrix.html#a54f3ae730b3c5ca7da3522832fd2964d',1,'raylib::Matrix']]], - ['togglefullscreen_16',['ToggleFullscreen',['../classraylib_1_1_window.html#a06c1dd65d7f389a584e0440bef18838f',1,'raylib::Window']]], - ['tohsv_17',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], - ['toint_18',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], - ['tomatrix_19',['ToMatrix',['../classraylib_1_1_vector4.html#af04213c7901309ddb69521aad96678b2',1,'raylib::Vector4']]], - ['topot_20',['ToPOT',['../classraylib_1_1_image.html#a7783ade7b901c094bfb7049043880f27',1,'raylib::Image']]], - ['torectangle_21',['ToRectangle',['../classraylib_1_1_vector4.html#ad3a4a5db5d4644bbbe6f634c7c16f966',1,'raylib::Vector4']]], - ['torus_22',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], - ['tovector4_23',['ToVector4',['../classraylib_1_1_rectangle.html#a7f559c46f78bbbdf21c81e9db6b4fb64',1,'raylib::Rectangle']]], - ['trace_24',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], - ['tracelog_25',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], - ['transform_26',['Transform',['../classraylib_1_1_vector4.html#ad52462304fa03aed5904ea0b3ec8cd84',1,'raylib::Vector4::Transform()'],['../classraylib_1_1_vector3.html#a50c6b6a97a6f05b042c58b83564081e5',1,'raylib::Vector3::Transform()']]], - ['translate_27',['Translate',['../classraylib_1_1_matrix.html#a66c40986a01c21a5a1dd139ccf18ab28',1,'raylib::Matrix']]], - ['transpose_28',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] + ['takescreenshot_913',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], + ['text_914',['Text',['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)']]], + ['textfindindex_915',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], + ['textinsert_916',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], + ['textisequal_917',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], + ['textlength_918',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], + ['textreplace_919',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], + ['textsubtext_920',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], + ['texttointeger_921',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], + ['texttolower_922',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], + ['texttopascal_923',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], + ['texttoupper_924',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], + ['texture_925',['Texture',['../classraylib_1_1_texture.html#a0829bc40f9be86af447e2a0a37cf225a',1,'raylib::Texture::Texture(unsigned int id=0, int width=0, int height=0, int mipmaps=0, int format=0)'],['../classraylib_1_1_texture.html#a26856c78320052557b234ba318a408db',1,'raylib::Texture::Texture(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a40ea1411f0b39a78d36fc1a5a08a8fc3',1,'raylib::Texture::Texture(const ::Image &image)'],['../classraylib_1_1_texture.html#a9a125ac253e41ceaee8cecb7de8652da',1,'raylib::Texture::Texture(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#aa2697fd78772ce720f8dab323f9be97a',1,'raylib::Texture::Texture(const std::string &fileName)']]], + ['togglefullscreen_926',['ToggleFullscreen',['../classraylib_1_1_window.html#a4f4e526ad3a1bfc3c133ff379d5f04d5',1,'raylib::Window']]], + ['tohsv_927',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], + ['toint_928',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], + ['topot_929',['ToPOT',['../classraylib_1_1_image.html#ae8c33add6a7f996a706f531231b8d996',1,'raylib::Image']]], + ['torus_930',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], + ['trace_931',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], + ['tracelog_932',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], + ['transpose_933',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] ]; diff --git a/docs/search/functions_12.html b/docs/search/functions_12.html index 292fd4a7..48e59155 100644 --- a/docs/search/functions_12.html +++ b/docs/search/functions_12.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_12.js b/docs/search/functions_12.js index f94b1183..7ed9c047 100644 --- a/docs/search/functions_12.js +++ b/docs/search/functions_12.js @@ -1,13 +1,13 @@ var searchData= [ - ['unload_0',['Unload',['../classraylib_1_1_font.html#a626232061626ccd76870cf9d81e56ca5',1,'raylib::Font::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_render_texture.html#a56b0bb42ae5ef981404b0fc1b28c2ed9',1,'raylib::RenderTexture::Unload()'],['../classraylib_1_1_shader.html#a5d56815b3531966cee3e2bee8ecfa5a4',1,'raylib::Shader::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()'],['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()']]], - ['unloadcolors_1',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], - ['unloadkeepmeshes_2',['UnloadKeepMeshes',['../classraylib_1_1_model.html#aebafa7bdc74ccd5876c6574eae495722',1,'raylib::Model']]], - ['unloadpalette_3',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], - ['unloadsamples_4',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], - ['update_5',['Update',['../classraylib_1_1_audio_stream.html#af0aa29e7eb3fb305eaa224bd62402622',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#aacd0a082c65a9089e2a2bcf3c327cfe0',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#ae5453fb8380e1f8e608f4e1b807f2fba',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#adaa6e39c17c965fce04abbfee117eebc',1,'raylib::Music::Update()'],['../classraylib_1_1_physics.html#a65685532dc9ded1d67a2b9c75e29547c',1,'raylib::Physics::Update()'],['../classraylib_1_1_sound.html#aa18a9b3a41117311c093c528c6988ece',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#a92c0fe944c32ee7d614a903e58eeae3e',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ac20c8e10a88f3952f9d5a4e09d5ce5fb',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#a253099fa4469729cc3bca1c7cf7d3e93',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], - ['updateanimation_6',['UpdateAnimation',['../classraylib_1_1_model.html#abf25f0cbb2526d1a3eaef890f0dfcd88',1,'raylib::Model']]], - ['updatebuffer_7',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], - ['updatecamera_8',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], - ['upload_9',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] + ['unload_934',['Unload',['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()'],['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture.html#a22ab79fcae5acbcb4a6c1f27c519a7ec',1,'raylib::Texture::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()']]], + ['unloadcolors_935',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], + ['unloadkeepmeshes_936',['UnloadKeepMeshes',['../classraylib_1_1_model.html#a1f8233c28728eff2c4684cb8b4258cda',1,'raylib::Model']]], + ['unloadpalette_937',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], + ['unloadsamples_938',['UnloadSamples',['../classraylib_1_1_wave.html#adf7aaa265fec9183ef60c276a740d138',1,'raylib::Wave']]], + ['update_939',['Update',['../classraylib_1_1_audio_stream.html#ac7aa320c506865cc88d60264549d23b0',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#a6a59671e1b7ed19c5b6566e700b625a7',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#aa5cf71119ac343985b5575be55475c05',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#a031bc82c19b51b29f5c507cacd9c2664',1,'raylib::Music::Update()'],['../classraylib_1_1_sound.html#acec4ed7b817a356a13a24691192da968',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#aa17ec450860a4b02d1fc717dcec278e5',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture.html#ad2be6ad3fbbff3141dc274b1b397902c',1,'raylib::Texture::Update(const void *pixels)'],['../classraylib_1_1_texture.html#addb5534e675a196513976b21fa80f0a6',1,'raylib::Texture::Update(::Rectangle rec, const void *pixels)']]], + ['updateanimation_940',['UpdateAnimation',['../classraylib_1_1_model.html#a6b2400a98189c50a0c01d9868f56c3e4',1,'raylib::Model']]], + ['updatebuffer_941',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], + ['updatecamera_942',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], + ['upload_943',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_13.html b/docs/search/functions_13.html index 5fcdf9c9..f1fc553f 100644 --- a/docs/search/functions_13.html +++ b/docs/search/functions_13.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_13.js b/docs/search/functions_13.js index eaf12c23..dc6d5e36 100644 --- a/docs/search/functions_13.js +++ b/docs/search/functions_13.js @@ -1,8 +1,6 @@ var searchData= [ - ['vector2_0',['Vector2',['../classraylib_1_1_vector2.html#ab7445f9657fa71635a231f87b761975d',1,'raylib::Vector2::Vector2(float x, float y)'],['../classraylib_1_1_vector2.html#aafb7d3ca7aa016a90203c67f71ca4d33',1,'raylib::Vector2::Vector2(float x)'],['../classraylib_1_1_vector2.html#aeb25c40ed7302c7de9cc281e1e1e8109',1,'raylib::Vector2::Vector2()'],['../classraylib_1_1_vector2.html#af37eed03c414b6d9d6e0139fe8e226ef',1,'raylib::Vector2::Vector2(const ::Vector2 &vec)']]], - ['vector3_1',['Vector3',['../classraylib_1_1_vector3.html#a28f01bc9b06a7482caa86e84e7fe6fd6',1,'raylib::Vector3::Vector3(const ::Vector3 &vec)'],['../classraylib_1_1_vector3.html#a3ab43e8992532e03b278e5315391e657',1,'raylib::Vector3::Vector3(float x, float y, float z)'],['../classraylib_1_1_vector3.html#a111fc1d7cd09c6a10a05d3918e431c38',1,'raylib::Vector3::Vector3(float x, float y)'],['../classraylib_1_1_vector3.html#a5b6463f85404813d49cd95376e92ff56',1,'raylib::Vector3::Vector3(float x)'],['../classraylib_1_1_vector3.html#adad550f85023b399e2d736efdaaa8bbd',1,'raylib::Vector3::Vector3()'],['../classraylib_1_1_vector3.html#abf9e88a2959a105153cc6640e0fea4b5',1,'raylib::Vector3::Vector3(::Color color)']]], - ['vector4_2',['Vector4',['../classraylib_1_1_vector4.html#a35894d9424422dc7f4c59d6b99dc652d',1,'raylib::Vector4::Vector4(const ::Vector4 &vec)'],['../classraylib_1_1_vector4.html#aa9a25ed14de003e3611bc1801dbc90a9',1,'raylib::Vector4::Vector4(::Color color)'],['../classraylib_1_1_vector4.html#a4dc7917c7f0335ff55c87dc4ef7d7d1c',1,'raylib::Vector4::Vector4(::Rectangle rect)'],['../classraylib_1_1_vector4.html#ad43ace9c5d2dba1a7aa4d71d9395834a',1,'raylib::Vector4::Vector4()'],['../classraylib_1_1_vector4.html#a7af3871a8ecd1138280e670d06ad4a75',1,'raylib::Vector4::Vector4(float x)'],['../classraylib_1_1_vector4.html#acf017370db9f15af801e90cef97fe055',1,'raylib::Vector4::Vector4(float x, float y)'],['../classraylib_1_1_vector4.html#a0aa651ea0c915ccf0007397c13a553b2',1,'raylib::Vector4::Vector4(float x, float y, float z)'],['../classraylib_1_1_vector4.html#a9111e43425e61eb7c7d22b5ff0cf57b6',1,'raylib::Vector4::Vector4(float x, float y, float z, float w)']]], - ['violet_3',['Violet',['../classraylib_1_1_color.html#a33a800381c93a8a57900fa7d092a00cf',1,'raylib::Color']]], - ['vrstereoconfig_4',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#a630225c95d54e50482f6455e13d4fc3b',1,'raylib::VrStereoConfig']]] + ['wave_944',['Wave',['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], + ['whitenoise_945',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], + ['window_946',['Window',['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window']]] ]; diff --git a/docs/search/functions_14.html b/docs/search/functions_14.html index 82c70b0a..0302cd98 100644 --- a/docs/search/functions_14.html +++ b/docs/search/functions_14.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_14.js b/docs/search/functions_14.js index f6fe7b05..59af497f 100644 --- a/docs/search/functions_14.js +++ b/docs/search/functions_14.js @@ -1,7 +1,4 @@ var searchData= [ - ['wave_0',['Wave',['../classraylib_1_1_wave.html#a4643a642d42434c4eb39c6888688d495',1,'raylib::Wave::Wave(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aa76ff3e113cace4453b683725159aae6',1,'raylib::Wave::Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)'],['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_wave.html#a3c59426e8ff3fff68abb532a1e785b1e',1,'raylib::Wave::Wave(const Wave &other)'],['../classraylib_1_1_wave.html#adae03cb2d443e6d868f38c7c8db14913',1,'raylib::Wave::Wave(Wave &&other)']]], - ['white_1',['White',['../classraylib_1_1_color.html#ac92b0a8cb0bfc268863553ff5a2af7fb',1,'raylib::Color']]], - ['whitenoise_2',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], - ['window_3',['Window',['../classraylib_1_1_window.html#a512fd0b1756394575970eed80ebac2fb',1,'raylib::Window']]] + ['zero_947',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2']]] ]; diff --git a/docs/search/functions_15.html b/docs/search/functions_15.html index 050aa251..18cf76b2 100644 --- a/docs/search/functions_15.html +++ b/docs/search/functions_15.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_15.js b/docs/search/functions_15.js index 9c1af64e..f2b442c2 100644 --- a/docs/search/functions_15.js +++ b/docs/search/functions_15.js @@ -1,4 +1,8 @@ var searchData= [ - ['yellow_0',['Yellow',['../classraylib_1_1_color.html#a3e7a0f02d796ca9b8845023c7fd0dbf5',1,'raylib::Color']]] + ['_7eaudiodevice_948',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], + ['_7emusic_949',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], + ['_7evrstereoconfig_950',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], + ['_7ewave_951',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], + ['_7ewindow_952',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] ]; diff --git a/docs/search/functions_2.html b/docs/search/functions_2.html index 1f16d2ae..2737c5ac 100644 --- a/docs/search/functions_2.html +++ b/docs/search/functions_2.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index 0fa3c512..5834c0cd 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -1,32 +1,26 @@ var searchData= [ - ['camera2d_0',['Camera2D',['../classraylib_1_1_camera2_d.html#a2038c9432fdae18a744f9dd395da30bf',1,'raylib::Camera2D::Camera2D()'],['../classraylib_1_1_camera2_d.html#ade6e4f7d7a0bb165e65c0a08ae09e742',1,'raylib::Camera2D::Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)'],['../classraylib_1_1_camera2_d.html#a05e4b432a014c69d68d37c643073c709',1,'raylib::Camera2D::Camera2D(const ::Camera2D &camera)']]], - ['camera3d_1',['Camera3D',['../classraylib_1_1_camera3_d.html#a8ec807581f3610db4830f6ff5c96d1dd',1,'raylib::Camera3D::Camera3D(const ::Camera3D &camera)'],['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D::Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)'],['../classraylib_1_1_camera3_d.html#a79f19d069575d1c0f825ecb188e961fc',1,'raylib::Camera3D::Camera3D()']]], - ['cellular_2',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], - ['changedirectory_3',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], - ['checkcollision_4',['CheckCollision',['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision(const ::BoundingBox &box2) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision()'],['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision()'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)']]], - ['checkcollisioncircle_5',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], - ['checkcollisionlines_6',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], - ['checkcollisionsphere_7',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], - ['checked_8',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], - ['clearbackground_9',['ClearBackground',['../classraylib_1_1_image.html#a7ddf59bd35617f3d99401b0fc8246c3d',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a734279b5494096d11fe0aad66d6fb3e6',1,'raylib::Window::ClearBackground()'],['../classraylib_1_1_color.html#ae84cc25e0c83510324e0d30104255cdf',1,'raylib::Color::ClearBackground()']]], - ['clearstate_10',['ClearState',['../classraylib_1_1_window.html#a2cd6268d95ce7e3eb8edf3205305e6f3',1,'raylib::Window']]], - ['close_11',['Close',['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()'],['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_physics.html#a00177830e684f2a584b8a5df3ada3b51',1,'raylib::Physics::Close()']]], - ['color_12',['Color',['../classraylib_1_1_color.html#ab6c57e01798eb39092b260e7c6c008ac',1,'raylib::Color::Color()'],['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ab0221dcd700b9a6add471cbceb718ac6',1,'raylib::Color::Color(const ::Color &color)'],['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)']]], - ['colorbrightness_13',['ColorBrightness',['../classraylib_1_1_image.html#a6d873ebdfb0e09bdb5bb3d46a0b878fd',1,'raylib::Image']]], - ['colorcontrast_14',['ColorContrast',['../classraylib_1_1_image.html#a07972575734563011c88b2c5a09a22f0',1,'raylib::Image']]], - ['colorfromnormalized_15',['ColorFromNormalized',['../classraylib_1_1_vector4.html#a6bdbffc997711e3b3876dace2471b1bb',1,'raylib::Vector4']]], - ['colorgrayscale_16',['ColorGrayscale',['../classraylib_1_1_image.html#a601db6a18ae9716277214ee07e40f44e',1,'raylib::Image']]], - ['colorinvert_17',['ColorInvert',['../classraylib_1_1_image.html#ab610da4948f86f690d75bdbbcbc67ab0',1,'raylib::Image']]], - ['colorreplace_18',['ColorReplace',['../classraylib_1_1_image.html#ace6497a285c946bd131f1e45c23ec966',1,'raylib::Image']]], - ['colortint_19',['ColorTint',['../classraylib_1_1_image.html#a18715953b31aae0da740326464964845',1,'raylib::Image']]], - ['copy_20',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], - ['createbodycircle_21',['CreateBodyCircle',['../classraylib_1_1_physics.html#a436c99fb21784b33ed039a713b927023',1,'raylib::Physics']]], - ['createbodypolygon_22',['CreateBodyPolygon',['../classraylib_1_1_physics.html#a9cbab4c8c8682f30924e4f7e85d37482',1,'raylib::Physics']]], - ['createbodyrectangle_23',['CreateBodyRectangle',['../classraylib_1_1_physics.html#aca1bd6e53ddbf8c64a3225ce32f1c3cc',1,'raylib::Physics']]], - ['crop_24',['Crop',['../classraylib_1_1_image.html#af9b7c45dca84edf6eccd6c5064948c2e',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a80e74811dd3ac0c5fe8fba160ccd6cda',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a560f8d9b0669a7660406a849d4e26e66',1,'raylib::Wave::Crop()'],['../classraylib_1_1_image.html#ad28fbb3b6078e0a276e1e95b5b875437',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#abccdbbebbf450929a36146ae89cbf5ec',1,'raylib::Image::Crop(int newWidth, int newHeight)']]], - ['crossproduct_25',['CrossProduct',['../classraylib_1_1_vector3.html#a9f30fdbf652bcd0f5883937bdac79973',1,'raylib::Vector3']]], - ['cube_26',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], - ['cubicmap_27',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], - ['cylinder_28',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] + ['camera3d_514',['Camera3D',['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D']]], + ['cellular_515',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], + ['changedirectory_516',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], + ['checkcollision_517',['CheckCollision',['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision(const ::BoundingBox &box2) const'],['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_ray.html#ad0423741c40f27573139f30d05b39a77',1,'raylib::Ray::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()']]], + ['checkcollisioncircle_518',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], + ['checkcollisionlines_519',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], + ['checkcollisionsphere_520',['CheckCollisionSphere',['../classraylib_1_1_ray.html#a3190f8eb00e4d06b841580201115eed8',1,'raylib::Ray']]], + ['checked_521',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], + ['clearbackground_522',['ClearBackground',['../classraylib_1_1_color.html#ace467f20d71ff4af44e0211d6aeea9b5',1,'raylib::Color::ClearBackground()'],['../classraylib_1_1_image.html#aed48d37124df81191a9c10a417508703',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a69eb249831f1976ce2a73945e31c6f52',1,'raylib::Window::ClearBackground()']]], + ['clearstate_523',['ClearState',['../classraylib_1_1_window.html#a359e2101ac13e8ee8423b3ffb27c8a42',1,'raylib::Window']]], + ['close_524',['Close',['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()']]], + ['color_525',['Color',['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()']]], + ['colorbrightness_526',['ColorBrightness',['../classraylib_1_1_image.html#a2e6287edda71ed977b4b416e04b0f37f',1,'raylib::Image']]], + ['colorcontrast_527',['ColorContrast',['../classraylib_1_1_image.html#af00dca9570581bb75e0616e9a9f9b822',1,'raylib::Image']]], + ['colorgrayscale_528',['ColorGrayscale',['../classraylib_1_1_image.html#a2eae93c88197917b6706139f2c3c6dc2',1,'raylib::Image']]], + ['colorinvert_529',['ColorInvert',['../classraylib_1_1_image.html#af7f900b20bb8823c2c435673438dfbbd',1,'raylib::Image']]], + ['colorreplace_530',['ColorReplace',['../classraylib_1_1_image.html#af9d668a5feaed2554a77694f61cbdae0',1,'raylib::Image']]], + ['colortint_531',['ColorTint',['../classraylib_1_1_image.html#a0299b8ed8b569977d214ce265d3a5c93',1,'raylib::Image']]], + ['copy_532',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], + ['crop_533',['Crop',['../classraylib_1_1_image.html#a50a7394e9662bf4f587cd73c5d594cee',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#a1ac865ee24df3dab2afa028c49843590',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#a2fdfad958c27f8cc590b194b06338e2d',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a24323ef52da6113c3af4861ce0250ea0',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a25601c51a2f81c569b074620c6758e94',1,'raylib::Wave::Crop()']]], + ['cube_534',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], + ['cubicmap_535',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], + ['cylinder_536',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_3.html b/docs/search/functions_3.html index 0b37ee2f..6da86e7d 100644 --- a/docs/search/functions_3.html +++ b/docs/search/functions_3.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_3.js b/docs/search/functions_3.js index 8af544b4..c4563063 100644 --- a/docs/search/functions_3.js +++ b/docs/search/functions_3.js @@ -1,49 +1,19 @@ var searchData= [ - ['darkblue_0',['DarkBlue',['../classraylib_1_1_color.html#aaa36d9ed5825ea9ae6795e18038f602c',1,'raylib::Color']]], - ['darkbrown_1',['DarkBrown',['../classraylib_1_1_color.html#a039f0f5467102ffb543109e534c032bd',1,'raylib::Color']]], - ['darkgray_2',['DarkGray',['../classraylib_1_1_color.html#a862ca7295e95d4783d17538203f8ea3b',1,'raylib::Color']]], - ['darkgreen_3',['DarkGreen',['../classraylib_1_1_color.html#a35a96f8b49a63537fc3b8ab98bb3bc53',1,'raylib::Color']]], - ['darkpurple_4',['DarkPurple',['../classraylib_1_1_color.html#ab8c0bf2dac476d593a1b13a22f436486',1,'raylib::Color']]], - ['destroybody_5',['DestroyBody',['../classraylib_1_1_physics.html#a7bae4d018888a1b52e6f94cf7101b964',1,'raylib::Physics']]], - ['directoryexists_6',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], - ['distance_7',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2::Distance()'],['../classraylib_1_1_vector3.html#ad4c5a6a278eeae5371e45a14bad4a7d1',1,'raylib::Vector3::Distance()']]], - ['dither_8',['Dither',['../classraylib_1_1_image.html#a09eb4388e24a7a3c9a3b7d6c280c5652',1,'raylib::Image']]], - ['divide_9',['Divide',['../classraylib_1_1_vector2.html#a6cd160434801eeadfbbc5deec8b20e21',1,'raylib::Vector2::Divide(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#afed61e067c7fc43651cc1528e62ecd83',1,'raylib::Vector2::Divide(const float div) const'],['../classraylib_1_1_vector3.html#a93595f9db4555c26eadb2c0370ca1435',1,'raylib::Vector3::Divide(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a9f644e6c306ae5cf3a68c3f4900ef9e6',1,'raylib::Vector3::Divide(const float div) const']]], - ['dotproduct_10',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2::DotProduct()'],['../classraylib_1_1_vector3.html#ad5ed567a46fa3b08f77e9a05338d2214',1,'raylib::Vector3::DotProduct()']]], - ['draw_11',['Draw',['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw()'],['../classraylib_1_1_texture.html#af6b9ac35ebf354033cc06ee14a7e6a3f',1,'raylib::Texture::Draw(::Vector3 position, float width, float height, float length, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a79a54d908bbf6726c5d3a921dba0d616',1,'raylib::Texture::Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#aaf4ed8f0418a53d00ded3795ee251128',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ad48b00a0fc6c99d327d0c877e20201fc',1,'raylib::Texture::Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a3665f89c111fa1631e535bc4e61f54b0',1,'raylib::Texture::Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#ae5f6f8fb2f11557307663ee99438a1c0',1,'raylib::Texture::Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a2e04bf6c219eb6ebe1341a01f621d067',1,'raylib::Texture::Draw(::Vector2 position, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_texture.html#a01f12372505ce5c5d1a0bbe1c65d694c',1,'raylib::Texture::Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_bounding_box.html#a85e385b01a3736d58b90370181f4a25d',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw()'],['../classraylib_1_1_rectangle.html#ab7e1811729d9e6e1249cdb609b1ca708',1,'raylib::Rectangle::Draw(::Vector2 origin, float rotation, ::Color color)'],['../classraylib_1_1_rectangle.html#abce328ccb910b789837bb8ceea853eab',1,'raylib::Rectangle::Draw(::Color color)'],['../classraylib_1_1_ray.html#a4048e3ce9306133b8823d3f4066e8b33',1,'raylib::Ray::Draw()'],['../classraylib_1_1_model.html#a6ec5ae6feae25b78afd39ac0ae87f3bf',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#ad76a70cac2237c3e435606f94378e482',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_image.html#a024eeed4c94a73595d1f842f7e2664ca',1,'raylib::Image::Draw()'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw()']]], - ['drawbillboard_12',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a19e03b4f8eb63e21c988dcb15aba0049',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#aa4b970e07fe839d0a5f549411232243c',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], - ['drawcircle_13',['DrawCircle',['../classraylib_1_1_vector2.html#a16b512d0fead59f597fd878e620e83cc',1,'raylib::Vector2::DrawCircle()'],['../classraylib_1_1_image.html#a2fc76ab2cf7bae0217d01bb06bb1f6a0',1,'raylib::Image::DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#afb42558709adf2c7d2f87261381e944c',1,'raylib::Image::DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})']]], - ['drawcircle3d_14',['DrawCircle3D',['../classraylib_1_1_vector3.html#aebaf47cab425aedbcb51f3e659dd6651',1,'raylib::Vector3']]], - ['drawcube_15',['DrawCube',['../classraylib_1_1_vector3.html#a8e2e73ad510a38d0e54098817cd44e06',1,'raylib::Vector3::DrawCube(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#ac94d3f679b33dafe86f65f6eda901d6f',1,'raylib::Vector3::DrawCube(const ::Vector3 &size, ::Color color)']]], - ['drawcubetexture_16',['DrawCubeTexture',['../classraylib_1_1_vector3.html#a518280d8efae9b3f32b11ce481c90f6c',1,'raylib::Vector3']]], - ['drawcubewires_17',['DrawCubeWires',['../classraylib_1_1_vector3.html#a57d3400cb17fe30e3c8df1f92a7a666a',1,'raylib::Vector3::DrawCubeWires(float width, float height, float length, ::Color color)'],['../classraylib_1_1_vector3.html#a61c5da9cd105142f99566726d3874fd5',1,'raylib::Vector3::DrawCubeWires(const ::Vector3 &size, ::Color color)']]], - ['drawcylinder_18',['DrawCylinder',['../classraylib_1_1_vector3.html#a7fd3f80620c2b0a1a00bf10f21cd1417',1,'raylib::Vector3']]], - ['drawcylinderwires_19',['DrawCylinderWires',['../classraylib_1_1_vector3.html#ae4c1ed7bd96f879f272fa3a35baf84b7',1,'raylib::Vector3']]], - ['drawfps_20',['DrawFPS',['../classraylib_1_1_window.html#ab961dfef8fbec984bf9e94e0a01488d4',1,'raylib::Window']]], - ['drawgradient_21',['DrawGradient',['../classraylib_1_1_rectangle.html#a91f16cb0155770dce5a243696c7133de',1,'raylib::Rectangle']]], - ['drawgradienth_22',['DrawGradientH',['../classraylib_1_1_rectangle.html#a7214778babdc04f084485b4e6bb49960',1,'raylib::Rectangle']]], - ['drawgradientv_23',['DrawGradientV',['../classraylib_1_1_rectangle.html#a608a8127089b86675754550f3de8d8ff',1,'raylib::Rectangle']]], - ['drawline_24',['DrawLine',['../classraylib_1_1_color.html#a64c1ccc93aaf5ab30b831d61f9e596bb',1,'raylib::Color::DrawLine()'],['../classraylib_1_1_vector2.html#a2a5f918b46cfe5cdc53549dcad1737b6',1,'raylib::Vector2::DrawLine(::Vector2 endPos, float thick, ::Color color)'],['../classraylib_1_1_vector2.html#ae50cce093de0fa8d1c59867f20fd93fd',1,'raylib::Vector2::DrawLine(::Vector2 endPos, ::Color color)'],['../classraylib_1_1_image.html#ac774b77412eb0e1a8746ea5a7f135ff7',1,'raylib::Image::DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#abb9270b51e9b524be868ed1e41c47206',1,'raylib::Image::DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a3c3329d71a380e4975824c86ab47fc3d',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos)'],['../classraylib_1_1_color.html#a31cb01e3e863db20ff5db8167a7d0645',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick)']]], - ['drawline3d_25',['DrawLine3D',['../classraylib_1_1_vector3.html#ac0ecd225214ee0916c4bb8b94663b9e8',1,'raylib::Vector3']]], - ['drawlinebezier_26',['DrawLineBezier',['../classraylib_1_1_color.html#a7b18fbaa004f3dc3c07f88e6c136c7ec',1,'raylib::Color::DrawLineBezier()'],['../classraylib_1_1_vector2.html#ae358d57eb09dea4b55c135e28d7c444f',1,'raylib::Vector2::DrawLineBezier(::Vector2 endPos, float thick, ::Color color)']]], - ['drawlinebezierquad_27',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a010ec44d07aabfad8814995d7883eda6',1,'raylib::Vector2']]], - ['drawlines_28',['DrawLines',['../classraylib_1_1_rectangle.html#aa2a27862a187321a4ebf42803570f030',1,'raylib::Rectangle::DrawLines(::Color color)'],['../classraylib_1_1_rectangle.html#acc73b3b7db8de38e6ff740f084a02ded',1,'raylib::Rectangle::DrawLines(::Color color, float lineThick)']]], - ['drawlinestrip_29',['DrawLineStrip',['../classraylib_1_1_color.html#a055c8c6241107d615f6e1e700b2b1aff',1,'raylib::Color']]], - ['drawmesh_30',['DrawMesh',['../classraylib_1_1_material.html#abc4ed480bca168f2aef7326fbb13507c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a42e260d925663777cf3cc3f201ddc8dd',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], - ['drawpixel_31',['DrawPixel',['../classraylib_1_1_image.html#a5e7a421dd9677313caedd35693c814da',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_vector2.html#a3089910c36033d2a876f9650849323a7',1,'raylib::Vector2::DrawPixel()'],['../classraylib_1_1_image.html#afae542a1dfa09cfb01aba062ff1aa8fe',1,'raylib::Image::DrawPixel()'],['../classraylib_1_1_color.html#aab05b1d70b027f90a8c5a4c55f2d0a28',1,'raylib::Color::DrawPixel(::Vector2 pos)'],['../classraylib_1_1_color.html#af0f2bae5883697ddc2b07762f838a855',1,'raylib::Color::DrawPixel(int x, int y)']]], - ['drawplane_32',['DrawPlane',['../classraylib_1_1_vector3.html#a2f530ead1069bf375401680ee4378563',1,'raylib::Vector3']]], - ['drawpoint3d_33',['DrawPoint3D',['../classraylib_1_1_vector3.html#abfeb64fa51e67e88bb5889eb8680a090',1,'raylib::Vector3']]], - ['drawpoly_34',['DrawPoly',['../classraylib_1_1_texture.html#a2e3b0f8d689de56d005c512d80f867a4',1,'raylib::Texture::DrawPoly()'],['../classraylib_1_1_vector2.html#ab670cd5ea7625cf3dd3672579de94d2a',1,'raylib::Vector2::DrawPoly(int sides, float radius, float rotation, ::Color color)']]], - ['drawrectangle_35',['DrawRectangle',['../classraylib_1_1_vector2.html#af512e0dad4631def86cf85363f96db3b',1,'raylib::Vector2::DrawRectangle()'],['../classraylib_1_1_image.html#a49e42e4c74bbefb3063bb35a7997a350',1,'raylib::Image::DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0ab135ece09e3d39d784ad09806ff9ff',1,'raylib::Image::DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_color.html#a59da76c14ee59edf6539d221ae119246',1,'raylib::Color::DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation)'],['../classraylib_1_1_color.html#a65ee3de078230377435d861dc1f10fc2',1,'raylib::Color::DrawRectangle(::Rectangle rec)'],['../classraylib_1_1_color.html#af75f37960f7ace789d04bb4bdf069e30',1,'raylib::Color::DrawRectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_image.html#a3dd535220c663341712c2707aac65dd4',1,'raylib::Image::DrawRectangle()'],['../classraylib_1_1_color.html#a5596fcd6409294829c0638c54638da10',1,'raylib::Color::DrawRectangle(int posX, int posY, int width, int height)']]], - ['drawrectanglelines_36',['DrawRectangleLines',['../classraylib_1_1_color.html#aabca38cee8e5788168eb4aa956a16c19',1,'raylib::Color::DrawRectangleLines(int posX, int posY, int width, int height)'],['../classraylib_1_1_color.html#aeae8501be8cb2b5ecd7f30c661fc89ce',1,'raylib::Color::DrawRectangleLines(::Rectangle rec, float lineThick)'],['../classraylib_1_1_image.html#aa3157e7fa12140eaf9c2d304b55985db',1,'raylib::Image::DrawRectangleLines()']]], - ['drawrounded_37',['DrawRounded',['../classraylib_1_1_rectangle.html#a9619f4bc272398fab7f5c86b2892b048',1,'raylib::Rectangle']]], - ['drawroundedlines_38',['DrawRoundedLines',['../classraylib_1_1_rectangle.html#aab8c6c6bd1dbc9c87565dbb3f2711ef1',1,'raylib::Rectangle']]], - ['drawsphere_39',['DrawSphere',['../classraylib_1_1_vector3.html#a0119b7cf3aa61592d70359138a19fe86',1,'raylib::Vector3::DrawSphere(float radius, ::Color color)'],['../classraylib_1_1_vector3.html#a33a5693fc2002b329c7a9d4d27a47366',1,'raylib::Vector3::DrawSphere(float radius, int rings, int slices, ::Color color)']]], - ['drawspherewires_40',['DrawSphereWires',['../classraylib_1_1_vector3.html#a30bb3389ffcd2cc3fa93df19d6350d7c',1,'raylib::Vector3']]], - ['drawtext_41',['DrawText',['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()'],['../classraylib_1_1_color.html#a060f07ce766143cfb243eefe1333052c',1,'raylib::Color::DrawText()'],['../classraylib_1_1_image.html#aa97958266300e98b83fcc936f1f6c6eb',1,'raylib::Image::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a11eeb4d77ac9f5ec0327160745d27670',1,'raylib::Image::DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a9a8b22ee61fd3f5f4fa2ac0f059e7d8a',1,'raylib::Image::DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_font.html#abf655ac8083416f713aae42a0b6a7ebc',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../classraylib_1_1_font.html#add919de80266984a0e6edd9ed7a369ef',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a405b1ea5719be1635ce1d8c285b808a4',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_color.html#ac67590e345ada0349145795e080275f1',1,'raylib::Color::DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing)'],['../classraylib_1_1_color.html#ab3e313480ab7b00435f12188d04027df',1,'raylib::Color::DrawText(const std::string &text, int posX, int posY, int fontSize)']]], - ['drawtextex_42',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], - ['drawtextpro_43',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], - ['drawtiled_44',['DrawTiled',['../classraylib_1_1_texture.html#a5cbd367a4a418284c834926bff6e2fb0',1,'raylib::Texture']]], - ['drawwires_45',['DrawWires',['../classraylib_1_1_model.html#afb936c1fac4ee684b616083f473f3977',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a84f36042c82f27eafd5467537aad99d6',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] + ['directoryexists_537',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], + ['distance_538',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2']]], + ['dither_539',['Dither',['../classraylib_1_1_image.html#a055b6908b9e8cfcd109abc537f3d2056',1,'raylib::Image']]], + ['dotproduct_540',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2']]], + ['draw_541',['Draw',['../classraylib_1_1_bounding_box.html#aae0a66351992f36372ef68a6d4508c62',1,'raylib::BoundingBox::Draw()'],['../classraylib_1_1_mesh.html#a0986b0d483a5ecd617b6f861c42522c0',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform)'],['../classraylib_1_1_mesh.html#aff9456f87cb65f1eedf1729f0704463c',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances)'],['../classraylib_1_1_model.html#a99e9a5432ab7a4cbd502d6cbcb7cb0e8',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a1dca1f974cbecc203ac9da8b5fa11127',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_ray.html#a84586f1f5ce6627b1d0224fad287787b',1,'raylib::Ray::Draw()'],['../classraylib_1_1_rectangle.html#a3b886508162b32e034314111532d8f20',1,'raylib::Rectangle::Draw()'],['../classraylib_1_1_text.html#a15d96cc41dff4c021237d99fef155df9',1,'raylib::Text::Draw(const ::Vector2 &position)'],['../classraylib_1_1_text.html#a247c9e98eea919f55f83d0dd5c1a2126',1,'raylib::Text::Draw(int posX, int posY)'],['../classraylib_1_1_text.html#a868f9c2241ba57311dca57130e677a03',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const Vector2 &origin={0, 0})'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_texture.html#a4110ec2a26c4c31da63fe89d2ed0eb79',1,'raylib::Texture::Draw()']]], + ['drawbillboard_542',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a5cbf6986fba9deb41fecf4076ac7c61f',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_camera3_d.html#a566e1b8a56edad8de93236d07f024f5e',1,'raylib::Camera3D::DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255})']]], + ['drawcircle_543',['DrawCircle',['../classraylib_1_1_vector2.html#ad13e3d98cc06a835db9dc605b090b15c',1,'raylib::Vector2']]], + ['drawfps_544',['DrawFPS',['../classraylib_1_1_window.html#a3e183210f1afec78af9aebd4a0749d56',1,'raylib::Window']]], + ['drawline_545',['DrawLine',['../classraylib_1_1_color.html#ab3a3237688396c1768034d553d2f1cde',1,'raylib::Color']]], + ['drawlinebezierquad_546',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#a75ad1e5906da8eb4ab23c12748b431cb',1,'raylib::Vector2']]], + ['drawmesh_547',['DrawMesh',['../classraylib_1_1_material.html#a5a2b58f57b8229fdda68caea9aec1108',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#a4c5fb1460ec6e7e95b2750da86cc0c1c',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], + ['drawpixel_548',['DrawPixel',['../classraylib_1_1_color.html#a28cd68c3548a019b36538d0a92fe2099',1,'raylib::Color::DrawPixel()'],['../classraylib_1_1_image.html#a6b0b903a298f55a692bb80da79030696',1,'raylib::Image::DrawPixel()']]], + ['drawtext_549',['DrawText',['../classraylib_1_1_font.html#ac3edd0d0ff79509e4e7144d2a111d704',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE)'],['../classraylib_1_1_font.html#a1a3c668905d6769fdf3d8f341520926c',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 })'],['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText()']]], + ['drawtextex_550',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], + ['drawtextpro_551',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], + ['drawwires_552',['DrawWires',['../classraylib_1_1_model.html#a0a2beeb4e4776202dd441ccb5d1550fe',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_model.html#a7b61d8a179220f2a507bcbab2c660949',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255})']]] ]; diff --git a/docs/search/functions_4.html b/docs/search/functions_4.html index 0eaf2b4a..911304e6 100644 --- a/docs/search/functions_4.html +++ b/docs/search/functions_4.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_4.js b/docs/search/functions_4.js index 5fb1c3d0..bfbc9db8 100644 --- a/docs/search/functions_4.js +++ b/docs/search/functions_4.js @@ -1,9 +1,9 @@ var searchData= [ - ['enddrawing_0',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a8804e60e9db545d7701f44093b02e14f',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#abc2674cb9309548d27da7b114ff709c7',1,'raylib::Window::EndDrawing()']]], - ['endmode_1',['EndMode',['../classraylib_1_1_camera2_d.html#a1ed1e6b78525562b480e8f2d2a0e11a5',1,'raylib::Camera2D::EndMode()'],['../classraylib_1_1_camera3_d.html#a37fbcad2f93a9a578b75b49fc44523fe',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a745032e86cd391ddf110a1e40ba3415f',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a7fe1ea1fc973002033abbaf149499eb6',1,'raylib::Shader::EndMode()']]], - ['export_2',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], - ['exportascode_3',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], - ['exportimage_4',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], - ['exportimageascode_5',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] + ['enddrawing_553',['EndDrawing',['../classraylib_1_1_vr_stereo_config.html#a330f5b215ee77c138d75a304fdd8e705',1,'raylib::VrStereoConfig::EndDrawing()'],['../classraylib_1_1_window.html#a43bfc69dfce6ec3aaf1170f521243d59',1,'raylib::Window::EndDrawing()']]], + ['endmode_554',['EndMode',['../classraylib_1_1_camera3_d.html#a724b766ec42ff58243a353e07fd464e8',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a2b742cd39ce046d2ac8e1cd0bb6ae4ff',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a525c31d5a7482bc89e41f03d1284b9f7',1,'raylib::Shader::EndMode()']]], + ['export_555',['Export',['../classraylib_1_1_image.html#a51b6e05e27db567528729a62b9ebbf43',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#aabbac566be5d678da87ac30a053eee55',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], + ['exportascode_556',['ExportAsCode',['../classraylib_1_1_image.html#adfc2eded6288b1cf763722ac5ad7004e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], + ['exportimage_557',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], + ['exportimageascode_558',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] ]; diff --git a/docs/search/functions_5.html b/docs/search/functions_5.html index eaa27697..61b920db 100644 --- a/docs/search/functions_5.html +++ b/docs/search/functions_5.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_5.js b/docs/search/functions_5.js index 33436f5c..d71c6b2d 100644 --- a/docs/search/functions_5.js +++ b/docs/search/functions_5.js @@ -1,16 +1,11 @@ var searchData= [ - ['fade_0',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], - ['fileexists_1',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], - ['fliphorizontal_2',['FlipHorizontal',['../classraylib_1_1_image.html#a6f0c8963620c97353ebb660b87168445',1,'raylib::Image']]], - ['flipvertical_3',['FlipVertical',['../classraylib_1_1_image.html#a8ec02e007282448332c09a3db487d2d4',1,'raylib::Image']]], - ['font_4',['Font',['../classraylib_1_1_font.html#a583656ce94c5ade2bf4a47717f767764',1,'raylib::Font::Font()'],['../classraylib_1_1_font.html#afde2bd6bb51a7fe6fa02f4d9be73087f',1,'raylib::Font::Font(Font &&other)'],['../classraylib_1_1_font.html#a075661783e8267f508e285d6ce39e959',1,'raylib::Font::Font(const Font &)=delete'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a53f097120183d34ad5474989a450bf43',1,'raylib::Font::Font(const ::Font &font)'],['../classraylib_1_1_font.html#a748d8c50e914b82a1ad9ef1aea17cda3',1,'raylib::Font::Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)']]], - ['format_5',['Format',['../classraylib_1_1_image.html#a97c4715d7b9b9e9d34a31123e1141c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a704d264e7f5e60a782510d49b78ddd5d',1,'raylib::Wave::Format()']]], - ['fromaxisangle_6',['FromAxisAngle',['../classraylib_1_1_vector4.html#a7b19708f1d8f0e4056fc1050768bb831',1,'raylib::Vector4']]], - ['fromeuler_7',['FromEuler',['../classraylib_1_1_vector4.html#af0ef6849109ce23736572ac55854f693',1,'raylib::Vector4::FromEuler(const float yaw, const float pitch, const float roll)'],['../classraylib_1_1_vector4.html#a0fda15f29e8c5bd3d3170eddf332592e',1,'raylib::Vector4::FromEuler(const ::Vector3 &vector3)']]], - ['fromhsv_8',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], - ['fromimage_9',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]], - ['frommatrix_10',['FromMatrix',['../classraylib_1_1_vector4.html#aba134afd1e66d71cfa68ca020cb3ce2c',1,'raylib::Vector4']]], - ['fromvector3tovector3_11',['FromVector3ToVector3',['../classraylib_1_1_vector4.html#aab5725e573a60315acd1f733316af2ea',1,'raylib::Vector4']]], - ['frustum_12',['Frustum',['../classraylib_1_1_matrix.html#ad2fc693fb8c61fe3615217332be79506',1,'raylib::Matrix']]] + ['fade_559',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], + ['fileexists_560',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], + ['fliphorizontal_561',['FlipHorizontal',['../classraylib_1_1_image.html#a5d8f596d36077f4b8c24512a2df73e65',1,'raylib::Image']]], + ['flipvertical_562',['FlipVertical',['../classraylib_1_1_image.html#a0f052c63b3cebcf99c0cad86c8e88da4',1,'raylib::Image']]], + ['font_563',['Font',['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)']]], + ['format_564',['Format',['../classraylib_1_1_image.html#a01fcff59e33e044bd779202ea3473c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a4e6d2e64e6cdd46133893c9edd70b508',1,'raylib::Wave::Format()']]], + ['fromhsv_565',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], + ['fromimage_566',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]] ]; diff --git a/docs/search/functions_6.html b/docs/search/functions_6.html index 25d1cc81..dc70a4a0 100644 --- a/docs/search/functions_6.html +++ b/docs/search/functions_6.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js index c6d52a58..04171ed0 100644 --- a/docs/search/functions_6.js +++ b/docs/search/functions_6.js @@ -1,151 +1,141 @@ var searchData= [ - ['gamepad_0',['Gamepad',['../classraylib_1_1_gamepad.html#a21fe706b843ce2196f52c1c08ea0d92a',1,'raylib::Gamepad']]], - ['genbinormals_1',['GenBinormals',['../classraylib_1_1_mesh.html#abead0f83947250a690ed3df9cc7e7ee6',1,'raylib::Mesh']]], - ['genmipmaps_2',['GenMipmaps',['../classraylib_1_1_texture.html#a933b56221e7ca9056c71c948b0fb04ae',1,'raylib::Texture']]], - ['gentangents_3',['GenTangents',['../classraylib_1_1_mesh.html#ad1124e959bb502bf73bbcbed1dad9ad9',1,'raylib::Mesh']]], - ['geta_4',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], - ['getalphaborder_5',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], - ['getanimnormals_6',['GetAnimNormals',['../classraylib_1_1_mesh.html#a50ce721e9b1776b7bca8e08bd98604dc',1,'raylib::Mesh']]], - ['getanimvertices_7',['GetAnimVertices',['../classraylib_1_1_mesh.html#aa839d41a65c2d76fa09be53705817979',1,'raylib::Mesh']]], - ['getaxiscount_8',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], - ['getaxismovement_9',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], - ['getb_10',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], - ['getbasesize_11',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], - ['getbindpoe_12',['GetBindPoe',['../classraylib_1_1_model.html#a2aa6c3849f23fe94e69af1565dd96b1f',1,'raylib::Model']]], - ['getbodiescount_13',['GetBodiesCount',['../classraylib_1_1_physics.html#aff7aed721273fb7e990974dbc9854974',1,'raylib::Physics']]], - ['getbody_14',['GetBody',['../classraylib_1_1_physics.html#ac0d23dc143aec4b2aac7570ecaa34e55',1,'raylib::Physics']]], - ['getbonecount_15',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], - ['getboneids_16',['GetBoneIds',['../classraylib_1_1_mesh.html#a61ef493999c906f55dd04c542aff5894',1,'raylib::Mesh']]], - ['getbones_17',['GetBones',['../classraylib_1_1_model.html#a90c2b91bce426a38c66dbda8b555db18',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#a9b577b0132525d55cbfc56870d907db8',1,'raylib::ModelAnimation::GetBones()']]], - ['getboneweights_18',['GetBoneWeights',['../classraylib_1_1_mesh.html#a77ba8f4f2e6f8aafb6af33f8cee96398',1,'raylib::Mesh']]], - ['getboundingbox_19',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], - ['getbuffer_20',['GetBuffer',['../classraylib_1_1_audio_stream.html#adbd0270efa40ecaced9116691ed95cdc',1,'raylib::AudioStream']]], - ['getbuttonpressed_21',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], - ['getchannels_22',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], - ['getclipboardtext_23',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], - ['getcollision_24',['GetCollision',['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision()'],['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const']]], - ['getcolor_25',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], - ['getcolors_26',['GetColors',['../classraylib_1_1_mesh.html#aca15b603e89c773a69126c2cabbc55a4',1,'raylib::Mesh']]], - ['getctxdata_27',['GetCtxData',['../classraylib_1_1_music.html#afa92e527b59433013946179183811a01',1,'raylib::Music']]], - ['getctxtype_28',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], - ['getdata_29',['GetData',['../classraylib_1_1_image.html#a6771d46a70533daa89e7368501099141',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a12e779194c87960a97e0fe759cc2eb80',1,'raylib::Wave::GetData()']]], - ['getdepth_30',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], - ['getdirection_31',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], - ['getdirectoryfiles_32',['GetDirectoryFiles',['../namespaceraylib.html#a5fbfb157d027ca5175b19470fb7738ea',1,'raylib']]], - ['getdirectorypath_33',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], - ['getdistance_34',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], - ['getdroppedfiles_35',['GetDroppedFiles',['../namespaceraylib.html#a06a812d32296cfd0b9f3229205f16fc8',1,'raylib']]], - ['getfileextension_36',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], - ['getfilemodtime_37',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], - ['getfilename_38',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], - ['getfilenamewithoutext_39',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], - ['getfont_40',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], - ['getfontsize_41',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], - ['getformat_42',['GetFormat',['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()'],['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()']]], - ['getfovy_43',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], - ['getfps_44',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], - ['getframecount_45',['GetFrameCount',['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount() const']]], - ['getframeposes_46',['GetFramePoses',['../classraylib_1_1_model_animation.html#ae23086ee73abc10aab2d75c3684e2402',1,'raylib::ModelAnimation']]], - ['getframetime_47',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], - ['getg_48',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], - ['getgamepadname_49',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], - ['getglyphcount_50',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], - ['getglyphindex_51',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], - ['getglyphpadding_52',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], - ['getglyphs_53',['GetGlyphs',['../classraylib_1_1_font.html#ac972978ae2c9eeae6e8eb84c7862fdbf',1,'raylib::Font']]], - ['gethandle_54',['GetHandle',['../classraylib_1_1_window.html#aff32da7f61b1e8ec87e54409dbbe66c7',1,'raylib::Window']]], - ['getheight_55',['GetHeight',['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()'],['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()']]], - ['gethit_56',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], - ['getid_57',['GetId',['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()'],['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()']]], - ['getindices_58',['GetIndices',['../classraylib_1_1_mesh.html#aed7d37f4951f455623dbe5fc08a9ed1c',1,'raylib::Mesh']]], - ['getlocation_59',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], - ['getlocationattrib_60',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], - ['getlocs_61',['GetLocs',['../classraylib_1_1_shader.html#ae1320733f66a5288a2e4e91da045adcb',1,'raylib::Shader']]], - ['getlooping_62',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], - ['getm0_63',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], - ['getm1_64',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], - ['getm10_65',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], - ['getm11_66',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], - ['getm12_67',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], - ['getm13_68',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], - ['getm14_69',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], - ['getm15_70',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], - ['getm2_71',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], - ['getm3_72',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], - ['getm4_73',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], - ['getm5_74',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], - ['getm6_75',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], - ['getm7_76',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], - ['getm8_77',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], - ['getm9_78',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], - ['getmaps_79',['GetMaps',['../classraylib_1_1_material.html#a7de1717cae99b3db55de5ec822dc3502',1,'raylib::Material']]], - ['getmaterialcount_80',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], - ['getmaterials_81',['GetMaterials',['../classraylib_1_1_model.html#a3749f55279612012c8b5bf9d9e1b55e6',1,'raylib::Model']]], - ['getmatrix_82',['GetMatrix',['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()'],['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()']]], - ['getmax_83',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], - ['getmeshcount_84',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], - ['getmeshes_85',['GetMeshes',['../classraylib_1_1_model.html#a92191bd818f34c892ee7f7d15be04fd2',1,'raylib::Model']]], - ['getmeshmaterial_86',['GetMeshMaterial',['../classraylib_1_1_model.html#a1bf446b9e12f82d4c6a3676bfe5e69fa',1,'raylib::Model']]], - ['getmin_87',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], - ['getmipmaps_88',['GetMipmaps',['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()'],['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()']]], - ['getmonitorname_89',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], - ['getmouseray_90',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], - ['getname_91',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], - ['getnormal_92',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], - ['getnormals_93',['GetNormals',['../classraylib_1_1_mesh.html#a5fbfc965b4498a86ae972c093b3540ec',1,'raylib::Mesh']]], - ['getnumber_94',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], - ['getoffset_95',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], - ['getpixeldatasize_96',['GetPixelDataSize',['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const'],['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)']]], - ['getposition_97',['GetPosition',['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()'],['../classraylib_1_1_rectangle.html#aa7d683a593af23288bf41a96fc051486',1,'raylib::Rectangle::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_mouse.html#aecac52e620b5de23251a6ec7fc96babf',1,'raylib::Mouse::GetPosition()'],['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()']]], - ['getprevdirectorypath_98',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], - ['getprojection_99',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], - ['getr_100',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], - ['getrecs_101',['GetRecs',['../classraylib_1_1_font.html#a2cf2de21c55bb097a8b6b008ca1330e1',1,'raylib::Font']]], - ['getrotation_102',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], - ['getsamplerate_103',['GetSampleRate',['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()'],['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate() const']]], - ['getsamplesize_104',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], - ['getscaledpi_105',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], - ['getscreentoworld_106',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], - ['getshader_107',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], - ['getshapetype_108',['GetShapeType',['../classraylib_1_1_physics.html#ab317acc20d9cf36c110672a4c6ae7390',1,'raylib::Physics']]], - ['getshapevertex_109',['GetShapeVertex',['../classraylib_1_1_physics.html#a899af94cbe7a5c4709993c9ab9638192',1,'raylib::Physics']]], - ['getshapeverticescount_110',['GetShapeVerticesCount',['../classraylib_1_1_physics.html#a9ff5c0328462f0976dbef73b75978079',1,'raylib::Physics']]], - ['getsize_111',['GetSize',['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()'],['../classraylib_1_1_rectangle.html#ae5092e0caaf7bf89780da03968e48ea5',1,'raylib::Rectangle::GetSize()'],['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()']]], - ['getspacing_112',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], - ['getstream_113',['GetStream',['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()'],['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()']]], - ['gettangents_114',['GetTangents',['../classraylib_1_1_mesh.html#abd7f280c54169fdbac494bf2612a1f06',1,'raylib::Mesh']]], - ['gettarget_115',['GetTarget',['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()'],['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()']]], - ['gettexcoords_116',['GetTexCoords',['../classraylib_1_1_mesh.html#a08b480ec18769800b4dcefebbcd825af',1,'raylib::Mesh']]], - ['gettexcoords2_117',['GetTexCoords2',['../classraylib_1_1_mesh.html#a8806e52f188cd319ebefdc6044d85462',1,'raylib::Mesh']]], - ['gettext_118',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], - ['gettexture_119',['GetTexture',['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()'],['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()']]], - ['gettime_120',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], - ['gettimelength_121',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], - ['gettimeplayed_122',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], - ['gettouchposition_123',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], - ['gettouchx_124',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], - ['gettouchy_125',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], - ['gettransform_126',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], - ['gettrianglecount_127',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], - ['getup_128',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], - ['getvaoid_129',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], - ['getvboid_130',['GetVboId',['../classraylib_1_1_mesh.html#ac43cf6e1ca74430fa7a258692974fc26',1,'raylib::Mesh']]], - ['getvertexcount_131',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], - ['getvertices_132',['GetVertices',['../classraylib_1_1_mesh.html#a84360d9c5767872d8fdfbf05d7355c61',1,'raylib::Mesh']]], - ['getw_133',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], - ['getwheelmove_134',['GetWheelMove',['../classraylib_1_1_mouse.html#afb094f45ac8964ae24e068af0595eea9',1,'raylib::Mouse']]], - ['getwidth_135',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], - ['getworkingdirectory_136',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], - ['getworldtoscreen_137',['GetWorldToScreen',['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()'],['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()']]], - ['getx_138',['GetX',['../classraylib_1_1_mouse.html#a0277ae88bc16d5c92821a46782c81a83',1,'raylib::Mouse::GetX()'],['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], - ['gety_139',['GetY',['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_mouse.html#a0d2eec7fca435ae35809305a1bb5e92e',1,'raylib::Mouse::GetY()'],['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY() const']]], - ['getz_140',['GetZ',['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()'],['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()']]], - ['getzoom_141',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], - ['gold_142',['Gold',['../classraylib_1_1_color.html#ae6bbd8683085506173a48e5fdeccb57a',1,'raylib::Color']]], - ['gradienth_143',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], - ['gradientradial_144',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], - ['gradientv_145',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]], - ['gray_146',['Gray',['../classraylib_1_1_color.html#aa24ed6bbb02c861b38b6a423dbe902e1',1,'raylib::Color']]], - ['green_147',['Green',['../classraylib_1_1_color.html#a35c7c0acf332be287b697e6a6a23ccb4',1,'raylib::Color']]] + ['genbinormals_567',['GenBinormals',['../classraylib_1_1_mesh.html#a03d6628373c096452cbfafafca166d21',1,'raylib::Mesh']]], + ['genmipmaps_568',['GenMipmaps',['../classraylib_1_1_texture.html#a2f895f3a629cf1a74fe88d05b1dd3003',1,'raylib::Texture']]], + ['gentangents_569',['GenTangents',['../classraylib_1_1_mesh.html#a2c4f31c3ddb8ef351c8fc3a8301497c2',1,'raylib::Mesh']]], + ['geta_570',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], + ['getalphaborder_571',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], + ['getanimnormals_572',['GetAnimNormals',['../classraylib_1_1_mesh.html#a853c2afc08600c3e9e256d1eb805dded',1,'raylib::Mesh']]], + ['getanimvertices_573',['GetAnimVertices',['../classraylib_1_1_mesh.html#a38f5de9866c13b05b49b936a03b17201',1,'raylib::Mesh']]], + ['getaxiscount_574',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], + ['getaxismovement_575',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], + ['getb_576',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], + ['getbasesize_577',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], + ['getbindpoe_578',['GetBindPoe',['../classraylib_1_1_model.html#a73bac18d76533acd39ed4e5917c84d96',1,'raylib::Model']]], + ['getbonecount_579',['GetBoneCount',['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()'],['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()']]], + ['getboneids_580',['GetBoneIds',['../classraylib_1_1_mesh.html#a6e29e78cfa20a16e46cb77de8c4031c7',1,'raylib::Mesh']]], + ['getbones_581',['GetBones',['../classraylib_1_1_model.html#ab944580c06987114068ae16d2b1ac34e',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#aec9078358dfd2a87e580db69d8f7b325',1,'raylib::ModelAnimation::GetBones()']]], + ['getboneweights_582',['GetBoneWeights',['../classraylib_1_1_mesh.html#a0127c2cf9efa4e369fd3f71c326049b1',1,'raylib::Mesh']]], + ['getboundingbox_583',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], + ['getbuffer_584',['GetBuffer',['../classraylib_1_1_audio_stream.html#adea73b3b07652eb26bcaeb6e63f7ebb2',1,'raylib::AudioStream']]], + ['getbuttonpressed_585',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], + ['getchannels_586',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], + ['getclipboardtext_587',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib']]], + ['getcollision_588',['GetCollision',['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_model.html#adfd34b995d2e7c21f8ae41199a094b7d',1,'raylib::Model::GetCollision()'],['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_ray.html#a0d1bdb9be9cb47ca4aa0c228374c3d38',1,'raylib::Ray::GetCollision(const ::Model &model) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const'],['../classraylib_1_1_ray.html#ad22b121408edb1e249f55b2c1f9b523e',1,'raylib::Ray::GetCollision(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4) const'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()']]], + ['getcolor_589',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text']]], + ['getcolors_590',['GetColors',['../classraylib_1_1_mesh.html#a142e31381d248fbcdeeef46fd1f208ed',1,'raylib::Mesh']]], + ['getctxdata_591',['GetCtxData',['../classraylib_1_1_music.html#a349420428960e47afd4c69499b62eeac',1,'raylib::Music']]], + ['getctxtype_592',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], + ['getdata_593',['GetData',['../classraylib_1_1_image.html#a3144e343f963e5b206e1050be54b4187',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture.html#a3afee0767b1b7ca54e5477667761f5ed',1,'raylib::Texture::GetData()'],['../classraylib_1_1_wave.html#a8e7edd178a2ec7dc11f2474b29771d90',1,'raylib::Wave::GetData()']]], + ['getdepth_594',['GetDepth',['../classraylib_1_1_render_texture.html#af14f685bcdb22071df1b48baed8a98ee',1,'raylib::RenderTexture']]], + ['getdirection_595',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], + ['getdirectoryfiles_596',['GetDirectoryFiles',['../namespaceraylib.html#a0933e9ed540a0fd6bbde88fe7f61b223',1,'raylib']]], + ['getdirectorypath_597',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], + ['getdistance_598',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], + ['getdroppedfiles_599',['GetDroppedFiles',['../namespaceraylib.html#a0d0c5876ab96ec845f92474f51c2677c',1,'raylib']]], + ['getfileextension_600',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], + ['getfilemodtime_601',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], + ['getfilename_602',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], + ['getfilenamewithoutext_603',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], + ['getfont_604',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], + ['getfontsize_605',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], + ['getformat_606',['GetFormat',['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()'],['../classraylib_1_1_texture.html#a98cd3a49f6b5e06137a72b2c4e9bced4',1,'raylib::Texture::GetFormat()']]], + ['getfovy_607',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], + ['getfps_608',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], + ['getframecount_609',['GetFrameCount',['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()']]], + ['getframeposes_610',['GetFramePoses',['../classraylib_1_1_model_animation.html#a63616ed03e2ca3e1dbe4337de5189ec7',1,'raylib::ModelAnimation']]], + ['getframetime_611',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], + ['getg_612',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], + ['getgamepadname_613',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], + ['getglyphcount_614',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], + ['getglyphindex_615',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], + ['getglyphpadding_616',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], + ['getglyphs_617',['GetGlyphs',['../classraylib_1_1_font.html#a741aa157ac264e77613794818e2fdbe1',1,'raylib::Font']]], + ['gethandle_618',['GetHandle',['../classraylib_1_1_window.html#a0cc3f939a42ba3d625d43096b2e1e60b',1,'raylib::Window']]], + ['getheight_619',['GetHeight',['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()'],['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_texture.html#a17837a5f61a14abbba8135273595072f',1,'raylib::Texture::GetHeight()'],['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()']]], + ['gethit_620',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], + ['getid_621',['GetId',['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_texture.html#aee47a39e0b5026f7e0e546d982a9c298',1,'raylib::Texture::GetId()']]], + ['getindices_622',['GetIndices',['../classraylib_1_1_mesh.html#a1a48eb931c6c910f0fb524d2c49ed183',1,'raylib::Mesh']]], + ['getlocation_623',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], + ['getlocationattrib_624',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], + ['getlocs_625',['GetLocs',['../classraylib_1_1_shader.html#a552106b906d353d97538e43ed2265bd0',1,'raylib::Shader']]], + ['getlooping_626',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], + ['getm0_627',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], + ['getm1_628',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], + ['getm10_629',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], + ['getm11_630',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], + ['getm12_631',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], + ['getm13_632',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], + ['getm14_633',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], + ['getm15_634',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], + ['getm2_635',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], + ['getm3_636',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], + ['getm4_637',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], + ['getm5_638',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], + ['getm6_639',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], + ['getm7_640',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], + ['getm8_641',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], + ['getm9_642',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], + ['getmaps_643',['GetMaps',['../classraylib_1_1_material.html#a561e81c743da576c866cfcec9bad8e53',1,'raylib::Material']]], + ['getmaterialcount_644',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], + ['getmaterials_645',['GetMaterials',['../classraylib_1_1_model.html#a649280afda23717aacce04ee652f601f',1,'raylib::Model']]], + ['getmatrix_646',['GetMatrix',['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()'],['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()']]], + ['getmax_647',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], + ['getmeshcount_648',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], + ['getmeshes_649',['GetMeshes',['../classraylib_1_1_model.html#a66b34f9913ac900b94a338be266f63ce',1,'raylib::Model']]], + ['getmeshmaterial_650',['GetMeshMaterial',['../classraylib_1_1_model.html#a65eb3d0fb0be3d9ba7539df410885045',1,'raylib::Model']]], + ['getmin_651',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], + ['getmipmaps_652',['GetMipmaps',['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()'],['../classraylib_1_1_texture.html#a221e1324dcca1092597692d6c71f3711',1,'raylib::Texture::GetMipmaps()']]], + ['getmonitorname_653',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], + ['getmouseray_654',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], + ['getname_655',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], + ['getnormal_656',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], + ['getnormals_657',['GetNormals',['../classraylib_1_1_mesh.html#a0fcc7bca9b9419a0d8e3d59666082edc',1,'raylib::Mesh']]], + ['getnumber_658',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], + ['getoffset_659',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], + ['getpixeldatasize_660',['GetPixelDataSize',['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)'],['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const']]], + ['getposition_661',['GetPosition',['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_window.html#a3b1ba3352da1660ebc3528abba28347c',1,'raylib::Window::GetPosition()']]], + ['getprevdirectorypath_662',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], + ['getprojection_663',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], + ['getr_664',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], + ['getrecs_665',['GetRecs',['../classraylib_1_1_font.html#a396cae69c0d0c46bf76fc3879d5219e1',1,'raylib::Font']]], + ['getrotation_666',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], + ['getsamplerate_667',['GetSampleRate',['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate()'],['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()']]], + ['getsamplesize_668',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], + ['getscaledpi_669',['GetScaleDPI',['../classraylib_1_1_window.html#ab8907b1b25a7b9d42ca32e085dde1a07',1,'raylib::Window']]], + ['getscreentoworld_670',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], + ['getshader_671',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], + ['getsize_672',['GetSize',['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()'],['../classraylib_1_1_texture.html#a39dc7e91306b8216dde1445d3ba441ee',1,'raylib::Texture::GetSize()'],['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()']]], + ['getspacing_673',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], + ['getstream_674',['GetStream',['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()'],['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()']]], + ['gettangents_675',['GetTangents',['../classraylib_1_1_mesh.html#aa87bf017b9ea53e09230d128ffbb6a19',1,'raylib::Mesh']]], + ['gettarget_676',['GetTarget',['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()'],['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()']]], + ['gettexcoords_677',['GetTexCoords',['../classraylib_1_1_mesh.html#a3f81f280b53829deef1a37c4b5b5ca62',1,'raylib::Mesh']]], + ['gettexcoords2_678',['GetTexCoords2',['../classraylib_1_1_mesh.html#a30066599a6ce84274283fe59ddade320',1,'raylib::Mesh']]], + ['gettext_679',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], + ['gettexture_680',['GetTexture',['../classraylib_1_1_font.html#a4f73e1c4ddfde06b9b7584167a683291',1,'raylib::Font::GetTexture()'],['../classraylib_1_1_render_texture.html#a73993c0ac4c292634562f2bd2dffe400',1,'raylib::RenderTexture::GetTexture()']]], + ['gettime_681',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], + ['gettimelength_682',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], + ['gettimeplayed_683',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], + ['gettouchposition_684',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], + ['gettouchx_685',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], + ['gettouchy_686',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], + ['gettransform_687',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], + ['gettrianglecount_688',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], + ['getup_689',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], + ['getvaoid_690',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], + ['getvboid_691',['GetVboId',['../classraylib_1_1_mesh.html#ae535ee83038e5e79a9347c1196aff6b9',1,'raylib::Mesh']]], + ['getvertexcount_692',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], + ['getvertices_693',['GetVertices',['../classraylib_1_1_mesh.html#a3e0d13eece1fd47334117d316c777f4f',1,'raylib::Mesh']]], + ['getw_694',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], + ['getwidth_695',['GetWidth',['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_texture.html#ab6f4693f5c6ed1f1bc75b264ad83fecc',1,'raylib::Texture::GetWidth()'],['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()']]], + ['getworkingdirectory_696',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], + ['getworldtoscreen_697',['GetWorldToScreen',['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()'],['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()']]], + ['getx_698',['GetX',['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], + ['gety_699',['GetY',['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY()']]], + ['getz_700',['GetZ',['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()'],['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()']]], + ['getzoom_701',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], + ['gradienth_702',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], + ['gradientradial_703',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], + ['gradientv_704',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]] ]; diff --git a/docs/search/functions_7.html b/docs/search/functions_7.html index b6392eaa..7de31067 100644 --- a/docs/search/functions_7.html +++ b/docs/search/functions_7.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_7.js b/docs/search/functions_7.js index bca1fdb0..f913c965 100644 --- a/docs/search/functions_7.js +++ b/docs/search/functions_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['heightmap_0',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], - ['hemisphere_1',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] + ['heightmap_705',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], + ['hemisphere_706',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_8.html b/docs/search/functions_8.html index ecf6a892..7422be24 100644 --- a/docs/search/functions_8.html +++ b/docs/search/functions_8.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js index b2c3fabf..773979ec 100644 --- a/docs/search/functions_8.js +++ b/docs/search/functions_8.js @@ -1,28 +1,26 @@ var searchData= [ - ['identity_0',['Identity',['../classraylib_1_1_vector4.html#a90ec6deb30c8bbe61d7a9c3d5a395766',1,'raylib::Vector4::Identity()'],['../classraylib_1_1_matrix.html#aaf701bdedb604e59c6f1592fa5255575',1,'raylib::Matrix::Identity()']]], - ['image_1',['Image',['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)'],['../classraylib_1_1_image.html#ab0defa3751d16450e913a637d5238a21',1,'raylib::Image::Image(Image &&other)'],['../classraylib_1_1_image.html#a80cd5a94bf468d6cdff5ae24c1ede290',1,'raylib::Image::Image(const Image &other)'],['../classraylib_1_1_image.html#acc2b06286cd94c665ea061ea53eca8ad',1,'raylib::Image::Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a0be7fea82da7d23d56b018d60ea9c071',1,'raylib::Image::Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a45cd806c41a46a56212d23fe4c70c8c1',1,'raylib::Image::Image(int width, int height, ::Color color={255, 255, 255, 255})'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#aea5e7f65035278d780ade1fff50b83f5',1,'raylib::Image::Image(const ::Image &image)'],['../classraylib_1_1_image.html#a38c789394d71d78f873405c739474578',1,'raylib::Image::Image(void *data=nullptr, int width=0, int height=0, int mipmaps=0, int format=0)']]], - ['imagetext_2',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], - ['init_3',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_physics.html#a49b05856f79dd475228923160069714e',1,'raylib::Physics::Init()']]], - ['initwindow_4',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], - ['invert_5',['Invert',['../classraylib_1_1_matrix.html#a9ad566c434998fe400a57a26a39c3708',1,'raylib::Matrix::Invert()'],['../classraylib_1_1_vector4.html#a93d816c446273c23963fcf92fbe5b9b0',1,'raylib::Vector4::Invert()']]], - ['isavailable_6',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], - ['isbuttondown_7',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], - ['isbuttonpressed_8',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], - ['isbuttonreleased_9',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], - ['isbuttonup_10',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad::IsButtonUp()'],['../classraylib_1_1_mouse.html#a798f845135681fffe637e62b832eaa86',1,'raylib::Mouse::IsButtonUp()']]], - ['iscursoronscreen_11',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], - ['isfileextension_12',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], - ['isfocused_13',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], - ['isfullscreen_14',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], - ['ishidden_15',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], - ['ismaximized_16',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], - ['isminimized_17',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], - ['ismodelanimationvalid_18',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], - ['isplaying_19',['IsPlaying',['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()'],['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()']]], - ['isprocessed_20',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], - ['isready_21',['IsReady',['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()']]], - ['isresized_22',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], - ['isstate_23',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], - ['isvalid_24',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] + ['image_707',['Image',['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#a47b88b08b963f803ba0f821fb7cd882b',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)']]], + ['imagetext_708',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], + ['init_709',['Init',['../classraylib_1_1_audio_device.html#a8913f81f3cbbd4313535a98016891afc',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_vr_stereo_config.html#ad233e6c0eabaed80f4e372ce4629f9f0',1,'raylib::VrStereoConfig::Init()'],['../classraylib_1_1_window.html#a060792943acba083b44caf90a3269a9e',1,'raylib::Window::Init()']]], + ['initwindow_710',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], + ['isavailable_711',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], + ['isbuttondown_712',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], + ['isbuttonpressed_713',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], + ['isbuttonreleased_714',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], + ['isbuttonup_715',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad']]], + ['iscursoronscreen_716',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], + ['isfileextension_717',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], + ['isfocused_718',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], + ['isfullscreen_719',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], + ['ishidden_720',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], + ['ismaximized_721',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], + ['isminimized_722',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], + ['ismodelanimationvalid_723',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], + ['isplaying_724',['IsPlaying',['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], + ['isprocessed_725',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], + ['isready_726',['IsReady',['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_texture.html#a5fcfffa4d64f8887ecb7590ad29bff92',1,'raylib::Texture::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()']]], + ['isresized_727',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], + ['isstate_728',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], + ['isvalid_729',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] ]; diff --git a/docs/search/functions_9.html b/docs/search/functions_9.html index cd70e2b7..befd4faa 100644 --- a/docs/search/functions_9.html +++ b/docs/search/functions_9.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js index 89016151..e1c9df3d 100644 --- a/docs/search/functions_9.js +++ b/docs/search/functions_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['knot_0',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] + ['knot_730',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_a.html b/docs/search/functions_a.html index d2a3de90..a81e9633 100644 --- a/docs/search/functions_a.html +++ b/docs/search/functions_a.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_a.js b/docs/search/functions_a.js index 50bbeff7..bfc77722 100644 --- a/docs/search/functions_a.js +++ b/docs/search/functions_a.js @@ -1,25 +1,22 @@ var searchData= [ - ['length_0',['Length',['../classraylib_1_1_vector3.html#a8a34da2f9489bb78d4862cdedd14cd5e',1,'raylib::Vector3::Length()'],['../classraylib_1_1_vector4.html#a8595e296feb4b4ecb2caccecd5bbef39',1,'raylib::Vector4::Length()'],['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2::Length() const']]], - ['lengthsqr_1',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], - ['lerp_2',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2::Lerp()'],['../classraylib_1_1_vector3.html#a81c113692317fc0eab01128c10f44373',1,'raylib::Vector3::Lerp()'],['../classraylib_1_1_vector4.html#a0ab98322e7425630c16fe296c667e37b',1,'raylib::Vector4::Lerp()']]], - ['lightgray_3',['LightGray',['../classraylib_1_1_color.html#adbb50ad15745dddeaa73d04f8b40ad35',1,'raylib::Color']]], - ['lime_4',['Lime',['../classraylib_1_1_color.html#adae7384969481494b66202b43ae2d43e',1,'raylib::Color']]], - ['load_5',['Load',['../classraylib_1_1_model_animation.html#a06b185d0fb36a7db952d4435061b7aff',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_font.html#ac5609b3df50ef4099b37b5d80c297046',1,'raylib::Font::Load(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#aae929ad00282f7fd0f527702039dd362',1,'raylib::Font::Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#a2209c224b1b1e6dd862f324114ddb54e',1,'raylib::Material::Load()']]], - ['loadcolors_6',['LoadColors',['../classraylib_1_1_image.html#ac28aa3fed310f06e5d24b8069d96c49c',1,'raylib::Image']]], - ['loadfiletext_7',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], - ['loadfont_8',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], - ['loadfontex_9',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], - ['loadfrommemory_10',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], - ['loadfromscreen_11',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], - ['loadimage_12',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], - ['loadimageanim_13',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], - ['loadimagefrommemory_14',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], - ['loadimageraw_15',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], - ['loadmodelfrom_16',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], - ['loadpalette_17',['LoadPalette',['../classraylib_1_1_image.html#a1a4ba0879090f03bcf29894244903d35',1,'raylib::Image']]], - ['loadsamples_18',['LoadSamples',['../classraylib_1_1_wave.html#a0ac42b450d90dee2ea471a0625b83bac',1,'raylib::Wave']]], - ['loadsound_19',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], - ['loadtexture_20',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]], - ['lookat_21',['LookAt',['../classraylib_1_1_matrix.html#a4eeb4cdf09fd97c38d990a27e894f6f1',1,'raylib::Matrix']]] + ['length_731',['Length',['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2']]], + ['lengthsqr_732',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], + ['lerp_733',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2']]], + ['load_734',['Load',['../classraylib_1_1_audio_stream.html#ad8df65a9ea58da60b9f123b7f26b11c8',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a56c1c9e3e74b6593ea1996f52c5d6adf',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#aabc625ea2678b0b38462a910da19406d',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_image.html#ab1698d0aeb0855a6a37394e8818687c8',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a65352c6d3acd0c4ae1c0bf47f46adb0e',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#ac3eb410f98058b887fe2b53129f3bdb6',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a4509e4b8d0ae59c60c7eb198f49b81d1',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a8c2e7cf47b1a06b0bca08a54241321f8',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#ac482f46142b5ecc9eea4206aced73e26',1,'raylib::Material::Load()'],['../classraylib_1_1_model.html#ac645133deb7c02403c2ab60d2fb9aea7',1,'raylib::Model::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#ab48f1b21d11dd5705054f2ea6bdf11ac',1,'raylib::Model::Load(const ::Mesh &mesh)'],['../classraylib_1_1_model_animation.html#ae743a3f4d87b6c904b2b4737851f0e21',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_music.html#ad19f0c647e6121c00bf5afb9c9b9cba2',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_music.html#a07cce5f6059e3c5f4faf9eb7215da15f',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_render_texture.html#ab173ae2692e2b2646e0369af8c3e14a9',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_sound.html#a13d0674384f6760070c18e0621eaf713',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_sound.html#afb4bb66a54f026e8eb6bc8b42f450ee4',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_texture.html#affdf7f61b6da3b21021e40ce310853ed',1,'raylib::Texture::Load(const ::Image &image)'],['../classraylib_1_1_texture.html#a4a5422c089c9ef5e65abf3f6686475fd',1,'raylib::Texture::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_texture.html#a23a54cf5c6f548fd711f5908712f5960',1,'raylib::Texture::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#a1ec80fbd3c64646f6a360f8759633a36',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_wave.html#af04e630aaac5b0b13c8b371c36407745',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], + ['loadcolors_735',['LoadColors',['../classraylib_1_1_image.html#a6d338c20d5bd42e64dc7bc5227d4f8ac',1,'raylib::Image']]], + ['loadfiletext_736',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], + ['loadfont_737',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], + ['loadfontex_738',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], + ['loadfrommemory_739',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], + ['loadfromscreen_740',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], + ['loadimage_741',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], + ['loadimageanim_742',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], + ['loadimagefrommemory_743',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], + ['loadimageraw_744',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], + ['loadmodelfrom_745',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], + ['loadpalette_746',['LoadPalette',['../classraylib_1_1_image.html#a89f8e8272c2dfae8c3200572e43c051a',1,'raylib::Image']]], + ['loadsamples_747',['LoadSamples',['../classraylib_1_1_wave.html#ac42dd244534663a8fb1da305006c9f3a',1,'raylib::Wave']]], + ['loadsound_748',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], + ['loadtexture_749',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]] ]; diff --git a/docs/search/functions_b.html b/docs/search/functions_b.html index e6f34bb2..345265d6 100644 --- a/docs/search/functions_b.html +++ b/docs/search/functions_b.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_b.js b/docs/search/functions_b.js index 596be48d..46b70c66 100644 --- a/docs/search/functions_b.js +++ b/docs/search/functions_b.js @@ -1,21 +1,13 @@ var searchData= [ - ['magenta_0',['Magenta',['../classraylib_1_1_color.html#a5dca3460a1ebad5d2db36e4f2da019bb',1,'raylib::Color']]], - ['maroon_1',['Maroon',['../classraylib_1_1_color.html#a9400242f7e944453fadc1613507109ce',1,'raylib::Color']]], - ['material_2',['Material',['../classraylib_1_1_material.html#ac5be24c3adc1fd6726c99c5c4eeb4a25',1,'raylib::Material::Material(const ::Material &material)'],['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material::Material()'],['../classraylib_1_1_material.html#a71470d2ff92adb6e9e5e7c718f98fdaf',1,'raylib::Material::Material(const Material &)=delete'],['../classraylib_1_1_material.html#af3e4a84bdac8d50ef78d934b5ad11852',1,'raylib::Material::Material(Material &&other)']]], - ['matrix_3',['Matrix',['../classraylib_1_1_matrix.html#a0d2462e10b715cad96be3871390186f9',1,'raylib::Matrix::Matrix(const ::Matrix &mat)'],['../classraylib_1_1_matrix.html#aa8900ae52da619e68935c40568d46ed4',1,'raylib::Matrix::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)']]], - ['max_4',['Max',['../classraylib_1_1_vector3.html#a6000c34fb8a54d9e01f9b3e7da063bdd',1,'raylib::Vector3']]], - ['maximize_5',['Maximize',['../classraylib_1_1_window.html#a5790d951ff3adbc50e59b4051f104c90',1,'raylib::Window']]], - ['measure_6',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], - ['measureex_7',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], - ['measuretext_8',['MeasureText',['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()'],['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()']]], - ['mesh_9',['Mesh',['../classraylib_1_1_mesh.html#aba3a2211cbb514cb507ae0179407d072',1,'raylib::Mesh::Mesh(int vertexCount, int triangleCount)'],['../classraylib_1_1_mesh.html#a79ce0a2fa4f61795b3632330d29edac6',1,'raylib::Mesh::Mesh(Mesh &&other)'],['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh::Mesh(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#a1b94f6f98a5b4308cfc15e0dd5fe792e',1,'raylib::Mesh::Mesh(const ::Mesh &mesh)']]], - ['min_10',['Min',['../classraylib_1_1_vector3.html#a6fae0923d50becfa10b9d347080fc360',1,'raylib::Vector3']]], - ['minimize_11',['Minimize',['../classraylib_1_1_window.html#adbd8e0a801211692125a12faba18a141',1,'raylib::Window']]], - ['mipmaps_12',['Mipmaps',['../classraylib_1_1_image.html#aaf467c8a8ab5da1887e978c12a3534d4',1,'raylib::Image']]], - ['model_13',['Model',['../classraylib_1_1_model.html#a888e1cd7d4cd968c0f802515e9fd4dc7',1,'raylib::Model::Model(const ::Model &model)'],['../classraylib_1_1_model.html#a982dbd1ae4182f9e83959493d0e9581b',1,'raylib::Model::Model(Model &&other)'],['../classraylib_1_1_model.html#a97ff9579c923fd05b8de5fa102ad03bc',1,'raylib::Model::Model(const ::Mesh &mesh)'],['../classraylib_1_1_model.html#aa15ecaff51acb302ebd7058b920d9952',1,'raylib::Model::Model(const std::string &fileName)'],['../classraylib_1_1_model.html#ab12ca5ce75a7fde88ed6f6aa472d42a0',1,'raylib::Model::Model(const Model &)=delete']]], - ['modelanimation_14',['ModelAnimation',['../classraylib_1_1_model_animation.html#a9029e1db807aa1d1cc3ff4f7a8ac87d5',1,'raylib::ModelAnimation::ModelAnimation(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#ad0bd91810295d01e922ec88ae560f18b',1,'raylib::ModelAnimation::ModelAnimation(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#aadd7f90b9f7c643b070b1c4d48b9aa6c',1,'raylib::ModelAnimation::ModelAnimation(ModelAnimation &&other)']]], - ['movetowards_15',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], - ['multiply_16',['Multiply',['../classraylib_1_1_matrix.html#afbebf3211a8252b0433184357233aa19',1,'raylib::Matrix::Multiply()'],['../classraylib_1_1_vector2.html#a8c89ca7656f8dee6e1cb4cfa29deb7ec',1,'raylib::Vector2::Multiply()'],['../classraylib_1_1_vector3.html#ad06dabf1a51260d6cbf3f4381ba15ab4',1,'raylib::Vector3::Multiply()'],['../classraylib_1_1_vector4.html#acad897765f76443fbd64b5dceac94a2e',1,'raylib::Vector4::Multiply()']]], - ['music_17',['Music',['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a29f51d7e8e89df932a6c07bd0106a834',1,'raylib::Music::Music(const ::Music &music)'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_music.html#ae626afb93e3bbf3abd4410edbd316601',1,'raylib::Music::Music(const Music &)=delete'],['../classraylib_1_1_music.html#a8dc7537cc6ea86a77b0e7c71b708d08f',1,'raylib::Music::Music(Music &&other)']]] + ['material_750',['Material',['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material']]], + ['maximize_751',['Maximize',['../classraylib_1_1_window.html#aee89de600dcc7e645452b4d2f88d55e3',1,'raylib::Window']]], + ['measure_752',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], + ['measureex_753',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], + ['measuretext_754',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], + ['mesh_755',['Mesh',['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh']]], + ['minimize_756',['Minimize',['../classraylib_1_1_window.html#a16f54f039449dc45b57849811754ceae',1,'raylib::Window']]], + ['mipmaps_757',['Mipmaps',['../classraylib_1_1_image.html#aaf8f93e11186f0be62d68ae3f932435f',1,'raylib::Image']]], + ['movetowards_758',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], + ['music_759',['Music',['../classraylib_1_1_music.html#af79c4f675f7526043040c00587d39620',1,'raylib::Music::Music()'],['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)']]] ]; diff --git a/docs/search/functions_c.html b/docs/search/functions_c.html index 87b4ce26..858bfd6c 100644 --- a/docs/search/functions_c.html +++ b/docs/search/functions_c.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index ca0c73cd..a8a2bea4 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -1,6 +1,4 @@ var searchData= [ - ['negate_0',['Negate',['../classraylib_1_1_vector2.html#a98ca288a85bd1643670a058138077587',1,'raylib::Vector2::Negate()'],['../classraylib_1_1_vector3.html#a475ed42613db507afa6f7fdcec14a25c',1,'raylib::Vector3::Negate()']]], - ['nlerp_1',['Nlerp',['../classraylib_1_1_vector4.html#aa38c1551be57c551a63a089bba0f2ee0',1,'raylib::Vector4']]], - ['normalize_2',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_matrix.html#a0ec68971d42b0ab8281e5e68f690dd5c',1,'raylib::Matrix::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()'],['../classraylib_1_1_vector3.html#a3bb4cba279bfbd545d550c4ddc35f66b',1,'raylib::Vector3::Normalize()'],['../classraylib_1_1_vector4.html#a89fc9589df53ce3d66a7c8862f1056f7',1,'raylib::Vector4::Normalize()']]] + ['normalize_760',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()']]] ]; diff --git a/docs/search/functions_d.html b/docs/search/functions_d.html index ada2b817..2f09f51b 100644 --- a/docs/search/functions_d.html +++ b/docs/search/functions_d.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index aa28f454..c05baba1 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -1,31 +1,13 @@ var searchData= [ - ['boundingbox_0',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], - ['image_1',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], - ['model_2',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], - ['one_3',['One',['../classraylib_1_1_vector3.html#abffd5504ca7891659fc730b19dd5f495',1,'raylib::Vector3::One()'],['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2::One()']]], - ['openurl_4',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], - ['operator_20boundingbox_5',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], - ['operator_20color_6',['operator Color',['../classraylib_1_1_vector4.html#aed3d1810f67b55a9a0a1f8684b17bbea',1,'raylib::Vector4']]], - ['operator_20float16_7',['operator float16',['../classraylib_1_1_matrix.html#a63cce6502129548a9ab427efbf714a8b',1,'raylib::Matrix']]], - ['operator_20int_8',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color::operator int()'],['../classraylib_1_1_gamepad.html#ab735b8107395f0694baf4ef8bb92092d',1,'raylib::Gamepad::operator int()']]], - ['operator_21_3d_9',['operator!=',['../classraylib_1_1_matrix.html#a986d17b9ef939fcd441c9f0533a208bf',1,'raylib::Matrix::operator!=()'],['../classraylib_1_1_vector4.html#a1141de56267ab5abab10f1990d381185',1,'raylib::Vector4::operator!=()'],['../classraylib_1_1_vector2.html#aeb9bfa80b1e6161a7a85d8c8ebc73433',1,'raylib::Vector2::operator!=()'],['../classraylib_1_1_vector3.html#a18d3efa656a5cbb4abd64217b7817136',1,'raylib::Vector3::operator!=()']]], - ['operator_2a_10',['operator*',['../classraylib_1_1_matrix.html#aebc1bc9c255dbcf348aba9e2b58d72d4',1,'raylib::Matrix::operator*()'],['../classraylib_1_1_vector2.html#a9c1f9983b14d3ff4ba92ca0e041cb970',1,'raylib::Vector2::operator*(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#a23262c9825611dde85ac071fd442124d',1,'raylib::Vector2::operator*(const float scale) const'],['../classraylib_1_1_vector3.html#a21769cdf336ef366d4278d2120c35a9e',1,'raylib::Vector3::operator*(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a02de4f00f74c5abdacf1659f116f06e5',1,'raylib::Vector3::operator*(const float scale) const'],['../classraylib_1_1_vector4.html#aea629f0a0c2ec1213535b9ab14586533',1,'raylib::Vector4::operator*()']]], - ['operator_2a_3d_11',['operator*=',['../classraylib_1_1_vector2.html#ac7ecfe4c0909ee8fb01f0d94455de794',1,'raylib::Vector2::operator*=(const ::Vector2 &vector2)'],['../classraylib_1_1_vector2.html#a2b9e8013a103a568fdf0d526008aa805',1,'raylib::Vector2::operator*=(const float scale)'],['../classraylib_1_1_vector3.html#a2a2cc2e29121125cc85735ff49e12695',1,'raylib::Vector3::operator*=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a432cfa34603d549a8dc38e20c226eb71',1,'raylib::Vector3::operator*=(const float scale)']]], - ['operator_2b_12',['operator+',['../classraylib_1_1_matrix.html#ab149d4638f47cdd7aa2cad5b05b3977d',1,'raylib::Matrix::operator+()'],['../classraylib_1_1_vector2.html#a8df80afec50063657ce67c2072839c5a',1,'raylib::Vector2::operator+()'],['../classraylib_1_1_vector3.html#a4564e8aa7532966eed679cd730c39c36',1,'raylib::Vector3::operator+()']]], - ['operator_2b_3d_13',['operator+=',['../classraylib_1_1_vector2.html#a4eb940d4ac8db035b58bf0834ebca8f7',1,'raylib::Vector2::operator+=()'],['../classraylib_1_1_vector3.html#aa0eb200f1f72d8ad8ca0457549cfef04',1,'raylib::Vector3::operator+=()']]], - ['operator_2d_14',['operator-',['../classraylib_1_1_matrix.html#a28d079fd913d2890620107599b4d1bcf',1,'raylib::Matrix::operator-()'],['../classraylib_1_1_vector2.html#af5a965f5eba6e1d8cc13f29161f0f6e1',1,'raylib::Vector2::operator-(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#af29b9938afed31d821bb7791d929f779',1,'raylib::Vector2::operator-() const'],['../classraylib_1_1_vector3.html#a843267dd14d8a706106dd5258cfa6676',1,'raylib::Vector3::operator-(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#a9999af247190e4b6969f61d98e3be934',1,'raylib::Vector3::operator-()']]], - ['operator_2d_3d_15',['operator-=',['../classraylib_1_1_vector2.html#a0b97ad5ff528e47ff5a73ad0ebb2f0c7',1,'raylib::Vector2::operator-=()'],['../classraylib_1_1_vector3.html#abc2bd9029aeb4c4a3545ee230473ee32',1,'raylib::Vector3::operator-=()']]], - ['operator_2f_16',['operator/',['../classraylib_1_1_vector2.html#a8ef672a3776ca3da2fe0b89fa8cea517',1,'raylib::Vector2::operator/(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#aa12e15f76cd518d8d0447c80c89fd8c5',1,'raylib::Vector2::operator/(const float div) const'],['../classraylib_1_1_vector3.html#a085a75924d1635c674f444988bcc7ebb',1,'raylib::Vector3::operator/(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a394cfcb895d6d8ba3c432b1af9d390cb',1,'raylib::Vector3::operator/(const float div) const']]], - ['operator_2f_3d_17',['operator/=',['../classraylib_1_1_vector3.html#a1ed7a768be6dfffa9bedc536864b4ec4',1,'raylib::Vector3::operator/=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#acbb53d7cbedc612830b9a08284963b10',1,'raylib::Vector3::operator/=(const float div)'],['../classraylib_1_1_vector2.html#ae85c2aa1bfe604578ca89c7495e8ce37',1,'raylib::Vector2::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a2ef45b2b5142c60cf30bdbc6a49d77e0',1,'raylib::Vector2::operator/=(const ::Vector2 &vector2)']]], - ['operator_3d_18',['operator=',['../classraylib_1_1_model.html#afd31dd377369b1187d816d92be8f5e2a',1,'raylib::Model::operator=()'],['../classraylib_1_1_image.html#aa86c0194ad30cc5f75f116fa588fc8dd',1,'raylib::Image::operator=()'],['../classraylib_1_1_model_animation.html#a8cdf66437a165dc39d4c3dece774b606',1,'raylib::ModelAnimation::operator=(const ::ModelAnimation &model)'],['../classraylib_1_1_model_animation.html#a1efe07d288b2a9318c7ca4ff2e321776',1,'raylib::ModelAnimation::operator=(const ModelAnimation &)=delete'],['../classraylib_1_1_model_animation.html#ab083b9d9c64a0ec604e4c7342caec9b4',1,'raylib::ModelAnimation::operator=(ModelAnimation &&other) noexcept'],['../classraylib_1_1_music.html#afffdaad319f3099d190e2e6faa7a60af',1,'raylib::Music::operator=(const ::Music &music)'],['../classraylib_1_1_music.html#a475c5f2d7405f275a28f16fd1e1667b2',1,'raylib::Music::operator=(const Music &)=delete'],['../classraylib_1_1_music.html#a8a8ff1787f18b21d40c62106dd5e0808',1,'raylib::Music::operator=(Music &&other) noexcept'],['../classraylib_1_1_ray.html#ac95a6b27adfcc91ef7d70047650fc325',1,'raylib::Ray::operator=()'],['../classraylib_1_1_ray_collision.html#ad0cd1a0d5e234086fa6f87efa3bb8e8a',1,'raylib::RayCollision::operator=()'],['../classraylib_1_1_rectangle.html#af7744f0ec9ec04d73403a7f6a71ae3cd',1,'raylib::Rectangle::operator=()'],['../classraylib_1_1_render_texture.html#aee91fd336700acaa3cfb1f30d11efc1b',1,'raylib::RenderTexture::operator=(const ::RenderTexture &texture)'],['../classraylib_1_1_render_texture.html#a11d5dd47fbb373e556b6955c2a31f911',1,'raylib::RenderTexture::operator=(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#ab2d6ea01017394c700c6541e7a1c987e',1,'raylib::RenderTexture::operator=(RenderTexture &&other) noexcept'],['../classraylib_1_1_shader.html#a17ea116c06cf251b3fc6827c69c46352',1,'raylib::Shader::operator=(const ::Shader &shader)'],['../classraylib_1_1_shader.html#a4ad95bb76c6dd04e4ab50db5510d3639',1,'raylib::Shader::operator=(const Shader &)=delete'],['../classraylib_1_1_shader.html#a16f1271ca82501cce9aff85fe83d8468',1,'raylib::Shader::operator=(Shader &&other) noexcept'],['../classraylib_1_1_sound.html#a00e767731db27551731f3b921e96e8be',1,'raylib::Sound::operator=(const Sound &)=delete'],['../classraylib_1_1_sound.html#a0e9cf03efe620702dc91f39fc2741e28',1,'raylib::Sound::operator=(Sound &&other) noexcept'],['../classraylib_1_1_text.html#aa38bed157c29c12b0275bac43a2f0740',1,'raylib::Text::operator=()'],['../classraylib_1_1_texture.html#a32e1e65e95d670f8ede07603e74eb8bb',1,'raylib::Texture::operator=(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a803206afb8ddbb356b0c172fb3c6ec6a',1,'raylib::Texture::operator=(const Texture &)=delete'],['../classraylib_1_1_texture.html#a029d91f87af0de39e358cdc3c679d97d',1,'raylib::Texture::operator=(Texture &&other) noexcept'],['../classraylib_1_1_vector2.html#a81993d8973232b2ba08b7a63bca9bb20',1,'raylib::Vector2::operator=()'],['../classraylib_1_1_vector3.html#a0e1bfe79b5501da15fc137feaa639615',1,'raylib::Vector3::operator=()'],['../classraylib_1_1_vector4.html#ace9d16e7d35934a5a5d4bfbcf073221c',1,'raylib::Vector4::operator=()'],['../classraylib_1_1_wave.html#a47fdbb51113033249f466f2f18be8f6a',1,'raylib::Wave::operator=(const ::Wave &wave)'],['../classraylib_1_1_wave.html#aae5958607c9f7d49dcc4a9c291fd8955',1,'raylib::Wave::operator=(const Wave &other)'],['../classraylib_1_1_wave.html#a5c5c65eaa235c5d5d8d867c55d7c0464',1,'raylib::Wave::operator=(Wave &&other) noexcept'],['../classraylib_1_1_model.html#afb16732714d5f3931dce5266cf9442a0',1,'raylib::Model::operator=()'],['../classraylib_1_1_audio_stream.html#aafe56bfe817da16012d7c2efb4bd7a9c',1,'raylib::AudioStream::operator=(const ::AudioStream &stream)'],['../classraylib_1_1_audio_stream.html#ac284487daf53d5f3cabc535918ab5222',1,'raylib::AudioStream::operator=(const AudioStream &)=delete'],['../classraylib_1_1_audio_stream.html#abaef9e064218e8728e7131de8f001bc1',1,'raylib::AudioStream::operator=(AudioStream &&other) noexcept'],['../classraylib_1_1_bounding_box.html#a859067d25368a27b8743e23ebc24d46c',1,'raylib::BoundingBox::operator=()'],['../classraylib_1_1_camera2_d.html#a3eca1be4b1f2ab30dc377dcd76eff0ef',1,'raylib::Camera2D::operator=()'],['../classraylib_1_1_camera3_d.html#ab9af3cd1ec71d4c52dd09f47b7a55864',1,'raylib::Camera3D::operator=()'],['../classraylib_1_1_color.html#a2af61a938ad2780917be855e06621d2d',1,'raylib::Color::operator=()'],['../classraylib_1_1_font.html#a372d60f4b8911722eefdff34f10eab13',1,'raylib::Font::operator=(const ::Font &font)'],['../classraylib_1_1_font.html#aaedf5057acbe7cf503d074a9a6343879',1,'raylib::Font::operator=(const Font &)=delete'],['../classraylib_1_1_font.html#a8858311926baabe96b51cb015241568e',1,'raylib::Font::operator=(Font &&other) noexcept'],['../classraylib_1_1_gamepad.html#af0d08d3ed4fdb915aea6c2dda49828ef',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_image.html#a2d5e9ae7c55948b28b458f3bff5d1388',1,'raylib::Image::operator=()'],['../classraylib_1_1_gamepad.html#a2d72d578a8a7815e74cfdf811fe9e6cb',1,'raylib::Gamepad::operator=()'],['../classraylib_1_1_model.html#a37c9ca6ea23e395a1ca1e2e32a578582',1,'raylib::Model::operator=()'],['../classraylib_1_1_mesh.html#ad74efe8cd30bd4630a5cf055d61e8263',1,'raylib::Mesh::operator=(Mesh &&other) noexcept'],['../classraylib_1_1_mesh.html#a4fe0ff85b2ef8ea6dc9e7bc98dc8c8ca',1,'raylib::Mesh::operator=(const Mesh &)=delete'],['../classraylib_1_1_mesh.html#ae3b9c24dd49d40c68e11ed8a82f4af82',1,'raylib::Mesh::operator=(const ::Mesh &mesh)'],['../classraylib_1_1_matrix.html#a667e1a3be409a1ad1d7f6f9c8bdc24dd',1,'raylib::Matrix::operator=(const Matrix &matrix)'],['../classraylib_1_1_matrix.html#a4a01a9983536575a0accb4ad938434d1',1,'raylib::Matrix::operator=(const ::Matrix &matrix)'],['../classraylib_1_1_material.html#ae92173567da4f6f9b256bf6787d65a11',1,'raylib::Material::operator=(Material &&other) noexcept'],['../classraylib_1_1_material.html#af0644e3ba034c4e700eab72174e00905',1,'raylib::Material::operator=(const Material &)=delete'],['../classraylib_1_1_material.html#a8734255792ec2669d3c067b64a1b7644',1,'raylib::Material::operator=(const ::Material &material)'],['../classraylib_1_1_image.html#a7e2ce4ef95df6fb9c8ffd654cce227bc',1,'raylib::Image::operator=()']]], - ['operator_3d_3d_19',['operator==',['../classraylib_1_1_matrix.html#ab038b46305fb8bd85f83005146542b7e',1,'raylib::Matrix::operator==()'],['../classraylib_1_1_vector2.html#a92c0c5f254914438cc13926559678069',1,'raylib::Vector2::operator==()'],['../classraylib_1_1_vector3.html#a848a7b866cadd1e96c4a472343be47cb',1,'raylib::Vector3::operator==()'],['../classraylib_1_1_vector4.html#a00cc9bb369819d6628540cbda82bf47f',1,'raylib::Vector4::operator==()']]], - ['orange_20',['Orange',['../classraylib_1_1_color.html#afb83cd892356b66cc0603cbe1e147285',1,'raylib::Color']]], - ['ortho_21',['Ortho',['../classraylib_1_1_matrix.html#ad45b39503de59d1052377346efd8bcd8',1,'raylib::Matrix']]], - ['orthonormalize_22',['OrthoNormalize',['../classraylib_1_1_vector3.html#a39326460de2d051c5bde8366a7101de6',1,'raylib::Vector3']]], - ['rectangle_23',['Rectangle',['../classraylib_1_1_vector4.html#ab202f0a0df34580b5f330cd54aa6a633',1,'raylib::Vector4']]], - ['sound_24',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], - ['string_25',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], - ['texture2d_26',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]], - ['vector4_27',['Vector4',['../classraylib_1_1_rectangle.html#a0c04495372edc5cc3a3f572f0cddbc70',1,'raylib::Rectangle']]] + ['boundingbox_761',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], + ['image_762',['Image',['../classraylib_1_1_texture.html#a7d77c3831e3d01bb4ea33e4fcc7a6e1e',1,'raylib::Texture']]], + ['model_763',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], + ['one_764',['One',['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2']]], + ['openurl_765',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], + ['operator_20boundingbox_766',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], + ['operator_20int_767',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color']]], + ['sound_768',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], + ['string_769',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], + ['texture2d_770',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]] ]; diff --git a/docs/search/functions_e.html b/docs/search/functions_e.html index 12977150..ee5afa65 100644 --- a/docs/search/functions_e.html +++ b/docs/search/functions_e.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_e.js b/docs/search/functions_e.js index 5de6f62f..b729d3b0 100644 --- a/docs/search/functions_e.js +++ b/docs/search/functions_e.js @@ -1,13 +1,8 @@ var searchData= [ - ['pause_0',['Pause',['../classraylib_1_1_audio_stream.html#acb2ae2e3c331c91af0d3ca86733e1f52',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#ad956be86303bb8b307530947aefaea25',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a5a5513d79d5495061104dbfa36dca27b',1,'raylib::Sound::Pause()']]], - ['perpendicular_1',['Perpendicular',['../classraylib_1_1_vector3.html#a7b67640a2ce5eee35e5dba5af88fc020',1,'raylib::Vector3']]], - ['perspective_2',['Perspective',['../classraylib_1_1_matrix.html#aea5590610580b2ecd0be779324bf9281',1,'raylib::Matrix']]], - ['physics_3',['Physics',['../classraylib_1_1_physics.html#ab6fe48c3f1ccc583d78898d3946b3096',1,'raylib::Physics::Physics()'],['../classraylib_1_1_physics.html#a9638fbedf8f35acd23bb5c502c9ddac7',1,'raylib::Physics::Physics(float gravityY)'],['../classraylib_1_1_physics.html#abe69671cb0e5e5e765c6de48cccb0111',1,'raylib::Physics::Physics(float gravityX, float gravityY)']]], - ['pink_4',['Pink',['../classraylib_1_1_color.html#ad93a284f0ef61bf88be66b8bebd14427',1,'raylib::Color']]], - ['plane_5',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], - ['play_6',['Play',['../classraylib_1_1_audio_stream.html#a3aed292652e082b37396a66e48bf9858',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a5a99d2bf68843c860c6b5612b7e3d3df',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#ab48935ee4d6c10329f68117b5862aed2',1,'raylib::Sound::Play()']]], - ['playmulti_7',['PlayMulti',['../classraylib_1_1_sound.html#ac7a8473534871ea873f81673270841a0',1,'raylib::Sound']]], - ['poly_8',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]], - ['purple_9',['Purple',['../classraylib_1_1_color.html#a98e5330224e52e9599c060d82a50609d',1,'raylib::Color']]] + ['pause_771',['Pause',['../classraylib_1_1_audio_stream.html#aa620374153aa063a0e34f4260c6dce94',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#a810f0ae266f247237aa23574e1e31626',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a51f64c5c76a86a6b6f2225870d5a83a3',1,'raylib::Sound::Pause()']]], + ['plane_772',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], + ['play_773',['Play',['../classraylib_1_1_audio_stream.html#a594754979b974479711879b7d4af082e',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a908ddb6c248c75bd1a3cabc1381a45fc',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#a2fd3ff7a2653fa57dc2b0987e108a2ae',1,'raylib::Sound::Play()']]], + ['playmulti_774',['PlayMulti',['../classraylib_1_1_sound.html#adfe6e6915bb17eefd0ab58f5cb3aa7ba',1,'raylib::Sound']]], + ['poly_775',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]] ]; diff --git a/docs/search/functions_f.html b/docs/search/functions_f.html index d2ae3cf5..f17c412c 100644 --- a/docs/search/functions_f.html +++ b/docs/search/functions_f.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index 528d2162..f9c35be4 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -1,25 +1,15 @@ var searchData= [ - ['ray_0',['Ray',['../classraylib_1_1_ray.html#ab3a7660c5b87be0ce2c6e03269e7d87e',1,'raylib::Ray::Ray(::Vector3 position, ::Vector3 direction={0.0f, 0.0f, 0.0f})'],['../classraylib_1_1_ray.html#acc6259ea6bd75add00e7529ef5903024',1,'raylib::Ray::Ray(::Vector2 mousePosition, ::Camera camera)'],['../classraylib_1_1_ray.html#a6f7f848de7bebccc4dbda328dc8056b1',1,'raylib::Ray::Ray(const ::Ray &ray)']]], - ['raycollision_1',['RayCollision',['../classraylib_1_1_ray_collision.html#abcdc5ad0a518fce72f4a59e0ff3d6089',1,'raylib::RayCollision::RayCollision(const ::RayCollision &ray)'],['../classraylib_1_1_ray_collision.html#af3d7481a683da26a5bc761de88048e39',1,'raylib::RayCollision::RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal)'],['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)']]], - ['raylibexception_2',['RaylibException',['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException']]], - ['raywhite_3',['RayWhite',['../classraylib_1_1_color.html#a5a43482f133efe9ed65ee6e2899c19db',1,'raylib::Color']]], - ['rectangle_4',['Rectangle',['../classraylib_1_1_rectangle.html#a61861032ffd470259e1b74fed46ab5e8',1,'raylib::Rectangle::Rectangle(float x, float y, float width)'],['../classraylib_1_1_rectangle.html#a0ca58eee9dbca8d0eb850bc9cfe6d843',1,'raylib::Rectangle::Rectangle(::Vector4 rect)'],['../classraylib_1_1_rectangle.html#a85ea9145d362d7247096c0f1e5a139d2',1,'raylib::Rectangle::Rectangle(::Vector2 size)'],['../classraylib_1_1_rectangle.html#a2e6a3094f9d2cc34a8ffee741114271d',1,'raylib::Rectangle::Rectangle(::Vector2 position, ::Vector2 size)'],['../classraylib_1_1_rectangle.html#abcbb82963e25bcd78da507dd498cd35b',1,'raylib::Rectangle::Rectangle()'],['../classraylib_1_1_rectangle.html#a33e0e9353785a4023aee973d1613f1ff',1,'raylib::Rectangle::Rectangle(float x)'],['../classraylib_1_1_rectangle.html#a04bca788142d97d34e7fe1be945795b2',1,'raylib::Rectangle::Rectangle(float x, float y)'],['../classraylib_1_1_rectangle.html#ab31f8b649dd25ec8681efbfd72785f2f',1,'raylib::Rectangle::Rectangle(float x, float y, float width, float height)'],['../classraylib_1_1_rectangle.html#af3ec58f0bddd5f275adc88a738e8b674',1,'raylib::Rectangle::Rectangle(const ::Rectangle &vec)']]], - ['red_5',['Red',['../classraylib_1_1_color.html#a649937964940232edccf5cb3c427378b',1,'raylib::Color']]], - ['reflect_6',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2::Reflect()'],['../classraylib_1_1_vector3.html#a65595b203f521068db930e7d6bccc8c8',1,'raylib::Vector3::Reflect()']]], - ['rendertexture_7',['RenderTexture',['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()'],['../classraylib_1_1_render_texture.html#a39f48ce84105360408c0ff04b143bbc1',1,'raylib::RenderTexture::RenderTexture(RenderTexture &&other)'],['../classraylib_1_1_render_texture.html#acf580e3d1fe82531a24d5ae3e380dd1b',1,'raylib::RenderTexture::RenderTexture(const RenderTexture &)=delete'],['../classraylib_1_1_render_texture.html#a27f118f32bd8083a183df7ab5f0d8285',1,'raylib::RenderTexture::RenderTexture(unsigned int id, ::Texture texture, ::Texture depth)'],['../classraylib_1_1_render_texture.html#a86e1112d634dd3f3fa08ab448b120174',1,'raylib::RenderTexture::RenderTexture(const ::RenderTexture &renderTexture)'],['../classraylib_1_1_render_texture.html#add8d201aec938fe0a66ecedd304e2fd3',1,'raylib::RenderTexture::RenderTexture(int width, int height)']]], - ['reset_8',['Reset',['../classraylib_1_1_physics.html#af6425119eec9dbcca53e8f6029e54276',1,'raylib::Physics']]], - ['resize_9',['Resize',['../classraylib_1_1_image.html#aead1233654bf3e148ea55234f2f3557f',1,'raylib::Image']]], - ['resizecanvas_10',['ResizeCanvas',['../classraylib_1_1_image.html#a28f4b429c7e969b082801782ac19003c',1,'raylib::Image']]], - ['resizenn_11',['ResizeNN',['../classraylib_1_1_image.html#a218095d3a96636679cb7c5064985ba2d',1,'raylib::Image']]], - ['restore_12',['Restore',['../classraylib_1_1_window.html#a363b508c37787a50067fdef7b6a8a7f4',1,'raylib::Window']]], - ['resume_13',['Resume',['../classraylib_1_1_sound.html#aa00303b64f68c6f5acb06f23553efbbf',1,'raylib::Sound::Resume()'],['../classraylib_1_1_music.html#ac3cda9dcc555047d9b94842c6637181f',1,'raylib::Music::Resume()'],['../classraylib_1_1_audio_stream.html#ae949d3dea0a03fa4554153ab1c591fb9',1,'raylib::AudioStream::Resume()']]], - ['rotate_14',['Rotate',['../classraylib_1_1_matrix.html#ac5da5173fc6bcda2e09bdc2caa865c08',1,'raylib::Matrix::Rotate()'],['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2::Rotate()']]], - ['rotatebyquaternion_15',['RotateByQuaternion',['../classraylib_1_1_vector3.html#a3c7424a3f680503dcd338861a19c53e1',1,'raylib::Vector3']]], - ['rotateccw_16',['RotateCCW',['../classraylib_1_1_image.html#a91af35357c488a79bc0306aac1d6a613',1,'raylib::Image']]], - ['rotatecw_17',['RotateCW',['../classraylib_1_1_image.html#a6ea82b2f67b22d73e7bb3119e40d7c5d',1,'raylib::Image']]], - ['rotatex_18',['RotateX',['../classraylib_1_1_matrix.html#af0e1c205d24796003dc63783b2e1739a',1,'raylib::Matrix']]], - ['rotatexyz_19',['RotateXYZ',['../classraylib_1_1_matrix.html#a42a55314e81f9a8d4a1b7c964127bce1',1,'raylib::Matrix']]], - ['rotatey_20',['RotateY',['../classraylib_1_1_matrix.html#a9e068eb0a163ba8ae65d3b89ace56e67',1,'raylib::Matrix']]], - ['rotatez_21',['RotateZ',['../classraylib_1_1_matrix.html#a94ee9f00cd56f52d6bb49c3de7af7e02',1,'raylib::Matrix']]] + ['raycollision_776',['RayCollision',['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a9acc36137eb6f874736d51ec68e8843e',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Model &model)'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)']]], + ['raylibexception_777',['RaylibException',['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException']]], + ['reflect_778',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2']]], + ['rendertexture_779',['RenderTexture',['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture']]], + ['resize_780',['Resize',['../classraylib_1_1_image.html#a62294223271290f049711ee96ca809fb',1,'raylib::Image']]], + ['resizecanvas_781',['ResizeCanvas',['../classraylib_1_1_image.html#a008fc6154d0252aa1b9924281a27a61d',1,'raylib::Image']]], + ['resizenn_782',['ResizeNN',['../classraylib_1_1_image.html#a13f6b8aade2957218bdfa199857caa04',1,'raylib::Image']]], + ['restore_783',['Restore',['../classraylib_1_1_window.html#a936ba6f4614ab6b3c2552f88798ffac2',1,'raylib::Window']]], + ['resume_784',['Resume',['../classraylib_1_1_audio_stream.html#ab3514d8e8b8c8992046ef3e51e571c88',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#a5c5c67064aa37d2b3f3234a2a02230de',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#a08132251f7b6e4caec600475f610e2f5',1,'raylib::Sound::Resume()']]], + ['rotate_785',['Rotate',['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2']]], + ['rotateccw_786',['RotateCCW',['../classraylib_1_1_image.html#aa08513832d0ab58144f4418ba3b4b6d6',1,'raylib::Image']]], + ['rotatecw_787',['RotateCW',['../classraylib_1_1_image.html#aed253e5dd980e63b7fd7a8ef43ef7cf6',1,'raylib::Image']]] ]; diff --git a/docs/search/namespaces_0.html b/docs/search/namespaces_0.html index c6a0d245..76996d1c 100644 --- a/docs/search/namespaces_0.html +++ b/docs/search/namespaces_0.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/namespaces_0.js b/docs/search/namespaces_0.js index 8328507d..5d3e21c7 100644 --- a/docs/search/namespaces_0.js +++ b/docs/search/namespaces_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['raylib_0',['raylib',['../namespaceraylib.html',1,'']]] + ['raylib_501',['raylib',['../namespaceraylib.html',1,'']]] ]; diff --git a/docs/search/nomatches.html b/docs/search/nomatches.html index 2b9360b6..43773208 100644 --- a/docs/search/nomatches.html +++ b/docs/search/nomatches.html @@ -1,6 +1,5 @@ - - + diff --git a/docs/search/pages_0.html b/docs/search/pages_0.html index e53c280e..9a6a29ad 100644 --- a/docs/search/pages_0.html +++ b/docs/search/pages_0.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/pages_0.js b/docs/search/pages_0.js index b9d8a5ff..00dd1dbf 100644 --- a/docs/search/pages_0.js +++ b/docs/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['raylib_2dcpp_0',['raylib-cpp',['../index.html',1,'']]] + ['raylib_2dcpp_958',['raylib-cpp',['../index.html',1,'']]] ]; diff --git a/docs/search/search.css b/docs/search/search.css index 2d55f669..3cf9df94 100644 --- a/docs/search/search.css +++ b/docs/search/search.css @@ -1,96 +1,106 @@ /*---------------- Search Box */ +#FSearchBox { + float: left; +} + #MSearchBox { white-space : nowrap; - background: white; - border-radius: 0.65em; - box-shadow: inset 0.5px 0.5px 3px 0px #555; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; z-index: 102; } -#MSearchBox .left { - display: inline-block; - vertical-align: middle; - height: 1.4em; +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; } #MSearchSelect { - display: inline-block; - vertical-align: middle; - height: 19px; - padding: 0 0 0 0.3em; - margin: 0; + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; } #MSearchField { - display: inline-block; - vertical-align: middle; - width: 7.5em; - height: 19px; - margin: 0 0.15em; - padding: 0; - line-height: 1em; + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; border:none; + width:115px; + margin-left:20px; + padding-left:4px; color: #909090; outline: none; - font-family: Arial, Verdana, sans-serif; + font: 9pt Arial, Verdana, sans-serif; -webkit-border-radius: 0px; - border-radius: 0px; - background: none; } -@media(hover: none) { - /* to avoid zooming on iOS */ - #MSearchField { - font-size: 16px; - } +#FSearchBox #MSearchField { + margin-left:15px; } #MSearchBox .right { - display: inline-block; - vertical-align: middle; - width: 1.4em; - height: 1.4em; + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; } #MSearchClose { display: none; - font-size: inherit; + position: absolute; + top: 4px; background : none; border: none; - margin: 0; - padding: 0; + margin: 0px 4px 0px 0px; + padding: 0px 0px; outline: none; +} +.left #MSearchClose { + left: 6px; } -#MSearchCloseImg { - height: 1.4em; - padding: 0.3em; - margin: 0; +.right #MSearchClose { + right: 2px; } .MSearchBoxActive #MSearchField { color: #000000; } -#main-menu > li:last-child { - /* This
  • object is the parent of the search bar */ - display: flex; - justify-content: center; - align-items: center; - height: 36px; - margin-right: 1em; -} - /*---------------- Search filter selection */ #MSearchSelectWindow { display: none; position: absolute; left: 0; top: 0; - border: 1px solid #2E9AFE; - background-color: #F3F9FE; + border: 1px solid #90A5CE; + background-color: #F9FAFC; z-index: 10001; padding-top: 4px; padding-bottom: 4px; @@ -134,7 +144,7 @@ a.SelectItem:active { a.SelectItem:hover { color: #FFFFFF; - background-color: #004789; + background-color: #3D578C; outline-style: none; text-decoration: none; cursor: pointer; @@ -144,7 +154,7 @@ a.SelectItem:hover { /*---------------- Search results window */ iframe#MSearchResults { - /*width: 60ex;*/ + width: 60ex; height: 15em; } @@ -153,7 +163,7 @@ iframe#MSearchResults { position: absolute; left: 0; top: 0; border: 1px solid #000; - background-color: #DDEEFE; + background-color: #EEF1F7; z-index:10000; } @@ -189,7 +199,7 @@ body.SRPage { .SRSymbol { font-weight: bold; - color: #004F99; + color: #425E97; font-family: Arial, Verdana, sans-serif; text-decoration: none; outline: none; @@ -197,7 +207,7 @@ body.SRPage { a.SRScope { display: block; - color: #004F99; + color: #425E97; font-family: Arial, Verdana, sans-serif; text-decoration: none; outline: none; @@ -210,21 +220,19 @@ a.SRScope:focus, a.SRScope:active { span.SRScope { padding-left: 4px; - font-family: Arial, Verdana, sans-serif; } .SRPage .SRStatus { padding: 2px 5px; font-size: 8pt; font-style: italic; - font-family: Arial, Verdana, sans-serif; } .SRResult { display: none; } -div.searchresults { +DIV.searchresults { margin-left: 10px; margin-right: 10px; } @@ -232,7 +240,7 @@ div.searchresults { /*---------------- External search page results */ .searchresult { - background-color: #E1F0FF; + background-color: #F0F3F8; } .pages b { diff --git a/docs/search/search.js b/docs/search/search.js index ac8055d1..a554ab9c 100644 --- a/docs/search/search.js +++ b/docs/search/search.js @@ -1,26 +1,25 @@ /* - @licstart The following is the entire license notice for the JavaScript code in this file. + @licstart The following is the entire license notice for the + JavaScript code in this file. - The MIT License (MIT) + Copyright (C) 1997-2017 by Dimitri van Heesch - Copyright (C) 1997-2020 by Dimitri van Heesch + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file + @licend The above is the entire license notice + for the JavaScript code in this file */ function convertToId(search) { @@ -80,10 +79,9 @@ function getYPos(item) storing this instance. Is needed to be able to set timeouts. resultPath - path to use for external files */ -function SearchBox(name, resultsPath, label, extension) +function SearchBox(name, resultsPath, inFrame, label) { if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); } - if (!extension || extension == "") { extension = ".html"; } // ---------- Instance variables this.name = name; @@ -96,8 +94,8 @@ function SearchBox(name, resultsPath, label, extension) this.hideTimeout = 0; this.searchIndex = 0; this.searchActive = false; + this.insideFrame = inFrame; this.searchLabel = label; - this.extension = extension; // ----------- DOM Elements @@ -135,14 +133,30 @@ function SearchBox(name, resultsPath, label, extension) var searchSelectWindow = this.DOMSearchSelectWindow(); var searchField = this.DOMSearchSelect(); - var left = getXPos(searchField); - var top = getYPos(searchField); - top += searchField.offsetHeight; - - // show search selection popup - searchSelectWindow.style.display='block'; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; + if (this.insideFrame) + { + var left = getXPos(searchField); + var top = getYPos(searchField); + left += searchField.offsetWidth + 6; + top += searchField.offsetHeight; + + // show search selection popup + searchSelectWindow.style.display='block'; + left -= searchSelectWindow.offsetWidth; + searchSelectWindow.style.left = left + 'px'; + searchSelectWindow.style.top = top + 'px'; + } + else + { + var left = getXPos(searchField); + var top = getYPos(searchField); + top += searchField.offsetHeight; + + // show search selection popup + searchSelectWindow.style.display='block'; + searchSelectWindow.style.left = left + 'px'; + searchSelectWindow.style.top = top + 'px'; + } // stop selection hide timer if (this.hideTimeout) @@ -186,9 +200,10 @@ function SearchBox(name, resultsPath, label, extension) } return; } - else + else if (window.frames.MSearchResults.searchResults) { - window.frames.MSearchResults.postMessage("take_focus", "*"); + var elem = window.frames.MSearchResults.searchResults.NavNext(0); + if (elem) elem.focus(); } } else if (e.keyCode==27) // Escape out of the search field @@ -332,13 +347,13 @@ function SearchBox(name, resultsPath, label, extension) if (idx!=-1) { var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension; + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; resultsPageWithSearch = resultsPage+'?'+escape(searchValue); hasResultsPage = true; } else // nothing available for this search term { - resultsPage = this.resultsPath + '/nomatches' + this.extension; + resultsPage = this.resultsPath + '/nomatches.html'; resultsPageWithSearch = resultsPage; hasResultsPage = false; } @@ -349,19 +364,26 @@ function SearchBox(name, resultsPath, label, extension) if (domPopupSearchResultsWindow.style.display!='block') { var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline-block'; - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - var maxWidth = document.body.clientWidth; - var width = 400; - if (left<10) left=10; - if (width+left+8>maxWidth) width=maxWidth-left-8; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - domPopupSearchResultsWindow.style.width = width + 'px'; + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } } this.lastSearchValue = searchValue; @@ -417,12 +439,12 @@ function SearchResults(name) while (element && element!=parentElement) { - if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') + if (element.nodeName == 'DIV' && element.className == 'SRChildren') { return element; } - if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) + if (element.nodeName == 'DIV' && element.hasChildNodes()) { element = element.firstChild; } @@ -740,7 +762,6 @@ function createResults() if (searchData[e][1].length==2) // single result { srLink.setAttribute('href',searchData[e][1][1][0]); - srLink.setAttribute('onclick','parent.searchBox.CloseResultsWindow()'); if (searchData[e][1][1][1]) { srLink.setAttribute('target','_parent'); @@ -762,7 +783,6 @@ function createResults() setKeyActions(srChild,'return searchResults.NavChild(event,'+e+','+c+')'); setClassAttr(srChild,'SRScope'); srChild.setAttribute('href',searchData[e][1][c+1][0]); - srChild.setAttribute('onclick','parent.searchBox.CloseResultsWindow()'); if (searchData[e][1][c+1][1]) { srChild.setAttribute('target','_parent'); diff --git a/docs/search/searchdata.js b/docs/search/searchdata.js index d87a4ff4..17780daf 100644 --- a/docs/search/searchdata.js +++ b/docs/search/searchdata.js @@ -1,12 +1,11 @@ var indexSectionsWithContent = { - 0: "abcdefghiklmnopqrstuvwyz~", + 0: "abcdefghiklmnoprstuvwz~", 1: "abcfgimprstvw", 2: "r", - 3: "abcdefghiklmnoprstuvwyz~", - 4: "cfnst", - 5: "cqrt", - 6: "r" + 3: "abcdefghiklmnoprstuwz~", + 4: "cfst", + 5: "r" }; var indexSectionNames = @@ -16,8 +15,7 @@ var indexSectionNames = 2: "namespaces", 3: "functions", 4: "variables", - 5: "typedefs", - 6: "pages" + 5: "pages" }; var indexSectionLabels = @@ -27,7 +25,6 @@ var indexSectionLabels = 2: "Namespaces", 3: "Functions", 4: "Variables", - 5: "Typedefs", - 6: "Pages" + 5: "Pages" }; diff --git a/docs/search/variables_0.html b/docs/search/variables_0.html index 950bfc5f..bf3eba5c 100644 --- a/docs/search/variables_0.html +++ b/docs/search/variables_0.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/variables_0.js b/docs/search/variables_0.js index 926c6f8f..90dcfeed 100644 --- a/docs/search/variables_0.js +++ b/docs/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['color_0',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]] + ['color_953',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]] ]; diff --git a/docs/search/variables_1.html b/docs/search/variables_1.html index fed58a5d..49fe59a1 100644 --- a/docs/search/variables_1.html +++ b/docs/search/variables_1.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/variables_1.js b/docs/search/variables_1.js index 9ea47dc7..cd504bcc 100644 --- a/docs/search/variables_1.js +++ b/docs/search/variables_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['font_0',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], - ['fontsize_1',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]] + ['font_954',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], + ['fontsize_955',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]] ]; diff --git a/docs/search/variables_2.html b/docs/search/variables_2.html index 761c194a..0c8a18cf 100644 --- a/docs/search/variables_2.html +++ b/docs/search/variables_2.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/variables_2.js b/docs/search/variables_2.js index efb3a188..05224b10 100644 --- a/docs/search/variables_2.js +++ b/docs/search/variables_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['number_0',['number',['../classraylib_1_1_gamepad.html#a66632b63f6edf508a980e9198f60a8f3',1,'raylib::Gamepad']]] + ['spacing_956',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]] ]; diff --git a/docs/search/variables_3.html b/docs/search/variables_3.html index 78bfe03b..19a31fc2 100644 --- a/docs/search/variables_3.html +++ b/docs/search/variables_3.html @@ -1,8 +1,7 @@ - - + - + @@ -11,27 +10,21 @@
    Loading...
    - +-->
    Searching...
    No Matches
    - +-->
    diff --git a/docs/search/variables_3.js b/docs/search/variables_3.js index dbacb628..24d4666e 100644 --- a/docs/search/variables_3.js +++ b/docs/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['spacing_0',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]] + ['text_957',['text',['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text']]] ]; diff --git a/docs/splitbar.png b/docs/splitbar.png index 58a8081b983eb0b4ca8a2b88d6afec13fee380c4..fe895f2c58179b471a22d8320b39a4bd7312ec8e 100644 GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 288 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf@Vhiko;7B-%gT z-@9p9V2ShsxkGbz8ZTNfb0h1kl{$}>WwT2;CP{Y5zUZ@b{2|`^<&4dH>ALsV_wnAb zyfbg#9hvoU^74Bv?$y`rDX-nrGFRh}i0h0+9Kj-qT}nQIEt*{hu7b;O3I27i`u}!M z{hvS1)5Y)EeEZhPUS3=G@=-zcuASdrEl%gJ{q;{iZtlzLFKcSPf88^`?!{%L8J&cU fML6JM{0sArM&n3@ISfmIUS{xg^>bP0l+XkKTt0V$ diff --git a/docs/sync_off.png b/docs/sync_off.png index 224ee1ee38f3a942a47a85055df4be166bea390a..3b443fc62892114406e3d399421b2a881b897acc 100644 GIT binary patch delta 831 zcmV-F1Hk;O2Gs_TBYy)NNkloooXcRj<9B{QZgO7hj7%fQ;%Cpj{jm5rA1J79WaE@v%5&{V@ly z)*f;C6&`LaW#Xv#bh-d-;>Zls1~40aVw?FTx2d()jIKSO2QUY;vpa;@@@RmdwzjOD&(?J@3T*Qk4VTikJWT65A!;g1QrA~63(*)eZcUZk92cFdYT321 z{(1&DX4LoHRpZk-5&%1&$31D?D*n=;96CPCx|SL`-pyRZW8=?w_-InH z%IJqtbblnj-yf%_Adjk`W@NhjJTyZ8*;|!n9=K#TJuZz+={YZ#>8iu)`7i%Z4BTPh z@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK&4RGz|D5HNrW83-#ydk}tVKJrNmyYt- zsTxLGlJY5nc&ReU4MWqu}FZmD{J`n2t6sES`2E7RuJ`k8!F zLdw8k2*8!+uPhpuSX>KCA1;rp*k66+XlC-$!j zoR-1{r+=obz~*dCh-~lhay0x7CvS}W07O0CZ}XsOxZE$%7U-}zb1SB8mkMZ;RxvX*F2z)Nw6_SW0 zfR7@o;RAfrNp{^DL;w>+i*_D=qy4P=8_DMYpUPq3z*u+kX5o-94PYGT;o4<(ZeBR1 z-HBX2S(Y;xxyHF2B5Wzm|OOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<| zQ`7IQhabNU^YoZUp zj19m5YFoaoxI&oSA0H(nyeh~HIfapy9Fat=9R`J&i z9-ewF5Wk5-lO?DTXQr4ofay3T+Vy{|73+8E*;UWK0+}e{?s4UCp?Ys8?25-irRFo`ae_NQm1r7i+Eh@npzz~H#4+rIk%L?ZMOv#_;W`Ap# z(xB;gBPu~fYD-mlKKq)>$@M0CwW2teZ8b}2tP5%yYJY=7D!)#S)@f&V!#6~#l5KkF zssy?EOWVG&h_+23=A_MQ&_9owZ~d%a<ZP1@J}O4m&ohWg<~1ve`YBzeRe(rZr30yw6myOj+_XyUzTS9X?-X!HZ`1b~U_>afxir~3D`v9z%4LJ~z=1RHD@u|`Nr^x;iKfkG6d5!gjZ7kyBK#Im@$8-&`z)8=gbOy90D$-~hI zfXlPj7CTBTdK%LSk@rXsijEUdFS#qSeL}===X@BV+bfvD&V3xCK2fw$uQ0pFC z+qy#7Ujfaltf;-Kp>Zi-^c26vU+d+RZI+p2g#LFnTLZ*)&=+8SHo&*ZlRXdkeQ(TK zbYK21a=vJ)usN#RZnOvgLH~1khj=oL%SwgPWo_pGM*sbW6tGTtaBS51>Zt}eBOf-I z50)3%bbr)Dm>rCb*l-a}-gK=kg<+dVKgK=}OO`cWvN(6k{ft&zU7~Kl)w}NvQgR%6 z|Bh{HFcrXUdVHUBc4e)egGYzbEV?3I3D?p5XJClsC$c$RlLFwW^D$I+L>PHK1mLC3 zxev6+eJD`CME3{AQiC~x(H9ACI8Ac%oviiS5q|(L*YvV-0?ZY6#1!OFwCOJE0q%8* zUB4y}z!ce|gD2i-r-UY+)^mWb^`|)Wu{(L2_(K@Q0N|7Ka5bBQn-`ARZpSa5kd|AI zYZV|-SNz5FOaT+!YX)X37E+z46k0B|_-nvny{*Lc_@L4C21xWC%kiKulY}nM00000 MNe4wvM6N<$f?2YA9{>OV diff --git a/docs/tab_a.png b/docs/tab_a.png index 8200d145f5c9aa19285ae62ff378bd4ed919a8bf..3b725c41c5a527a3a3e40097077d0e206a681247 100644 GIT binary patch delta 113 zcmV-%0FM8s0geHXBx+SjL_t(|0qvbj3V<*WLnm*fD2j+%#l7Gq+<5;Z*{QAP2nqR} z!S?f}A6KSjBMmcj2}v0s95XABy!b`qeq0Yk9=#tquiN10l6OtFzxMxqe_8ck>OlfD TS)Sv400000NkvXXu0mjf2-s}R(Y~UrI`HXx`?qC#yL6T&U zBpGDT>m@fd{D*gq-#v)(%4^~cm2IZFqqYwkN9qTfCt7FP7dltEH+pya t4+hU*_+s=9#-Cu4FinHmH#7hJ0ks7l*1M&l>Hq)$07*qoLRMd8Q0(A2oN4s~GSz_eB{&>x`2eL8dp zT|~jMkaNG}u7bAx%XOvre3E$i74E&jKK~gPF}n{Y8=!5(I0xKQ+0l61Ou$w991{_m v-m(zHX%0n}isespgrbrefo^!<(&``6OBznHeiUi|0000HF0k#2 z0}HsPAnUOlpAQ6WW3hJ`_I$lDECU9G@%RuAcjxXVZm;6{oLt1ZbJo4M?7kMQbKZ)x zMw~Xz>Li#M#~T45CLysO;{O>Ua)eY%jVQ8!oRO2gbF|V2;S=l~C3-(<_W%F@07*qo IM6N<$f+ayiDF6Tf diff --git a/docs/tab_h.png b/docs/tab_h.png index f9ddf130df02b31643b0b320b27b643db898c5f7..fd5cb705488e60fcf30f56fcc951dee74f3b095b 100644 GIT binary patch delta 149 zcmV;G0BZlY0kHv)B!75GL_t(|0qxyQ62U+ahT)!m5vAP5&XPrTh`$;lA(gU`WGdHk z1V?cjJ&Jq0-&5VEkmu{I)5%E32^4itUiJ7}z+VH0qT^Twc6rPG(y=|aRzqfH=H?W8 zu=b6L2=la3=bR;9_2>VNqV~72jSdG9$8vRNwkSVmXck;)J`Q|y00000NkvXXu0mjf D4%bFx delta 155 zcmV;M0A&BM0k;8=B!7NML_t(|0qxyO3c^qfh2h+DT0|`3#07}>fQkq@5Zr)stq(5Z zQj)P#7vc_k&8-7h5%@^*uR`Ld#dshX^@N9~asM#xqH-IJ>$`GuGu9X7>S|mzKZ`~= zKO1LmdQxW)pUFD`LH;0Mcjq3uR(Q)wB;Nu3BL9ii(Pa2)zZ5TI86&v_U`YS~002ov JPDHLkV1kPjM6>_^ diff --git a/docs/tab_s.png b/docs/tab_s.png index 69bd939398440e7b7e72abd8a50e6b989ae3cd9b..ab478c95b67371d700a20869f7de1ddd73522d50 100644 GIT binary patch delta 156 zcmV;N0Av5f0k{E>B!7QNL_t(|0qxy^34%ZXK+&T=Q4$n|q#~N4C8kM{mx^YVHd`CC zNWLn{S^f~#UuRg?v)<^0000< KMNUMnLSTXzJ4gxu delta 169 zcmV;a09OCF0mT83B!7%aL_t(|0qxyS3ITB#2H;n(g_2|=7LrI7OmYO|Pa+JB<^&Fa zEY$bPo!m#Vv9hw5#qg7hJoOv{+v|s&P;7@rFA%+r*b0nI_r_YRuZ%Tctop{vQY+kpk4i8{|2X?nF XgTp4fFpMTY00000NkvXXu0mjfzI078 diff --git a/docs/tabs.css b/docs/tabs.css index 00d1c602..7d45d36c 100644 --- a/docs/tabs.css +++ b/docs/tabs.css @@ -1 +1 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:#666;-webkit-transition:all .25s;transition:all .25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px)}#main-menu-state:not(:checked) ~ #main-menu{display:none}#main-menu-state:checked ~ #main-menu{display:block}@media(min-width:768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked) ~ #main-menu{display:block}}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0px 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0px 1px 1px rgba(255,255,255,0.9);color:#283A5D;outline:none}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a.current{color:#D23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media (min-width: 768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283A5D transparent transparent transparent;background:transparent;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0px 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a:hover span.sub-arrow{border-color:#fff transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;border-radius:5px !important;box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent #fff}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #D23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#D23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} diff --git a/include/raylib-cpp.hpp b/include/raylib-cpp.hpp index 628fa99c..74301f98 100644 --- a/include/raylib-cpp.hpp +++ b/include/raylib-cpp.hpp @@ -1,5 +1,5 @@ /** - * raylib-cpp is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces. + * [raylib-cpp](https://github.com/RobLoach/raylib-cpp) is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces. * * @see raylib namespace for a list of all available classes. * @mainpage raylib-cpp diff --git a/projects/Doxygen/Doxyfile b/projects/Doxygen/Doxyfile index 93a624f7..01b882b1 100644 --- a/projects/Doxygen/Doxyfile +++ b/projects/Doxygen/Doxyfile @@ -1079,7 +1079,7 @@ HTML_STYLESHEET = # see the documentation. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_EXTRA_STYLESHEET = +HTML_EXTRA_STYLESHEET = projects/Doxygen/doxygen-awesome-css/doxygen-awesome.css # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or # other source files which should be copied to the HTML output directory. Note diff --git a/projects/Doxygen/README.md b/projects/Doxygen/README.md index f5265256..a867cc40 100644 --- a/projects/Doxygen/README.md +++ b/projects/Doxygen/README.md @@ -1,16 +1,12 @@ # raylib-cpp Doxygen -To build the docs, your first need the `doxygen-awesome` css theme: +The documentation uses the [`doxygen-awesome-css`](https://github.com/jothepro/doxygen-awesome-css) theme. -```sh -# At the root of the project -git submodule add https://github.com/jothepro/doxygen-awesome-css.git -cd doxygen-awesome-css -git checkout v2.0.3 -``` +## Build + +To build the documentation with [Doxygen](https://www.doxygen.nl), run the following command from raylib-cpp's root directory. -Then you can just build the docs ```sh -# Also at the root of the project +git submodule update --init doxygen projects/Doxygen/Doxyfile ``` diff --git a/projects/Doxygen/doxygen-awesome-css b/projects/Doxygen/doxygen-awesome-css new file mode 160000 index 00000000..4cd62308 --- /dev/null +++ b/projects/Doxygen/doxygen-awesome-css @@ -0,0 +1 @@ +Subproject commit 4cd62308d825fe0396d2f66ffbab45d0e247724c