draw both fields (with toggle)
This commit is contained in:
		@@ -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]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user