[DiscordArchive] like dividing it by 2 * pi?
[DiscordArchive] like dividing it by 2 * pi?
Archived author: Northstrider • Posted: 2024-04-06T19:58:23.273000+00:00
Original source
then stick with the stoneage syntax
Archived author: Telegrill • Posted: 2024-04-06T19:58:33.268000+00:00
Original source
why is it stoneage <:blankie:770403425228947476>
Archived author: Northstrider • Posted: 2024-04-06T19:59:15.416000+00:00
Original source
because it's dated codestyle. modern c++ expects static_cast as default way to cast into wider/narrow types
Archived author: Telegrill • Posted: 2024-04-06T20:00:02.472000+00:00
Original source
how dated though
Archived author: Northstrider • Posted: 2024-04-06T20:00:51.153000+00:00
Original source
https://www.reddit.com/r/cpp_questions/c..._cast_for/
Archived author: Tea • Posted: 2024-04-06T20:02:05.371000+00:00
Original source
it.. depends? if you shove it back into Position, its normalized
Archived author: Telegrill • Posted: 2024-04-06T20:02:42.914000+00:00
Original source
so if it's part of Position it's normalized, if it's plain float, it needs normalisation
Archived author: Northstrider • Posted: 2024-04-06T20:03:49.379000+00:00
Original source
yes. that's also why m_orientation is not directly exposed like the m_position... fields. SetOrientation normalizes
Archived author: Telegrill • Posted: 2024-04-06T20:04:29.370000+00:00
Original source
oh so that's why it's protected
Archived author: Telegrill • Posted: 2024-04-06T20:04:38.417000+00:00
Original source
<:fry:770403425107443722>