From 0ce6df780d7662770647f29eeddabe72fb6e599c Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Fri, 24 Dec 2021 16:49:16 -0500 Subject: [PATCH] v4.0.2 --- CHANGELOG.md | 2 +- CMakeLists.txt | 2 +- docs/_color_8hpp_source.html | 6 +- docs/_font_8hpp_source.html | 6 +- docs/_functions_8hpp_source.html | 86 ++++- docs/_image_8hpp_source.html | 27 +- docs/_music_8hpp_source.html | 27 +- docs/_shader_8hpp_source.html | 215 +++++++------ docs/_sound_8hpp_source.html | 23 +- docs/_vector2_8hpp_source.html | 370 +++++++++++----------- docs/_vector3_8hpp_source.html | 366 +++++++++++---------- docs/_vector4_8hpp_source.html | 16 +- docs/_wave_8hpp_source.html | 27 +- docs/classraylib_1_1_image-members.html | 63 ++-- docs/classraylib_1_1_image.html | 33 ++ docs/classraylib_1_1_music-members.html | 49 +-- docs/classraylib_1_1_music.html | 33 ++ docs/classraylib_1_1_shader-members.html | 15 +- docs/classraylib_1_1_shader.html | 138 ++++++-- docs/classraylib_1_1_sound-members.html | 43 +-- docs/classraylib_1_1_sound.html | 33 ++ docs/classraylib_1_1_vector2-members.html | 16 +- docs/classraylib_1_1_vector2.html | 48 +-- docs/classraylib_1_1_vector3-members.html | 30 +- docs/classraylib_1_1_vector3.html | 90 +++--- docs/classraylib_1_1_vector4-members.html | 16 +- docs/classraylib_1_1_vector4.html | 48 +-- docs/classraylib_1_1_wave-members.html | 41 +-- docs/classraylib_1_1_wave.html | 33 ++ docs/functions_func_i.html | 6 + docs/functions_func_l.html | 1 + docs/functions_i.html | 6 + docs/functions_l.html | 1 + docs/namespacemembers.html | 35 +- docs/namespacemembers_func.html | 35 +- docs/namespaceraylib.html | 52 ++- docs/raylib-cpp_8hpp_source.html | 27 +- docs/search/all_10.js | 240 +++++++------- docs/search/all_11.js | 33 +- docs/search/all_12.js | 22 +- docs/search/all_13.js | 8 +- docs/search/all_14.js | 6 +- docs/search/all_15.js | 2 +- docs/search/all_16.js | 10 +- docs/search/all_3.js | 6 +- docs/search/all_4.js | 12 +- docs/search/all_5.js | 16 +- docs/search/all_6.js | 258 +++++++-------- docs/search/all_7.js | 4 +- docs/search/all_8.js | 47 +-- docs/search/all_9.js | 2 +- docs/search/all_a.js | 42 +-- docs/search/all_b.js | 24 +- docs/search/all_c.js | 2 +- docs/search/all_d.js | 18 +- docs/search/all_e.js | 12 +- docs/search/all_f.js | 30 +- docs/search/classes_0.js | 4 +- docs/search/classes_1.js | 2 +- docs/search/classes_2.js | 6 +- docs/search/classes_3.js | 2 +- docs/search/classes_4.js | 2 +- docs/search/classes_5.js | 2 +- docs/search/classes_6.js | 14 +- docs/search/classes_7.js | 2 +- docs/search/classes_8.js | 8 +- docs/search/classes_9.js | 4 +- docs/search/classes_a.js | 2 +- docs/search/classes_b.js | 8 +- docs/search/classes_c.js | 4 +- docs/search/functions_0.js | 18 +- docs/search/functions_1.js | 8 +- docs/search/functions_10.js | 236 +++++++------- docs/search/functions_11.js | 33 +- docs/search/functions_12.js | 22 +- docs/search/functions_13.js | 6 +- docs/search/functions_14.js | 2 +- docs/search/functions_15.js | 10 +- docs/search/functions_2.js | 46 +-- docs/search/functions_3.js | 26 +- docs/search/functions_4.js | 12 +- docs/search/functions_5.js | 14 +- docs/search/functions_6.js | 256 +++++++-------- docs/search/functions_7.js | 4 +- docs/search/functions_8.js | 45 +-- docs/search/functions_9.js | 2 +- docs/search/functions_a.js | 42 +-- docs/search/functions_b.js | 16 +- docs/search/functions_c.js | 2 +- docs/search/functions_d.js | 18 +- docs/search/functions_e.js | 10 +- docs/search/functions_f.js | 20 +- docs/search/namespaces_0.js | 2 +- docs/search/pages_0.js | 2 +- package.json | 2 +- 95 files changed, 2120 insertions(+), 1653 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fda74b0..458fa30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [4.x.x] - xxxx-xx-xx +## [4.0.2] - 2021-12-24 ### Added - `Image::IsLoaded()` - `Wave::IsLoaded()` diff --git a/CMakeLists.txt b/CMakeLists.txt index 66b0dc6..fc49461 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.11) set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") project (raylib-cpp - VERSION 4.0.1 + VERSION 4.0.2 DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib" HOMEPAGE_URL "https://github.com/robloach/raylib-cpp" LANGUAGES C CXX) diff --git a/docs/_color_8hpp_source.html b/docs/_color_8hpp_source.html index 8f7989f..2e3e48d 100644 --- a/docs/_color_8hpp_source.html +++ b/docs/_color_8hpp_source.html @@ -188,7 +188,7 @@ $(function() {
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);
+
160  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
161  return *this;
162  }
163 
@@ -200,7 +200,7 @@ $(function() {
169  float rotation,
170  float fontSize,
171  float spacing) {
-
172  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
+
172  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
173  return *this;
174  }
175 
@@ -289,6 +289,7 @@ $(function() {
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:264
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
@@ -301,6 +302,7 @@ $(function() {
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:256