Bomberman
lib
Ray
sources
Meshes
MeshSphere.hpp
Go to the documentation of this file.
1
//
2
// Created by cbihan on 16/06/2021.
3
//
4
5
#pragma once
6
7
#include <raylib.h>
8
#include "
AMesh.hpp
"
9
#include <memory>
10
11
namespace
RAY::Mesh
12
{
13
class
MeshSphere
:
public
AMesh
14
{
15
public
:
17
float
radius
;
19
int
rings
;
21
int
slices
;
22
23
25
MeshSphere
(
float
radius_arg,
int
rings_arg,
int
slices_arg);
27
MeshSphere
(
const
MeshSphere
&) =
default
;
29
~MeshSphere
() =
default
;
31
MeshSphere
&
operator=
(
const
MeshSphere
&) =
default
;
32
33
};
34
35
}
RAY::Mesh::MeshSphere::slices
int slices
slices
Definition:
MeshSphere.hpp:21
RAY::Mesh::MeshSphere::MeshSphere
MeshSphere(float radius_arg, int rings_arg, int slices_arg)
ctor
Definition:
MeshSphere.cpp:9
RAY::Mesh::MeshSphere::radius
float radius
radius
Definition:
MeshSphere.hpp:17
RAY::Mesh
Definition:
AMesh.cpp:7
RAY::Mesh::MeshSphere
Definition:
MeshSphere.hpp:13
AMesh.hpp
RAY::Mesh::MeshSphere::rings
int rings
rings
Definition:
MeshSphere.hpp:19
RAY::Mesh::MeshSphere::operator=
MeshSphere & operator=(const MeshSphere &)=default
assignment operator
RAY::Mesh::MeshSphere::~MeshSphere
~MeshSphere()=default
dtor
RAY::Mesh::AMesh
Definition:
AMesh.hpp:12
Generated by
1.8.17