|
Yasiu Math 1
Collection of mathematic functions that help create game mechanics and procedural tools
|
Linear algebra problems. More...
Functions | |
| template<typename T> | |
| T | Remap (const T Value, const T InMin, const T InMax, T OutMin, T OutMax, const bool ClampOutput=false) |
| Remaps Value between input range to output range with optional clamping. | |
| FVector YASIUMATH_API | RemapVector (const FVector &Input, const FVector2d &InputRange, const FVector2d &OutputRange, const bool ClampOutput) |
| Remaps Value between input range to output range with optional clamping. | |
| FVector3f YASIUMATH_API | RemapVector (const FVector3f &Input, const FVector2f &InputRange, const FVector2f &OutputRange, const bool ClampOutput) |
| Remaps Value between input range to output range with optional clamping. | |
Linear algebra problems.
| T YasiuMath::Algebra::Remap | ( | const T | Value, |
| const T | InMin, | ||
| const T | InMax, | ||
| T | OutMin, | ||
| T | OutMax, | ||
| const bool | ClampOutput = false ) |
Remaps Value between input range to output range with optional clamping.
| T | numeric type |
| Value | Input value |
| InMin | Input range low value |
| InMax | Input range high value |
| OutMin | Output range low value |
| OutMax | Output range high value |
| ClampOutput | Flag to clamp output |
| FVector YASIUMATH_API YasiuMath::Algebra::RemapVector | ( | const FVector & | Input, |
| const FVector2d & | InputRange, | ||
| const FVector2d & | OutputRange, | ||
| const bool | ClampOutput ) |
Remaps Value between input range to output range with optional clamping.
| Input | Input value |
| InputRange | Input range vector consisting of <Low, High> |
| OutputRange | Output range vector consisting of <Low, High> |
| ClampOutput | Flag to clamp output |
| FVector3f YASIUMATH_API YasiuMath::Algebra::RemapVector | ( | const FVector3f & | Input, |
| const FVector2f & | InputRange, | ||
| const FVector2f & | OutputRange, | ||
| const bool | ClampOutput ) |
Remaps Value between input range to output range with optional clamping.
| Input | Input value |
| InputRange | Input range vector consisting of <Low, High> |
| OutputRange | Output range vector consisting of <Low, High> |
| ClampOutput | Flag to clamp output |