MCPcopy
hub / github.com/EngoEngine/engo / Sincos

Function Sincos

math/all.go:377–379  ·  view source on GitHub ↗

Sincos returns Sin(x), Cos(x). Special cases are: Sincos(±0) = ±0, 1 Sincos(±Inf) = NaN, NaN Sincos(NaN) = NaN, NaN

(x float32)

Source from the content-addressed store, hash-verified

375// Sincos(±Inf) = NaN, NaN
376// Sincos(NaN) = NaN, NaN
377func Sincos(x float32) (sin, cos float32) {
378 return engomath.Sincos(x)
379}
380
381// Tan returns the tangent of the radian argument x.
382//

Callers 11

RotateRadMethod · 0.92
ProjectMethod · 0.92
PolygonEllipseMethod · 0.92
SetCenterMethod · 0.92
CenterMethod · 0.92
CornersMethod · 0.92
ContainsMethod · 0.92
separationOfAxesFunction · 0.92
PreMethod · 0.92
DrawMethod · 0.92
UpdateMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected