Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit f2c62fd

Browse files
committed
Remove occurrence of GetIntX/Y
Oops, should've been done in previous pr.
1 parent 4419189 commit f2c62fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Entities/AtomGroup.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ namespace RTE {
371371
}
372372
#ifdef DEBUG_BUILD
373373
// Draw the positions of the Atoms at the start of each segment, for visual debugging.
374-
//putpixel(g_SceneMan.GetMOColorBitmap(), atom->GetCurrentPos().GetIntX(), atom->GetCurrentPos().GetIntY(), 122);
374+
//putpixel(g_SceneMan.GetMOColorBitmap(), atom->GetCurrentPos().GetFloorIntX(), atom->GetCurrentPos().GetFloorIntY(), 122);
375375
#endif
376376
}
377377

@@ -1523,9 +1523,9 @@ namespace RTE {
15231523

15241524
for (const Atom *atom : m_Atoms) {
15251525
if (!useLimbPos) {
1526-
atomPos = (m_OwnerMO->GetPos() + (atom->GetOffset().GetXFlipped(m_OwnerMO->m_HFlipped) * m_OwnerMO->GetRotMatrix())).GetFloored();
1526+
atomPos = (m_OwnerMO->GetPos() + (atom->GetOffset().GetXFlipped(m_OwnerMO->m_HFlipped) * m_OwnerMO->GetRotMatrix()));
15271527
} else {
1528-
atomPos = (m_LimbPos + (atom->GetOffset().GetXFlipped(m_OwnerMO->m_HFlipped) * m_OwnerMO->GetRotMatrix())).GetFloored();
1528+
atomPos = (m_LimbPos + (atom->GetOffset().GetXFlipped(m_OwnerMO->m_HFlipped) * m_OwnerMO->GetRotMatrix()));
15291529
}
15301530
// Draw normal first, then draw the Atom position
15311531
if (!atom->GetNormal().IsZero()) {

0 commit comments

Comments
 (0)