1
0

Add doxy-comments to new functions

This commit is contained in:
Alexander Harkness 2020-04-09 22:47:47 +01:00
parent 2b77b67197
commit 9bb001f17b

View File

@ -201,7 +201,8 @@ public:
/** Converts the rotation value as returned by cPlayer::GetYaw() to the appropriate metadata
value for a block placed by a player facing that way */
static NIBBLETYPE YawToMetaData(double a_Rotation)
{
a_Rotation += 90 + 45; // So its not aligned with axis
@ -279,7 +280,8 @@ public:
/** Converts the rotation and pitch values as returned by cPlayer::GetYaw() and cPlayer::GetPitch()
respectively to the appropriate metadata value for a block placed by a player facing that way */
static NIBBLETYPE PitchYawToMetaData(double a_Rotation, double a_Pitch)
{
if (a_Pitch >= 50)