# data[].attributes.body
cyclone::Vector3 A (1, 2, -1);
cyclone::Vector3 B (3, 0, 2);
A.normalise();
cyclone::Vector3 C =A.cross(B);

if (C.magnitude() == 0)
{}
else
{
C.normalise();
B = C.cross(A);
}

std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;
}

# data[].attributes.body
using namespace cyclone;
Vector3 A(1, 2, -1);//기준
Vector3 B(3, 0, 2);
A.normalise();
B.normalise();
Vector3 C = A.cross(B);

if (C.magnitude() != 0) { //A와 B가 평행이 아닐경우
C.normalise();
B = C.cross(A);
}
std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;

# data[].attributes.body
cyclone::Vector3 A(1, 2, -1);
cyclone::Vector3 B(3, 0, 2);
A.normalise();
B.normalise();
cyclone::Vector3 C = A % B;

if (C.magnitude() == 0) {}
else
{
C.normalise();
B = C % A;
}
std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;

# data[].attributes.body
using namespace cyclone;
int main()
{
Vector3 A(1, 2, -1);
Vector3 B(3, 0, 2);
A.normalise();
B.normalise();
Vector3 C = A.cross(B);
if (C.magnitude() == 0) //a와 b는 평행
{ }
else
{
C.normalise();
B = C.cross(A);
}
std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;
return 0;
}

# data[].attributes.body
int main()
{
Vector3 A(1, 2, -1); //기준
Vector3 B(3, 0, 2);

A.normalise();
B.normalise();

Vector3 C = A.cross(B);

if (C.magnitude() != 0)//A,B가 평행하지않는 경우 {
C.normalise();
B = C.cross(A);
}

cout << A.toString() << endl;
cout << B.toString() << endl;
cout << C.toString() << endl;

return 0;
}

# data[].attributes.body
Vector3 v(1, 2, -1);
Vector3 u(3, 0, 2);
v.normalise();
Vector3 c = v.cross(u);
if (c.magnitude() == 0)
{
//v,u 평행
}
else
{
c.normalise();
u = c.cross(v);
std::cout << u.toString() << v.toString() << c.toString();
}

# data[].attributes.body
Vector3 a(1, 2, -1);
Vector3 b(3, 0, 2);
a.normalise();
Vector3 c = a.cross(b);
if (c.magnitude() != 0) {
c.normalise();
b = c.cross(a);

}
std::cout<< a.toString() << " " << b.toString() << " " << c.toString() << std::endl;

# data[].attributes.body
cyclone::Vector3 A (1, 2, -1);
cyclone::Vector3 B (3, 0, 2);

A.normalise();
cyclone::Vector3 C = A.cross(B);

if (C.magnitude() == 0)
{

}
else
{
C.normalise();
B = C.cross(A);
}

std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;

# data[].attributes.body
cyclone::Vector3 a = cyclone::Vector3(1, -2, -1);
a.normalise();
cyclone::Vector3 b = cyclone::Vector3(3, 0, 2);

cyclone::Vector3 c = a.cross(b);
if (c.magnitude() == 0) {}
else
{
c.normalise();

b = c.cross(a);
}

std::cout << a.toString() << std::endl;
std::cout << b.toString() << std::endl;
std::cout << c.toString() << std::endl;

# data[].attributes.body
int main()
{
cyclone::Vector3 A(1, 2, -1);
cyclone::Vector3 B(3, 0, 2);
A.normalise();
B.normalise();
cyclone::Vector3 C = A % B;
if (C.magnitude() == 0) {}
else
{
C.normalise();
B = C % A;
}
std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;

}

# data[].attributes.body
int main()
{
Vector3 a(1, 2, -1);
Vector3 b(3, 0, 2);

a.normalise();

Vector3 c = a % b;

if (c.magnitude() != 0)
c.normalise();

b = c % a;

return 0;
}

# data[].attributes.body
int main()
{
cyclone::Vector3 a(1, 2, -1);
cyclone::Vector3 b(3, 0, 2);
a.normalise();
b.normalise();

cyclone::Vector3 c = a.cross(b);

if(c.magnitude() == 0)
{}
else {
c.normalise();
b = c % a;
}

std::cout << a.toString() << std::endl;
std::cout << b.toString() << std::endl;
std::cout << c.toString() << std::endl;
}

# data[].attributes.body
cyclone::Vector3 A(1, 2, -1);
cyclone::Vector3 B(3, 0, 2);
A.normalise();

cyclone::Vector3 C = A.cross(B);

if (C.magnitude() == 0) {

}
else {
C.normalise();
B = C.cross(A);
}
std::cout << "A" << A.toString() << std::endl;
std::cout << "B" << B.toString() << std::endl;
std::cout << "C" << C.toString() << std::endl;

# data[].attributes.body
using namespace cyclone;
int main()
{
Vector3 A(1, 2, -1);
Vector3 B(3, 0, 2);
A.normalise();

Vector3 C = A.cross(B);

if (C.magnitude() == 0)
{
}
else
{
C.normalise();
B = C.cross(A);
}

std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;
}

# data[].attributes.body
int main()
{
cyclone::Vector3 A(1, 2, -1);
cyclone::Vector3 B(3, 0, 2);
cyclone::Vector3 C;

A.normalise();
C = A.cross(B);

if (C.magnitude() == 0)
std::cout << "평행";
else {
C.normalise();
B = C.cross(A);
}

std::cout << "A" << A.toString() << std::endl;
std::cout << "B" << B.toString() << std::endl;
std::cout << "C" << C.toString() << std::endl;
}

# data[].attributes.body
cyclone::Vector3 A(1, 2, -1);
cyclone::Vector3 B(3, 0, 2);

A.normalise();
B.normalise();

cyclone::Vector3 C = A.cross(B);
C.normalise();
B = C.cross(A);

std::cout << B.toString() << std::endl;

# data[].attributes.body
int main()
{
cyclone::Vector3 A(1, 2, -1);
cyclone::Vector3 B(3, 0, 2);

A.normalise();
B.normalise();
cyclone::Vector3 C = A.cross(B);

if(C.magnitude() == 0){}
else {
C.normalise();
cyclone::Vector3 B = C.cross(A);
}

std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;

}

# data[].attributes.body
Vector3 A(1, 2, -1);
Vector3 B(3, 0, 2);

A.normalise();

Vector3 C = A.cross(B);

if (C.magnitude() != 0)
{
C.normalise();

B = C.cross(A);
}

std::cout << A.toString() << std::endl;
std::cout << B.toString() << std::endl;
std::cout << C.toString() << std::endl;

# data[].attributes.body
int main()
{
Vector3 A = Vector3(1, 2, -1); // 기준벡터
Vector3 B = Vector3(3, 0, 2);

A.normalise();
Vector3 C = A % B; // Cross product

if (C.magnitude() != 0) { // A, B가 평행하지 않다면
C.normalise();
B = C % A;
}

cout << A.toString() << endl;
cout << B.toString() << endl;
cout << C.toString() << endl;

return 0;
}

# data[].attributes.body
cyclone::Vector3 A(1, 2, -1);
cyclone::Vector3 B(3, 0, 2);
A.normalise();
cyclone::Vector3 C = A.cross(B);
C.normalise();
B = C.cross(A);

std::cout << A.toString();
std::cout << B.toString();
std::cout << C.toString();