Skip to content

Commit

Permalink
v5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach authored Jun 27, 2024
1 parent 2d18aaa commit 1ef7ddb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.11)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
project (raylib_cpp
VERSION 5.0.1
VERSION 5.0.2
DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib"
HOMEPAGE_URL "https://github.com/robloach/raylib-cpp"
LANGUAGES C CXX
Expand Down
7 changes: 5 additions & 2 deletions include/ModelAnimation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <vector>
#include <string>
#include <cstring>

#include "./raylib.hpp"
#include "./raylib-cpp-utils.hpp"
Expand Down Expand Up @@ -103,7 +102,11 @@ class ModelAnimation : public ::ModelAnimation {
frameCount = model.frameCount;
bones = model.bones;
framePoses = model.framePoses;
std::strcpy(name, model.name);

// Duplicate the name. TextCopy() uses the null terminator, which we ignore here.
for (int i = 0; i < 32; i++) {
name[i] = model.name[i];
}
}
};
} // namespace raylib
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raylib-cpp",
"version": "5.0.1",
"version": "5.0.2",
"description": "raylib-cpp: C++ Object-Oriented Wrapper for raylib",
"main": "index.js",
"private": true,
Expand Down Expand Up @@ -30,6 +30,6 @@
},
"homepage": "https://github.com/RobLoach/raylib-cpp#readme",
"devDependencies": {
"gh-pages": "^4.0.0"
"gh-pages": "^6.1.1"
}
}
2 changes: 1 addition & 1 deletion projects/CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()
find_package(raylib_cpp QUIET)
if (NOT raylib_cpp_FOUND)
if (NOT DEFINED RAYLIB_CPP_VERSION)
set(RAYLIB_CPP_VERSION v5.0.1)
set(RAYLIB_CPP_VERSION v5.0.2)
endif()
include(FetchContent)
FetchContent_Declare(
Expand Down

0 comments on commit 1ef7ddb

Please sign in to comment.