MCPcopy Index your code
hub / github.com/EngoEngine/engo / TranslatePoint

Method TranslatePoint

math.go:217–219  ·  view source on GitHub ↗

TranslatePoint translates m by the point p.

(p Point)

Source from the content-addressed store, hash-verified

215
216// TranslatePoint translates m by the point p.
217func (m *Matrix) TranslatePoint(p Point) *Matrix {
218 return m.Translate(p.X, p.Y)
219}
220
221// Scale scales m by x and y.
222func (m *Matrix) Scale(x, y float32) *Matrix {

Callers 1

TestMatrixTranslatePointFunction · 0.80

Calls 1

TranslateMethod · 0.95

Tested by 1

TestMatrixTranslatePointFunction · 0.64