MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / Normalize

Method Normalize

Source/FrameEditorTypes.cpp:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void CFrameSelection::Normalize() {
98 if (m_cpStart.m_iFrame > m_cpEnd.m_iFrame)
99 std::swap(m_cpStart.m_iFrame, m_cpEnd.m_iFrame);
100 if (m_cpStart.m_iChannel > m_cpEnd.m_iChannel)
101 std::swap(m_cpStart.m_iChannel, m_cpEnd.m_iChannel);
102}
103
104void CFrameSelection::Normalize(CFrameCursorPos &Begin, CFrameCursorPos &End) const
105{

Callers 2

FromSelectionMethod · 0.45
FromSelectionMethod · 0.45

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected