Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to rotate a triangle in an equation

  1. Sep 24, 2014 #1

    i have a set of definition for a triangle shape:


    -x/sqrt(3) + sqrt(3)/4 < y < x/sqrt(3) +sqrt(3)/4

    The centroid of this triangle is at 0,0

    i want to rotate this triangle by a certain degree from the centroid but i am not sure how, because if i just multiply it by cos or sin of the angle, it will just become smaller.

    any hints will be appreciated.
  2. jcsd
  3. Sep 24, 2014 #2
    Any point can be rotated around the origin by rotating the coordinate system.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook