Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Jan 29, 2024
1 parent e3379f7 commit fca1813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Rotation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ extension Rotation {
}

init(unchecked axis: Vector, angle: Angle) {
assert(axis.isNormalized)
assert(axis.isNormalized, "Axis length is \(axis.length)")
let r = -angle / 2
let a = axis * sin(r)
self.init(unchecked: a.x, a.y, a.z, cos(r))
Expand Down

0 comments on commit fca1813

Please sign in to comment.