mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
remove inaccurate comments
This commit is contained in:
parent
ce9e04c99a
commit
44f3ceb82a
@ -394,8 +394,7 @@ compose(const RenderState *other) const {
|
||||
// The cache entry in this object is the only one that indicates the
|
||||
// result; the other will be NULL for now.
|
||||
CPT(RenderState) result = do_compose(other);
|
||||
// We store them in this order, on the off-chance that other is the
|
||||
// same as this, a degenerate case which is still worth supporting.
|
||||
|
||||
((RenderState *)other)->_composition_cache[this]._result = NULL;
|
||||
((RenderState *)this)->_composition_cache[other]._result = result;
|
||||
|
||||
@ -453,8 +452,7 @@ invert_compose(const RenderState *other) const {
|
||||
// The cache entry in this object is the only one that indicates the
|
||||
// result; the other will be NULL for now.
|
||||
CPT(RenderState) result = do_invert_compose(other);
|
||||
// We store them in this order, on the off-chance that other is the
|
||||
// same as this, a degenerate case which is still worth supporting.
|
||||
|
||||
((RenderState *)other)->_invert_composition_cache[this]._result = NULL;
|
||||
((RenderState *)this)->_invert_composition_cache[other]._result = result;
|
||||
|
||||
|
@ -499,8 +499,7 @@ compose(const TransformState *other) const {
|
||||
// The cache entry in this object is the only one that indicates the
|
||||
// result; the other will be NULL for now.
|
||||
CPT(TransformState) result = do_compose(other);
|
||||
// We store them in this order, on the off-chance that other is the
|
||||
// same as this, a degenerate case which is still worth supporting.
|
||||
|
||||
((TransformState *)other)->_composition_cache[this]._result = NULL;
|
||||
((TransformState *)this)->_composition_cache[other]._result = result;
|
||||
|
||||
@ -566,8 +565,7 @@ invert_compose(const TransformState *other) const {
|
||||
// The cache entry in this object is the only one that indicates the
|
||||
// result; the other will be NULL for now.
|
||||
CPT(TransformState) result = do_invert_compose(other);
|
||||
// We store them in this order, on the off-chance that other is the
|
||||
// same as this, a degenerate case which is still worth supporting.
|
||||
|
||||
((TransformState *)other)->_invert_composition_cache[this]._result = NULL;
|
||||
((TransformState *)this)->_invert_composition_cache[other]._result = result;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user