Tanoda
LocalCircle.cs
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) Ultraleap, Inc. 2011-2020. *
3 * *
4 * Use subject to the terms of the Apache License 2.0 available at *
5 * http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6 * between Ultraleap and you, your company or other organization. *
7 ******************************************************************************/
8
9using System.Collections;
10using System.Collections.Generic;
11using UnityEngine;
12
13namespace Leap.Unity.Geometry {
14
15 [System.Serializable]
16 public struct LocalCircle {
17
18 public Vector3 center;
20 public float radius;
21
22 public Circle With(Transform t) {
23 return new Circle(this, t);
24 }
25
26 }
27
28}
A struct very similar to Vector3, but that prevents itself from ever being converted to Vector3....
Definition: Direction3.cs:24
Circle With(Transform t)
Definition: LocalCircle.cs:22