Allow missing docs in test window
+#![allow(missing_docs)]
use crate::*;
use std::ops::Deref;
@@ -67,14 +68,13 @@ pub struct Window {
}
impl Window {
- ///
pub fn new(window_settings: WindowSettings) -> Result<Self, HeadlessError> {
Ok(Self {
context: HeadlessContext::new()?,
size: window_settings.max_size.unwrap_or(window_settings.min_size),
})
}
- ///
+
pub fn render_loop(self, mut callback: impl 'static + FnMut(FrameInput) -> FrameOutput) {
let exit_time = if let Ok(v) = std::env::var("THREE_D_EXIT") {
v.parse::<f64>().unwrap()
