mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06: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:
@ -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
|
||||
|
Reference in New Issue
Block a user