#include <stdio.h>
#include <stdlib.h>

#include "rpplugin.h"
#include <rpdbgerr.h>
#include "rpvrmlanim.h"
#include "rpvrml.h"
#include "animfuncttab.h"

static const char __RWUNUSED__ rcsid[] =
    "@@(#)$Id: animfuncttab.c,v 1.20 2001/02/05 11:50:42 johns Exp $";

static RpVRMLAnimFunctions animFunctions;

void
_rpVrmAnimFunctionsOpen(void)
{
    RWFUNCTION(RWSTRING("_rpVrmAnimFunctionsOpen"));

    animFunctions.fpFrameAnimSetTranslations = 
        (fpFrameAnimSetTranslationsFunc) NULL;
    animFunctions.fpFrameAnimSetRotations = 
        (fpFrameAnimSetRotationsFunc) NULL;
    animFunctions.fpFrameAnimSetScales = 
        (fpFrameAnimSetScalesFunc) NULL;
    animFunctions.fpFrameAnimSetScaleOrients = 
        (fpFrameAnimSetScaleOrientsFunc) NULL;
    animFunctions.fpAnimRotateCreate = 
        (fpAnimRotateCreateFunc) NULL;
    animFunctions.fpAnimRotateDestroy = 
        (fpAnimRotateDestroyFunc) NULL;
    animFunctions.fpAnimRotateAddKeys = 
        (fpAnimRotateAddKeysFunc) NULL;
    animFunctions.fpAnimRotateGetKeys = 
        (fpAnimRotateGetKeysFunc) NULL;
    animFunctions.fpAnimRotateSetController = 
        (fpAnimRotateSetControllerFunc) NULL;
    animFunctions.fpAnimTranslateCreate = 
        (fpAnimTranslateCreateFunc) NULL;
    animFunctions.fpAnimTranslateDestroy = 
        (fpAnimTranslateDestroyFunc) NULL;
    animFunctions.fpAnimTranslateAddKeys = 
        (fpAnimTranslateAddKeysFunc) NULL;
    animFunctions.fpAnimTranslateGetKeys = 
        (fpAnimTranslateGetKeysFunc) NULL;
    animFunctions.fpAnimTranslateSetController = 
        (fpAnimTranslateSetControllerFunc) NULL;
    animFunctions.fpAnimScaleCreate = 
        (fpAnimScaleCreateFunc) NULL;
    animFunctions.fpAnimScaleDestroy = 
        (fpAnimScaleDestroyFunc) NULL;
    animFunctions.fpAnimScaleAddKeys = 
        (fpAnimScaleAddKeysFunc) NULL;
    animFunctions.fpAnimScaleGetKeys = 
        (fpAnimScaleGetKeysFunc) NULL;
    animFunctions.fpAnimScaleSetController = 
        (fpAnimScaleSetControllerFunc) NULL;
    animFunctions.fpAnimControllerCreate = 
        (fpAnimControllerCreateFunc) NULL;
    animFunctions.fpAnimControllerAddInterpolator = 
        (fpAnimControllerAddInterpolatorFunc) NULL;
    animFunctions.fpFrameAnimGetMatrixComp = 
        (fpFrameAnimGetMatrixCompFunc) NULL;
    animFunctions.fpFrameAnimSetName = 
        (fpFrameAnimSetNameFunc) NULL;

    RWRETURNVOID();
}

RpVRMLAnimFunctions *
_rpVrmAnimFunctionsGet(void)
{
    RWFUNCTION(RWSTRING("_rpVrmAnimFunctionsGet"));

    RWRETURN(&animFunctions);
}
