Death Star: Difference between revisions
Content added Content deleted
m (→{{header|POV-Ray}}: Changed syntax highlight language to "pov" to make it work) |
Alextretyak (talk | contribs) m (→{{header|11l}}: named tuples) |
||
Line 27: | Line 27: | ||
{{trans|Python}} |
{{trans|Python}} |
||
<syntaxhighlight lang="11l">T Sphere |
<syntaxhighlight lang="11l">T Sphere = (Float cx, Float cy, Float cz, Float r) |
||
Float cx, cy, cz, r |
|||
F (cx, cy, cz, r) |
|||
.cx = cx |
|||
.cy = cy |
|||
.cz = cz |
|||
.r = r |
|||
F dotp(v1, v2) |
F dotp(v1, v2) |