Remove unused return value of g3_add_delta_vec
This commit is contained in:
parent
1808b6badd
commit
6c32eb3970
|
@ -143,11 +143,11 @@ void g3_rotate_delta_vec(vms_vector &dest,const vms_vector &src)
|
||||||
vm_vec_rotate(dest,src,View_matrix);
|
vm_vec_rotate(dest,src,View_matrix);
|
||||||
}
|
}
|
||||||
|
|
||||||
ubyte g3_add_delta_vec(g3s_point &dest,const g3s_point &src,const vms_vector &deltav)
|
void g3_add_delta_vec(g3s_point &dest,const g3s_point &src,const vms_vector &deltav)
|
||||||
{
|
{
|
||||||
vm_vec_add(dest.p3_vec,src.p3_vec,deltav);
|
vm_vec_add(dest.p3_vec,src.p3_vec,deltav);
|
||||||
dest.p3_flags = {}; //not projected
|
dest.p3_flags = {}; //not projected
|
||||||
return g3_code_point(dest);
|
g3_code_point(dest);
|
||||||
}
|
}
|
||||||
|
|
||||||
//calculate the depth of a point - returns the z coord of the rotated point
|
//calculate the depth of a point - returns the z coord of the rotated point
|
||||||
|
|
|
@ -213,7 +213,7 @@ ubyte g3_code_point(g3s_point &point);
|
||||||
//delta rotation functions
|
//delta rotation functions
|
||||||
void g3_rotate_delta_vec(vms_vector &dest,const vms_vector &src);
|
void g3_rotate_delta_vec(vms_vector &dest,const vms_vector &src);
|
||||||
|
|
||||||
ubyte g3_add_delta_vec(g3s_point &dest,const g3s_point &src,const vms_vector &deltav);
|
void g3_add_delta_vec(g3s_point &dest,const g3s_point &src,const vms_vector &deltav);
|
||||||
|
|
||||||
//Drawing functions:
|
//Drawing functions:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue