项目作者: WeersProductions

项目描述 :
Simple shape renderers
高级语言: C#
项目地址: git://github.com/WeersProductions/ShapeTools.git
创建时间: 2017-10-17T18:48:31Z
项目社区:https://github.com/WeersProductions/ShapeTools

开源协议:MIT License

下载


ShapeTools

A simple project for rendering several shapes.

Bezier

Rendering a bezier

Circle

Rendering a circle

In both demos the shapes are updated each frame, normally you would not want that in a project. Therefore the Update function is commented out in the code.
Whenever you change one of the values, you simply call the Render() function on the shape to update it.