2021-04-07から1日間の記事一覧

Processing用 Matrixクラス

ちょうどいいライブラリってなにかあるのかな。。。 4x4行列とベクトル class Vector4 { float v0, v1, v2, v3; Vector4(float v0, float v1, float v2, float v3) { this.v0 = v0; this.v1 = v1; this.v2 = v2; this.v3 = v3; } } class Matrix4 { float m0…