summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/geom.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/shared/geom.h b/src/shared/geom.h
index e01acc2..a0ef7c8 100644
--- a/src/shared/geom.h
+++ b/src/shared/geom.h
@@ -1761,11 +1761,6 @@ struct matrix4
vec4 roww() const { return vec4(a.w, b.w, c.w, d.w); }
bool invert(const matrix4 &m, double mindet = 1.0e-12);
-
- vec2 lineardepthscale() const
- {
- return vec2(d.w, -d.z).div(c.z*d.w - d.z*c.w);
- }
};
inline matrix3::matrix3(const matrix4 &m)