ConvertPTSize

From Multi Theft Auto: Wiki
Revision as of 13:00, 14 May 2017 by Xtravax (talk | contribs)
Jump to navigation Jump to search

This C++ namespace function is a helper function for CAdditionalVertexStreamManager.

It converts size of PT stream to sizeof of N stream.

It can be found in Client/Client Core/Sources/CAdditionalVertexStreamManager.cpp in Visual Studio.

Required Arguments

  • SizePT: To be defined.

Returns

Returns an uint representing --.

Code

uint ConvertPTSize ( uint SizePT )
{
    return SizePT * 12 / 20;
}

See Also