javascript - How to get a Right Triangle's points' coordination in the space? -


i have right triangle equal legs of 1 unit long rotated on 3 individual angles in space in picture below:

triangle's picture

as seen in picture, input have angles 'a' , 'b' rotates triangle in space , move orientation 1 "red triangle in picture" (the triangle still laying on z-axis), rotates on 1 of it's legs ('c' angle) , turns second orientation "the green triangle in picture".

also, right corner located on (0,0,0).

here question:

how in simple mathematics, can 2 coordination (marked in blue in picture) green triangle, in x, y , z?

i need in simple mathematics can code in javascript.

never mind.

i reviewed triangular knowledge , solved problem basic functions including sine, cosine , arctangent!

now have points in space!


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -