mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 23:49:55 +02:00
26 lines
704 B
C
26 lines
704 B
C
//
|
|
// QVariantGLM.h
|
|
// libraries/shared/src
|
|
//
|
|
// Created by Seth Alves on 3/9/15.
|
|
// Copyright 2013 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include <QList>
|
|
#include <QVariant>
|
|
#include <QVariantList>
|
|
#include <glm/glm.hpp>
|
|
#include <glm/gtx/quaternion.hpp>
|
|
|
|
#include "SharedUtil.h"
|
|
|
|
QVariantList glmToQList(const glm::vec3& g);
|
|
QVariantList glmToQList(const glm::quat& g);
|
|
QVariantList rgbColorToQList(rgbColor& v);
|
|
|
|
glm::vec3 qListToGlmVec3(const QVariant q);
|
|
glm::quat qListToGlmQuat(const QVariant q);
|
|
void qListtoRgbColor(const QVariant q, rgbColor returnValue);
|