• mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    11 months ago

    Having coded a 3D engine: sin and cos are cool. Tan can fuck right off. Atan doubly so.

    And radians are the devil’s work.

    • CallumWells@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      11 months ago

      Anything that is “degrees” is the devils work. Radians are so neat and IIRC it makes a lot of trigonometry math easier. Yes, they’re a bit weird to get into once one has been indoctrinated to degrees, but (pi/2) radians is just so nice.

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Yeah I fuckin’ love dealing with transcendental constants and fractions just to describe a right angle. A quarter-circle being one-half just makes so much sense! It’s awesome seeing all these mantissa-only numbers, because you can totally tell apart sane results and srand() without doing floating-point math in your head!