[core] Privatize math.hpp and vec.hpp
This commit is contained in:
@@ -27,7 +27,7 @@ public class MathUtils {
|
||||
/**
|
||||
* Constrains value to the given range (including min, excluding max) via modular arithmetic.
|
||||
*
|
||||
* Same formula as used in Core GL (math.hpp)
|
||||
* Same formula as used in Core GL (wrap.hpp)
|
||||
* std::fmod((std::fmod((value - min), d) + d), d) + min;
|
||||
*
|
||||
* @param value Value to wrap
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
#include <mbgl/storage/default_file_source.hpp>
|
||||
#include <mbgl/storage/network_status.hpp>
|
||||
#include <mbgl/style/property_transition.hpp>
|
||||
#include <mbgl/math/wrap.hpp>
|
||||
#include <mbgl/util/geo.hpp>
|
||||
#include <mbgl/util/math.hpp>
|
||||
#include <mbgl/util/constants.hpp>
|
||||
#include <mbgl/util/image.hpp>
|
||||
#include <mbgl/util/projection.hpp>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#import <mbgl/sprite/sprite_image.hpp>
|
||||
#import <mbgl/storage/default_file_source.hpp>
|
||||
#import <mbgl/storage/network_status.hpp>
|
||||
#import <mbgl/math/wrap.hpp>
|
||||
#import <mbgl/util/constants.hpp>
|
||||
#import <mbgl/util/math.hpp>
|
||||
#import <mbgl/util/chrono.hpp>
|
||||
|
||||
#import <map>
|
||||
|
||||
Reference in New Issue
Block a user