mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
affine: Remove unused function
This commit is contained in:
parent
c6153de4f5
commit
2b4785f863
@ -14,17 +14,6 @@
|
|||||||
|
|
||||||
package affine
|
package affine
|
||||||
|
|
||||||
// add is deprecated
|
|
||||||
func add(lhs, rhs []float64, dim int) []float64 {
|
|
||||||
result := make([]float64, len(lhs))
|
|
||||||
for i := 0; i < dim-1; i++ {
|
|
||||||
for j := 0; j < dim; j++ {
|
|
||||||
result[i*dim+j] = lhs[i*dim+j] + rhs[i*dim+j]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
func mulSquare(lhs, rhs []float32, dim int) []float32 {
|
func mulSquare(lhs, rhs []float32, dim int) []float32 {
|
||||||
result := make([]float32, len(lhs))
|
result := make([]float32, len(lhs))
|
||||||
for i := 0; i < dim; i++ {
|
for i := 0; i < dim; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user