Lua
C++
Edit

DeltaAngle

This function returns the smallest angle between two specified angles.

Syntax

Returns

Returns the smallest angle between the two angles, in degrees.

Example

#include "UltraEngine.h"

using namespace UltraEngine;

int main(int argc, const char* argv[])
{
    float a0 = 10;
    float a1 = 355;

    Print(DeltaAngle(a0,a1));

    return 0;
}
Copyright © 2024 Ultra Software.
All rights reserved.