plane now inherits from LVecBase4

This commit is contained in:
David Rose 2003-10-27 00:46:20 +00:00
parent b2e0b4395e
commit d66635bc86
1 changed files with 1 additions and 2 deletions

View File

@ -3642,8 +3642,7 @@ bind_clip_plane(PlaneNode *plane, int plane_id) {
const LMatrix4f &plane_mat = plane_np.get_mat(_scene_setup->get_scene_root());
Planef xformed_plane = plane->get_plane() * plane_mat;
Planed double_plane(xformed_plane._a, xformed_plane._b,
xformed_plane._c, xformed_plane._d);
Planed double_plane(LCAST(double, xformed_plane));
glClipPlane(id, double_plane.get_data());
report_gl_errors();