wpf 3d游戏引擎的PrimitiveMesh.h和ToolsCommon.h

1.PrimitiveMesh.h

#pragma once

#include "ToolsCommon.h"

namespace primal::tools {

enum primitive_mesh_type : u32

{

plane,

cube,

uv_sphere,

ico_sphere,

cylinder,

capsule,

count

};

struct primitive_init_info

{

primitive_mesh_type type;

u32 segments[3]{ 1,1,1};

math::v3 size{ 1,1,1 };

u32 lod{ 0 };

};

}

2.ToolsCommon.h

#pragma once

#include "CommonHeaders.h"

#include <combaseapi.h>

#ifndef EDITOR_INTERFACE

#define EDITOR_INTERFACE extern "C" __declspec(dllexport)

#endif

相关推荐
_风华ts5 小时前
虚幻引擎RPC
rpc·游戏引擎·虚幻
孟无岐9 小时前
【Laya】Base64Tool 编码工具类使用说明
typescript·游戏引擎·游戏程序·laya
Gofarlic_OMS9 小时前
ANSYS许可证使用合规性报告自动化生成方案
大数据·运维·人工智能·3d·自动化·云计算
Howrun77710 小时前
虚幻引擎_动画蓝图/混合空间/状态机_超详细教学
游戏引擎·虚幻
奋斗的小青年!!10 小时前
Flutter与鸿蒙深度融合:打造物理引擎驱动的3D卡片交互体验
flutter·3d·harmonyos·鸿蒙
qianbo_insist12 小时前
unity 无头模式启动
unity·游戏引擎
weixin_4093831213 小时前
cocos shader闪光
游戏引擎·cocos2d
hakuii13 小时前
3dgs学习有感
学习·3d
一碗姜汤13 小时前
【3DCV】Re10K数据集:抽帧处理、数据类构造
3d·音视频
Howrun77713 小时前
虚幻引擎_用户小控件_准星
c++·游戏引擎·虚幻