mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove transitive mesh.h, rendering_server.h and shader.h includes from node.h.
This commit is contained in:
parent
d61cd9149a
commit
33689d7beb
31 changed files with 37 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
|||
#include "scene/main/viewport.h"
|
||||
#include "scene/resources/curve_texture.h"
|
||||
#include "scene/resources/gradient_texture.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/resources/particle_process_material.h"
|
||||
|
||||
AABB CPUParticles3D::get_aabb() const {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
#include "scene/3d/cpu_particles_3d.h"
|
||||
#include "scene/resources/curve_texture.h"
|
||||
#include "scene/resources/gradient_texture.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/resources/particle_process_material.h"
|
||||
|
||||
AABB GPUParticles3D::get_aabb() const {
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "label_3d.h"
|
||||
|
||||
#include "scene/main/window.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/resources/theme.h"
|
||||
#include "scene/theme/theme_db.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "core/templates/local_vector.h"
|
||||
#include "scene/3d/visual_instance_3d.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
#ifndef NAVIGATION_3D_DISABLED
|
||||
class NavigationMesh;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#include "servers/navigation_3d/navigation_path_query_result_3d.h"
|
||||
|
||||
class Node3D;
|
||||
class StandardMaterial3D;
|
||||
|
||||
class NavigationAgent3D : public Node {
|
||||
GDCLASS(NavigationAgent3D, Node);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include "path_3d.h"
|
||||
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
Path3D::Path3D() {
|
||||
SceneTree *st = SceneTree::get_singleton();
|
||||
if (st && st->is_debugging_paths_hint()) {
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "collision_object_3d.h"
|
||||
|
||||
#include "scene/resources/3d/shape_3d.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
void CollisionObject3D::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "scene/3d/camera_3d.h"
|
||||
#include "scene/3d/node_3d.h"
|
||||
#include "scene/resources/3d/shape_3d.h"
|
||||
|
||||
class CollisionObject3D : public Node3D {
|
||||
GDCLASS(CollisionObject3D, Node3D);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "ray_cast_3d.h"
|
||||
|
||||
#include "scene/3d/physics/collision_object_3d.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
void RayCast3D::set_target_position(const Vector3 &p_point) {
|
||||
target_position = p_point;
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "scene/3d/physics/collision_object_3d.h"
|
||||
#include "scene/resources/3d/concave_polygon_shape_3d.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
void ShapeCast3D::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "scene/3d/node_3d.h"
|
||||
#include "scene/resources/3d/shape_3d.h"
|
||||
|
||||
class SpringArm3D : public Node3D {
|
||||
GDCLASS(SpringArm3D, Node3D);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "sprite_3d.h"
|
||||
|
||||
#include "scene/resources/atlas_texture.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
Color SpriteBase3D::_get_color_accum() {
|
||||
if (!color_dirty) {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
#include "scene/3d/node_3d.h"
|
||||
|
||||
class TriangleMesh;
|
||||
|
||||
class VisualInstance3D : public Node3D {
|
||||
GDCLASS(VisualInstance3D, Node3D);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue