Compare commits
No commits in common. "b0fecde6396a77d1e8efb663275cd10daa0bf4e9" and "971e2a61f6b6bc3a3558b13d8c67bd5aca018eba" have entirely different histories.
b0fecde639
...
971e2a61f6
@ -2,7 +2,7 @@ use anyhow::{anyhow, Result};
|
||||
use psimple::Simple;
|
||||
use pulse::context::{Context, FlagSet as ContextFlagSet};
|
||||
use pulse::mainloop::standard::{IterateResult, Mainloop};
|
||||
use pulse::sample::Spec;
|
||||
use pulse::sample::{Format, Spec};
|
||||
use pulse::stream::Direction;
|
||||
use std::cell::RefCell;
|
||||
use std::ops::Deref;
|
||||
|
@ -133,7 +133,7 @@ fn main() -> Result<()> {
|
||||
|
||||
y = (1f32 + y).log2();
|
||||
|
||||
let y = (y - min_y) / (max_y - min_y);
|
||||
let mut y = (y - min_y) / (max_y - min_y);
|
||||
|
||||
((1f32 - y) * texture_size as f32) as u32
|
||||
};
|
||||
|
3
sphere_movement/.gitignore
vendored
3
sphere_movement/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
venv
|
||||
.vscode
|
||||
.ipynb_checkpoints
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user