I am trying to determine the number of degrees between two vectors. Here is a list of the cosine values, but acosf does not seem to be producing the correct values for the given cosine...WEIRD


cosine: 0.718 degrees: 0.769871
cosine: 0.807239 degrees: 0.631337
cosine: -0.23837 degrees: 1.81148
cosine: 0.424929 degrees: 1.13191
cosine: 0.00990651 degrees: 1.56089
cosine: -0.177051 degrees: 1.74879
cosine: 0.157448 degrees: 1.41269
cosine: 0.745396 degrees: 0.729667
cosine: 0.839322 degrees: 0.574762
and here is the code:

Code:
Vector	ObjectToCamera = Position - Player1->CamPos;
float	CosTheta = DotProduct(Player1->View, ObjectToCamera) / (Player1->View.GetLength() * ObjectToCamera.GetLength());
float	Degrees = acosf(CosTheta);