From 9bb001f17be8b35331b64b5fcf40e0712cf95567 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Thu, 9 Apr 2020 22:47:47 +0100 Subject: Add doxy-comments to new functions --- src/Blocks/Mixins.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Blocks/Mixins.h b/src/Blocks/Mixins.h index 25f2372a0..73e30a71a 100644 --- a/src/Blocks/Mixins.h +++ b/src/Blocks/Mixins.h @@ -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) -- cgit v1.2.3