- blocked off direct access to TAngle’s internal storage.
This commit is contained in:
parent
3d2578820b
commit
4032576519
31 changed files with 123 additions and 235 deletions
|
|
@ -1015,10 +1015,10 @@ bool AActor::IsInsideVisibleAngles() const
|
|||
if (p == nullptr || p->camera == nullptr)
|
||||
return true;
|
||||
|
||||
DAngle anglestart = DAngle::fromDeg(VisibleStartAngle.Degrees);
|
||||
DAngle angleend = DAngle::fromDeg(VisibleEndAngle.Degrees);
|
||||
DAngle pitchstart = DAngle::fromDeg(VisibleStartPitch.Degrees);
|
||||
DAngle pitchend = DAngle::fromDeg(VisibleEndPitch.Degrees);
|
||||
DAngle anglestart = DAngle::fromDeg(VisibleStartAngle.Degrees());
|
||||
DAngle angleend = DAngle::fromDeg(VisibleEndAngle.Degrees());
|
||||
DAngle pitchstart = DAngle::fromDeg(VisibleStartPitch.Degrees());
|
||||
DAngle pitchend = DAngle::fromDeg(VisibleEndPitch.Degrees());
|
||||
|
||||
if (anglestart > angleend)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue