collision.go 503 B

12345678910111213141516
  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. // WARNING: Parts of this package are experimental and incomplete!
  6. package collision
  7. import "github.com/g3n/engine/geometry"
  8. // TODO collision checking function dependent on collision shapes
  9. func CheckConvex(g1, g2 *geometry.Geometry) bool {
  10. return true
  11. }