摘要:
计算几何图形包围盒的算法 1 bool YfCalculateSurroundBoxSize 2 ( 3 const YsGraphDesc& graphDesc, 4 YsVector& vMin, 5 YsVector& vMax 6 ) 7 { 8 switch (graphDesc.graphType) 9 { 10 case YE_GRAPH_PLANE: 11 { 12 ... 阅读全文
摘要:
1 // 生成顶点法线 2 bool YfCalculateVertexNormal 3 ( 4 void* pNormalsBuffer, 5 Yuint normalStriding, 6 Yuint normalPos, 7 const void* pVerticesBuffer, 8 Yuint vertexNum, 9 ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildDrumVertices 2 ( 3 Yreal radius, 4 Yreal assistRadius, 5 Yuint slices, 6 Yuint stacks, 7 YeOriginPose originPose, 8 Yuint vertexStriding, 9 Yu... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildHemisphereVertices 2 ( 3 Yreal radius, 4 Yuint slices, 5 Yuint stacks, 6 YeOriginPose originPose, 7 Yuint vertexStriding, 8 Yuint ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildSpiralStairsVertices 2 ( 3 Yreal radius, 4 Yreal assistRadius, 5 Yreal height, 6 Yuint slices, 7 Yuint stacks, 8 YeOriginPose o... 阅读全文
摘要:
感觉这图形怎么看怎么像搓衣板.顶点数据的生成bool YfBuildStairsVertices( Yreal width, Yreal length, Yreal height, Yuint stacks, YeOriginPose originPose, Yuint vertexStriding, ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildSpireVertices 2 ( 3 Yreal radius, 4 Yreal assistRadius, 5 Yreal height, 6 Yuint slices, 7 Yuint stacks, 8 YeOriginPose originP... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildStarVertices 2 ( 3 Yreal radius, 4 Yreal assistRadius, 5 Yreal height, 6 Yuint slices, 7 YeOriginPose originPose, 8 Yuint vertex... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildGearwheelVertices 2 ( 3 Yreal radius, 4 Yreal assistRadius, 5 Yreal height, 6 Yuint slices, 7 YeOriginPose originPose, 8 Yuint ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildArcVertices 2 ( 3 Yreal radius, 4 Yreal degree, 5 Yreal height, 6 Yuint slices, 7 Yuint stacks, 8 YeOriginPose originPose, 9 ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildFunVertices 2 ( 3 Yreal radius, 4 Yreal degree, 5 Yreal height, 6 Yuint slices, 7 YeOriginPose originPose, 8 Yuint vertexStridi... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildWedgeVertices 2 ( 3 Yreal width, 4 Yreal length, 5 Yreal height, 6 YeOriginPose originPose, 7 Yuint vertexStriding, 8 Yuint ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildPipeVertices 2 ( 3 Yreal radius, 4 Yreal assistRadius, 5 Yreal height, 6 Yuint slices, 7 YeOriginPose originPose, 8 Yuint vert... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildRingVertices 2 ( 3 Yreal radius, 4 Yreal assistRadius, 5 Yreal height, 6 Yuint slices, 7 Yuint stacks, 8 YeOriginPose originPo... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildRoundVertices 2 ( 3 Yreal radius, 4 Yreal height, 5 Yuint slices, 6 YeOriginPose originPose, 7 Yuint vertexStriding, 8 Yuint v... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildPyramidVertices 2 ( 3 Yreal width, 4 Yreal length, 5 Yreal height, 6 YeOriginPose originPose, 7 Yuint vertexStriding, 8 Yuint ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildCapsuleVertices 2 ( 3 Yreal radius, 4 Yreal height, 5 Yuint slices, 6 Yuint stacks, 7 YeOriginPose originPose, 8 Yuint vertexS... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildCylinderVertices 2 ( 3 Yreal topRadius, 4 Yreal bottomRadius, 5 Yreal height, 6 Yuint slices, 7 YeOriginPose originPose, 8 Yuint ... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildConeVertices 2 ( 3 Yreal radius, 4 Yreal height, 5 Yuint slices, 6 YeOriginPose originPose, 7 Yuint vertexStriding, 8 Yuint ve... 阅读全文
摘要:
顶点数据的生成 1 bool YfBuildSphereVertices 2 ( 3 Yreal radius, 4 Yuint slices, 5 Yuint stacks, 6 YeOriginPose originPose, 7 Yuint vertexStriding, 8 Yuint ... 阅读全文