package
0.0.0-20220305075649-57825537b64f
Repository: https://github.com/gitbufenshuo/gopen.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
@title Perspective @description 获取一个 Perspective 的矩阵 @auth onebook @param near near plane @param far far plane @param fov.
generate mat4 target : the target point coord.
No description provided by the author
No description provided by the author
No description provided by the author
计算两个vec2的夹角.
任意四个点组成的四边形 注意一定是 凸四边形 检测另一个点是否在这个四边形内 不一定是矩形,也不一定是和xy轴对齐的.
计算两个vec2的内积.
计算vec2的模.
向量夹角 cos.
left X right.
left product right 内积.