collision.go 455 B

123456789101112131415161718192021
  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 physics
  5. import (
  6. "github.com/g3n/engine/core"
  7. )
  8. // Particle represents a physics-driven particle.
  9. type Collision struct {
  10. // TODO
  11. }
  12. // NewCollision creates and returns a pointer to a new Collision.
  13. func NewCollision(inode core.INode) *Collision {
  14. c := new(Collision)
  15. return c
  16. }