Skip to content

Commit 030871b

Browse files
committed
docs(xml): Added missing xml comments for obsolete methods
1 parent 834d03d commit 030871b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

MLAPI/NetworkingManagerComponents/Binary/BitReader.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ public Quaternion ReadRotationPacked()
346346
return new Quaternion(x, y, z, w);
347347
}
348348

349+
/// <summary>
350+
/// Reads the rotation from the stream
351+
/// </summary>
352+
/// <returns>The rotation read from the stream</returns>
349353
[Obsolete("Use ReadRotationPacked instead")]
350354
public Quaternion ReadRotation(int bytesPerAngle)
351355
{

MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,11 @@ public void WriteRotationPacked(Quaternion rotation)
408408
}
409409
}
410410

411+
/// <summary>
412+
/// Writes the rotation to the stream.
413+
/// </summary>
414+
/// <param name="rotation">Rotation to write</param>
415+
/// <param name="bytesPerAngle">Unused</param>
411416
[Obsolete("Use WriteRotationPacked instead")]
412417
public void WriteRotation(Quaternion rotation, int bytesPerAngle)
413418
{

0 commit comments

Comments
 (0)