去掉obi,使用自写绳索
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Obi
|
||||
{
|
||||
public class ObiRaycastHit
|
||||
{
|
||||
|
||||
/// Distance from the Raycast origin to the point of impact.
|
||||
public float distance;
|
||||
/// The position in model space where a raycast intercepted a triangle.
|
||||
public Vector3 position;
|
||||
/// The normal in model space of the triangle that this raycast hit.
|
||||
public Vector3 normal;
|
||||
/// The triangle index of the hit face.
|
||||
public int triangle;
|
||||
|
||||
public ObiRaycastHit(float distance, Vector3 position, Vector3 normal, int triangle)
|
||||
{
|
||||
this.distance = distance;
|
||||
this.position = position;
|
||||
this.normal = normal;
|
||||
this.triangle = triangle;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user