Add missing KDoc comment
This commit is contained in:
parent
7a571089a8
commit
3d879a766b
@ -213,6 +213,10 @@ public data class Quaternion(val w: Double, val x: Double, val y: Double, val z:
|
|||||||
public override fun unwrap(): Quaternion = this
|
public override fun unwrap(): Quaternion = this
|
||||||
public override fun Quaternion.wrap(): Quaternion = this
|
public override fun Quaternion.wrap(): Quaternion = this
|
||||||
public override fun compareTo(other: Quaternion): Int = r.compareTo(other.r)
|
public override fun compareTo(other: Quaternion): Int = r.compareTo(other.r)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a string representation of this quaternion.
|
||||||
|
*/
|
||||||
public override fun toString(): String = "($w + $x * i + $y * j + $z * k)"
|
public override fun toString(): String = "($w + $x * i + $y * j + $z * k)"
|
||||||
|
|
||||||
public companion object : MemorySpec<Quaternion> {
|
public companion object : MemorySpec<Quaternion> {
|
||||||
|
Loading…
Reference in New Issue
Block a user