build in stdfloat_double

This commit is contained in:
David Rose 2011-10-11 17:14:37 +00:00
parent 65e9303415
commit 483a02735e
2 changed files with 2 additions and 2 deletions

View File

@ -3124,7 +3124,7 @@ bind_clip_plane(const NodePath &plane, int plane_id) {
LMatrix4 rel_mat = plane_mat * LMatrix4::convert_mat(CS_yup_left, CS_default);
const PlaneNode *plane_node;
DCAST_INTO_V(plane_node, plane.node());
LPlane world_plane = plane_node->get_plane() * rel_mat;
LPlanef world_plane = LCAST(float, plane_node->get_plane() * rel_mat);
HRESULT hr = _d3d_device->SetClipPlane(plane_id, world_plane.get_data());
if (FAILED(hr)) {

View File

@ -4083,7 +4083,7 @@ bind_clip_plane(const NodePath &plane, int plane_id) {
LMatrix4 rel_mat = plane_mat * LMatrix4::convert_mat(CS_yup_left, CS_default);
const PlaneNode *plane_node;
DCAST_INTO_V(plane_node, plane.node());
LPlane world_plane = plane_node->get_plane() * rel_mat;
LPlanef world_plane = LCAST(float, plane_node->get_plane() * rel_mat);
HRESULT hr = _d3d_device->SetClipPlane(plane_id, world_plane.get_data());
if (FAILED(hr)) {