Skip to content

Commit 78cdc55

Browse files
nsfthestinger
authored andcommitted
---
yaml --- r: 77006 b: refs/heads/snap-stage3 c: 0f6e90a h: refs/heads/master v: v3
1 parent 3e7b22f commit 78cdc55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: f1132496dddbdd88f321a7919eec3d65136b3f75
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 934a5eba50aa90b7ab1822d62a2903255614eeef
4+
refs/heads/snap-stage3: 0f6e90a5fd7a19382e3d3028bfcc36eb57135515
55
refs/heads/try: ebfe63cd1c0b5d23f7ea60c69b4fde2e30cfd42a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/bench/noise.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn random_gradient<R:Rng>(r: &mut R) -> Vec2 {
2525

2626
fn gradient(orig: Vec2, grad: Vec2, p: Vec2) -> f32 {
2727
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
2929
}
3030

3131
struct Noise2DContext {

0 commit comments

Comments
 (0)