rigidbody.go 402 B

1234567891011121314151617
  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. // RigidBody represents a physics-driven solid body.
  6. type RigidBody struct {
  7. // TODO :)
  8. }
  9. // NewRigidBody creates and returns a pointer to a new RigidBody.
  10. func NewRigidBody() *RigidBody {
  11. b := new(RigidBody)
  12. return b
  13. }