collision.go 436 B

123456789101112131415
  1. // Copyright 2016 The G3N Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Package collision implements collision related algorithms and data structures.
  5. package collision
  6. import "github.com/g3n/engine/geometry"
  7. // TODO collision checking function dependent on collision shapes
  8. func CheckConvex(g1, g2 *geometry.Geometry) bool {
  9. return true
  10. }