mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
Take immutable Atom in RenderPass::overlays
This commit is contained in:
parent
457dbbabd9
commit
ad5f1b6de2
3 changed files with 5 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ pub trait RenderPass: Sync {
|
|||
|
||||
/// Apply overlays and underlays to an atom, in the form of pseudo-atoms.
|
||||
fn overlays<'a>(&self,
|
||||
atom: &mut Atom<'a>,
|
||||
atom: &Atom<'a>,
|
||||
objtree: &'a ObjectTree,
|
||||
underlays: &mut Vec<Atom<'a>>,
|
||||
overlays: &mut Vec<Atom<'a>>,
|
||||
|
|
@ -181,7 +181,7 @@ pub struct FakeGlass;
|
|||
impl RenderPass for FakeGlass {
|
||||
fn overlays<'a>(
|
||||
&self,
|
||||
atom: &mut Atom<'a>,
|
||||
atom: &Atom<'a>,
|
||||
_objtree: &'a ObjectTree,
|
||||
underlays: &mut Vec<Atom<'a>>,
|
||||
_overlays: &mut Vec<Atom<'a>>,
|
||||
|
|
@ -213,7 +213,7 @@ impl RenderPass for Pretty {
|
|||
}
|
||||
|
||||
fn overlays<'a>(&self,
|
||||
atom: &mut Atom<'a>,
|
||||
atom: &Atom<'a>,
|
||||
objtree: &'a ObjectTree,
|
||||
_: &mut Vec<Atom<'a>>,
|
||||
overlays: &mut Vec<Atom<'a>>,
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ impl RenderPass for GravityGen {
|
|||
|
||||
/// Apply overlays and underlays to an atom, in the form of pseudo-atoms.
|
||||
fn overlays<'a>(&self,
|
||||
atom: &mut Atom<'a>,
|
||||
atom: &Atom<'a>,
|
||||
objtree: &'a ObjectTree,
|
||||
_underlays: &mut Vec<Atom<'a>>,
|
||||
overlays: &mut Vec<Atom<'a>>,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ use super::*;
|
|||
pub struct TransitTube;
|
||||
impl RenderPass for TransitTube {
|
||||
fn overlays<'a>(&self,
|
||||
atom: &mut Atom<'a>,
|
||||
atom: &Atom<'a>,
|
||||
objtree: &'a ObjectTree,
|
||||
_: &mut Vec<Atom<'a>>,
|
||||
overlays: &mut Vec<Atom<'a>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue