func (s *Shape) ReScale(x, y, z float32) *Shape {
	S := NewShape(mgl32.Ident4(), program)
	ps := make([]*Point, len(s.Pts))
	for i, p := range s.Pts {
		ps[i] = p.ReScale(x, y, z)
	}
	S.Pts = ps
	return S
}
// Do not use this function frequently,
// Instead use ModelMat to transform the shapes
Do not use this function frequently,
Instead use ModelMat to transform the shapes
// Do not use this function frequently // Instead use ModelMat to transform the shapes
func (s *Shape) ReScale(x, y, z float32) *Shape {
	S := NewShape(mgl32.Ident4(), program)
	ps := make([]*Point, len(s.Pts))
	for i, p := range s.Pts {
		ps[i] = p.ReScale(x, y, z)
	}
	S.Pts = ps
	return S
}
func ( s * Shape ) ReScale ( x , y , z float32 ) * Shape { S := NewShape ( mgl32 . Ident4 ( ) , program ) ps := make ( [ ] * Point , len ( s . Pts ) ) for i , p := range s . Pts { ps [ i ] = p . ReScale ( x , y , z ) } S . Pts = ps return S }
Do not use this function frequently,
Instead use ModelMat to transform the shapes
Do not use this function frequently Instead use ModelMat to transform the shapes