MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / advance

Method advance

physx/samples/samplebase/SampleConsole.cpp:187–195  ·  view source on GitHub ↗

Advance the console one line

Source from the content-addressed store, hash-verified

185
186// Advance the console one line
187void Console::advance()
188{
189 mNewline--;
190 if(mNewline<0)
191 mNewline += CONSOLE_MAX_ROW;
192
193 mBuffer[mNewline].mText[0] = '\0';
194 mViewBottom = mNewline;
195}
196
197// Clear the console text buffer
198void Console::clear()

Callers 1

PhysXSample.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected