Show / Hide Table of Contents

Class fts

Inheritance
System.Object
fts
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: HurricaneVR.Framework.Core.Utils
Assembly: HurricaneVR.Framework.dll
Syntax
public class fts

Methods

| Improve this Doc View Source

ballistic_range(Single, Single, Single)

Declaration
public static float ballistic_range(float speed, float gravity, float initial_height)
Parameters
Type Name Description
System.Single speed
System.Single gravity
System.Single initial_height
Returns
Type Description
System.Single
| Improve this Doc View Source

IsZero(Double)

Declaration
public static bool IsZero(double d)
Parameters
Type Name Description
System.Double d
Returns
Type Description
System.Boolean
| Improve this Doc View Source

solve_ballistic_arc(Vector3, Single, Vector3, Single, out Vector3, out Vector3)

Declaration
public static int solve_ballistic_arc(Vector3 proj_pos, float proj_speed, Vector3 target, float gravity, out Vector3 s0, out Vector3 s1)
Parameters
Type Name Description
UnityEngine.Vector3 proj_pos
System.Single proj_speed
UnityEngine.Vector3 target
System.Single gravity
UnityEngine.Vector3 s0
UnityEngine.Vector3 s1
Returns
Type Description
System.Int32
| Improve this Doc View Source

solve_ballistic_arc(Vector3, Single, Vector3, Vector3, Single, out Vector3, out Vector3)

Declaration
public static int solve_ballistic_arc(Vector3 proj_pos, float proj_speed, Vector3 target_pos, Vector3 target_velocity, float gravity, out Vector3 s0, out Vector3 s1)
Parameters
Type Name Description
UnityEngine.Vector3 proj_pos
System.Single proj_speed
UnityEngine.Vector3 target_pos
UnityEngine.Vector3 target_velocity
System.Single gravity
UnityEngine.Vector3 s0
UnityEngine.Vector3 s1
Returns
Type Description
System.Int32
| Improve this Doc View Source

solve_ballistic_arc_lateral(Boolean, Vector3, Single, Vector3, Single, out Vector3, out Single)

Declaration
public static bool solve_ballistic_arc_lateral(bool isSpeed, Vector3 proj_pos, float speedOrTime, Vector3 target_pos, float max_height, out Vector3 fire_velocity, out float gravity)
Parameters
Type Name Description
System.Boolean isSpeed
UnityEngine.Vector3 proj_pos
System.Single speedOrTime
UnityEngine.Vector3 target_pos
System.Single max_height
UnityEngine.Vector3 fire_velocity
System.Single gravity
Returns
Type Description
System.Boolean
| Improve this Doc View Source

solve_ballistic_arc_lateral(Vector3, Single, Vector3, Vector3, Single, out Vector3, out Single, out Vector3)

Declaration
public static bool solve_ballistic_arc_lateral(Vector3 proj_pos, float lateral_speed, Vector3 target, Vector3 target_velocity, float max_height_offset, out Vector3 fire_velocity, out float gravity, out Vector3 impact_point)
Parameters
Type Name Description
UnityEngine.Vector3 proj_pos
System.Single lateral_speed
UnityEngine.Vector3 target
UnityEngine.Vector3 target_velocity
System.Single max_height_offset
UnityEngine.Vector3 fire_velocity
System.Single gravity
UnityEngine.Vector3 impact_point
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SolveCubic(Double, Double, Double, Double, out Double, out Double, out Double)

Declaration
public static int SolveCubic(double c0, double c1, double c2, double c3, out double s0, out double s1, out double s2)
Parameters
Type Name Description
System.Double c0
System.Double c1
System.Double c2
System.Double c3
System.Double s0
System.Double s1
System.Double s2
Returns
Type Description
System.Int32
| Improve this Doc View Source

SolveQuadric(Double, Double, Double, out Double, out Double)

Declaration
public static int SolveQuadric(double c0, double c1, double c2, out double s0, out double s1)
Parameters
Type Name Description
System.Double c0
System.Double c1
System.Double c2
System.Double s0
System.Double s1
Returns
Type Description
System.Int32
| Improve this Doc View Source

SolveQuartic(Double, Double, Double, Double, Double, out Double, out Double, out Double, out Double)

Declaration
public static int SolveQuartic(double c0, double c1, double c2, double c3, double c4, out double s0, out double s1, out double s2, out double s3)
Parameters
Type Name Description
System.Double c0
System.Double c1
System.Double c2
System.Double c3
System.Double c4
System.Double s0
System.Double s1
System.Double s2
System.Double s3
Returns
Type Description
System.Int32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX