[Solved]Continuation Question Https Wwwcheggcom Homework Help Questions Answers Using Following Co Q37246433
Continuation from questionhttps://www.chegg.com/homework-help/questions-and-answers/using-following-code-fragment-vector-three-dimensions-complete-required-methods-space-prov-q37102493
Create a normalize method which modifies the vector’s currentvalues to unit length. That is, the normalize function adjusts theexisting values in the Vec3 object such that the length from theorigin at 0,0,0 to the point defined in Vec3 is one unit. Hint:Pythagoras
The three-dimensional cross product of two vectors produces anew vector orthogonal to the two original vectors. Produce the codenecessary to create a class method which computes a cross productbetween its saved values and another Vec3 vectors. This methodshall take a single parameter and return a Vec3 object with theorthogonal values. Given two vectors a and b, the scalar componentsfor the cross product (s = s0i + s1j + s2k = aXb) follow:
s0 = a1b2 − a2b1
s1 = a2b0 − a0b2
s3 = a0b1 − a1b0
Expert Answer
Answer to Continuation from question https://www.chegg.com/homework-help/questions-and-answers/using-following-code-fragment-vecto… . . .
OR

