PhysicsBasedAnimationToolkit
0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
FloatConversion.h
1
#ifndef PBAT_WARNING_FLOATCONVERSION_H
2
#define PBAT_WARNING_FLOATCONVERSION_H
3
4
#if defined(__clang__)
5
#pragma clang diagnostic ignored "-Wfloat-conversion"
6
#elif defined(__GNUC__) || defined(__GNUG__)
7
#pragma GCC diagnostic ignored "-Wfloat-conversion"
8
#elif defined(_MSC_VER)
9
// I think MSVC is less granular on this and has C4244 which is generally about converting
10
// between small and large types
11
#endif
12
13
#endif
// PBAT_WARNING_FLOATCONVERSION_H
source
pbat
warning
FloatConversion.h
Generated by
1.13.2