Zongzi.Curve.Adapter.CatmullRom (zongzi v0.3.0)

Copy Markdown

Catmull-Rom 曲线适配器(naive 参考实现)

Summary

Functions

Create a new VO based on the properties.

Modify the property of an existing VO.

Types

t()

@type t() :: %Zongzi.Curve.Adapter.CatmullRom{
  points: [Zongzi.Curve.ControlPoint.t()],
  tension: float()
}

Functions

new(attrs)

Create a new VO based on the properties.

update(obj, attrs)

Modify the property of an existing VO.