Panda3D

Public Member Functions | List of all members
SortPlacementBySize Class Reference

## Public Member Functions
bool | operator() (TexturePlacement *a, TexturePlacement *b) const
| Compares two TexturePlacement objects and returns true if the first one is bigger than the second one, false otherwise. More...

## Detailed Description

Definition at line 152 of file texturePlacement.h.

## Member Function Documentation

## ◆ operator()()

bool SortPlacementBySize::operator() | ( | TexturePlacement * | a,
|  | TexturePlacement * | b
| ) |  | const

Compares two TexturePlacement objects and returns true if the first one is bigger than the second one, false otherwise.

Definition at line 1128 of file texturePlacement.cxx.

References TexturePlacement::get_name(), TexturePlacement::get_x_size(), and TexturePlacement::get_y_size().

The documentation for this class was generated from the following files:

- pandatool/src/palettizer/texturePlacement.h
- pandatool/src/palettizer/texturePlacement.cxx