draw both fields (with toggle)

This commit is contained in:
Magnus Ulimoen
2019-08-09 19:54:58 +02:00
parent ceee1463dd
commit 6816d6bd43
2 changed files with 59 additions and 11 deletions

View File

@@ -143,9 +143,13 @@ impl Universe {
});
}
pub fn get_ptr(&mut self) -> *mut u8 {
pub fn get_ex_ptr(&mut self) -> *mut u8 {
self.ex.as_mut_ptr() as *mut u8
}
pub fn get_hz_ptr(&mut self) -> *mut u8 {
self.hz.as_mut_ptr() as *mut u8
}
}
#[wasm_bindgen]