MCPcopy Create free account
hub / github.com/cping/LGame / Affine2f

Class Affine2f

Java/Loon-Neo/src/loon/geom/Affine2f.java:46–2075  ·  view source on GitHub ↗

2D矩阵存储用类. 以对象存储,而非数组的方式实现一个3x2(标准矩阵应为3x3)的2D仿射矩阵类, 也就是保留了线的“直线性”和“平行性”,但缺少了长宽高的3D矩阵延展能力。 所以,此类仅适合2D应用中使用(当然,也可以转化为3D应用,只是没有Z值). 对应的3x3矩阵关系如下所示: [ m00, m10, tx ] [ m01, m11, ty ] [ 0, 0, 1 ]

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected