Пример #1
0
 /// <summary>
 /// Add a sphere sector.
 /// </summary>
 public void AddSphereSector(Sphere sphere, Urho.Quaternion rotation, float angle, bool drawLines, Urho.Color color, bool depthTest = true)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddSphereSector(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle, ref rotation, angle, drawLines, ref color, depthTest);
 }
Пример #2
0
 /// <summary>
 /// Add a sphere.
 /// </summary>
 public void AddSphere(Sphere sphere, Urho.Color color, bool depthTest = true)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddSphere(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle, ref color, depthTest);
 }