- Fix LinearAlloc bug not using *sizeof(T)
- Add WaitForRead to net backend
- Add a Get func to Tween
- Skip \r in Text Rendering
- Add Citro3D Max Texsize check
This commit is contained in:
2025-05-02 15:09:21 +02:00
parent 13c2869ba8
commit f75f7067ff
10 changed files with 91 additions and 30 deletions

View File

@ -150,11 +150,7 @@ class Tween {
return *this;
}
/**
* Operator that returns the current value calculated
* by time and effect
*/
operator T() {
T Get() const {
float t = 0.f;
switch (effect) {
case EaseInQuad:
@ -203,6 +199,12 @@ class Tween {
}
}
/**
* Operator that returns the current value calculated
* by time and effect
*/
operator T() const { return Get(); }
private:
/** Animation Effect */
Effect effect;