Example #1
0
 /// <summary>
 /// how far does this light reach
 /// </summary>
 /// <returns>The radius.</returns>
 /// <param name="radius">Radius.</param>
 public PointLight setRadius(float radius)
 {
     _radius          = radius;
     originNormalized = Vector2Ext.halfVector();
     _areBoundsDirty  = true;
     return(this);
 }