Skip to content

Commit 21bcd52

Browse files
committed
Exposed internal utilities for external use
resolves #5
1 parent a511b1c commit 21bcd52

File tree

15 files changed

+25
-25
lines changed

15 files changed

+25
-25
lines changed

Runtime/Shapes/Arrow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Arrow {
6+
public struct Arrow {
77
public static Arrow Default => new Arrow {
88
headLength = 0.1f,
99
headAngle = 20f,

Runtime/Shapes/Capsule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Capsule {
6+
public struct Capsule {
77
public Vector3 from;
88
public Vector3 to;
99
public Vector3 direction;

Runtime/Shapes/Circle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Circle {
6+
public struct Circle {
77
public static Circle Default => new Circle {
88
radius = 0.025f
99
};

Runtime/Shapes/Cube.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Cube {
6+
public struct Cube {
77
public Vector3 origin;
88
public Vector3 size;
99
public Quaternion rotation;

Runtime/Shapes/Filter2D.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Filter2D {
6+
public struct Filter2D {
77
public Vector2 origin;
88
public ContactFilter2D filter;
99

Runtime/Shapes/Line.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using UnityEngine;
33

44
namespace Nomnom.RaycastVisualization.Shapes {
5-
internal struct Line {
5+
public struct Line {
66
public Vector3 from;
77
public Vector3 to;
88

Runtime/Shapes/NormalCircle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct NormalCircle {
6+
public struct NormalCircle {
77
public static NormalCircle Default => new NormalCircle {
88
radius = 0.025f,
99
distance = 0.025f

Runtime/Shapes/Range.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Range {
6+
public struct Range {
77
public Vector3 from;
88
public Vector3 to;
99

Runtime/Shapes/Ray.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Ray {
6+
public struct Ray {
77
public Vector3 from;
88
public Vector3 direction;
99

Runtime/Shapes/Rectangle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using UnityEngine;
44

55
namespace Nomnom.RaycastVisualization.Shapes {
6-
internal struct Rectangle {
6+
public struct Rectangle {
77
public Vector3 origin;
88
public Vector2 size;
99
public float angle;

0 commit comments

Comments
 (0)