Quote:
Originally Posted by ConnorMcLeod
I don't see why you float origin.
Either you use get_user_origin, either you use engine or fakemeta so you retrieve a float vector.
So if you want the same with integer you can use :
PHP Code:
bool:int_vec_equal(const vec1[3], const vec2[3])
{
return (vec1[0] == vec2[0]) && (vec1[1] == vec2[1]) && (vec1[2] == vec2[2]);
}
|
I used floats so i could use the XS stock Arkshine suggested.
What include is
int_vec_equal defined in? Its not compiling....
__________________