mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
comment out bbox expansion
This commit is contained in:
parent
ede16a5287
commit
0fb866ced8
@ -92,6 +92,9 @@ process_pfm(const Filename &input_filename, PfmFile &file) {
|
|||||||
for (int i = 0; i < 8; ++i) {
|
for (int i = 0; i < 8; ++i) {
|
||||||
points[i] = bounds->get_point(i);
|
points[i] = bounds->get_point(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Experiment with expanding the back wall backwards.
|
||||||
|
/*
|
||||||
LPlane plane(points[0], points[1], points[2]);
|
LPlane plane(points[0], points[1], points[2]);
|
||||||
LVector3 normal = plane.get_normal();
|
LVector3 normal = plane.get_normal();
|
||||||
|
|
||||||
@ -101,6 +104,7 @@ process_pfm(const Filename &input_filename, PfmFile &file) {
|
|||||||
points[1] += normal;
|
points[1] += normal;
|
||||||
points[2] += normal;
|
points[2] += normal;
|
||||||
points[3] += normal;
|
points[3] += normal;
|
||||||
|
*/
|
||||||
|
|
||||||
for (int i = 0; i < 8; ++i) {
|
for (int i = 0; i < 8; ++i) {
|
||||||
const LPoint3 &p = points[i];
|
const LPoint3 &p = points[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user