-
[Dive into C++] lvalue/rvalue, references, const in C++
I have found a really good resource for learning C++ on Youtube: CopperSpice! It has a suitable amount of information: not too much, and not too little. Great!😀👍 I have been reading and writing C++ code extensively for these two years. I like this language: it’s fast, giving developers a great deal of details and…
-
[DevLog] Reimplement “Robust Motion In-betweening”
Using Raylib for rendering and pytorch for training model, these stuff are very experimental. Error happened.
-
[LeetCode] The Process of Solving Lonely Pixel I(531) and Lonely Pixel II(533)
Lonely Pixel I(531) Description Given an m x n picture consisting of black ‘B’ and white ‘W’ pixels, return the number of black lonely pixels.A black lonely pixel is a character ‘B’ that located at a specific position where the same row and same column don’t have any other black pixels. Example 1: Example 2:…
-
How to use std::vector in C++
std::vector is a dynamic array with continuous physical storage space. There is no need to specify its size, which will expand as needed. compared to normal arrays, std::vector provides many APIs. Get Started Adds an element to its end: push_back Removes the last element: pop_back Returns the number of elements: size How to iterate over…
-
Cook Content or Package Project freezes in UE5
I faced a problem: when I cook content or package project in UE5, it freezes, and the output log doesn’t update. Environment: Unreal 5.0.3 Windows 10 Visual Studio 2022 I have tried 3 behaviors, it seems that the first two did not work. delete the Saved directory changed network proxy for a network resource The…
-
[DevLog] Implement FABRIK in C++ for the Three Bone Chain IK Problem
I completed a simple three bone chain IK demo using the FABRIK algorithm and raylib library. It’s simple enough and fast, and shows good results. Next time I want to add joint rotation limits to make it more exciting. 💪 Check out my Github repository for more details of IK problems. Error happened.
-
[DevLog] Try Animation Rigging in Unity
Use: Error happened.