31 lines
538 B
C++
31 lines
538 B
C++
//
|
|
// VROConstraint.h
|
|
// ViroRenderer
|
|
//
|
|
// Created by Raj Advani on 3/9/16.
|
|
// Copyright © 2016 Viro Media. All rights reserved.
|
|
//
|
|
|
|
#ifndef VROConstraint_h
|
|
#define VROConstraint_h
|
|
|
|
#include <stdio.h>
|
|
#include <memory>
|
|
|
|
class VRONode;
|
|
class VROMatrix4f;
|
|
class VROQuaternion;
|
|
class VROVector3f;
|
|
class VRORenderContext;
|
|
|
|
class VROConstraint {
|
|
|
|
public:
|
|
|
|
virtual VROMatrix4f getTransform(const VRORenderContext &context,
|
|
VROMatrix4f transform) = 0;
|
|
|
|
};
|
|
|
|
#endif /* VROConstraint_h */
|