Shadowrun: Awakened 29 September 2011 - Build 871
Functions
sphere.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

objectnewsphere (void *, vector, flt)

Function Documentation

object* newsphere ( void *  ,
vector  ,
flt   
)

Definition at line 81 of file sphere.cpp.

References rt_getmem(), test::s, and sphere_methods.

Referenced by rt_sphere().

                                                    {
  sphere * s;
  
  s=(sphere *) rt_getmem(sizeof(sphere));
  memset(s, 0, sizeof(sphere));
  s->methods = &sphere_methods;

  s->tex=(texture *)tex;
  s->ctr=ctr;
  s->rad=rad;

  return (object *) s;
}

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net