浏览代码

make GetRayAngles internal (#3515)

* timerstack and GetRayAngles internal

* undo Timerstack for now
/asymm-envs
GitHub 5 年前
当前提交
66722d71
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.ml-agents/Runtime/Sensor/RayPerceptionSensorComponentBase.cs

2
com.unity.ml-agents/Runtime/Sensor/RayPerceptionSensorComponentBase.cs


/// Greater than 90 degrees will go backwards.
/// </param>
/// <returns></returns>
public static float[] GetRayAngles(int raysPerDirection, float maxRayDegrees)
internal static float[] GetRayAngles(int raysPerDirection, float maxRayDegrees)
{
// Example:
// { 90, 90 - delta, 90 + delta, 90 - 2*delta, 90 + 2*delta }

正在加载...
取消
保存