public SphereBase(int index, bool isIndexedByPosition, Vector3 position, Color color, float radius = 0.5f, ITextureMap textureMap = null) : base(index, isIndexedByPosition, position, 0, 0, 0) { _color = color; _radius = radius; _textureMap = textureMap; if (_textureMap == null) { _textureMap = new SolidColorMap(_color); } }
public AntiSphere(int index, Vector3 position, Color color, float radius = 0.5f, ITextureMap textureMap = null) : this(index, true, position, color, radius, textureMap) { }
public AntiSphere(int index, bool isIndexedByPosition, Vector3 position, Color color, float radius = 0.5f, ITextureMap textureMap = null) : base(index, isIndexedByPosition, position, color, radius, textureMap) { }