In Progress

Collisioncheck

Write a function that tests how a cylinder and sphere intersect.

enum IntersectionData

{

SphereInsideCylinder,

CylinderInsideSphere,

PartialOverlap,

NoOverlap

};

struct Vector

{

float X;

float Y;

float Z;

};

struct SphereData

{

Vector CenterLocation;

float Radius;

};

struct CylinderData

{

Vector CenterLocation;

Vector Axis; //this represents both the orientation and length of the cylinder's axis

float Radius;

};

IntersectionData GetIntersectionData( const CylinderData& Cylinder, const SphereData& Sphere )

{

//your code goes here!

}

Skills: C++ Programming, Game Development, Physics

See more: x intersect, vector intersect, vector cplusplus, struct c programming, programming vector, float programming, float c programming, c programming struct, c programming enum, cplusplus vector, cplusplus struct, can write multiple choice questions code, write binary heap tree code, can write drag drop canvas code html5, write android camera source code, write social engine php code, write array bmp source code, write paper school dress code, write ipod touch app code, write signup page php code, read write xml file vba code

About the Employer:
( 21 reviews ) dallas, United States

Project ID: #10618817

Awarded to:

LiangXiaoJin

Dear client, how are you? I am a C++ programmer and mathematician. Your task is appropriate for me. It requires some quick algorithm and I know its method. Please check my "Profile & Work List" and consider hiring m More

$30 USD in 0 days
(5 Reviews)
3.1

3 freelancers are bidding on average $87 for this job

$30 USD in 2 days
(711 Reviews)
6.9
$244 USD in 3 days
(1 Review)
4.0
moonpower626

hi, I've 8+yrs experiences in c++ programming. I want to work with relationships on long terms. Please discuss details on private message. [url removed, login to view] regards.

$30 USD in 1 day
(1 Review)
1.4
$200 USD in 3 days
(2 Reviews)
1.2