URL
https://opencores.org/ocsvn/wf3d/wf3d/trunk
[/] [wf3d/] [trunk/] [demo_app/] [main_hand.c] - Diff between revs 2 and 4
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 4 |
Line 7... |
Line 7... |
//
|
//
|
// Abstract:
|
// Abstract:
|
// Hand animation sample (without skinning).
|
// Hand animation sample (without skinning).
|
//
|
//
|
// Author:
|
// Author:
|
// Kenji Ishimaru (kenji.ishimaru@prtissimo.com)
|
// Kenji Ishimaru (info.wf3d@gmail.com)
|
//
|
//
|
//======================================================================
|
//======================================================================
|
//
|
//
|
// Copyright (c) 2015, Kenji Ishimaru
|
// Copyright (c) 2015, Kenji Ishimaru
|
// All rights reserved.
|
// All rights reserved.
|
Line 37... |
Line 37... |
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
//
|
//
|
// Revision History
|
// Revision History
|
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include <system.h>
|
|
#include "mp_lib.h"
|
|
#include "mp_hwdep.h"
|
#include "mp_hwdep.h"
|
|
#include "mp_lib.h"
|
|
#include <stdio.h>
|
|
|
#include "hand_full.h"
|
#include "hand_full.h"
|
|
|
void mp_loop() {
|
void mp_loop() {
|
static float transY = 0.0f;
|
static float transY = 0.0f;
|
Line 86... |
Line 84... |
}
|
}
|
|
|
int main()
|
int main()
|
{
|
{
|
|
|
printf("Hello from Nios II!\n");
|
printf("Hand Demo\n");
|
buffer_clear(0x00000000,0);
|
buffer_clear(0x00000000,0);
|
buffer_clear(0x00000000,1);
|
buffer_clear(0x00000000,1);
|
mpInit();
|
mpInit();
|
mp_loop();
|
mp_loop();
|
return 0;
|
return 0;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.