コード例 #1
0
        public void ShouldComputeNormalOnCone(float pX, float pY, float pZ, float nX, float nY, float nZ)
        {
            var shape = new Cone();
            var n     = shape.GetLocalNormalAt(CreatePoint(pX, pY, pZ));

            AssertActualEqualToExpected(n, CreateVector(nX, nY, nZ));
        }