CSharpGL.CameraHelper.GetBack C# (CSharp) Method

GetBack() public static method

Get back vector in world space.
public static GetBack ( this camera ) : vec3
camera this
return vec3
        public static vec3 GetBack(this IViewCamera camera)
        {
            vec3 result = camera.Position - camera.Target;
            return result;
        }