1 parent 8ad0d91 commit 5076ca8Copy full SHA for 5076ca8
1 file changed
wrappers/csharp/Documentation/cookbook.md
@@ -281,8 +281,8 @@ pipe.Start();
281
282
using (var frames = pipe.WaitForFrames())
283
using (var depth = frames.DepthFrame)
284
-using (var frame = pc.Process(depth))
285
-using (var points = frame.As<Points>())
+using (var pc_frame = pc.Process(depth))
+using (var points = pc_frame.As<Points>())
286
{
287
// CopyVertices is extensible, any of these will do:
288
var vertices = new float[points.Count * 3];
@@ -424,4 +424,4 @@ using (var sensor = playback.Sensors[0])
424
SpinWait.SpinUntil(() => playback.Status == PlaybackStatus.Stopped);
425
Print();
426
}
427
-```
+```
0 commit comments