Add doxy-comments to new functions
This commit is contained in:
parent
2b77b67197
commit
9bb001f17b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user