ConvertPTSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "<pageclass subcaption="C++ Function"></pageclass> This C++ namespace function is responsible for --. It can be found in '''Client/Client Core/Sources/CAdditionalVertexStream...")
 
No edit summary
Line 1: Line 1:
<pageclass subcaption="C++ Function"></pageclass>
<pageclass subcaption="C++ Function"></pageclass>


This C++ namespace function is responsible for --.
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.
It can be found in '''Client/Client Core/Sources/CAdditionalVertexStreamManager.cpp''' in Visual Studio.

Revision as of 12:48, 14 May 2017

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

CAdditionalVertexStreamManager