Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ==============================================================================
- This is an automatically generated GUI class created by the Introjucer!
- Be careful when adding custom code to these files, as only the code within
- the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
- and re-saved.
- Created with Introjucer version: 3.1.1
- ------------------------------------------------------------------------------
- The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
- Copyright 2004-13 by Raw Material Software Ltd.
- ==============================================================================
- */
- #ifndef __JUCE_HEADER_F4EEA1EAFD405FD4__
- #define __JUCE_HEADER_F4EEA1EAFD405FD4__
- //[Headers] -- You can add your own extra header files here --
- #include "JuceHeader.h"
- #include "CPIComponent.h"
- #include "WavefrontObjParser.h"
- struct Attributes;
- struct Uniforms;
- struct Shape;
- //[/Headers]
- //==============================================================================
- /**
- //[Comments]
- An auto-generated component, created by the Introjucer.
- Describe your class and how it works here!
- //[/Comments]
- */
- class HeadAnimation : public CPIComponent
- {
- public:
- //==============================================================================
- HeadAnimation ();
- ~HeadAnimation();
- //==============================================================================
- //[UserMethods] -- You can add your own custom methods in this section.
- //[/UserMethods]
- void paint (Graphics& g);
- void resized();
- private:
- //[UserVariables] -- You can add your own custom variables in this section.
- void renderOpenGL() override;
- void newOpenGLContextCreated() override;
- void openGLContextClosing() override;
- void freeAllContextObjects();
- Matrix3D<float> getProjectionMatrix() const;
- Matrix3D<float> getViewMatrix() const;
- ScopedPointer<OpenGLShaderProgram> shader;
- ScopedPointer<Shape> shape;
- ScopedPointer<Attributes> attributes;
- ScopedPointer<Uniforms> uniforms;
- OpenGLContext openGLContext;
- OpenGLTexture texture, *textureToUse, *lastTexture;
- float scale, rotationSpeed;
- float rotation;
- Draggable3DOrientation draggableOrientation;
- //[/UserVariables]
- //==============================================================================
- //==============================================================================
- JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (HeadAnimation)
- };
- //[EndFile] You can add extra defines here...
- //[/EndFile]
- #endif // __JUCE_HEADER_F4EEA1EAFD405FD4__
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement