예제 #1
0
                public void RpcDraw()
                {
                    if (currentStroke == null)
                    {
                        currentStroke = GenerateNewStroke();
                    }

                    if (Vector3.Distance(virtualBrushPosition, lastVirtualBrushPosition) >= samplingRate)
                    {
                        currentStroke.AddStrokePoint(virtualBrushPosition);
                    }
                }