1 package cz.cuni.amis.pogamut.udk.utils;
2
3 import cz.cuni.amis.pogamut.base.utils.math.A;
4 import cz.cuni.amis.pogamut.base3d.worldview.object.Location;
5 import cz.cuni.amis.pogamut.base3d.worldview.object.Rotation;
6
7
8
9
10
11 public class UTAlgebra {
12
13
14
15
16
17
18
19
20 public static double lineOfSightAngle(Location agentLocation, Rotation agentRotation, Location object) {
21 return A.lineOfSightAngle(agentLocation, UnrealUtils.unrealDegreeToRad(agentRotation.getRoll()), object);
22 }
23 }