Пример #1
0
        protected void SetVertices(TriangleVertices vertices)
        {
            if (_meshTriangle == null)
            {
                _meshTriangle = _pool.GetTriangle();
                _meshTriangle.UseTriangle(_triangle);
            }

            _meshTriangle.UpdateVertices(vertices);
        }