mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
vc++ doesn't like 'vector'
This commit is contained in:
parent
46189dbae4
commit
d05416a7cd
@ -1660,8 +1660,8 @@ build_shear_mat(LMatrix4f &shear_mat,
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
float Lens::
|
float Lens::
|
||||||
sqr_dist_to_line(const LPoint3f &point, const LPoint3f &origin,
|
sqr_dist_to_line(const LPoint3f &point, const LPoint3f &origin,
|
||||||
const LVector3f &vector) {
|
const LVector3f &vec) {
|
||||||
LVector3f norm = vector;
|
LVector3f norm = vec;
|
||||||
norm.normalize();
|
norm.normalize();
|
||||||
LVector3f d = point - origin;
|
LVector3f d = point - origin;
|
||||||
float hyp_2 = d.length_squared();
|
float hyp_2 = d.length_squared();
|
||||||
|
@ -173,7 +173,7 @@ private:
|
|||||||
const LPoint3f &cul, const LPoint3f &cur,
|
const LPoint3f &cul, const LPoint3f &cur,
|
||||||
const LPoint3f &cll, const LPoint3f &clr);
|
const LPoint3f &cll, const LPoint3f &clr);
|
||||||
static float sqr_dist_to_line(const LPoint3f &point, const LPoint3f &origin,
|
static float sqr_dist_to_line(const LPoint3f &point, const LPoint3f &origin,
|
||||||
const LVector3f &vector);
|
const LVector3f &vec);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
string _change_event;
|
string _change_event;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user