Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static float mAzimuth;
    private static float mAzimuthOffset = 0;

    public static float getCurrentAzimuthDegrees() {
        return getCurrentAzimuth() * (float) (180 / Math.PI);
    }

    public static float getCurrentAzimuth() {
        return mAzimuth + mAzimuthOffset;
    }
}