Skip to content

Commit 5076ca8

Browse files
authored
Update cookbook.md
Renamed frame to pc_frame (review feedback)
1 parent 8ad0d91 commit 5076ca8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

wrappers/csharp/Documentation/cookbook.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ pipe.Start();
281281

282282
using (var frames = pipe.WaitForFrames())
283283
using (var depth = frames.DepthFrame)
284-
using (var frame = pc.Process(depth))
285-
using (var points = frame.As<Points>())
284+
using (var pc_frame = pc.Process(depth))
285+
using (var points = pc_frame.As<Points>())
286286
{
287287
// CopyVertices is extensible, any of these will do:
288288
var vertices = new float[points.Count * 3];
@@ -424,4 +424,4 @@ using (var sensor = playback.Sensors[0])
424424
SpinWait.SpinUntil(() => playback.Status == PlaybackStatus.Stopped);
425425
Print();
426426
}
427-
```
427+
```

0 commit comments

Comments
 (0)