mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-01 11:18:42 -06:00
add link
This commit is contained in:
parent
d06c0b2a96
commit
946ce319ab
|
@ -83,6 +83,7 @@ impl Camera {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://www.flipcode.com/archives/Frustum_Culling.shtml
|
||||||
// https://web.archive.org/web/20070226173353/https://www2.ravensoft.com/users/ggribb/plane%20extraction.pdf
|
// https://web.archive.org/web/20070226173353/https://www2.ravensoft.com/users/ggribb/plane%20extraction.pdf
|
||||||
pub fn frustum_planes(&self, normalized: bool) -> [[f32; 4]; 6] {
|
pub fn frustum_planes(&self, normalized: bool) -> [[f32; 4]; 6] {
|
||||||
let mut p_planes = [[0.0_f32; 4]; 6];
|
let mut p_planes = [[0.0_f32; 4]; 6];
|
||||||
|
|
Loading…
Reference in a new issue