mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 01:59:02 +00:00
Add FogParam0::FloatValue and FogParam3::FloatValue
This value will be used in the register description; so expose it in a way that can be re-used instead of calculating it in 2 places later.
This commit is contained in:
parent
f2bea67709
commit
db8ced7e4e
2 changed files with 18 additions and 10 deletions
|
@ -661,6 +661,7 @@ union FogParam0
|
|||
BitField<19, 1, u32> sign;
|
||||
|
||||
u32 hex;
|
||||
float FloatValue() const;
|
||||
};
|
||||
|
||||
union FogParam3
|
||||
|
@ -673,6 +674,7 @@ union FogParam3
|
|||
// backward exp, 7 - backward exp2
|
||||
|
||||
u32 hex;
|
||||
float FloatValue() const;
|
||||
};
|
||||
|
||||
union FogRangeKElement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue