コード例 #1
0
        /// <summary></summary>
        public FilterNormalDirection(V3f direction, float epsInDegrees)
        {
            var e = (float)Math.Sin(Conversion.RadiansFromDegrees(Fun.Clamp(epsInDegrees, 0.0, 90.0)));

            Direction    = direction.Normalized;
            EpsInDegrees = epsInDegrees;
            m_eps        = e * e;
        }