2020_1014 Sphere 1. Sphere class 더보기 #pragma once class Sphere : public Transform { private: typedef VertexUVNormal VertexType; // Material* material; Mesh* mesh; // vector vertices; vector indices; // UINT slices; // 위도 UINT stacks; // 경도 float radius; // 반지름 /////////////////////////////////// public: Sphere(float radius = 1.0f, UINT slices = 8, UINT stacks = 8); ~Sphere(); // void Update(); void Render(); ///.. DX11 3D Game Programming 4년 전