-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unified documentation in DataAV. #199
base: main
Are you sure you want to change the base?
Conversation
@@ -53,4 +55,10 @@ | |||
x = this.x / scalar.toDouble(), | |||
y = this.y / scalar.toDouble(), | |||
z = this.z / scalar.toDouble()) | |||
|
|||
fun dot(other: Vector3D): Double = x * other.x + y * other.y + z * other.z |
Check warning
Code scanning / detekt
Public functions require documentation. Warning
|
||
fun dot(other: Vector3D): Double = x * other.x + y * other.y + z * other.z | ||
|
||
fun magnitude(): Double = sqrt(x * x + y * y + z * z) |
Check warning
Code scanning / detekt
Public functions require documentation. Warning
|
||
fun magnitude(): Double = sqrt(x * x + y * y + z * z) | ||
|
||
fun normalize(): Vector3D = magnitude().let { Vector3D(x / it, y / it, z / it) } |
Check warning
Code scanning / detekt
Public functions require documentation. Warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should tackle the missing documentation comments.
No description provided.