Files
Hoops_Exchange/exchange/exchangesource/CreatePRCCubes/CreatePRCCubesDef.h
2025-12-15 23:22:33 +08:00

44 lines
1.8 KiB
C++

/***********************************************************************************************************************
*
* Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc.
* The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret
* as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event
* of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized
* employees of Tech Soft 3D, Inc. is granted only under a written non-disclosure agreement, expressly prescribing the
* scope and manner of such use.
*
***********************************************************************************************************************/
/**
* Sample CreatePRCCubes
* file CreatePRCCubesDef.h
*
* Includes, macros and tools used in the rest of the project.
*
*
***********************************************************************************************************************/
#pragma once
#include <A3DSDKIncludes.h>
#include <iostream>
#include "../common.hpp"
//######################################################################################################################
#define INFINITE_COORD 12345.0
#define PI 3.14159265358979323846
#define CUBE_WIDTH 50
#define CUBE_HEIGHT 50
#define CUBE_LENGTH 50
#define CUBE_SPACING 300
//######################################################################################################################
A3DStatus setEntityName(A3DEntity* pEntity, const A3DUTF8Char* pName);
A3DStatus addEntityAttributes(A3DEntity* pEntity, A3DUns32 uiAttributeSize, A3DMiscAttribute** ppAttributes);
A3DStatus getPOLocationOrigin(A3DAsmProductOccurrence* pPO, A3DVector3dData* pOutPos);