diff options
| author | Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com> | 2026-05-28 14:32:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-28 14:32:52 -0400 |
| commit | 83f216dd37e56efddd1d19351836f3b03f074058 (patch) | |
| tree | 8da270877638838dd70054bf5cd5eadac74bc934 /include/f/f_base.h | |
| parent | 45374694e7e33db110983312c3e2525a6993dc76 (diff) | |
| parent | 1b61a62a004ceb93a60eb4192ccbb6b601494d5c (diff) | |
Merge pull request #312 from elijah-thomas774/d_a_e_ks
dAcEKs_c
Diffstat (limited to 'include/f/f_base.h')
| -rw-r--r-- | include/f/f_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/f/f_base.h b/include/f/f_base.h index 8ef5ac43..296fca1e 100644 --- a/include/f/f_base.h +++ b/include/f/f_base.h @@ -92,6 +92,9 @@ public: u32 getFromParams(u8 shift, u32 mask) { return (mParams >> shift) & mask; } + f32 getFromParams(u8 shift, u32 mask, f32 scale) { + return ((mParams >> shift) & mask) * scale; + } public: fBase_c(); |
