mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
on balance we'll want to round instead of truncate
This commit is contained in:
parent
f30ff6734e
commit
b886cbb527
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ namespace PropertyInfo
|
|||
{
|
||||
if constexpr (std::is_same_v<T, int> || std::is_same_v<T, S32>)
|
||||
{
|
||||
out[index++] = dAtoi(tok);
|
||||
out[index++] = mRound(dAtof(tok));
|
||||
}
|
||||
else if constexpr (std::is_same_v<T, float> || std::is_same_v<T, F32>)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue