MCPcopy Create free account
hub / github.com/ActiveState/code / pvon

Function pvon

recipes/Python/580806_How_Create_PDF_Caustic/recipe-580806.py:21–22  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

19
20"""
21def pvon(a): # starting point of one sun ray
22 return(math.cos(a), math.sin(a))
23
24def pbis(a): # end point of one sun ray
25 return(math.cos(3*a - math.pi), (math.sin(3*a - math.pi)))

Callers 1

recipe-580806.pyFile · 0.85

Calls 2

cosMethod · 0.80
sinMethod · 0.80

Tested by

no test coverage detected