mirror of
https://github.com/gwm17/implot.git
synced 2024-11-23 02:38:53 -05:00
rev up to v0.10
This commit is contained in:
parent
eea12d6b4c
commit
ccd29a646f
|
@ -20,7 +20,7 @@
|
||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
// ImPlot v0.9 WIP
|
// ImPlot v0.10 WIP
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
2
implot.h
2
implot.h
|
@ -20,7 +20,7 @@
|
||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
// ImPlot v0.9 WIP
|
// ImPlot v0.10 WIP
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
// ImPlot v0.9 WIP
|
// ImPlot v0.10 WIP
|
||||||
|
|
||||||
#include "implot.h"
|
#include "implot.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
// ImPlot v0.9 WIP
|
// ImPlot v0.10 WIP
|
||||||
|
|
||||||
// You may use this file to debug, understand or extend ImPlot features but we
|
// You may use this file to debug, understand or extend ImPlot features but we
|
||||||
// don't provide any guarantee of forward compatibility!
|
// don't provide any guarantee of forward compatibility!
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
// ImPlot v0.9 WIP
|
// ImPlot v0.10 WIP
|
||||||
|
|
||||||
#include "implot.h"
|
#include "implot.h"
|
||||||
#include "implot_internal.h"
|
#include "implot_internal.h"
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
#define SQRT_1_2 0.70710678118f
|
#define SQRT_1_2 0.70710678118f
|
||||||
#define SQRT_3_2 0.86602540378f
|
#define SQRT_3_2 0.86602540378f
|
||||||
|
|
||||||
#define IMPLOT_NORMALIZE2F_OVER_ZERO(VX, VY) \
|
#define IMPLOT_NORMALIZE2F_OVER_ZERO(VX, VY) \
|
||||||
{ \
|
{ \
|
||||||
float d2 = VX * VX + VY * VY; \
|
float d2 = VX * VX + VY * VY; \
|
||||||
if (d2 > 0.0f) { \
|
if (d2 > 0.0f) { \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user