We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842d3af commit 52fb3c0Copy full SHA for 52fb3c0
Sources/FirebladeMath/Functions/cos.swift
@@ -16,7 +16,7 @@ public func cos(_ angleRad: Float) -> Float {
16
#if os(macOS) || os(iOS) || os(tvOS)
17
return Darwin.cosf(angleRad)
18
#elseif os(Linux)
19
- return Glibc.cosf(floatAngleRadians)
+ return Glibc.cosf(angleRad)
20
#endif
21
}
22
@@ -30,6 +30,6 @@ public func cos(_ angleRad: Double) -> Double {
30
31
return Darwin.cos(angleRad)
32
33
- return Glibc.cos(doubleAngleRadians)
+ return Glibc.cos(angleRad)
34
35
0 commit comments