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

Go to the source code of this file.

Functions

objectnewring (void *tex, vector ctr, vector norm, flt in, flt out)

Function Documentation

object* newring ( void *  tex,
vector  ctr,
vector  norm,
flt  in,
flt  out 
)

Definition at line 81 of file ring.cpp.

References ring_methods, and rt_getmem().

Referenced by rt_ring().

                                                                             {
  ring * r;
  
  r=(ring *) rt_getmem(sizeof(ring));
  memset(r, 0, sizeof(ring));
  r->methods = &ring_methods;

  r->tex = (texture *)tex;
  r->ctr = ctr;
  r->norm = norm;
  r->inrad = inrad;
  r->outrad= outrad;

  return (object *) r;
}

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