mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
*** empty log message ***
This commit is contained in:
parent
70e5089c32
commit
2974dcad65
@ -23,7 +23,6 @@ int CasterShader::add_caster(NamedNode* node)
|
|||||||
int CasterShader::remove_caster(NamedNode* node)
|
int CasterShader::remove_caster(NamedNode* node)
|
||||||
{
|
{
|
||||||
make_dirty();
|
make_dirty();
|
||||||
int found = 0;
|
|
||||||
NamedNodeVector::iterator i;
|
NamedNodeVector::iterator i;
|
||||||
for (i = _casters.begin(); i != _casters.end(); ++i) {
|
for (i = _casters.begin(); i != _casters.end(); ++i) {
|
||||||
if ((*i) == node) {
|
if ((*i) == node) {
|
||||||
|
@ -43,7 +43,6 @@ add_frustum(ProjectionNode* frust) {
|
|||||||
INLINE int FrustumShader::
|
INLINE int FrustumShader::
|
||||||
remove_frustum(ProjectionNode* frust) {
|
remove_frustum(ProjectionNode* frust) {
|
||||||
make_dirty();
|
make_dirty();
|
||||||
int found = 0;
|
|
||||||
ProjectionVector::iterator i;
|
ProjectionVector::iterator i;
|
||||||
for (i = _frusta.begin(); i != _frusta.end(); ++i) {
|
for (i = _frusta.begin(); i != _frusta.end(); ++i) {
|
||||||
if ((*i) == frust) {
|
if ((*i) == frust) {
|
||||||
|
@ -126,7 +126,7 @@ setup_panda2d() {
|
|||||||
|
|
||||||
if (font != (NamedNode *)NULL) {
|
if (font != (NamedNode *)NULL) {
|
||||||
label2d = new TextNode("label2d");
|
label2d = new TextNode("label2d");
|
||||||
RenderRelation *text_arc = new RenderRelation(render2d, label2d);
|
new RenderRelation(render2d, label2d);
|
||||||
|
|
||||||
LMatrix4f mat =
|
LMatrix4f mat =
|
||||||
LMatrix4f::scale_mat(0.1) *
|
LMatrix4f::scale_mat(0.1) *
|
||||||
@ -153,7 +153,7 @@ setup_panda2d() {
|
|||||||
|
|
||||||
PT_Node p2egg = loader.load_sync("panda2d");
|
PT_Node p2egg = loader.load_sync("panda2d");
|
||||||
if (p2egg != (NamedNode *)NULL) {
|
if (p2egg != (NamedNode *)NULL) {
|
||||||
RenderRelation *arc = new RenderRelation(render2d, p2egg);
|
new RenderRelation(render2d, p2egg);
|
||||||
} else {
|
} else {
|
||||||
nout << "Couldn't find panda2d.egg\n";
|
nout << "Couldn't find panda2d.egg\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user