File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
branches/snap-stage3/src/test/bench Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: f1132496dddbdd88f321a7919eec3d65136b3f75
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 934a5eba50aa90b7ab1822d62a2903255614eeef
4
+ refs/heads/snap-stage3: 0f6e90a5fd7a19382e3d3028bfcc36eb57135515
5
5
refs/heads/try: ebfe63cd1c0b5d23f7ea60c69b4fde2e30cfd42a
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ fn random_gradient<R:Rng>(r: &mut R) -> Vec2 {
25
25
26
26
fn gradient ( orig : Vec2 , grad : Vec2 , p : Vec2 ) -> f32 {
27
27
let sp = Vec2 { x : p. x - orig. x , y : p. y - orig. y } ;
28
- grad. x * sp. x + grad. y + sp. y
28
+ grad. x * sp. x + grad. y * sp. y
29
29
}
30
30
31
31
struct Noise2DContext {
You can’t perform that action at this time.
0 commit comments