I want to determine the unit vectors e1,e2 and e3 i a 3D space.
e1 = (e1x,e1y,e1z)
e2 = (e2x,e2y,e2z)
e3 = (e3x,e3y,e3z)
e1x, e1y, e1z and e2z is known.
I dont know if it makes any difference but e3z will always be positive so e3 might be written as e3=(sx,sy,1)*t.
e1, e2, and e3 shall have length 1 and be perpendicular to each other so the following equations holds,
e3 = CrossProduct(e1,e2)
e2 = CrossProduct(e3,e1)
DotProduct(e1,e2) = 0
DotProduct(e1,e3) = 0
DotProduct(e2,e3) = 0
Anyone know how I could solve this?