Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Sep 27, 2024
1 parent c4df15c commit c27fb1c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
1 change: 0 additions & 1 deletion examples/draw/draw_blend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ fn view(app: &App) {
let hue = i as f32 / n_circles as f32;
let color = Color::hsl(hue, 1.0, 0.5);
draw.ellipse()
// .color_blend(desc.clone())
.radius(radius)
.color(color)
.x(radius + animate_radius);
Expand Down
34 changes: 20 additions & 14 deletions nannou/src/render/mod.rs
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
use crate::app::{ModelHolder, RenderFnRes};
use crate::frame::Frame;
use crate::prelude::bevy_render::extract_component::ExtractComponent;
use crate::prelude::bevy_render::extract_resource::extract_resource;
use bevy::core_pipeline::core_3d::graph::{Core3d, Node3d};
use bevy::ecs::query::QueryItem;
use crate::{
app::{ModelHolder, RenderFnRes},
frame::Frame,
prelude::bevy_render::{
extract_component::ExtractComponent, extract_resource::extract_resource,
},
};
pub use bevy::prelude::*;
use bevy::render::extract_resource::ExtractResource;
use bevy::render::render_graph::{
NodeRunError, RenderGraphApp, RenderGraphContext, RenderLabel, ViewNode, ViewNodeRunner,
use bevy::{
core_pipeline::core_3d::graph::{Core3d, Node3d},
ecs::query::QueryItem,
render::{
extract_resource::ExtractResource,
render_graph::{
NodeRunError, RenderGraphApp, RenderGraphContext, RenderLabel, ViewNode, ViewNodeRunner,
},
render_resource::SpecializedComputePipeline,
renderer::RenderContext,
view::{ExtractedView, ExtractedWindows, ViewTarget},
},
};
use bevy::render::render_resource::SpecializedComputePipeline;
use bevy::render::renderer::RenderContext;
use bevy::render::view::{ExtractedView, ExtractedWindows, ViewTarget};
use bevy_nannou::prelude::AsBindGroup;
use noise::NoiseFn;
use std::hash::Hash;
use std::ops::Deref;
use std::{hash::Hash, ops::Deref};

pub mod compute;

Expand Down

0 comments on commit c27fb1c

Please sign in to comment.